/usr/share/link-grammar/ady/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 | % 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, t:stem, s: suffix)
% Split words into 1 or 2 parts (and no more than two parts)
% Accroding to the 4.0.dict, the first part will act as a stem,
% and the second part as a suffix carrying syntactic inflection.
2: REGPARTS+;
% Allowed structure for REGPARTS == 2
"w|ts": SANEMORPHISM+;
% Anysplit parameters
% 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.
2 10: 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 suffix (not including the whole word)
".*": REGSUF+;
% End of Anysplit parameters
|