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

Allow for custom ITokenizers #18

Closed
mikegoatly opened this issue Oct 31, 2019 · 1 comment
Closed

Allow for custom ITokenizers #18

mikegoatly opened this issue Oct 31, 2019 · 1 comment

Comments

@mikegoatly
Copy link
Owner

mikegoatly commented Oct 31, 2019

Currently the index supports plain text and Xml content during tokenization. The TokenizationOptionsBuilder should allow for a custom ITokenizer to be provided, e.g.

TokenizationOptionsBuilder.WithCustomerTokenizer<T>(Func<TokenizationOptions, T> constructionDelegate) where T: ITokenizer;
builder.WithCustomTokenizer(options => new CustomTokenizer(options));
@mikegoatly
Copy link
Owner Author

Closing this because #27 is going to supersede the reason for doing this.

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