Package: ahocorasick 0.2.0
ahocorasick: Fast Multi-Pattern String Matching with the 'Aho-Corasick' Algorithm
Provide fast multi-pattern string matching for 'R' using the 'Aho-Corasick' algorithm, powered by the 'Rust' 'aho-corasick' crate. It builds reusable automatons for detecting matches, counting matches, locating character, extracting matched text, and replacing matches in character vectors. For more details on the 'Aho-Corasick' algorithm, please see Aho and Corasick (1975) <doi:10.1145/360825.360855>.
Authors:
ahocorasick_0.2.0.tar.gz
ahocorasick_0.2.0.tar.gz(r-4.7-arm64)ahocorasick_0.2.0.tar.gz(r-4.7-x86_64)ahocorasick_0.2.0.tar.gz(r-4.6-arm64)ahocorasick_0.2.0.tar.gz(r-4.6-x86_64)
ahocorasick_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
ahocorasick/json (API)
NEWS
| # Install 'ahocorasick' in R: |
| install.packages('ahocorasick', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/yousa-mirage/r-ahocorasick/issues
Pkgdown/docs site:https://yousa-mirage.github.io
Last updated from:1354361531. Checks:4 NOTE, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | NOTE | 168 | ||
| linux-devel-x86_64 | NOTE | 160 | ||
| source / vignettes | OK | 221 | ||
| linux-release-arm64 | NOTE | 172 | ||
| linux-release-x86_64 | NOTE | 1941 | ||
| wasm-release | OK | 144 |
Exports:ac_buildac_countac_count_fileac_detectac_detect_fileac_extractac_extract_dfac_extract_fileac_infoac_locateac_locate_bytesac_locate_dfac_locate_fileac_patternsac_replaceac_replace_file
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Build an Aho-Corasick automaton | ac_build |
| Count pattern matches in documents | ac_count |
| Count pattern matches in files | ac_count_file |
| Detect pattern matches in documents | ac_detect |
| Detect pattern matches in files | ac_detect_file |
| Extract pattern matches from documents | ac_extract |
| Extract pattern matches as a data frame | ac_extract_df |
| Extract pattern matches from files | ac_extract_file |
| Return automaton metadata | ac_info |
| Locate pattern matches in strings | ac_locate |
| Locate pattern matches with byte offsets | ac_locate_bytes |
| Locate pattern matches as a data frame | ac_locate_df |
| Locate pattern matches in files | ac_locate_file |
| Return patterns stored in an automaton | ac_patterns |
| Replace pattern matches in documents | ac_replace |
| Replace pattern matches in files | ac_replace_file |
