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

NLPCRAFT-87: Probe start-up time improvements. #8

Merged
merged 5 commits into from
Aug 6, 2020
Merged

Conversation

syermakov
Copy link
Member

Summary of changes:

  • Add NCNlpTokenizerFactory interface in order to bypass initialization of Scala reflections runtime
  • Change NCNlpCoreManager to use tokenizer factory
  • Refactor NCNumericManager to read pre-generated numeric values from resources/numeric/numeric.txt file instead of generating them dynamically
  • Minor optimization of resources reading in NCDictionaryManager
  • Add new utility methods to NCUtils that allow to read and transform the contents of a file without reading the entire file into a List of strings.

syermakov and others added 4 commits August 6, 2020 21:24
# Conflicts:
#	nlpcraft/src/main/scala/org/apache/nlpcraft/common/nlp/core/NCNlpCoreManager.scala
@syermakov syermakov merged commit 3176d26 into master Aug 6, 2020
@syermakov syermakov deleted the NLPCRAFT-87 branch August 6, 2020 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants