Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can prefix method return the postions of the result ? #34

Open
bojone opened this issue Aug 11, 2016 · 0 comments
Open

Can prefix method return the postions of the result ? #34

bojone opened this issue Aug 11, 2016 · 0 comments

Comments

@bojone
Copy link

bojone commented Aug 11, 2016

I find prefix method in all of your trie modules does not return the postions of the result.
For example, datrie module:

trie.prefix_items(u'foobarbaz')
[(u'foo', 5), (u'foobar', 10)]

How can I get the start postion or end postion of the result "foo" and "foobar"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant