7 lines
230 B
Plaintext
7 lines
230 B
Plaintext
|
|
|
||
|
|
SN: {<d.*>?<n.*>+<a.*>*} # noun phrase chunks
|
||
|
|
SV: {<p.*>?<v.*>+<SN|sp.*|S>*} # verb phrase chunks
|
||
|
|
SP: {<sp.*>} # prepositional phrase chunks
|
||
|
|
S: {<SN><SV>} # Chunk NP, VP
|
||
|
|
|