Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. LanguageTool
  3. Grammar Works, Spell‑Check Missing

Grammar Works, Spell‑Check Missing

Scheduled Pinned Locked Moved Solved LanguageTool
7 Posts 4 Posters 62 Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      P Offline
      pangeaner
      wrote last edited by
      #1

      Hi all,

      I did a new Cloudron install of LanguageTool.

      Problem:
      While the grammar check works fine, no spell-check happens.

      Inside the container both German and English Hunspell files exist:

      /opt/LanguageTool/org/languagetool/resource/de/hunspell/de_DE.{dic,aff}
      /opt/LanguageTool/org/languagetool/resource/en/hunspell/en_US.{dic,aff}
      

      I get no errors - neither in the frontend, nor in API response.

      How I tested it:

      1. Chrome LT extension → https://lt.<my‑domain>/v2
      2. API call → curl -X POST https://lt.<my‑domain>/v2/check -d "language=de-DE" -d "text=Feher"

      Same for en‑US. API returns 200, grammar rules fire, but obvious typos aren’t caught at all.

      Is this a known issue with the current Cloudron LanguageTool package, or am I missing a step?
      Any hints welcome!

      Thanks,
      Florian

      1 Reply Last reply
      1
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote last edited by
        #2

        Hm strange, it does spell check corrections for me:

        image.png

        However I can confirm that for German it does not. It seems to respond with "premiumHint":"You might be missing errors only the Premium version can find. Contact us at support<at>languagetoolplus.com."

        P 1 Reply Last reply
        1
        • J Offline
          J Offline
          joseph
          Staff
          wrote last edited by
          #3

          Have you set up ngrams - https://docs.cloudron.io/apps/languagetool/#n-grams ? Without that usually nothing works.

          P 1 Reply Last reply
          1
          • nebulonN nebulon

            Hm strange, it does spell check corrections for me:

            image.png

            However I can confirm that for German it does not. It seems to respond with "premiumHint":"You might be missing errors only the Premium version can find. Contact us at support<at>languagetoolplus.com."

            P Offline
            P Offline
            pangeaner
            wrote last edited by
            #4

            @nebulon Thanks for your quick reply and double check.
            These yellow-underlined errors work for me as well in my instance. But not the red-underlined spelling errors.
            Once I change to the public LanguageTool server, the same text fires the red-underlined misspelling marks where I‘d expect them.

            P 1 Reply Last reply
            1
            • P pangeaner

              @nebulon Thanks for your quick reply and double check.
              These yellow-underlined errors work for me as well in my instance. But not the red-underlined spelling errors.
              Once I change to the public LanguageTool server, the same text fires the red-underlined misspelling marks where I‘d expect them.

              P Offline
              P Offline
              pangeaner
              wrote last edited by pangeaner
              #5

              @joseph Thanks for that tipp. 💡

              I thought that n-grams would be optional and affect words that are often confused (like their and there) only - and not the hunspell spelling dictionaries.

              I will try that and give an update here.

              1 Reply Last reply
              1
              • J joseph

                Have you set up ngrams - https://docs.cloudron.io/apps/languagetool/#n-grams ? Without that usually nothing works.

                P Offline
                P Offline
                pangeaner
                wrote last edited by
                #6

                @joseph Yes, that solved my problem. Thank you! 👏

                I installend the n-gram and now I get grammar checks (yellow) and spell-checks (red).

                65d2c9f4-1d11-4b41-b4bd-246ef411a06e-image.png

                I suggest updating the docs (https://docs.cloudron.io/apps/languagetool/#n-grams), as there I got confused by the word 'optionally' ("LanguageTool can optionally make use of large n-gram data sets"), when I tried to find the problem myself.

                scookeS 1 Reply Last reply
                2
                • P pangeaner

                  @joseph Yes, that solved my problem. Thank you! 👏

                  I installend the n-gram and now I get grammar checks (yellow) and spell-checks (red).

                  65d2c9f4-1d11-4b41-b4bd-246ef411a06e-image.png

                  I suggest updating the docs (https://docs.cloudron.io/apps/languagetool/#n-grams), as there I got confused by the word 'optionally' ("LanguageTool can optionally make use of large n-gram data sets"), when I tried to find the problem myself.

                  scookeS Offline
                  scookeS Offline
                  scooke
                  wrote last edited by
                  #7

                  @pangeaner No need I think. It is pretty clear to me and many others. If the wording was changed to remove the idea of "optionally" then users will think they must install them (and how many will then install "ALL" of the n-grams... "pleaase update the docs") and then when they run out of disk space, post something as though Cloudron messed up. You figured it out!; use the process to help you on your self-hosting journey.

                  A life lived in fear is a life half-lived

                  1 Reply Last reply
                  0
                  • J joseph has marked this topic as solved
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Bookmarks
                    • Search