Mptn 0.3.0 review

Download
by rbytes.net on

Mptn project is a library providing a pattern matching mechanism similar to regular expressions, but with several differences making

License: LGPL (GNU Lesser General Public License)
File size: 0K
Developer: George Bronnikov
0 stars award from rbytes.net

Mptn project is a library providing a pattern matching mechanism similar to regular expressions, but with several differences making it more suitable for building a morphological analyzer.

Differences are:

The whole string is matched against the pattern; thus the emphasis is on finding appropriate variable assignments, not on quick search. (This also means mptns will generally work slower than regexps, since they cannot in general be described by finite state automata)
All the possible variable assignments are iterated over, not just one.
Named variables make patterns more readable. In addition, a pattern may be associated with a variable name, restricting the possible values of the variable. Thus, you can use, for example, {c1}{v}{c2}? to match a syllable of CV/CVC structure (consonant-vowel-consonant).
"Matcher" mechanism to extend the matching process with arbitrary procedures.

Mptn 0.3.0 keywords