Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WojciechMula/pyahocorasick
/ functions
Functions
469 in github.com/WojciechMula/pyahocorasick
⨍
Functions
469
◇
Types & classes
79
Method
testEmptyTrieShouldNotContainsAnyWords
(self)
etc/py/test_unittests_pure_python.py:13
Method
testExistShouldDetectAddedWords
(self)
etc/py/test_unittests_pure_python.py:46
Method
testExistShouldReturnFailOnUnknownWord
(self)
etc/py/test_unittests_pure_python.py:55
Method
testFindAllShouldGetTheSameDataAsIter
(self)
etc/py/test_unittests_pure_python.py:181
Method
testGetUnknowWordWithDefaultValueShouldReturnDefault
(self)
etc/py/test_unittests_pure_python.py:41
Method
testGetUnknowWordWithoutDefaultValueShouldRaiseException
(self)
etc/py/test_unittests_pure_python.py:35
Method
testItemsShouldReturnAllItemsAlreadyAddedToTheTrie
(self)
etc/py/test_unittests_pure_python.py:79
Method
testIterShouldMatchAllStrings
(self)
etc/py/test_unittests_pure_python.py:151
Method
testKeysShouldReturnAllKeysAlreadyAddedToTheTrie
(self)
etc/py/test_unittests_pure_python.py:97
Method
testMatchShouldDetecAllPrefixesIncludingWord
(self)
etc/py/test_unittests_pure_python.py:62
Method
testValuesShouldReturnAllValuesAlreadyAddedToTheTrie
(self)
etc/py/test_unittests_pure_python.py:115
Method
test__construct_empty
(self)
tests/test_unpickle.py:129
Method
test__construct_simple_trie
r""" trie for set {he, her, his, him, it} #0 -> [h #1 ] -> [e #2*] -> [r #3*] | \-> [i #4 ] -> [s #5*] |
tests/test_unpickle.py:137
Method
test__construct_simple_trie__split_across_a_few_chunks_unicode
r""" trie for set {he, her, his, him, it} #0 -> [h #1 ] -> [e #2*] -> [r #3*] | \-> [i #4 ] -> [s #5*] |
tests/test_unpickle.py:175
Method
test__construct_simple_trie__wrong_index_bytes
trie for set {he} #0 -> [h #1*] -> [e #2*]
tests/test_unpickle.py:260
Method
test__construct_simple_trie__wrong_index_unicode
trie for set {he} #0 -> [h #1*] -> [e #2*]
tests/test_unpickle.py:239
Method
test__construct_wrong_key_type
(self)
tests/test_unpickle.py:231
Method
test__construct_wrong_kind
(self)
tests/test_unpickle.py:217
Method
test__construct_wrong_store
(self)
tests/test_unpickle.py:224
Method
test__malicious_fail_pointer
trie with just one node
tests/test_unpickle.py:341
Method
test__malicious_next_pointer_bytes
#0 -> [? #1 ]
tests/test_unpickle.py:326
Method
test__malicious_next_pointer_unicode
#0 -> [? #1 ]
tests/test_unpickle.py:310
Method
test__truncated_raw__case_1
(self)
tests/test_unpickle.py:280
Method
test__truncated_raw__case_2
trie for set {he} #0 -> [h #1 ] -> [e #2*]
tests/test_unpickle.py:289
Method
test__values_leaks
(self)
tests/test_unpickle.py:356
Method
test__wrong_count_of_nodes_in_chunk__case1
(self)
tests/test_unpickle.py:400
Method
test__wrong_count_of_nodes_in_chunk__case2
(self)
tests/test_unpickle.py:413
Method
test__wrong_type_of_chunk
(self)
tests/test_unpickle.py:389
Method
test__wrong_type_of_chunk_container
(self)
tests/test_unpickle.py:378
Method
test_add__case_1
(self)
tests/test_unit.py:1126
Method
test_add__case_2
(self)
tests/test_unit.py:1136
Method
test_add__case_3
(self)
tests/test_unit.py:1143
Method
test_add__case_4
(self)
tests/test_unit.py:1155
Method
test_add__case_5__wrong_argument_type
(self)
tests/test_unit.py:1161
Method
test_add__case_6__wrong_item_type
(self)
tests/test_unit.py:1169
Method
test_add__case_7__wrong_value
(self)
tests/test_unit.py:1177
Method
test_add__case_8__wrong_value
(self)
tests/test_unit.py:1191
Method
test_add_empty_word
(self)
tests/test_unit.py:78
Method
test_add_word
(self)
tests/test_unit.py:62
Method
test_add_word1
(self)
tests/test_unit.py:994
Method
test_add_word1
(self)
tests/test_unit.py:1066
Method
test_add_word2
(self)
tests/test_unit.py:1005
Method
test_add_word3
(self)
tests/test_unit.py:1016
Function
test_basic_bytes
()
tests/test_basic.py:20
Function
test_basic_items_keys_and_values_with_bytes_build
()
tests/test_basic.py:55
Function
test_basic_items_keys_and_values_with_unicode_build
()
tests/test_basic.py:138
Function
test_basic_unicode
()
tests/test_basic.py:103
Method
test_bug
(self)
tests/test_unit.py:1109
Method
test_case1
(self)
tests/test_unit.py:1299
Method
test_case1
(self)
tests/test_unit.py:1333
Method
test_case2
(self)
tests/test_unit.py:1315
Method
test_clear
(self)
tests/test_unit.py:87
Method
test_constructor_wrong_key_type
(self)
tests/test_unit.py:41
Method
test_constructor_wrong_store
(self)
tests/test_unit.py:37
Method
test_contains
(self)
tests/test_unit.py:112
Function
test_create_and_iter_automata_pl_works_bytes
()
tests/test_issue_8.py:74
Function
test_create_and_iter_automata_pl_works_unicode
()
tests/test_issue_8.py:51
Function
test_create_automata_rus_does_not_crash_bytes
()
tests/test_issue_8.py:64
Function
test_create_automata_rus_does_not_crash_unicode
()
tests/test_issue_8.py:41
Method
test_dump_automaton
(self)
tests/test_unit.py:1284
Method
test_dump_empty
(self)
tests/test_unit.py:1272
Method
test_dump_trie
(self)
tests/test_unit.py:1275
Method
test_empty
(self)
tests/test_unit.py:57
Method
test_empty
(self)
tests/test_unit.py:930
Method
test_exists
(self)
tests/test_unit.py:100
Method
test_find_all1
no action is performed until automaton is constructed
tests/test_unit.py:596
Method
test_find_all2
(self)
tests/test_unit.py:607
Method
test_find_all3
(self)
tests/test_unit.py:620
Method
test_find_all__end_index_not_given
(self)
tests/test_unit.py:668
Method
test_find_all__end_is_negative
(self)
tests/test_unit.py:688
Method
test_find_all__not_a_callable_object
(self)
tests/test_unit.py:640
Method
test_find_all__start_is_negative
(self)
tests/test_unit.py:678
Method
test_find_all__wrong_range__case_1
(self)
tests/test_unit.py:646
Method
test_find_all__wrong_range__case_2
(self)
tests/test_unit.py:657
Method
test_find_all_and_iter
(self)
tests/test_unit.py:1033
Method
test_get1
(self)
tests/test_unit.py:137
Method
test_get2
(self)
tests/test_unit.py:145
Method
test_get3
(self)
tests/test_unit.py:153
Method
test_get_from_an_empty_automaton
(self)
tests/test_unit.py:162
Function
test_issue133_iter_long_1
()
tests/test_issue_133.py:15
Function
test_issue133_iter_long_2
()
tests/test_issue_133.py:27
Function
test_issue133_iter_long_3
()
tests/test_issue_133.py:40
Function
test_issue133_iter_long_4
()
tests/test_issue_133.py:52
Function
test_issue133_iter_long_5
()
tests/test_issue_133.py:64
Function
test_issue133_iter_long_with_multibyte_characters
()
tests/test_issue_133.py:78
Function
test_issue56
()
tests/test_issue_56.py:33
Function
test_issue_10_case_1
()
tests/test_issue_10.py:14
Function
test_issue_10_case_2
()
tests/test_issue_10.py:26
Function
test_issue_19
()
tests/test_issue_19.py:15
Function
test_issue_26_pickle_workds
()
tests/test_issue_26.py:16
Function
test_issue_5
()
tests/test_issue_5.py:15
Function
test_issue_50
()
tests/test_issue_50.py:20
Function
test_issue_53_bytes
()
tests/test_issue_53.py:33
Function
test_issue_53_unicode
()
tests/test_issue_53.py:17
Method
test_items
(self)
tests/test_unit.py:425
Method
test_items
(self)
tests/test_unit.py:526
Method
test_items_with_prefix_invalid
(self)
tests/test_unit.py:452
Method
test_items_with_prefix_valid
(self)
tests/test_unit.py:441
Method
test_items_with_valid_pattern
(self)
tests/test_unit.py:463
Method
test_items_with_valid_pattern2
(self)
tests/test_unit.py:473
← previous
next →
301–400 of 469, ranked by callers