Package com.clearnlp.component.pos

Examples of com.clearnlp.component.pos.AbstractPOSTagger


{
  @Override
  public void develop(Element eConfig, JointFtrXml[] xmls, String[] trainFiles, String[] devFiles, String mode, boolean generate, int devId) throws Exception
  {
    JointReader reader = getJointReader(UTXml.getFirstElementByTagName(eConfig, TAG_READER));
    AbstractPOSTagger collector = getCollector(eConfig, reader, getLanguage(eConfig), xmls, trainFiles, devId);
    developComponentBoot(eConfig, reader, xmls, trainFiles, devFiles, collector, generate, devId);
  }
View Full Code Here


public class POSTrainer extends AbstractNLPTrainer
{
  @Override
  protected AbstractStatisticalComponent<?> getComponent(Element eConfig, JointReader reader, JointFtrXml[] xmls, String[] trainFiles, int devId)
  {
    AbstractPOSTagger collector = getCollector(eConfig, reader, getLanguage(eConfig), xmls, trainFiles, devId);
    return getTrainedComponentBoot(eConfig, reader, collector, xmls, trainFiles, devId);
  }
View Full Code Here

{
  @Override
  public void develop(Element eConfig, JointFtrXml[] xmls, String[] trainFiles, String[] devFiles, String mode, boolean generate, int devId) throws Exception
  {
    JointReader reader = getJointReader(UTXml.getFirstElementByTagName(eConfig, TAG_READER));
    AbstractPOSTagger collector = getCollector(reader, getLanguage(eConfig), xmls, trainFiles, devId);
    developComponentBoot(eConfig, reader, xmls, trainFiles, devFiles, collector, generate, devId);
  }
View Full Code Here

public class POSTrainer extends AbstractNLPTrainer
{
  @Override
  protected AbstractStatisticalComponent<?> getComponent(Element eConfig, JointReader reader, JointFtrXml[] xmls, String[] trainFiles, int devId)
  {
    AbstractPOSTagger collector = getCollector(reader, getLanguage(eConfig), xmls, trainFiles, devId);
    return getTrainedComponentBoot(eConfig, reader, collector, xmls, trainFiles, devId);
  }
View Full Code Here

TOP

Related Classes of com.clearnlp.component.pos.AbstractPOSTagger

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.