Skip to content

fix bug- missing assignment of spans from sentCFG in documentation#116

Open
jdegange wants to merge 1 commit intoharvardnlp:masterfrom
jdegange:master
Open

fix bug- missing assignment of spans from sentCFG in documentation#116
jdegange wants to merge 1 commit intoharvardnlp:masterfrom
jdegange:master

Conversation

@jdegange
Copy link

Noticed a small bug in the documentation and example of SentCFG. The return of dist.argmax is (terms, rules, init, spans), but example in documentation only assigns (term, rules, init) and gives dim mismatch. As such when running the example it breaks. This fix resolves this issue.

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.

1 participant