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

Public Member Functions

 ExbMerger ()
 
Report check (CorpusData cd) throws JexmaraldaException
 
void addEvents (NodeList tiers, String transcriptName, boolean first, CorpusData cd)
 
void addTimelineItems (NodeList items, String transcriptName, boolean first, Report stats)
 
void addSpeakers (NodeList speakers, String transcriptName, boolean first)
 
void compareEvents (String transcriptName, Report stats, CorpusData cd)
 
void compareTimelineItems (String transcriptName, Report stats)
 
void compareSpeakers (String transcriptName, Report stats)
 
String[] compareTwoExbs (String firstExb, String secondExb)
 
Collection< Class<?extends CorpusData > > getIsUsableFor ()
 
Report function (CorpusData cd, Boolean fix) throws FSMException, URISyntaxException, SAXException, IOException, ParserConfigurationException, JexmaraldaException, TransformerException, XPathExpressionException, JDOMException
 
String getDescription ()
 
Report function (Corpus c, Boolean fix) throws NoSuchAlgorithmException, ClassNotFoundException, FSMException, URISyntaxException, 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 ()
 

Public Attributes

HashMap< String, String > exbStrings
 
HashMap< String, String > exbStringsTwo
 

Detailed Description

The class that calculates IAA according to Krippendorff's alpha for Exb files; only cares for annotation labels, assuming that transcription structure and text remains the same.Checks and puts them in the error lists if different versions of the same file have different annotations for the same event/token. Moreover, this functionality includes the inter-annotator agreement: percentage of overlapping choices between the annotators.

Definition at line 38 of file ExbMerger.java.

Constructor & Destructor Documentation

de.uni_hamburg.corpora.validation.ExbMerger.ExbMerger ( )

Definition at line 57 of file ExbMerger.java.

Member Function Documentation

void de.uni_hamburg.corpora.validation.ExbMerger.addEvents ( NodeList  tiers,
String  transcriptName,
boolean  first,
CorpusData  cd 
)

Definition at line 153 of file ExbMerger.java.

void de.uni_hamburg.corpora.validation.ExbMerger.addSpeakers ( NodeList  speakers,
String  transcriptName,
boolean  first 
)

Definition at line 199 of file ExbMerger.java.

void de.uni_hamburg.corpora.validation.ExbMerger.addTimelineItems ( NodeList  items,
String  transcriptName,
boolean  first,
Report  stats 
)

Definition at line 176 of file ExbMerger.java.

Report de.uni_hamburg.corpora.validation.ExbMerger.check ( CorpusData  cd) throws JexmaraldaException

Default check function which calls the exceptionalCheck function so that the primal functionality of the feature can be implemented, and additionally checks for parser configuration, SAXE and IO exceptions.

Definition at line 67 of file ExbMerger.java.

void de.uni_hamburg.corpora.validation.ExbMerger.compareEvents ( String  transcriptName,
Report  stats,
CorpusData  cd 
)

Definition at line 264 of file ExbMerger.java.

void de.uni_hamburg.corpora.validation.ExbMerger.compareSpeakers ( String  transcriptName,
Report  stats 
)

Definition at line 328 of file ExbMerger.java.

void de.uni_hamburg.corpora.validation.ExbMerger.compareTimelineItems ( String  transcriptName,
Report  stats 
)

Definition at line 309 of file ExbMerger.java.

String [] de.uni_hamburg.corpora.validation.ExbMerger.compareTwoExbs ( String  firstExb,
String  secondExb 
)

Definition at line 359 of file ExbMerger.java.

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

Definition at line 473 of file ExbMerger.java.

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

Definition at line 483 of file ExbMerger.java.

String de.uni_hamburg.corpora.validation.ExbMerger.getDescription ( )

Implements de.uni_hamburg.corpora.CorpusFunction.

Definition at line 478 of file ExbMerger.java.

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

Member Data Documentation

HashMap<String, String> de.uni_hamburg.corpora.validation.ExbMerger.exbStrings

Definition at line 41 of file ExbMerger.java.

HashMap<String, String> de.uni_hamburg.corpora.validation.ExbMerger.exbStringsTwo

Definition at line 42 of file ExbMerger.java.


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