transcript.java
来自「It is the Speech recognition software. 」· Java 代码 · 共 62 行
JAVA
62 行
/* * 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's transcription. */public interface Transcript { /** * Prefix for trainer.Transcript SphinxProperties */ String PROP_PREFIX = "edu.cmu.sphinx.trainer.Transcript."; /** * Gets the transcript's text */ public String getTranscriptText(); /** * Gets the transcript's dictionary. */ public Dictionary getDictionary(); /** * Returns whether the transcript is exact. */ public boolean isExact(); /** * Get the number of words in the transcription. */ public int numberOfWords(); /** * Start the iterator for the words in the transcription. */ public void startWordIterator(); /** * Return whether there are more words. */ public boolean hasMoreWords(); /** * Returns the next word. */ public String nextWord();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?