public class FSTUtil extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FSTUtil.Path<T>
Holds a pair (automaton, fst) of states and accumulated output in the intersected machine.
|
Modifier and Type | Method and Description |
---|---|
static <T> List<FSTUtil.Path<T>> |
intersectPrefixPaths(Automaton a,
FST<T> fst)
Enumerates all minimal prefix paths in the automaton that also intersect the FST,
accumulating the FST end node and output for each path.
|
public static <T> List<FSTUtil.Path<T>> intersectPrefixPaths(Automaton a, FST<T> fst) throws IOException
IOException
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.