Skip to content

fix #123: pattern sentence instance can be converted into an NLTK tree#124

Open
arne-cl wants to merge 3 commits intoclips:masterfrom
arne-cl:master
Open

fix #123: pattern sentence instance can be converted into an NLTK tree#124
arne-cl wants to merge 3 commits intoclips:masterfrom
arne-cl:master

Conversation

@arne-cl
Copy link
Copy Markdown

@arne-cl arne-cl commented Sep 29, 2015

No description provided.

- will generate a Text(), which will contain one Sentence(),
  where each word is annotated with string offsets

>>> for w in s:
        print w, w.custom_tags

Word(u'F\xfcr/IN') {'start-pos': u'0', 'end-pos': u'2'}
Word(u'den/DT') {'start-pos': u'4', 'end-pos': u'6'}
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