Skip to content
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.

Do not set the CoreNLP client object inside the DocumentProcessor if the language is not supported #23

Open
abhisheknovoic opened this issue Aug 3, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@abhisheknovoic
Copy link
Contributor

Currently, the CoreNLP object is being set inside the DocumentProcessor regardless of the input language. Set the client only if the language is supported by Stanford CoreNLP list of supported languages.

As of now, the code anyways runs because later when the feature is being requested, we anyways check if the language is supported by CoreNLP or not just before starting the service.

@abhisheknovoic abhisheknovoic added the bug Something isn't working label Aug 3, 2020
@abhisheknovoic abhisheknovoic self-assigned this Aug 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant