Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract grammar and look for suspicious rules #40

Open
nschneid opened this issue Jul 30, 2022 · 0 comments
Open

Extract grammar and look for suspicious rules #40

nschneid opened this issue Jul 30, 2022 · 0 comments

Comments

@nschneid
Copy link
Contributor

nschneid commented Jul 30, 2022

Showing rules with only Heads on the RHS:

Legit:

172 AdjP -> Head:Adj
 14 AdjP -> Head:AdjP
132 AdvP -> Head:Adv
502 Clause -> Head:VP
114 Clause -> Head:Clause
 10 Clause -> Head:Coordination
  2 Clause -> Head:GAP
 93 Coordination ->
  3 Coordination -> Head:Coordination
307 DP -> Head:D
 30 Flat ->
  6 MultiSentence ->
801 NP -> Head:Nom
 43 NP -> Det-Head:DP Head:Nom
 35 NP -> Head:NP
  8 NP -> Head:Coordination
  1 NP -> Marker-Head:Coordinator Head:Nom
  1 NP+AdjP ->
  1 NP+Clause ->
  1 NP+Clause -> Head:NP+Clause
  4 NP+PP ->
  2 NP+PP -> Head:NP+PP
622 Nom -> Head:N
265 Nom -> Head:Nom
252 Nom -> Head:N_pro
 29 Nom -> Head:Flat
 13 Nom ->
 13 Nom -> Det-Head:DP
  3 Nom -> Det-Head:D
  1 Nom -> Mod-Head:AdjP Head:Nom
  1 Nom -> Mod-Head:PP Head:Nom
  1 Nom -> Mod-Head:VP Head:Nom
326 PP -> Head:P
 11 PP -> Head:PP
127 ROOT -> Clause
 17 ROOT -> Coordination
 11 ROOT -> NP
  6 ROOT -> MultiSentence
  1 ROOT -> AdjP
  1 ROOT -> Nom
  1 ROOT -> VP
  3 V -> Head:V
349 VP -> Head:V
213 VP -> Head:V_aux
172 VP -> Head:VP
 12 VP -> Head:GAP
  8 VP -> Head:Coordination

Need investigation:

  5 Clause ->
  1 Clause -> Head:V
 26 Clause_rel -> Head:Clause
 21 Clause_rel -> Head:VP
  3 Clause_rel -> Head-Prenucleus:NP Head:Clause
  1 Clause_rel -> Head-Subject:NP Head:VP
  1 DP -> Head:Flat
  2 NP -> Det-Head:DP
  1 NP -> Det-Head:DP Head:GAP
  1 NP -> Det-Head:NP Head:Nom
  1 NP -> Head-Prenucleus:NP Head:Nom
  1 NP -> Head:GAP
  1 NP -> Head:VP
  3 Nom -> Head:NP
  1 Nom -> Head:PP
  1 VP ->
  1 VP -> Head:Clause
  1 VP -> Head:V Head:Coordination
  1 VP -> Head:V Head:VP

Eliminated with fixes:

NP -> Head:N_pro
NP -> Head:N
DP -> Head:N_pro
NP ->
AdvP -> Head:P
NP -> Head:Nom Head:VP
Nom -> Head:Adj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant