se.lth.cs.nlp.nlputils.annotations
Class ProcessedFNAnnotation

java.lang.Object
  extended by se.lth.cs.nlp.nlputils.annotations.AnnotationType
      extended by se.lth.cs.nlp.nlputils.annotations.ProcessedFNAnnotation

public class ProcessedFNAnnotation
extends AnnotationType

An AnnotationType for the simplified FrameNet annotation.

Author:
Richard Johansson (richard@cs.lth.se)

Method Summary
 AnnotatedText createLayers(InputStream in)
          Reads and parses an AnnotatedText from the given InputStream, using the format of the inheriting AnnotationType.
 AnnotatedText createLayers(String line1)
          Reads and parses an AnnotatedText from a string, using the format of the inheriting AnnotationType.
static ProcessedFNAnnotation instance()
          Returns the instance of this AnnotationType.
 
Methods inherited from class se.lth.cs.nlp.nlputils.annotations.AnnotationType
printLayers, printLayers, printLayers, printLayers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instance

public static ProcessedFNAnnotation instance()
Returns the instance of this AnnotationType.

Returns:
the instance of this AnnotationType.

createLayers

public AnnotatedText createLayers(InputStream in)
                           throws IOException
Description copied from class: AnnotationType
Reads and parses an AnnotatedText from the given InputStream, using the format of the inheriting AnnotationType.

Overrides:
createLayers in class AnnotationType
Parameters:
in - the input stream.
Returns:
the AnnotatedText.
Throws:
IOException

createLayers

public AnnotatedText createLayers(String line1)
Description copied from class: AnnotationType
Reads and parses an AnnotatedText from a string, using the format of the inheriting AnnotationType.

Overrides:
createLayers in class AnnotationType
Parameters:
line1 - the string.
Returns:
the AnnotatedText.