ahoalgorithm
v1.0.3
Published
this is a function to construct tree string to search pattern
Downloads
9
Maintainers
Readme
:merman:
Algoritmo Aho–Corasick
Aho–Corasick algorithm
Esta utilidad le ayudara a obtener un arbol donde podra encontrar palabras de manera mas optimizada.
This package help you to obtain a tree and search words in strings.
Conocimiento
Acknowledgements
Como usar
How to use
spanish
- "npm i ahoalgorithm" (instalar paquete)
- "const ahoalgorithm= require('ahoalgorithm')" (importar package)
- "ahoalgorithm.create(['a','aa','aaa','aaaa'])" (usa la funcion, este paquete solo contiene una funcion llamada 'create')
english
- "npm i ahoalgorithm" (install package)
- "const ahoalgorithm= require('ahoalgorithm')" (import package)
- "ahoalgorithm.create(['a','aa','aaa','aaaa'])" (use function,this package constain one function "create")