📄 utterance.java
字号:
/* * Copyright 1999-2002 Carnegie Mellon University. * Portions Copyright 2002 Sun Microsystems, Inc. * Portions Copyright 2002 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.trainer;import edu.cmu.sphinx.linguist.dictionary.Dictionary;/** * Provides mechanisms for accessing an utterance. */public interface Utterance { /** * Prefix for trainer.Utterance SphinxProperties */ String PROP_PREFIX = "edu.cmu.sphinx.trainer.Utterance."; /** * Add transcript with dictionary and exact flag. * * @param transcript the transcript * @param dictionary the default dictionary name * @param isExact the default flag * @param wordSeparator the word separator characters */ public void add(String transcript, Dictionary dictionary, boolean isExact, String wordSeparator); /** * Gets the transcript iterator. */ public void startTranscriptIterator(); /** * Returns whether there is a next transcript. */ public boolean hasMoreTranscripts(); /** * Returns next transcript. */ public Transcript nextTranscript();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -