org.cleartk.token.pos.genia
Class GeniaPosGoldReader
java.lang.Object
org.apache.uima.resource.Resource_ImplBase
org.apache.uima.resource.ConfigurableResource_ImplBase
org.apache.uima.collection.CollectionReader_ImplBase
org.uimafit.component.JCasCollectionReader_ImplBase
org.cleartk.token.pos.genia.GeniaPosGoldReader
- All Implemented Interfaces:
- org.apache.uima.collection.base_cpm.BaseCollectionReader, org.apache.uima.collection.CollectionReader, org.apache.uima.resource.ConfigurableResource, org.apache.uima.resource.Resource
public class GeniaPosGoldReader
- extends org.uimafit.component.JCasCollectionReader_ImplBase
Copyright (c) 2007-2008, Regents of the University of Colorado
All rights reserved.
- Author:
- Philip V. Ogren
- See Also:
GeniaPOSParser
| Fields inherited from interface org.apache.uima.resource.Resource |
PARAM_AGGREGATE_SOFA_MAPPINGS, PARAM_CONFIG_MANAGER, PARAM_CONFIG_PARAM_SETTINGS, PARAM_PERFORMANCE_TUNING_SETTINGS, PARAM_RESOURCE_MANAGER, PARAM_UIMA_CONTEXT |
| Methods inherited from class org.uimafit.component.JCasCollectionReader_ImplBase |
getLogger, getNext, initialize |
| Methods inherited from class org.apache.uima.collection.CollectionReader_ImplBase |
destroy, getCasInitializer, getProcessingResourceMetaData, initialize, isConsuming, reconfigure, setCasInitializer, typeSystemInit |
| Methods inherited from class org.apache.uima.resource.ConfigurableResource_ImplBase |
getConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValue |
| Methods inherited from class org.apache.uima.resource.Resource_ImplBase |
getCasManager, getMetaData, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger, setMetaData |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.uima.resource.ConfigurableResource |
getConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValue |
| Methods inherited from interface org.apache.uima.resource.Resource |
getMetaData, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger |
PARAM_GENIA_CORPUS_FILE
public static final String PARAM_GENIA_CORPUS_FILE
PARAM_LOAD_SENTENCES
public static final String PARAM_LOAD_SENTENCES
PARAM_LOAD_TOKENS
public static final String PARAM_LOAD_TOKENS
PARAM_LOAD_POS_TAGS
public static final String PARAM_LOAD_POS_TAGS
PARAM_ARTICLE_IDS_LIST_FILE
public static final String PARAM_ARTICLE_IDS_LIST_FILE
TEST_FOLDS
public static String[] TEST_FOLDS
TRAIN_FOLDS
public static String[] TRAIN_FOLDS
GeniaPosGoldReader
public GeniaPosGoldReader()
initialize
public void initialize(org.apache.uima.UimaContext context)
throws org.apache.uima.resource.ResourceInitializationException
- Overrides:
initialize in class org.uimafit.component.JCasCollectionReader_ImplBase
- Throws:
org.apache.uima.resource.ResourceInitializationException
getNext
public void getNext(org.apache.uima.jcas.JCas jCas)
throws IOException,
org.apache.uima.collection.CollectionException
- Specified by:
getNext in class org.uimafit.component.JCasCollectionReader_ImplBase
- Throws:
IOException
org.apache.uima.collection.CollectionException
close
public void close()
throws IOException
- Specified by:
close in interface org.apache.uima.collection.base_cpm.BaseCollectionReader- Overrides:
close in class org.uimafit.component.JCasCollectionReader_ImplBase
- Throws:
IOException
getProgress
public org.apache.uima.util.Progress[] getProgress()
hasNext
public boolean hasNext()
throws IOException,
org.apache.uima.collection.CollectionException
- Throws:
IOException
org.apache.uima.collection.CollectionException
getDescription
public static org.apache.uima.collection.CollectionReader getDescription(String geniaCorpusFile)
throws org.apache.uima.resource.ResourceInitializationException
- Throws:
org.apache.uima.resource.ResourceInitializationException
Copyright © 2012. All Rights Reserved.