private boolean matches(FSA.State state, String word) {
        state.start();
        state.delta(word);
        return state.isFinal();
    }
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