/dports/textproc/py-pyahocorasick/pyahocorasick-1.4.1/benchmarks/ |
H A D | benchmark.py | 36 def __init__(self, max_word_length, count): argument 38 self.max_word_length = max_word_length 54 length = randint(self.min_word_length, self.max_word_length) 57 length = randint(self.min_word_length, self.max_word_length)
|
H A D | benchmark3.py | 36 def __init__(self, max_word_length, count): argument 38 self.max_word_length = max_word_length 54 length = randint(self.min_word_length, self.max_word_length) 57 length = randint(self.min_word_length, self.max_word_length)
|
/dports/chinese/librime/librime-1.7.3/src/rime/algo/ |
H A D | encoder.cc | 65 r.min_word_length = r.max_word_length = 0; in LoadSettings() 72 r.min_word_length = r.max_word_length = length; in LoadSettings() 82 !range->GetValueAt(1)->GetInt(&r.max_word_length) || in LoadSettings() 83 r.min_word_length > r.max_word_length) { in LoadSettings() 87 if (max_phrase_length_ < r.max_word_length) { in LoadSettings() 88 max_phrase_length_ = r.max_word_length; in LoadSettings() 148 num_syllables > rule.max_word_length) { in Encode()
|
/dports/databases/xapian-core12/xapian-core-1.2.25/queryparser/ |
H A D | termgenerator.cc | 92 TermGenerator::set_max_word_length(unsigned max_word_length) in set_max_word_length() argument 94 internal->max_word_length = max_word_length; in set_max_word_length()
|
H A D | termgenerator_internal.h | 42 unsigned max_word_length; variable 47 flags(TermGenerator::flags(0)), max_word_length(64) { } in Internal()
|
/dports/databases/xapian-core/xapian-core-1.4.18/queryparser/ |
H A D | termgenerator.cc | 103 TermGenerator::set_max_word_length(unsigned max_word_length) in set_max_word_length() argument 105 internal->max_word_length = max_word_length; in set_max_word_length()
|
H A D | termgenerator_internal.h | 44 unsigned max_word_length; variable 49 cur_pos(0), flags(TermGenerator::flags(0)), max_word_length(64) { } in Internal()
|
/dports/sysutils/tracker3/tracker-3.1.2/tests/libtracker-common/ |
H A D | tracker-parser-test.c | 37 gint max_word_length; member 62 fixture->max_word_length = 50; in test_common_setup() 117 fixture->max_word_length, in expected_nwords_check() 178 fixture->max_word_length, in expected_word_check() 252 fixture->max_word_length, in stop_word_check()
|
/dports/sysutils/tracker/tracker-2.3.4/tests/libtracker-common/ |
H A D | tracker-parser-test.c | 37 gint max_word_length; member 62 fixture->max_word_length = 50; in test_common_setup() 117 fixture->max_word_length, in expected_nwords_check() 178 fixture->max_word_length, in expected_word_check() 252 fixture->max_word_length, in stop_word_check()
|
/dports/sysutils/tracker/tracker-2.3.4/src/libtracker-common/ |
H A D | tracker-parser-libunistring.c | 51 guint max_word_length; member 371 if (word_length >= parser->max_word_length) { in parser_next() 460 guint max_word_length, in tracker_parser_reset() argument 470 parser->max_word_length = max_word_length; in tracker_parser_reset()
|
H A D | tracker-parser-libicu.c | 52 guint max_word_length; member 497 if (word_length_utf8 >= parser->max_word_length) { in parser_next() 612 guint max_word_length, in tracker_parser_reset() argument 627 parser->max_word_length = max_word_length; in tracker_parser_reset()
|
/dports/sysutils/tracker3/tracker-3.1.2/src/libtracker-common/ |
H A D | tracker-parser-libunistring.c | 51 guint max_word_length; member 371 if (word_length >= parser->max_word_length) { in parser_next() 460 guint max_word_length, in tracker_parser_reset() argument 470 parser->max_word_length = max_word_length; in tracker_parser_reset()
|
H A D | tracker-parser-libicu.c | 52 guint max_word_length; member 497 if (word_length_utf8 >= parser->max_word_length) { in parser_next() 612 guint max_word_length, in tracker_parser_reset() argument 627 parser->max_word_length = max_word_length; in tracker_parser_reset()
|
H A D | tracker-parser.h | 44 guint max_word_length,
|
/dports/misc/py-gluonnlp/gluon-nlp-0.10.0/src/gluonnlp/vocab/ |
H A D | elmo.py | 54 max_word_length = 50 variable in ELMoCharVocab 89 ids = [ELMoCharVocab.pad_id] * ELMoCharVocab.max_word_length
|
/dports/misc/py-gluonnlp/gluon-nlp-0.10.0/tests/unittest/ |
H A D | test_elmo.py | 129 …ected_bos_ids = [vocab.bow_id, vocab.bos_id, vocab.eow_id]+[vocab.pad_id]*(vocab.max_word_length-3) 130 …ected_eos_ids = [vocab.bow_id, vocab.eos_id, vocab.eow_id]+[vocab.pad_id]*(vocab.max_word_length-3) 131 …ds = [vocab.bow_id, 104, 101, 108, 108, 111, vocab.eow_id]+[vocab.pad_id]*(vocab.max_word_length-7)
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/web_test/renderer/ |
H A D | web_test_spell_checker.cc | 72 int max_word_length = static_cast<int>(string_text.length()) - word_offset; in SpellCheckWord() local 83 static_cast<int>(misspelled_words_.at(i).length()) > max_word_length in SpellCheckWord() 84 ? max_word_length in SpellCheckWord()
|
/dports/net/ooni-probe-cli/probe-cli-3.10.1/vendor/github.com/ooni/psiphon/oopsi/github.com/redjack/marionette/fte/ |
H A D | rank_unrank.cc | 436 const uint32_t max_word_length ) in getNumWordsInLanguage() argument 440 assert(min_word_length<=max_word_length); in getNumWordsInLanguage() 441 assert(max_word_length<=_fixed_slice); in getNumWordsInLanguage() 447 word_length <= max_word_length; in getNumWordsInLanguage() 455 …InLanguage(void *ptr, const uint32_t min_word_length, const uint32_t max_word_length, char **out, … in _dfa_getNumWordsInLanguage() argument 457 mpz_class num_words = dfa->getNumWordsInLanguage(min_word_length, max_word_length); in _dfa_getNumWordsInLanguage()
|
/dports/net/ooni-mini/probe-engine-0.23.0/vendor/github.com/ooni/psiphon/oopsi/github.com/redjack/marionette/fte/ |
H A D | rank_unrank.cc | 436 const uint32_t max_word_length ) in getNumWordsInLanguage() argument 440 assert(min_word_length<=max_word_length); in getNumWordsInLanguage() 441 assert(max_word_length<=_fixed_slice); in getNumWordsInLanguage() 447 word_length <= max_word_length; in getNumWordsInLanguage() 455 …InLanguage(void *ptr, const uint32_t min_word_length, const uint32_t max_word_length, char **out, … in _dfa_getNumWordsInLanguage() argument 457 mpz_class num_words = dfa->getNumWordsInLanguage(min_word_length, max_word_length); in _dfa_getNumWordsInLanguage()
|
/dports/misc/py-gluonnlp/gluon-nlp-0.10.0/scripts/word_embeddings/ |
H A D | extract_vocab.py | 57 if args.max_word_length: 60 for w, c in counter.items() if len(w) < args.max_word_length
|
/dports/japanese/freepwing/freepwing-1.4.4/src/ |
H A D | BaseWord.pm | 32 $max_word_length 41 $max_word_length = 255;
|
/dports/chinese/librime/librime-1.7.3/test/ |
H A D | encoder_test.cc | 27 EXPECT_EQ(2, rules[0].max_word_length); in TEST() 29 EXPECT_EQ(9, rules[2].max_word_length); in TEST()
|
/dports/shells/44bsd-csh/44bsd-csh-20001106_5/ |
H A D | file.c | 437 tsearch(word, command, max_word_length) in tsearch() argument 440 int max_word_length; 522 copyn(word, dir, max_word_length); 524 catn(word, extended_name, max_word_length);
|
/dports/sysutils/tracker/tracker-2.3.4/src/libtracker-fts/ |
H A D | tracker-fts-tokenizer.c | 43 int max_word_length; member 116 data->max_word_length, in tracker_tokenizer_tokenize() 169 p->max_word_length = tracker_fts_config_get_max_word_length (config); in tracker_tokenizer_data_new()
|
/dports/databases/xapian-bindings12/xapian-bindings-1.2.25/csharp/generated-csharp/ |
H A D | TermGenerator.cs | 96 public void SetMaxWordLength(uint max_word_length) { in SetMaxWordLength() argument 97 XapianPINVOKE.TermGenerator_SetMaxWordLength(swigCPtr, max_word_length); in SetMaxWordLength()
|