Last modified: 2014-11-14 05:03:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T75410, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 73410 - Use an external package for transliteration
Use an external package for transliteration
Status: NEW
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
core-(2.0)
All All
: High normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks: pwb30
  Show dependency treegraph
 
Reported: 2014-11-14 03:43 UTC by John Mark Vandenberg
Modified: 2014-11-14 05:03 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description John Mark Vandenberg 2014-11-14 03:43:46 UTC
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.
Comment 1 John Mark Vandenberg 2014-11-14 04:04:44 UTC
https://github.com/barseghyanartur/transliterate looks quite nice, and supports latin (that isnt mentioned in the readme).
Comment 2 John Mark Vandenberg 2014-11-14 04:10:13 UTC
https://github.com/redvasily/isounidecode also looks good

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links