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

How to auto-complete words with aphostrophes? #317

Open
VeeVis opened this issue Oct 1, 2024 · 1 comment
Open

How to auto-complete words with aphostrophes? #317

VeeVis opened this issue Oct 1, 2024 · 1 comment

Comments

@VeeVis
Copy link

VeeVis commented Oct 1, 2024

I write a lot with apostrophes and I can't figure out how to tokenize words like "don't".

I tried the following:

doesn't appears as doesn\

doesn\t appears as doesn\t

"doesn't" appears as doesn

"doesn't" appears as doesn\

edit: I see that the \ disappears when the text is pasted, imagine I have a backspace before the apostrophe.

I just can't figure this out and it bugs me to write without apostrophes, so any help is good.

@tadashi-aikawa
Copy link
Owner

@VeeVis
Single quotes (apostrophes) are used to enclose strings like 'hoge', so they are excluded from tokenization.

If there are only a few common cases like doesn't and don't, I recommend adding them to a 'Custom Dictionary'. Words registered in the 'Custom Dictionary' will not be split.

image

If the 'Custom Dictionary' cannot fully cover your needs, and if other people need it, I'll consider it.

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

No branches or pull requests

2 participants