java.lang.Object
org.elasticsearch.xpack.core.ml.inference.preprocessing.customwordembedding.RelevantScriptFeatureExtractor
All Implemented Interfaces:
FeatureExtractor

public class RelevantScriptFeatureExtractor extends Object implements FeatureExtractor
Derived from: https://github.com/google/cld3/blob/master/src/relevant_script_feature.cc This extracts an array of FeatureValue from the given text. These values contain the particular script id for each code point (determined via ScriptDetector) and their average occurrence in the text.