File: Lexicalization.rtx

package info (click to toggle)
apertium-recursive 1.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,132 kB
  • sloc: cpp: 8,682; python: 178; makefile: 30; sh: 9
file content (9 lines) | stat: -rw-r--r-- 163 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
n: _.number;
pr: _;
NP: _;

number = sg pl sp;

NP -> "gen" n de@pr n { 3 + 's@gen _ 1 } |
      "of"  n de@pr n { 1 _ 2 _ 3 } |
      "n-n" n de@pr n { 3 _ 1 } ;