wrenger / obsidian-languagetool

LanguageTool Plugin for Obsidian
GNU Affero General Public License v3.0
5 stars 0 forks source link

Synonyms #6

Open froses opened 3 weeks ago

froses commented 3 weeks ago

Hi,

Please, how can I access to the synonyms list? I have not found any information in the documentation.

Thanks!

wrenger commented 2 weeks ago

Choose a language for Settings / LanguageTool / Find synonyms and then just select a word in your editor and left click to open the context menu. There at the bottom should be a Synonyms item.

froses commented 2 weeks ago

Hello,

Thank you very much, I had not selected a language for the synonyms.

The problem, for me, is that synonyms are only provided for English and German. But LanguageTool provides synonyms for many more languages. My mother tongue is Catalan, but I also write in Spanish and French. I know that LanguageTool provides synonyms for these languages. Is it planned to include all supported languages in LanguageTool to provide synonyms?

And thank you very much for the connector because it improves the workflow significantly. Now, for example, I can enable automatic checking without freezing the editor. I now use LanguageTool as my default connector.

Best regards,

Francesc

El 24 ag. 2024, a les 22:31, Lars Wrenger @.***> va escriure:

Enable Settings / LanguageTool / Find synonyms and then just select a word in your editor and left click to open the context menu. There at the bottom should be a Synonyms item.

wrenger commented 2 weeks ago

Unfortunately, the APIs for different languages are quite different from each other and not publicly documented. This means manual work for every language.

I'm planning to add more occasionally (if I have time), but I'm also open for contributions. So if you want to help me on this and speedup the adoption of new languages, take a look at api.ts.

froses commented 2 weeks ago

Hi, Lars,

This is a pity. Unfortunately, I'm not a TypeScript developer (I'm a Java developer) and can't contribute, but I’ll take a look at api.ts.

I understand the difficulty. I think LanguageTool here fails a bit. An API should not depend on the language.

Best regards,

Francesc

El 25 ag. 2024, a les 11:24, Lars Wrenger @.***> va escriure:

Unfortunately, the APIs for different languages are quite different from each other and not publicly documented. This means manual work for every language.

I'm planning to add more occasionally (if I have time), but I'm also open for contributions. So if you want to help me on this, take a look at api.ts https://github.com/wrenger/obsidian-languagetool/blob/master/src/api.ts#L202.

— Reply to this email directly, view it on GitHub https://github.com/wrenger/obsidian-languagetool/issues/6#issuecomment-2308748864, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6VTSKTIHISP2POHUWKHDTZTGPGLAVCNFSM6AAAAABM5Z55KSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYG42DQOBWGQ. You are receiving this because you authored the thread.