Code Monkey home page Code Monkey logo

Comments (11)

marcoagpinto avatar marcoagpinto commented on June 20, 2024

@FredKruse

Fred, maybe it is an issue with the Extension?

Thanks!

from languagetool.

jaumeortola avatar jaumeortola commented on June 20, 2024

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.

FredKruse avatar FredKruse commented on June 20, 2024

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.

marcoagpinto avatar marcoagpinto commented on June 20, 2024

@FredKruse

Here is an example document in Portuguese.

multiwords_marcoagpinto_pt_20240404.odt

from languagetool.

marcoagpinto avatar marcoagpinto commented on June 20, 2024

@FredKruse

It works partially, see the video:

Screen.1.mp4

from languagetool.

FredKruse avatar FredKruse commented on June 20, 2024

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.

marcoagpinto avatar marcoagpinto commented on June 20, 2024

@FredKruse

Even with two words, they appear as typos.

See the attachment:

multiwords_marcoagpinto_pt_20240405.odt

from languagetool.

FredKruse avatar FredKruse commented on June 20, 2024

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.

FredKruse avatar FredKruse commented on June 20, 2024

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.

marcoagpinto avatar marcoagpinto commented on June 20, 2024

Thank you, @FredKruse

I will test it tomorrow.

from languagetool.

marcoagpinto avatar marcoagpinto commented on June 20, 2024

@FredKruse

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.