This file is indexed.

/usr/share/link-grammar/ady/4.0.regex is in link-grammar-dictionaries-en 5.3.14-1.

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
 %***************************************************************************%
 %                                                                           %
 %  Copyright (C) 2013 Linas Vepstas                                         %
 %  See file "LICENSE" for information about commercial use of this system   %
 %                                                                           %
 %***************************************************************************%

% Want to match apostrophes, for abreviations (I'm I've, etc.) since these
% cannot be auto-split with the current splitter.  Also want to accept
% hyphenated words, and words with underbars in them.
ANY-WORD:  /^[[:alnum:]_'-]+$/
ANY-PUNCT:  /^[[:punct:]]+$/

% Simple two-part random morphology: match any string of one or more
% letters as a stem, and the rest as a suffix.
% We are currently using .= to denote the end of a stem.
SIMPLE-STEM: /^[[:alnum:]_'-]+.=/
SIMPLE-SUFF: /[[:alnum:]_'-]+$/

% Match anything that doesn't match the above.
% Match anything that isn't white-space.
% Well ... actually, reject anything that begins or ends with
% punctuation. We do this, so that tokenize can split off the
% the affixes (trailing commas, etc) correctly.
JUNK: /^[^[:punct:]][^[:space:]]+[^[:punct:]]$/