Class OneToOne
java.lang.Object
ca.phon.session.io.xml.OneToOne
A container use for OneToOne alignment between morphology and IPA tiers with the mail line (Orthography.)
If present when saving xml, morphology and IPA tiers present in the OneToOne object will be added to the
appropriate word, pg, tag marker, etc. element in the xml. This class is used for compatibility with TalkBank.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAdd or remove OneToOne annotations to a record -
Constructor Summary
ConstructorsConstructorDescriptionOneToOne(Map<String, Mor> morTierData, Map<String, GraspTierData> graspTierData, Map<String, IPATranscript> ipaTierData) -
Method Summary
Modifier and TypeMethodDescriptionstatic voidannotateRecord(Record record) Apply OneToOne annotation to relevant objects before xml output.static voidannotateRecord(Record record, Transcriber transcriber) Apply OneToOne annotation to relevant objects before xml output.static voidremoveAnnotations(Record record) Remove any OneToOne annotations on given record
-
Constructor Details
-
OneToOne
public OneToOne(Map<String, Mor> morTierData, Map<String, GraspTierData> graspTierData, Map<String, IPATranscript> ipaTierData)
-
-
Method Details
-
getMorTierData
-
getGraspTierData
-
getIpaTierData
-
annotateRecord
Apply OneToOne annotation to relevant objects before xml output.- Parameters:
record- the record to annotate
-
annotateRecord
Apply OneToOne annotation to relevant objects before xml output.- Parameters:
record- the record to annotatetranscriber- the transcriber to use for blind tiers
-
removeAnnotations
Remove any OneToOne annotations on given record- Parameters:
record-
-