confidenceresult.java

来自「It is the Speech recognition software. 」· Java 代码 · 共 52 行

JAVA
52
字号
/* * Copyright 1999-2004 Carnegie Mellon University. * Portions Copyright 2004 Sun Microsystems, Inc. * Portions Copyright 2004 Mitsubishi Electric Research Laboratories. * All Rights Reserved.  Use is subject to license terms. * * See the file "license.terms" for information on usage and * redistribution of this file, and for a DISCLAIMER OF ALL * WARRANTIES. * */package edu.cmu.sphinx.result;import java.util.Iterator;/** * <p> * Shows the confidence information about a Result. * </p> */public interface ConfidenceResult {    /**     * Returns the best hypothesis of the result.     *     * @return the best hypothesis of the result     */    public Path getBestHypothesis();    /**     * Get the number of word slots contained in this result     *     * @return length of the result     */    public int size();    /**     * Iterator through the confusion sets in this result.     *     * @return confusion set iterator     */    public Iterator confusionSetIterator();    /**     * Get the nth confusion set in this result     *     * @param i the index of the confusion set to get     * @return the requested confusion set     */    public ConfusionSet getConfusionSet(int i); }

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?