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

Sentences and Paragraphs as Token attributes #43

Open
drupchen opened this issue Apr 16, 2019 · 0 comments
Open

Sentences and Paragraphs as Token attributes #43

drupchen opened this issue Apr 16, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@drupchen
Copy link
Collaborator

drupchen commented Apr 16, 2019

The sentence_tokenizer() and paragraph_tokenizer() should add attributes about sentences in the Token objects directly instead of creating a new list of Tokens embedded in tuples.

An idea is to use the _ attribute in Token objets to store two k/v pairs: sent/word_num and par/word_num

@drupchen drupchen added the enhancement New feature or request label Apr 16, 2019
@drupchen drupchen changed the title Token spans Sentences and Paragraphs as Token attributes Aug 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant