The following features either characterize one ore more paradigm cells (agreement features) or a whole paradigm in contrast to other paradigms (tense, aspect, mood, polarity, order, etc.).
|A||transitive (or ditransitive) subject||agent|
|SA||intransitive subject or transitive (or ditransitive) subject||nominative|
|SP||intransitive subject or transitive object||absolutive|
|AP||transitive subject or transitive object||corargumentive|
|SAP||intransitive or transitive subject or transitive object||any|
|PG||transitive object or ditransitive goal|
|PT||transitive object or ditransitive theme|
|SPG||intransitive subject or transitive object or ditransitive goal|
|SPT||intransitive subject or transitive object or ditransitive theme|
|+1||1st person exclusive or 1st person inclusive||first|
|-1||2nd person or 3rd person||nonfirst|
|+2||2nd person or 1st person inclusive||second|
|-2||1st person exclusive or 3rd person||nonsecond|
|-3||1st person exclusive or 1st person inclusive or 2nd person||nonthird|
|-sg||dual or plural||nonsingular|
|-du||singular or plural||nondual|
|-pl||singular or dual||nonplural|
|+an||first person or second person or third person animate gender||animate|
|-an||third person inanimate gender||nonanimate|
|+hum||first person or second person or third person human (implies animate)||human|
|-hum||third person non-human||nonhuman|
|-masc||feminine or neuter gender||nonmasculine|
|-fem||masculine or neuter gender||nonfeminine|
|-neut||masculine or feminine gender||nonneuter|
|+obv||third person obviative||obviative|
|-obv||first person or second person or third person proximative||nonobviative|
|+hon||second or third person honorific or mid-honorific grade||honorific|
|-hon||second or third person non-honorific grade||nonhonorific|
|+spec||first person or second person or third person||specified actor|
|-spec||unspecified actor||nonspecified actor|
Tense, Aspect, Mood, Polarity
|indpt||independent or positive order||independent||/IO /PO|
|imper||imperative or optative order||imperative||/OO|
The following features are used to mark special properties of a morpheme.
Add a feature to an existing feature group
If you have added a new feature and want the Paradigm Coloriser to group the corresponding feature drag boxes into a certain thematic frame (in the coloriser's window's left hand) you need to add them to the corresponding array in the FeatureGroups.js script page.
In this case just edit the script page and add the new feature into the group it fits best. The names of the single feature scripts are defined in the first item of the array. One example (the comments are not in the original source):
allGroupsContent["allPersonFeatures"] = new Array( "Person features", // This line states the label of the current group frame. // all below this line are the single features that belong into this class. "FirstPerson", "SecondPerson", "ThirdPerson", "+1", "-1", "+2", "-2", "+3", "-3", "Prs:•", "Prs:••", "Prs:•••" );
This is a snapshot of the array that contains all features that will be grouped into the Person features frame of the paradigm coloriser. If you likt to add a new feature, say "-4" for a minus fourth person feature, simply add the line
to the array. It is very important not to miss the comma (,) at the end of the newly added line, except you add the new entry at the end of the array. then the preceding item has to get a comma. Never put a comma at the end of the last item in an array to prevent crashes and misbehavior of the python script. The resulting code should look something like that one:
allGroupsContent["allPersonFeatures"] = new Array( "Person features", "FirstPerson", "SecondPerson", "ThirdPerson", "+1", "-1", "+2", "-2", "+3", "-3", "-4", // <- our new feature! "Prs:•", "Prs:••", "Prs:•••" // the last item of an array never gets a comma! );
Add new feature groups
If you'd like to add new feature groups, just add
allGroupsContent["<anyUniqueName>"] = new Array( "<Label of the feature group>", //spot the comma! "<first feature in group>", // here, too! . . . "<last feature in group>" // here, no comma! );
at any point in the file, but not within an existing feature group array.
<anyUniqueName>is a unique internal name that should diverge from those of other feaure groups in the Mediawiki:FeatureGroups.js file,
<Label of the feature group>is the label of the feature Group. This is the text that appears on top of the feature fieldset in the Paradigm Coloriser window.
<first feature in group>is any feature that belongs to the group. Note that there has to be a comma behind each line of the featureGroupArray unless it is its last item, in this case:
<last feature in group>, which is the last item in an array and therefore does not get any comma.
Finally, add the unique name of the new feature group to the allGroups array on the bottom of the featureGroups.js file:
var allGroups = new Array( "allPersonFeatures", "allNumberFeatures", "allTAMFeatures", "allCaseFeatures", "allClassFeatures", "<anyUniqueName>", // Add the new group here, and dont forget the comma! "allDerivationFeatures", "allDirectionMarkers", "allOthers" // No comma at the last item! );
As this list is also an array, you need the comma behind the item unless is it the array's last item.