Package com.sun.speech.freetts

Examples of com.sun.speech.freetts.FeatureSetImpl


     *
   */
  public Viterbi(Relation segs, ClusterUnitDatabase db) {
      ViterbiPoint last = null;
      clunitDB = db;
      f = new FeatureSetImpl();
      for (Item s = segs.getHead(); true; s = s.getNext()) {
    ViterbiPoint n = new ViterbiPoint(s);
        // The number of ViterbiPaths associated with each ViterbiPoint
        // is determined using the variable numStates.
        // TODO: Where can numStates be set?
View Full Code Here


   * @param name the name of the feature
   * @param value the new value for the feature
   */
  void setFeature(String name, Object value) {
      if (f == null) {
    f = new FeatureSetImpl();
      }
      f.setObject(name, value);
  }
View Full Code Here

TOP

Related Classes of com.sun.speech.freetts.FeatureSetImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.