public class FSTUtil
extends java.lang.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> java.util.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> java.util.List<FSTUtil.Path<T>> intersectPrefixPaths(Automaton a, FST<T> fst) throws java.io.IOException
java.io.IOException
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.