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

Provide option to change nlp.max_length #218

Open
dhicks opened this issue Feb 17, 2022 · 1 comment
Open

Provide option to change nlp.max_length #218

dhicks opened this issue Feb 17, 2022 · 1 comment

Comments

@dhicks
Copy link

dhicks commented Feb 17, 2022

I'm running into into the 1M character limit with a few texts that are only a bit over the length limit. It would be nice if I could pass higher values of nlp.max_length in through an argument somewhere, perhaps spacy_initialize().

@kbenoit
Copy link
Collaborator

kbenoit commented Sep 1, 2022

Agreed!

Perhaps we could add a set of spacyr_options either via option() or something like quanteda_options() that define defaults that can be redefined the by the user, or reset prior to spacy_initialize(). Or passed as a list to spacy_initialize(..., options = list(spacyr_options()).

@kbenoit kbenoit changed the title [feature request] change nlp.max_length Provide option to change nlp.max_length Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants