📄 confidenceresult.java
字号:
/* * 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -