Package edu.stanford.nlp.pipeline

Source Code of edu.stanford.nlp.pipeline.TextAnnotationCreator

package edu.stanford.nlp.pipeline;

import edu.stanford.nlp.pipeline.Annotation;

import java.io.IOException;

/**
* Creates an annotation from text
*
* @author Angel Chang
*/
public class TextAnnotationCreator extends AbstractTextAnnotationCreator {
  @Override
  public Annotation createFromText(String text) throws IOException {
    return new Annotation(text);
  }
}
TOP

Related Classes of edu.stanford.nlp.pipeline.TextAnnotationCreator

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.