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

[Feature Request] Option to treat an hyphen as a part of a word #311

Open
SauravTyagi1987 opened this issue Aug 17, 2024 · 2 comments
Open
Assignees
Labels

Comments

@SauravTyagi1987
Copy link

SauravTyagi1987 commented Aug 17, 2024

Hi,

I have been using the "Various Complements" plugin in Obsidian. Thanks for creating and maintaining this.

I have lot of words which have hyphen in them and would like to have an option in the setting similar to underscore, where hyphen can be treated as a part of a word. This would enable me to have words come in the suggestions having hyphen in them.

Thank you for considering this feature request!

Best regards,
Saurav

@tadashi-aikawa
Copy link
Owner

Thank you for your FR, @SauravTyagi1987 :)

That looks good. I want to give it a try 👍

@tadashi-aikawa
Copy link
Owner

@SauravTyagi1987
Since there was a partial misunderstanding, I would like to provide some additional clarification.

If the strategy is set to "Default" or "English only," hyphens are already recognized as part of the word. However, I am not sure how it behaves with other strategies. This depends on the tokenizer for each language, so it may be difficult to achieve.

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

No branches or pull requests

2 participants