Files
INTUIA/Programa final/_internal/nltk_data/grammars/sample_grammars/np.fcfg
T

13 lines
413 B
Plaintext
Raw Normal View History

2026-03-15 13:27:50 +00:00
% start NP
NP[AGR=?a] -> Det[AGR=?a] N[AGR=?a]
Det[AGR=[NUM='sg', PER=3]] -> 'this' | 'that'
Det[AGR=[NUM='pl', PER=3]] -> 'these' | 'those'
Det[AGR=[NUM='pl', PER=1]] -> 'we'
Det[AGR=[PER=2]] -> 'you'
N[AGR=[NUM='sg', GND='m']] -> 'boy'
N[AGR=[NUM='pl', GND='m']] -> 'boys'
N[AGR=[NUM='sg', GND='f']] -> 'girl'
N[AGR=[NUM='pl', GND='f']] -> 'girls'
N[AGR=[NUM='sg']] -> 'student'
N[AGR=[NUM='pl']] -> 'students'