hankcs/AhoCorasickDoubleArrayTrie

parse when building?

AaronMarsLuo opened this issue · 1 comments

Is it safe to parse word when ACDAT is building?
we got a wrong parsing result when the value word is not in the origin text.
we doubt whether it's safe to parse when building.

No, not safe at all. How could it be safe when its states are getting updated during building?