public class PTBImporterMapper
extends org.corpus_tools.pepper.impl.PepperMapperImpl
| Constructor and Description |
|---|
PTBImporterMapper() |
| Modifier and Type | Method and Description |
|---|---|
int |
CountInString(String strInput,
String strToCount)
???
|
protected void |
initialize() |
org.corpus_tools.pepper.common.DOCUMENT_STATUS |
mapSCorpus()
Called by the Pepper framework to map the corpus-structure.
|
org.corpus_tools.pepper.common.DOCUMENT_STATUS |
mapSDocument()
Called by the Pepper framework to start the mapping for one
document-structure.
|
void |
mapSentence(String strSentence)
The main logic to parse the ptb format.
|
addProgress, getCorpus, getDocument, getMappingResult, getMappingSubjects, getPepperMapperController, getProgress, getProperties, getResourceURI, readXMLResource, setCorpus, setDocument, setMappingResult, setPepperMapperController, setProgress, setProperties, setResourceURIprotected void initialize()
initialize in class org.corpus_tools.pepper.impl.PepperMapperImplpublic org.corpus_tools.pepper.common.DOCUMENT_STATUS mapSCorpus()
mapSCorpus in interface org.corpus_tools.pepper.modules.PepperMappermapSCorpus in class org.corpus_tools.pepper.impl.PepperMapperImplpublic org.corpus_tools.pepper.common.DOCUMENT_STATUS mapSDocument()
mapSDocument in interface org.corpus_tools.pepper.modules.PepperMappermapSDocument in class org.corpus_tools.pepper.impl.PepperMapperImplpublic void mapSentence(String strSentence)
strSentence containing just one sentence in PTB format is
parsed and mapped to Salt. The result is contained in
vecNodeList.strSentence - sentence in PTB formatCopyright © 2013–2015 Humboldt-Universität zu Berlin. All rights reserved.