]> cat aescling's git repositories - mastodon.git/commit
Fix Thai being skipped from language detection (#13989)
authorSasha Sorokin <dafri.nochiterov8@gmail.com>
Thu, 25 Jun 2020 20:45:01 +0000 (03:45 +0700)
committerGitHub <noreply@github.com>
Thu, 25 Jun 2020 20:45:01 +0000 (22:45 +0200)
commitf5cea4d2ea314a78d44ef013c6dabda32ad96df1
tree061b13f1f2d96ca6365e03ffdf8991c464b8d8f4
parentf7bdfec5bba683f25dd9cf497f84d202ca5267c2
Fix Thai being skipped from language detection (#13989)

Thai does not separate words by spaces, so I figured out it should be
in 'reliable characters regexp' that denotes languages that do the same.

Related #13891.
app/lib/language_detector.rb