Comments (11)
Fred, maybe it is an issue with the Extension?
Thanks!
from languagetool.
In LibreOffice, the spelling is usually the LibreOffice spelling, not the LanguageTool spelling, right? @FredKruse
We would need to disable the de LibreOffice speller and use the LT spellers. The obstacle to doing that is that the dictionaries files are too large. But I think at some point there was a discussion about this, and it seemed acceptable to add the spelling dictionaries to do the LibreOffice/LanguageTool package.
from languagetool.
Before LT 6.3, the LT additional LT dictionaries were added as 'private' dictionaries. This led to serious problems in some languages due to its enormous size.
Since LT 6.3 the situation is different. LT is used as a second spell checker. However, only individual words are checked (no strings with spaces). This works perfectly in German (words that LT recognizes as correct are not marked).
If there are mechanisms in other languages that recognize a combination of words as correct, we should make it a project for LT 6.5. I would then need help with examples (ODT files) and if possible a little tutoring on the technique in which LT does the spell check.
from languagetool.
Here is an example document in Portuguese.
multiwords_marcoagpinto_pt_20240404.odt
from languagetool.
It works partially, see the video:
Screen.1.mp4
from languagetool.
Is it correct that the words are only recognized as correct by LT in combination of all three words (i.e. "World Trade" is incorrect? "World Trade Center" is correct).
The problem is that LO spell checkers check a maximum of two words. I can't change that even if I install an LT spell checker. I can do try to have LT check the combination of two words (doesn't work in 6.4 so far). Would that help?
from languagetool.
Even with two words, they appear as typos.
See the attachment:
multiwords_marcoagpinto_pt_20240405.odt
from languagetool.
As I wrote before. I've implemented a spell checker in the extension, that uses the internal LT spell checking. But it works only for single words until now. LO supports the checking of two word pairs. This is the maximum I could implement.
This I will do for 6.5 in the next days.
from languagetool.
The check of two words is added to the Lt spell checker of the extension. More words are not supported by LO. Please test it with tomorrow's snapshot.
from languagetool.
Thank you, @FredKruse
I will test it tomorrow.
from languagetool.
I can confirm that it is working.
Thanks!
@mikekaganski
Would it be possible to open a ticket in LibreOffice Bugzilla for custom support of the number of words used in spelling or increase it to three (a ton of multiwords for pt-PT use three words)?
Also, Mike, make it possible to change words to italic (for example, foreign words) from the LT Extension?
Thanks!
from languagetool.
Related Issues (20)
- A bug in parsing dates in `UkrainianWordTokenizer` HOT 3
- [en] False warning EN_UNPAIRED_QUOTES
- Add “sanitorium” HOT 1
- Add Portuguese words
- [pt] “Elevar a escrita” — rule set - 2024-04-06 HOT 2
- [pt] Main suggestion not appearing HOT 8
- Use latest version of Indriya
- Weird behaviour with LT 6.4 and pipelinePrewarming=true
- [PT] “Etc.” and comma HOT 1
- Abbreviations issue
- Please add words
- Libreoffice addon doesn't work, clicking buttons does nothing HOT 2
- LT is not enabled on the GitHub web editor HOT 2
- [pt] Rule for "don't separate subject and verb with a comma" HOT 3
- [ca] bug in the last version of the add-on with l·l HOT 1
- [ca] deixar de marcar «baixar» com a no pronominal
- [pt] Number of examples in antipatterns HOT 2
- [DE] Fehlalarm mit "Mutter Theresa" HOT 4
- Potential replacements for fasttext?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from languagetool.