Package ca.phon.session.alignedMorphemes
Class AlignedMorphemes
java.lang.Object
ca.phon.session.alignedMorphemes.AlignedMorphemes
- All Implemented Interfaces:
ExtensionProvider
Extends the aligned word class with the aligned moprheme concept.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAlignedMorpheme
(int morphemeIdx) Return aligned morpheme at given indexint
void
Install extension on an extendable object.void
setAlignedWord
(Word alignedWord)
-
Constructor Details
-
AlignedMorphemes
public AlignedMorphemes()
-
-
Method Details
-
getMorphemeCount
public int getMorphemeCount()- Returns:
- number of morpheme positions in the aligned word
-
getAlignedWord
-
setAlignedWord
-
getAlignedMorpheme
Return aligned morpheme at given index- Parameters:
morphemeIdx
-- Returns:
- aligned morpheme for index
- Throws:
NullPointerException
ArrayIndexOutOfBoundsException
-
installExtension
Description copied from interface:ExtensionProvider
Install extension on an extendable object.- Specified by:
installExtension
in interfaceExtensionProvider
-