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 class
Add 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 void
annotateRecord
(Record record) Apply OneToOne annotation to relevant objects before xml output.static void
removeAnnotations
(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
-
-
removeAnnotations
Remove any OneToOne annotations on given record- Parameters:
record
-
-