Page MenuHomePhabricator

UK dictionary broken in production
Closed, ResolvedPublic

Description

(3.4)halfak@ores-misc-01:~/projects/revscoring$ python
Python 3.4.2 (default, Oct  8 2014, 10:45:20) 
[GCC 4.9.1] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from enchant import Dict
>>> d = Dict('uk')
>>> d.check("asbdnasl")
True
>>> d.check("asbdnaslasndlansldansd")
True

These should return False.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Looks like 'aspell' is a better package.

Change 377327 had a related patch set uploaded (by Halfak; owner: halfak):
[operations/puppet@production] Adds myspell-lv package to ores::base Switches myspell-uk to aspell-uk (better package)

https://gerrit.wikimedia.org/r/377327

Change 377327 had a related patch set uploaded (by Halfak; owner: halfak):
[operations/puppet@production] Adds myspell-lv package to ores::base Switches myspell-uk to aspell-uk (better package)

https://gerrit.wikimedia.org/r/377327

Change 377327 merged by Alexandros Kosiaris:
[operations/puppet@production] Adds myspell-lv, myspell-uk to aspell-uk to ores::base

https://gerrit.wikimedia.org/r/377327

@Halfak mentioned that we might need to retrain models to use the new dict pkg.