Open ahadafzal opened 4 years ago
Is it possible to adjust this in a way that it matches without whitespace-bounds, e.g. "hi" in "high"?
Is it possible to adjust this in a way that it matches without whitespace-bounds, e.g. "hi" in "high"?
Yes it is:
Textsearch(..., left_bound_chars=set(), right_bound_chars=set())
A feature to remove all word at once would be very helpful. something like: ts.removeall() or ts.reset()
Could simply create a new one, depending on how much you want to reset (handlers or not).
ts = TextSearch(ts_old.case, ts_old.returns)
A feature to remove all word at once would be very helpful. something like: ts.removeall() or ts.reset()