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

Store references to the resulting spacy doc and list of phrases as more transparent attributes. #2

Open
andrewrosss opened this issue May 10, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@andrewrosss
Copy link
Owner

The use-case would be something like:

text = "If your application contains a large number of form groups, we recommend building a higher-level component encapsulating a complete field group that renders the label, the control, and any other necessary components."

r = Rake()
print(r.doc)  #prints None
print(r.phrases)  #prints None

ranklist = r.extract_keywords_from_text(text)
print(r.doc)  # prints the input text
print(r.phrases)  # prints the result of r.phrase_fn(doc)
@andrewrosss andrewrosss added the enhancement New feature or request label May 10, 2020
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