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

Support non-space separated language? #30

Open
gembin opened this issue Jan 7, 2019 · 1 comment
Open

Support non-space separated language? #30

gembin opened this issue Jan 7, 2019 · 1 comment
Labels
question Further information is requested

Comments

@gembin
Copy link

gembin commented Jan 7, 2019

How to support non-space separated language?
I tried non-space separated language, it's not working.

@adrienball adrienball added the question Further information is requested label Apr 16, 2019
@adrienball
Copy link
Collaborator

Hi @gembin , apologize for the very late answer, your issue somehow got lost.
This rust library works on atomic elements, named tokens. It is indeed targeting inputs which are space separated, and tokens on this assumption. This means that for non-space separated languages, the tokenization must be done beforehand in order to provide a space-separated input to the main API of this lib.

I think that the API could be improved in order to abstract this tokenization, and allow the caller to provide a custom tokenization. This is a bit of work though, not on our priority at the moment.
Best

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

No branches or pull requests

2 participants