Class: Morpheme

.models. Morpheme

A class representing a Morpheme Token

new Morpheme( [data])

Create a new Morpheme
Parameters:
Name Type Argument Default Description
data Object <optional>
{} The data to use for this Morpheme Token
Properties
Name Type Argument Description
gloss Object The gloss for this morpheme, formatted as a MultiLangString.
lexeme Object <optional>
A Lexeme Reference that points to an item in a lexicon where more information about this morpheme can be found.
notes Array <optional>
An array of notes about this Morpheme. Each note should be formatted as a Note object.
tags Object <optional>
A set of tags for this morpheme, formatted as a Tags object.
transcription Object The transcription of this morpheme, formatted as a MultiLangString.
Properties:
Name Type Description
gloss MultiLangString The gloss for this morpheme, as a MultiLangString.
gl String A shorthand for accessing the default orthography of the `gloss` property.
lexeme Object A reference to an item in a lexicon where more information about this morpheme can be found, as a LexemeReference.
notes Array An array of notes about this morpheme. Each item should be a Note object.
tags Tags A set of tags for this morpheme, as a Tags object.
transcription MultiLangString A transcription of this morpheme, as a MultiLangString.
txn String A shorthand for accessing the default orthography of the `transcription` property.