Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6fa960 commit 07a1154Copy full SHA for 07a1154
nlp.py
@@ -46,7 +46,7 @@ def __repr__(self):
46
E0 = Grammar('E0',
47
Rules( # Grammar for E_0 [Fig. 22.4]
48
S = 'NP VP | S Conjunction S',
49
- NP = 'Pronoun | Noun | Article Noun | Digit Digit | NP PP | NP RelClause',
+ NP = 'Pronoun | Name | Noun | Article Noun | Digit Digit | NP PP | NP RelClause',
50
VP = 'Verb | VP NP | VP Adjective | VP PP | VP Adverb',
51
PP = 'Preposition NP',
52
RelClause = 'That VP'),
0 commit comments