|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sphinx.decoder.search.Partitioner
public class Partitioner
Partitions a list of tokens according to the token score.
Constructor Summary | |
---|---|
Partitioner()
|
Method Summary | |
---|---|
int |
partition(Token[] tokens,
int size,
int n)
Partitions the given array of tokens in place, so that the highest scoring n token will be at the beginning of the array, not in any order. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Partitioner()
Method Detail |
---|
public int partition(Token[] tokens, int size, int n)
tokens
- the array of tokens to partitionsize
- the number of tokens to partitionn
- the number of tokens in the final partition
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |