<table><tr><td style="">waqar updated this revision to Diff 70238.<br />waqar edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-bxd6ovzhvfhnpe4/">(Show Details)</a><br />waqar added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D25495">View Revision</a></tr></table><br /><div><div><p>Fix Sonnet autodetect completely failing when no trigrams found</p></div></div><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;">Fixes [[ https://bugs.kde.org/show_bug.cgi?id=176537 | Bug 176537 ]]. Sonnet fails to autodetect a language if there are no trigrams available for the language. In some cases, the script of the language is detected exactly but only because no trigrams were found for the language in question, autodetection fails.<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"><br />
</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R246 Sonnet</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D25495?vs=70237&id=70238">https://phabricator.kde.org/D25495?vs=70237&id=70238</a></div></div><br /><div><strong>BRANCH</strong><div><div>fix-176537 (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D25495">https://phabricator.kde.org/D25495</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/core/guesslanguage.cpp</div></div></div><br /><div><strong>To: </strong>waqar<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns<br /></div>