About Anaconda Help Download Anaconda

conda-forge / packages / r-ahocorasicktrie

Aho-Corasick is an optimal algorithm for finding many keywords in a text. It can locate all matches in a text in O(N+M) time; i.e., the time needed scales linearly with the number of keywords (N) and the size of the text (M). Compare this to the naive approach which takes O(N*M) time to loop through each pattern and scan for it in the text. This implementation builds the trie (the generic name of the data structure) and runs the search in a single function call. If you want to search multiple texts with the same trie, the function will take a list or vector of texts and return a list of matches to each text. By default, all 128 ASCII characters are allowed in both the keywords and the text. A more efficient trie is possible if the alphabet size can be reduced. For example, DNA sequences use at most 19 distinct characters and usually only 4; protein sequences use at most 26 distinct characters and usually only 20. UTF-8 (Unicode) matching is not currently supported.

copied from cf-staging / r-ahocorasicktrie
Type Size Name Uploaded Downloads Labels
conda 81.5 kB | win-64/r-ahocorasicktrie-0.1.2-r44h8ae3a7c_3.conda  7 months and 15 days ago 431 main
conda 81.1 kB | win-64/r-ahocorasicktrie-0.1.2-r43h8ae3a7c_3.conda  7 months and 15 days ago 421 main
conda 77.7 kB | osx-64/r-ahocorasicktrie-0.1.2-r44h25d921d_3.conda  7 months and 15 days ago 276 main
conda 77.3 kB | osx-64/r-ahocorasicktrie-0.1.2-r43h25d921d_3.conda  7 months and 15 days ago 311 main
conda 87.3 kB | linux-64/r-ahocorasicktrie-0.1.2-r44h0d4f4ea_3.conda  7 months and 15 days ago 981 main
conda 86.6 kB | linux-64/r-ahocorasicktrie-0.1.2-r43h0d4f4ea_3.conda  7 months and 15 days ago 959 main
conda 80.4 kB | win-64/r-ahocorasicktrie-0.1.2-r41ha856d6a_2.conda  1 year and 8 months ago 643 main
conda 77.8 kB | osx-64/r-ahocorasicktrie-0.1.2-r43hac7d2d5_2.conda  1 year and 8 months ago 335 main
conda 77.5 kB | osx-64/r-ahocorasicktrie-0.1.2-r42hac7d2d5_2.conda  1 year and 8 months ago 326 main
conda 86.5 kB | linux-64/r-ahocorasicktrie-0.1.2-r43ha503ecb_2.conda  1 year and 8 months ago 1538 main
conda 86.7 kB | linux-64/r-ahocorasicktrie-0.1.2-r42ha503ecb_2.conda  1 year and 8 months ago 1572 main
conda 89.6 kB | win-64/r-ahocorasicktrie-0.1.2-r41ha856d6a_1.tar.bz2  2 years and 4 months ago 530 main
conda 83.9 kB | osx-64/r-ahocorasicktrie-0.1.2-r42h49197e3_1.tar.bz2  2 years and 4 months ago 73 main
conda 83.7 kB | osx-64/r-ahocorasicktrie-0.1.2-r41h49197e3_1.tar.bz2  2 years and 4 months ago 74 main
conda 92.8 kB | linux-64/r-ahocorasicktrie-0.1.2-r42h7525677_1.tar.bz2  2 years and 4 months ago 1767 main
conda 92.8 kB | linux-64/r-ahocorasicktrie-0.1.2-r41h7525677_1.tar.bz2  2 years and 4 months ago 1784 main
conda 86.2 kB | win-64/r-ahocorasicktrie-0.1.2-r41ha856d6a_0.tar.bz2  3 years and 9 months ago 790 main
conda 88.9 kB | win-64/r-ahocorasicktrie-0.1.2-r40ha856d6a_0.tar.bz2  3 years and 9 months ago 792 main
conda 80.6 kB | osx-64/r-ahocorasicktrie-0.1.2-r41h9951f98_0.tar.bz2  3 years and 9 months ago 143 main
conda 80.6 kB | osx-64/r-ahocorasicktrie-0.1.2-r40h9951f98_0.tar.bz2  3 years and 9 months ago 130 main
conda 84.9 kB | linux-64/r-ahocorasicktrie-0.1.2-r40h03ef668_0.tar.bz2  3 years and 9 months ago 2361 main
conda 85.0 kB | linux-64/r-ahocorasicktrie-0.1.2-r41h03ef668_0.tar.bz2  3 years and 9 months ago 2379 main
conda 88.8 kB | win-64/r-ahocorasicktrie-0.1.2-r40h796a38f_0.tar.bz2  4 years and 5 months ago 978 main
conda 88.8 kB | win-64/r-ahocorasicktrie-0.1.2-r36h796a38f_0.tar.bz2  4 years and 5 months ago 976 main
conda 80.5 kB | osx-64/r-ahocorasicktrie-0.1.2-r40h710217c_0.tar.bz2  4 years and 5 months ago 297 main
conda 80.5 kB | osx-64/r-ahocorasicktrie-0.1.2-r36h710217c_0.tar.bz2  4 years and 5 months ago 297 main
conda 88.7 kB | linux-64/r-ahocorasicktrie-0.1.2-r36h0357c0b_0.tar.bz2  4 years and 5 months ago 2699 main
conda 89.0 kB | linux-64/r-ahocorasicktrie-0.1.2-r40h0357c0b_0.tar.bz2  4 years and 5 months ago 2804 main

© 2025 Anaconda, Inc. All Rights Reserved. (v4.0.7) Legal | Privacy Policy