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

Label of strong MWE should only be indexed by the first token #4

Closed
nschneid opened this issue Dec 10, 2017 · 1 comment
Closed

Label of strong MWE should only be indexed by the first token #4

nschneid opened this issue Dec 10, 2017 · 1 comment
Assignees

Comments

@nschneid
Copy link
Contributor

https://github.com/nert-gu/streusle/blob/951a25933d43581982471f6afb4e02e1f5b6c5d2/munge.py#L40-L46

@nschneid
Copy link
Contributor Author

I think this shouldn't be a loop—maybe the following would suffice, though I haven't tested it:

jsons[id]['labels'][str(t[0])] = [jsons[id]['words'][t[0]-1][0], v2]

ablodge added a commit that referenced this issue Dec 21, 2017
ablodge added a commit that referenced this issue Dec 23, 2017
Fixed munge.py for #3 and #4. Changed column names in 'psst-tokens_genitive.ablodgett.csv',
         'psst-tokens-revisions.csv', and
         'allbacktick-tokens-revisions.csv'.
nschneid pushed a commit that referenced this issue Oct 22, 2019
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

2 participants