Re: FST Util's - Will TopNSearcher work for non-weighted FST with CharSequence Ouputs as weight.

2015-09-26 Thread Michael McCandless
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.

FST Util's - Will TopNSearcher work for non-weighted FST with CharSequence Ouputs as weight.

2015-09-26 Thread Aditya Tripathi
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