com.johnsnowlabs.nlp.embeddings
takes a document and annotations and produces new annotations of this annotator's annotation type
takes a document and annotations and produces new annotations of this annotator's annotation type
Annotations that correspond to inputAnnotationCols generated by previous annotators if any
any number of annotations processed for every input annotation. Not necessary one to one relationship
Input annotator type : DOCUMENT, TOKEN
Input annotator type : DOCUMENT, TOKEN
Output annotator type : WORD_EMBEDDINGS
Output annotator type : WORD_EMBEDDINGS
cache size for items retrieved from storage.
cache size for items retrieved from storage. Increase for performance but higher memory consumption
Set cache size for items retrieved from storage.
Set cache size for items retrieved from storage. Increase for performance but higher memory consumption
Required input and expected output annotator types
Word Embeddings lookup annotator that maps tokens to vectors
See https://github.com/JohnSnowLabs/spark-nlp/blob/master/src/test/scala/com/johnsnowlabs/nlp/annotators/ner/NerConverterTest.scala for example usage of this API.