Package cc.mallet.grmm.learning

Examples of cc.mallet.grmm.learning.GenericAcrfData2TokenSequence.numLevels()


    assertEquals (4, ls1.size ());
    assertEquals (3, toks.get(0).getFeatures ().size ());
    assertEquals ("LBLB LBLD", ls1.getLabels (0).toString ());

    LabelAlphabet globalDict = p.getLabelAlphabet (0);
    assertEquals (2, p.numLevels ());
    assertEquals (globalDict, ls1.getLabels (0).get (0).getLabelAlphabet ());
  }

  public void testNoTokenText ()
  {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.