Last active
December 27, 2015 11:49
-
-
Save language-engineering/7321248 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Given a ParsedSentence object, and an aspect token acquired from it (as in the previous section) | |
# Get the head of the aspect token | |
head_token = parsed_sentence.get_head(aspect_token) | |
print head_token |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment