pgolo/pilsner

Ability to remove entries from a dictionary

Closed this issue · 2 comments

pgolo commented

Use case is yet unclear, but it is possible that the ability to remove entries from already compiled model might be handy.
Something like:

m = pilsner.Model('model_name') # load compiled model
m.remove_entry('substring we do not want to recognize')
pgolo commented

As a note: rather than removing, it is quicker to tag trie branch that corresponds to the label desired to be ignored.

pgolo commented

Resolved with PR #24