corpus-services  1.0
de.uni_hamburg.corpora.validation.ComaTiersDescriptionAnnotationPanelChecker Class Reference
+ Inheritance diagram for de.uni_hamburg.corpora.validation.ComaTiersDescriptionAnnotationPanelChecker:
+ Collaboration diagram for de.uni_hamburg.corpora.validation.ComaTiersDescriptionAnnotationPanelChecker:

Public Member Functions

 ComaTiersDescriptionAnnotationPanelChecker ()
 
Report function (CorpusData cd, Boolean fix) throws SAXException, IOException, ParserConfigurationException, URISyntaxException
 
void addAnnotations (CorpusData cd) throws SAXException, IOException, ParserConfigurationException, URISyntaxException, TransformerException, XPathExpressionException
 
Collection< Class<?extends CorpusData > > getIsUsableFor ()
 
String getDescription ()
 
Report function (Corpus c, Boolean fix) throws SAXException, IOException, ParserConfigurationException, URISyntaxException
 
- Public Member Functions inherited from de.uni_hamburg.corpora.validation.Checker
Report execute (Corpus c)
 
Report execute (CorpusData cd)
 
Report execute (CorpusData cd, boolean fix)
 
Report execute (Corpus c, boolean fix)
 
abstract Report function (CorpusData cd, Boolean fix) throws NoSuchAlgorithmException, ClassNotFoundException, FSMException, URISyntaxException, SAXException, IOException, ParserConfigurationException, JexmaraldaException, TransformerException, XPathExpressionException, JDOMException
 
abstract Report function (Corpus c, Boolean fix) throws NoSuchAlgorithmException, ClassNotFoundException, FSMException, URISyntaxException, SAXException, IOException, ParserConfigurationException, JexmaraldaException, TransformerException, XPathExpressionException, JDOMException
 
abstract Collection< Class<?extends CorpusData > > getIsUsableFor ()
 
void setIsUsableFor (Collection< Class<?extends CorpusData >> cdc)
 
String getFunction ()
 
Boolean getCanFix ()
 

Detailed Description

The class that checks out that all annotations are from the annotation specification file and that there are no annotations in the coma file not in the annotation specification file.

Definition at line 31 of file ComaTiersDescriptionAnnotationPanelChecker.java.

Constructor & Destructor Documentation

de.uni_hamburg.corpora.validation.ComaTiersDescriptionAnnotationPanelChecker.ComaTiersDescriptionAnnotationPanelChecker ( )

Member Function Documentation

void de.uni_hamburg.corpora.validation.ComaTiersDescriptionAnnotationPanelChecker.addAnnotations ( CorpusData  cd) throws SAXException, IOException, ParserConfigurationException, URISyntaxException, TransformerException, XPathExpressionException

Add annotations to the corresponding array from coma and annotation specification file.

Definition at line 83 of file ComaTiersDescriptionAnnotationPanelChecker.java.

Report de.uni_hamburg.corpora.validation.ComaTiersDescriptionAnnotationPanelChecker.function ( CorpusData  cd,
Boolean  fix 
) throws SAXException, IOException, ParserConfigurationException, URISyntaxException

Main functionality of the feature; compares the coma file with the corresponding annotation specification file whether or not there is a conflict regarding the annotation tags that are used in the coma file.

Definition at line 48 of file ComaTiersDescriptionAnnotationPanelChecker.java.

Report de.uni_hamburg.corpora.validation.ComaTiersDescriptionAnnotationPanelChecker.function ( Corpus  c,
Boolean  fix 
) throws SAXException, IOException, ParserConfigurationException, URISyntaxException
String de.uni_hamburg.corpora.validation.ComaTiersDescriptionAnnotationPanelChecker.getDescription ( )

Default function which returns a two/three line description of what this class is about.

Implements de.uni_hamburg.corpora.CorpusFunction.

Definition at line 165 of file ComaTiersDescriptionAnnotationPanelChecker.java.

Collection<Class<? extends CorpusData> > de.uni_hamburg.corpora.validation.ComaTiersDescriptionAnnotationPanelChecker.getIsUsableFor ( )

Default function which determines for what type of files (basic transcription, segmented transcription, coma etc.) this feature can be used.

Implements de.uni_hamburg.corpora.CorpusFunction.

Definition at line 148 of file ComaTiersDescriptionAnnotationPanelChecker.java.


The documentation for this class was generated from the following file: