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

Remove Penn Treebank escaping of brackets... #2

Closed

Conversation

foxik
Copy link
Member

@foxik foxik commented Oct 14, 2015

and use "(" and ")" instead of "-LRB-" and "-RRB-", as discussed in #1.

I am happy to rebase the pull request at any time, please just write if the UD_English team is ready to pull this.

and use "(" and ")" instead of "-LRB-" and "-RRB-".
@spyysalo
Copy link
Member

+1

@mcdm, @manning: can you please take a look?

@foxik
Copy link
Member Author

foxik commented Oct 16, 2015

According to @sebschu in #1, the UD_English team does not use pull requests, so I am closing this now.

@foxik foxik closed this Oct 16, 2015
amir-zeldes added a commit that referenced this pull request Jun 9, 2020
  * Fixes #88
  * Implemented using the following DepEdit script:

```
#no special adverbial status for WH adverb subordinations
lemma=/^(when|how|where|while|why|whenever|wherever)$/&func=/mark/&head=/(.*)/&pos=/ADV/	none	#1:pos=SCONJ
lemma=/^(when|how|where|while|why|whenever|wherever)$/&func=/advmod/&head=/(.*)/	none	#1:func=mark;#1:pos=SCONJ;#1:head2=$2:mark

#exception for WH adverbs in questions, identified by question mark and not being an advcl
func!=/advcl/;lemma=/^(when|how|where|while|why|whenever|wherever)$/&pos=/SCONJ/&func=/mark/&head=/(.*)/;text=/^(\?+)!?$/	#1>#2;#2.*#3	#2:func=advmod;#2:pos=ADV;#2:head2=$2:advmod

#exception for 'why not'
func=/root/;lemma=/why/&func=/mark/&head=/(.*)/;lemma=/not/\t#1>#2;#2.#3\t#2:func=advmod;#2:pos=ADV;#2:head2=$1:advmod

#exception for do support
func=/root/;lemma=/^(why|how|when|where)$/&func=/mark/&head=/(.*)/;lemma=/do/\t#1>#2;#2.#3\t#2:func=advmod;#2:pos=ADV;#2:head2=$2:advmod
```
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

Successfully merging this pull request may close these issues.

2 participants