Class NearestNeighborsAnalyzer
java.lang.Object
com.arangodb.entity.arangosearch.analyzer.SearchAnalyzer
com.arangodb.entity.arangosearch.analyzer.NearestNeighborsAnalyzer
An Analyzer capable of finding nearest neighbors of tokens in the input. It applies a user-provided supervised
fastText word embedding model to retrieve nearest neighbor tokens in the text. It is able to find neighbors of
individual tokens as well as entire input strings. For entire input strings, the Analyzer will return nearest
neighbors for each token within the input string.
- Since:
- ArangoDB 3.10
- Author:
- Michele Rastelli
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
void
setProperties
(NearestNeighborsAnalyzerProperties properties) Methods inherited from class com.arangodb.entity.arangosearch.analyzer.SearchAnalyzer
getFeatures, getName, getType, setFeatures, setName, setType
-
Constructor Details
-
NearestNeighborsAnalyzer
public NearestNeighborsAnalyzer()
-
-
Method Details
-
getProperties
-
setProperties
-
equals
- Overrides:
equals
in classSearchAnalyzer
-
hashCode
public int hashCode()- Overrides:
hashCode
in classSearchAnalyzer
-