private List<Phrase> matchSingleItem(TermItem termItem) {
        String matchWord = toLowerCase(termItem.stringValue());
        String replaceWord = null;
        FSA.State state = phraseFSA.getState();
        if (!matches(state,matchWord)) {
            if (!ignorePluralForm) return null;
            matchWord = switchForm(matchWord);
            if (!matches(state, matchWord)) return null;
            replaceWord = matchWord;
        }

        List<Phrase> itemList = new java.util.ArrayList<>(1);
        itemList.add(new Phrase(termItem, replaceWord, state.dataString()));
        return itemList;

    }
Returns null if this word does not match the automaton, a single-item list if it does
container-search/src/main/java/com/yahoo/prelude/querytransform/PhraseMatcher.java