Re: python implementation of unicode collation algorithm
Jim Fulton <[email protected]> Mon, 23 Jan 2006 06:37:10 -0500
| Newsgroups | gmane.comp.python.internationalization |
|---|---|
| Organization | Zope Corporation |
| Message-ID | <[email protected]> |
James Tauber wrote: > I've made a start on a pure python implementation of the Unicode > Collation Algorithm (UTS #10) but I thought I'd best check with this > SIG whether such a thing already exists. I'm not aware of any pure python implementations. I've created a pyrex-based C wrapper of the ICU collation library at: http://svn.zope.org/zope.ucol/trunk/ You don't need pyrex to use this and there is a distutils setup script to install it. I'd be happy to make an official release of this if anyone is interested. There is also a SWIG-based C++ wrapper of a much larger portion of the ICU library, including collation at: http://pyicu.osafoundation.org/ This requires swig, hand editing of makefiles, and dynamic-library machinations, which is in large part why I ended up writing my own wrapper. Jim -- Jim Fulton mailto:[email protected] Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org