Can you describe how you encode 'cost' as a CharsRef?
The TopNSearcher (that code you found, looking for a NO_OUTPUT arc)
very much relies on how PositiveIntOutputs behaves, i.e. that the min
value seen so far on any prefix path will have a completion to a final
node that has only NO_OUTPUT arcs.
Hi,
Question:
Looking at the code I got slightly confused if TopNSearcher would work for
non weighted CharSequence Output FST. I am trying to use a scale up model
and accommodate many tenants on one machine and hence was not planning to
use Pair output. It would have been great if the path output