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

Override tokenizer #163

Open
jacobwegner opened this issue Jul 13, 2023 · 0 comments
Open

Override tokenizer #163

jacobwegner opened this issue Jul 13, 2023 · 0 comments
Assignees

Comments

@jacobwegner
Copy link
Contributor

@jchill-git and I had a call discussing what changes we'd need to make to support custom tokenizers (e.g. leveraging tools from CAMeL).

Our end goal would be to support additional tokenizers / tokenization schemes on a version-by-version basis.

Initially, @jchill-git will produce a CSV and I will be adding some "customization hooks" to scaife-viewer-atlas to use that CSV rather than the "built-in" tokenizer (which simply splits on whitespace).

I got an initial proof-of-concept done today (see screenshot below) and will keep working on this iteratively to support "subword" tokens and punctuation across Scaife Viewer stack (backend / frontend).

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

No branches or pull requests

1 participant