/usr/share/link-grammar/amy/4.0.affix is in link-grammar-dictionaries-en 5.3.16-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | % Mark the first morpheme by appending STEMSUBSCR.
.=: STEMSUBSCR+;
% Mark the rest of morphemes by prepending INFIXMARK
=: INFIXMARK+;
% Program and dictionary sanity check: Allow only these combinations.
% (w: word, p:prefix, m:middle, t:stem, s: suffix)
%
% See the file api.c circa line 1100 for details
% (or grep for AFFIXTYPE in the code).
"w|ts|pts|pms|pmss|ptss|ps|ts": SANEMORPHISM+;
% Anysplit parameters
% Maximum number of word partitions
% FYI: 3 barely works, 4 and higher mostly do not work.
% 6: REGPARTS+;
3: REGPARTS+;
% Number of alternatives to issue for a word. Two values: minimum and maximum.
% If the word has more possibilities to split than the minimum, but less
% than the maximum, then issue them without sampling. Else use pseudo-random
% sampling until the minimum number is reached or all possibilities exhausted.
% 10 20: REGALTS+;
2 16: REGALTS+;
% When all word parts match these regexes,
% the word is issued as an alternative.
% Multiple regexes per class are permitted.
%
% The word parts currently contain at least one character
% (null morphems are not supported).
%
% If needed, add the same regex in more than one definition.
% Regex to match the prefix (including the whole word)
".*" : REGPRE+;
% Regex to match the middle parts (not including the prefix or the suffix)
".*": REGMID+;
%".{2,}": REGMID+;
% Regex to match the suffix (not including the whole word)
".*": REGSUF+;
%"[aeiouy]$" "[rst][^=]$": REGSUF+;
% End of Anysplit parameters
|