https://bugzilla.wikimedia.org/show_bug.cgi?id=73410
Bug ID: 73410 Summary: Use an external package for transliteration Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jayvdb@gmail.com Web browser: --- Mobile Platform: ---
Pywikibot allows transliteration of text before writing to files/ttys.
pywikibot/userinterfaces/transliteration.py - 108K
There are existing packages which try to achieve similar goals, such as https://pypi.python.org/pypi/translit https://pypi.python.org/pypi/Unidecode
If any of the above are *functional* sufficient for pywikibot needs, we should use it. If there are minor gaps in support for languages, where pywikibot has better transliteration tables, we can push our improvements into the external package.
Otherwise, we start a new project with the pywikibot code so others can reuse and help develop/maintain the code.
https://bugzilla.wikimedia.org/show_bug.cgi?id=73410
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.wikimedia. | |org/show_bug.cgi?id=56524
https://bugzilla.wikimedia.org/show_bug.cgi?id=73410
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |72118
https://bugzilla.wikimedia.org/show_bug.cgi?id=73410
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|Unprioritized |High
https://bugzilla.wikimedia.org/show_bug.cgi?id=73410
--- Comment #1 from John Mark Vandenberg jayvdb@gmail.com --- https://github.com/barseghyanartur/transliterate looks quite nice, and supports latin (that isnt mentioned in the readme).
https://bugzilla.wikimedia.org/show_bug.cgi?id=73410
--- Comment #2 from John Mark Vandenberg jayvdb@gmail.com --- https://github.com/redvasily/isounidecode also looks good
https://bugzilla.wikimedia.org/show_bug.cgi?id=73410
--- Comment #3 from John Mark Vandenberg jayvdb@gmail.com --- more: https://pypi.python.org/pypi/Unihandecode https://pypi.python.org/pypi/text-unidecode https://pypi.python.org/pypi/cunidecode https://pypi.python.org/pypi/translitcodec https://pypi.python.org/pypi/trans
pywikipedia-bugs@lists.wikimedia.org