<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[N-grams are not used?]]></title><description><![CDATA[<p dir="auto">Before I installed the German n-gram data set the API responded to a check request with source = +fallback</p>
<pre><code>"language": {
    "name": "German (Germany)",
    "code": "de-DE",
    "detectedLanguage": {
      "name": "German (Germany)",
      "code": "de-DE",
      "confidence": 0.99999934,
      "source": "+fallback"
    }
  }
</code></pre>
<p dir="auto">Then I installed the data set and checked the .env file: Data set is installed and path is correct. After restarting the app I made the same request again and expected "ngram" as the source. At least this is the result when I make a request here: <a href="https://languagetool.org/http-api/swagger-ui/#!/default/post_check" target="_blank" rel="noopener noreferrer nofollow ugc">https://languagetool.org/http-api/swagger-ui/#!/default/post_check</a></p>
<p dir="auto">Does this mean the n-gram data set is not used in my installation?</p>
]]></description><link>https://forum.cloudron.io/topic/11742/n-grams-are-not-used</link><generator>RSS for Node</generator><lastBuildDate>Tue, 16 Jun 2026 06:46:57 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/11742.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 16 May 2024 07:39:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to N-grams are not used? on Thu, 16 May 2024 15:28:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> Many thanks for the link and the example. Then n-gram is used correctly on my server!</p>
]]></description><link>https://forum.cloudron.io/post/88585</link><guid isPermaLink="true">https://forum.cloudron.io/post/88585</guid><dc:creator><![CDATA[zeitrechnen]]></dc:creator><pubDate>Thu, 16 May 2024 15:28:02 GMT</pubDate></item><item><title><![CDATA[Reply to N-grams are not used? on Thu, 16 May 2024 13:16:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zeitrechnen" aria-label="Profile: zeitrechnen">@<bdi>zeitrechnen</bdi></a> not sure what source means above but you can check with the example strings at <a href="https://dev.languagetool.org/finding-errors-using-n-gram-data" target="_blank" rel="noopener noreferrer nofollow ugc">https://dev.languagetool.org/finding-errors-using-n-gram-data</a> .</p>
<p dir="auto">With n-grams:</p>
<p dir="auto">Bitte prüfen Sie, ob ‚Meditation‘ (spirituelle Übung) hier das richtige Wort ist anstelle von ‚Mediation‘ (Verfahren zur Konfliktlösung).</p>
<p dir="auto">Without n-grams:</p>
<p dir="auto">You will see an error "ngram index dir /app/data/ngrams/de not found for German" and also no warning as above</p>
]]></description><link>https://forum.cloudron.io/post/88579</link><guid isPermaLink="true">https://forum.cloudron.io/post/88579</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 16 May 2024 13:16:32 GMT</pubDate></item></channel></rss>