- Notifications
You must be signed in to change notification settings - Fork136
Open
Description
The second matching(5, 'her' ) and the last one(14, 'she') are not aliging the word boundary, how to remove them ?
or could we force them to mathcing word?
foridx,keyinenumerate('he her hers she'.split()):A.add_word(key,key)#A.make_automaton()needle="he here her shes"list(A.iter_long(needle))# [(1, 'he'), (5, 'her'), (10, 'her'), (14, 'she')]
Metadata
Metadata
Assignees
Labels
No labels