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

Public Member Functions

 ComaSegmentCountChecker ()
 
Report function (CorpusData cd, Boolean fix) throws ClassNotFoundException, SAXException, IOException, ParserConfigurationException, JexmaraldaException, TransformerException, XPathExpressionException, JDOMException
 
Collection< Class<?extends CorpusData > > getIsUsableFor ()
 
String getDescription ()
 
Report function (Corpus c, Boolean fix) throws ClassNotFoundException, SAXException, IOException, ParserConfigurationException, JexmaraldaException, TransformerException, XPathExpressionException, JDOMException
 
- 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

A class that checks whether there are more than one segmentation algorithms used in the coma file. If that is the case, it issues warnings.

Definition at line 33 of file ComaSegmentCountChecker.java.

Constructor & Destructor Documentation

de.uni_hamburg.corpora.validation.ComaSegmentCountChecker.ComaSegmentCountChecker ( )

Definition at line 37 of file ComaSegmentCountChecker.java.

Member Function Documentation

Report de.uni_hamburg.corpora.validation.ComaSegmentCountChecker.function ( CorpusData  cd,
Boolean  fix 
) throws ClassNotFoundException, SAXException, IOException, ParserConfigurationException, JexmaraldaException, TransformerException, XPathExpressionException, JDOMException

Main functionality of the feature; checks the coma file whether or not there are more than one segmentation algorithms used in the corpus. Issues warnings and returns report which is composed of errors.

Definition at line 48 of file ComaSegmentCountChecker.java.

Report de.uni_hamburg.corpora.validation.ComaSegmentCountChecker.function ( Corpus  c,
Boolean  fix 
) throws ClassNotFoundException, SAXException, IOException, ParserConfigurationException, JexmaraldaException, TransformerException, XPathExpressionException, JDOMException

Definition at line 194 of file ComaSegmentCountChecker.java.

String de.uni_hamburg.corpora.validation.ComaSegmentCountChecker.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 186 of file ComaSegmentCountChecker.java.

Collection<Class<? extends CorpusData> > de.uni_hamburg.corpora.validation.ComaSegmentCountChecker.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 171 of file ComaSegmentCountChecker.java.


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