Class NearestNeighborsAnalyzer


  • public final class NearestNeighborsAnalyzer
    extends SearchAnalyzer
    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:
    API Documentation