org.xces.graf.uima
Class DefaultAnnotationSpaceLabelMaker

java.lang.Object
  extended by org.xces.graf.uima.DefaultAnnotationSpaceLabelMaker

public class DefaultAnnotationSpaceLabelMaker
extends Object

The default label maker used to generate a type name prefix from an annotation set's type.

Version:
1.0
Author:
Keith Suderman

Field Summary
protected  org.xces.graf.uima.TypeSystemFactory.IAnnotationLabelMaker aLabelMaker
           
protected  org.slf4j.Logger logger
           
 
Constructor Summary
DefaultAnnotationSpaceLabelMaker(org.xces.graf.uima.TypeSystemFactory.IAnnotationLabelMaker labelMaker)
           
 
Method Summary
 String makeLabel(org.xces.graf.api.IAnnotationSpace as)
          Label annotation spaces with their type name
 void setAnnotationLabelMaker(org.xces.graf.uima.TypeSystemFactory.IAnnotationLabelMaker labelMaker)
          ties the default annotation label maker to this annotation SET label maker
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected org.slf4j.Logger logger

aLabelMaker

protected org.xces.graf.uima.TypeSystemFactory.IAnnotationLabelMaker aLabelMaker
Constructor Detail

DefaultAnnotationSpaceLabelMaker

public DefaultAnnotationSpaceLabelMaker(org.xces.graf.uima.TypeSystemFactory.IAnnotationLabelMaker labelMaker)
Method Detail

setAnnotationLabelMaker

public void setAnnotationLabelMaker(org.xces.graf.uima.TypeSystemFactory.IAnnotationLabelMaker labelMaker)
ties the default annotation label maker to this annotation SET label maker


makeLabel

public String makeLabel(org.xces.graf.api.IAnnotationSpace as)
Label annotation spaces with their type name



Copyright © 2012 American National Corpus. All Rights Reserved.