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

Do not give a spelling warning for words that are written with IPA symbols #1621

Open
MikeUnwalla opened this issue Jun 9, 2019 · 5 comments

Comments

@MikeUnwalla
Copy link
Contributor

MikeUnwalla commented Jun 9, 2019

Related suggestion: #1615

The International Phonetic Alphabet (IPA) is an academic standard: https://en.wikipedia.org/wiki/International_Phonetic_Alphabet

LT gives spelling warnings for words that are written with the IPA. Example in English:
image

Currently, writers who use the IPA must either deselect the standard spelling rule or get many false positives.

Do not give the standard 'Possible spelling mistake' message for words that use the IPA. Instead, have a rule/message that says "This word seems to use the IPA. Make sure that the word is correct".

@ghost
Copy link

ghost commented Jun 13, 2019

You could add the characters do diambiguation to be ignored by spelling.
And add a rule to warn for them in a word.
I am not sure if such a specific exception is wise. If so, might want to add all math symbols as well.

@MikeUnwalla
Copy link
Contributor Author

Hi @baarsrj , thanks for your suggestion. That would work.

Just to clarify. I did not mean to ignore a word if it contains an IPA character. I meant to ignore a word if all the characters are from the IPA. To prevent false negatives, have a minimum length of characters (say 3). Or possibly, for short words, ignore the spelling only if the word contains all IPA characters and none of the characters are in the character set for the default language.

If so, might want to add all math symbols as well.
Yes. I would like an 'intelligent' spelling checker.

@ghost
Copy link

ghost commented Jun 13, 2019

Might also have to find out whether IPA is only one standard. Heard about some IPA extensions as well.
If implemented like you suggested, I see no objection to have this for all languages. I am however not sure if there might be a different standard for language that are not derived from Latin.

@MikeUnwalla
Copy link
Contributor Author

For all languages was what I meant. Sorry for not being clear.

I assumed that there was only one IPA. Didn't know about the extensions.

@ghost
Copy link

ghost commented Jun 26, 2019

Another thought: Why not ignore all strings that are completely not in the language set of the language detected? So e.g. Cyrillic words in a Latin text? Or Greek in Latin?

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

1 participant