@Override
    public List<String> segment(String text, Language language) {
        return resolveModelFrom(language).segment(text, tokenizer);
    }
Segments the given text into token segments from the WordPiece vocabulary.

@param text the text to segment. The text should be of a language using space-separated words.
@return the list of zero or more token ids resulting from segmenting the input text
linguistics-components/src/main/java/com/yahoo/language/wordpiece/WordPieceEmbedder.java