On Wed, Dec 07, 2011 at 09:57:08AM +0100, Werner LEMBERG wrote: > > > [...] Meanwhile, libdatrie was rewritten for use in the libthai > > project. So, swath was later migrated to the new one instead. > > That's the benefit of code sharing over bundling. > > What's the advantage of swath over cttex, except a dictionary three > times?
This was not what I meant to compare. But as you ask, swath is more customizable. You can choose whether to use longest matching or maximal matching scheme with command-line option. Unlike cttex, the dictionary is separated from the program. So you can easily change the word list. You can even use libthai's dictionary, which covers broader range of words (swath contains a little bit more entries, but among these are many long compound words or even phrases, while in libthai, only elementary words are counted), and is constantly updated with modern words. That said, swath is inferior in terms of performance. The original author wrote it for measuring the accuracy, not the performance, of various segmentation schemes. So, it's not quite optimized compared to cttex. > > - (The new fonts recently enforced by the government have not been > > LaTeX-ized yet. But when it's done, there will be pressure from > > users of both schools to choose theirs.) > > Interesting. What is different in those government stuff? They are new original designs, to be free from any IP questions, and are released under free license. (Well, actually non-free in the beginning, due to some details in the license, but they are now relicensed to GPL with font exception clause.) -- Theppitak Karoonboonyanan http://linux.thai.net/~thep/ _______________________________________________ Cjk maillist - [email protected] https://lists.ffii.org/mailman/listinfo/cjk
