Examples of SRLState


Examples of com.clearnlp.component.state.SRLState

//  ================================ PROCESS ================================
 
  @Override
  public void process(DEPTree tree)
  {
    SRLState state = init(tree);
    processAux(state);
   
    if (isDevelop())
      e_eval.countAccuracy(state.getTree(), state.getGoldLabels());
  }
View Full Code Here

Examples of com.clearnlp.component.state.SRLState

  }
 
  /** Called by {@link AbstractSRLabeler#process(DEPTree)}. */
  protected SRLState init(DEPTree tree)
  {
    SRLState state = new SRLState(tree);
   
    if (!isDecode())
    {
      state.setGoldLabels(tree.getSHeads());
      tree.clearSHeads();
    }
    else
      tree.initSHeads();

View Full Code Here

Examples of com.clearnlp.component.state.SRLState

//  ================================ PROCESS ================================
 
  @Override
  public void process(DEPTree tree)
  {
    SRLState state = init(tree);
    processAux(state);
   
    if (isDevelop())
      e_eval.countAccuracy(state.getTree(), state.getGoldLabels());
  }
View Full Code Here

Examples of com.clearnlp.component.state.SRLState

  }
 
  /** Called by {@link AbstractSRLabeler#process(DEPTree)}. */
  protected SRLState init(DEPTree tree)
  {
    SRLState state = new SRLState(tree);
   
    if (!isDecode())
    {
      state.setGoldLabels(tree.getSHeads());
      tree.clearSHeads();
    }
    else
      tree.initSHeads();

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.