buruzaemon / natto-py

natto-py combines the Python programming language with MeCab, the part-of-speech and morphological analyzer for the Japanese language.
BSD 2-Clause "Simplified" License
92 stars 13 forks source link

Add support for feature constraint parsing #34

Closed buruzaemon closed 9 years ago

buruzaemon commented 9 years ago

The order of keys in a dictionary are by ascending order, not by order of insertion like Ruby.

Since we need to enforce priority of matches, we will use a tuple as outer data structure, since

  1. it does have the notion of order (by index)
  2. it does not allow for alteration after creation (no inserts, deletes or replacement of elements)
buruzaemon commented 9 years ago

Implementation completed, released in 0.6.0.