Skip to content

Commit

Permalink
Sort prefixes after regular words
Browse files Browse the repository at this point in the history
  • Loading branch information
lynn committed Jan 4, 2024
1 parent 367d110 commit 8c01bbd
Show file tree
Hide file tree
Showing 2 changed files with 91 additions and 91 deletions.
180 changes: 90 additions & 90 deletions dictionary.json
Original file line number Diff line number Diff line change
Expand Up @@ -344,16 +344,6 @@
"examples": [],
"fields": []
},
{
"toaq": "baq-",
"type": "determiner prefix form",
"english": "fills object of verb with báq (generic; X-kind)",
"gloss": "of:GEN",
"short": "",
"keywords": [],
"notes": [],
"examples": []
},
{
"toaq": "báq",
"type": "determiner",
Expand All @@ -379,6 +369,16 @@
}
]
},
{
"toaq": "baq-",
"type": "determiner prefix form",
"english": "fills object of verb with báq (generic; X-kind)",
"gloss": "of:GEN",
"short": "",
"keywords": [],
"notes": [],
"examples": []
},
{
"toaq": "batata",
"type": "predicate",
Expand Down Expand Up @@ -475,8 +475,8 @@
"examples": []
},
{
"toaq": "beı-",
"type": "focus particle prefix form",
"toaq": "béı",
"type": "focus particle",
"english": "contrastive focus",
"gloss": "FOC.CONTR",
"short": "",
Expand All @@ -485,8 +485,8 @@
"examples": []
},
{
"toaq": "béı",
"type": "focus particle",
"toaq": "beı-",
"type": "focus particle prefix form",
"english": "contrastive focus",
"gloss": "FOC.CONTR",
"short": "",
Expand Down Expand Up @@ -5843,20 +5843,20 @@
"fields": []
},
{
"toaq": "ha-",
"type": "prefix",
"english": "X-er; more X; comparative",
"gloss": "CMPR",
"toaq": "",
"type": "pronoun",
"english": "generic impersonal pronoun; one/you/they/people",
"gloss": "3I.ANIM",
"short": "",
"keywords": [],
"notes": [],
"examples": []
},
{
"toaq": "",
"type": "pronoun",
"english": "generic impersonal pronoun; one/you/they/people",
"gloss": "3I.ANIM",
"toaq": "ha-",
"type": "prefix",
"english": "X-er; more X; comparative",
"gloss": "CMPR",
"short": "",
"keywords": [],
"notes": [],
Expand Down Expand Up @@ -6593,20 +6593,20 @@
"fields": []
},
{
"toaq": "hu-",
"type": "prefix",
"english": "derives anaphoric pronouns referring to phrases headed by the specified stem",
"gloss": "PREV",
"toaq": "",
"type": "determiner",
"english": "endophoric; the aforementioned X",
"gloss": "ENDO",
"short": "",
"keywords": [],
"notes": [],
"examples": []
},
{
"toaq": "",
"type": "determiner",
"english": "endophoric; the aforementioned X",
"gloss": "ENDO",
"toaq": "hu-",
"type": "prefix",
"english": "derives anaphoric pronouns referring to phrases headed by the specified stem",
"gloss": "PREV",
"short": "",
"keywords": [],
"notes": [],
Expand Down Expand Up @@ -8299,8 +8299,8 @@
"fields": []
},
{
"toaq": "juaq-",
"type": "focus particle prefix form",
"toaq": "júaq",
"type": "focus particle",
"english": "even",
"gloss": "even",
"short": "",
Expand All @@ -8309,8 +8309,8 @@
"examples": []
},
{
"toaq": "júaq",
"type": "focus particle",
"toaq": "juaq-",
"type": "focus particle prefix form",
"english": "even",
"gloss": "even",
"short": "",
Expand Down Expand Up @@ -8788,20 +8788,20 @@
"fields": []
},
{
"toaq": "ke-",
"type": "determiner prefix form",
"english": "fills object of verb with ké (exophoric; this X (not previously mentioned))",
"gloss": "of:EXO",
"toaq": "",
"type": "determiner",
"english": "exophoric; this X (not previously mentioned)",
"gloss": "EXO",
"short": "",
"keywords": [],
"notes": [],
"examples": []
},
{
"toaq": "",
"type": "determiner",
"english": "exophoric; this X (not previously mentioned)",
"gloss": "EXO",
"toaq": "ke-",
"type": "determiner prefix form",
"english": "fills object of verb with ké (exophoric; this X (not previously mentioned))",
"gloss": "of:EXO",
"short": "",
"keywords": [],
"notes": [],
Expand Down Expand Up @@ -9422,8 +9422,8 @@
"fields": []
},
{
"toaq": "ku-",
"type": "focus particle prefix form",
"toaq": "",
"type": "focus particle",
"english": "non-contrastive focus",
"gloss": "FOC",
"short": "",
Expand All @@ -9432,8 +9432,8 @@
"examples": []
},
{
"toaq": "",
"type": "focus particle",
"toaq": "ku-",
"type": "focus particle prefix form",
"english": "non-contrastive focus",
"gloss": "FOC",
"short": "",
Expand Down Expand Up @@ -10925,8 +10925,8 @@
"fields": []
},
{
"toaq": "mao-",
"type": "focus particle prefix form",
"toaq": "máo",
"type": "focus particle",
"english": "also",
"gloss": "also",
"short": "",
Expand All @@ -10935,8 +10935,8 @@
"examples": []
},
{
"toaq": "máo",
"type": "focus particle",
"toaq": "mao-",
"type": "focus particle prefix form",
"english": "also",
"gloss": "also",
"short": "",
Expand Down Expand Up @@ -12157,20 +12157,20 @@
"fields": []
},
{
"toaq": "na-",
"type": "prefix",
"english": "conjunctionizer",
"gloss": "CONJ",
"toaq": "",
"type": "cleft verb",
"english": "raise argument to the front of the clause",
"gloss": "CLE",
"short": "",
"keywords": [],
"notes": [],
"examples": []
},
{
"toaq": "",
"type": "cleft verb",
"english": "raise argument to the front of the clause",
"gloss": "CLE",
"toaq": "na-",
"type": "prefix",
"english": "conjunctionizer",
"gloss": "CONJ",
"short": "",
"keywords": [],
"notes": [],
Expand Down Expand Up @@ -15828,16 +15828,6 @@
],
"fields": []
},
{
"toaq": "sa-",
"type": "determiner prefix form",
"english": "fills object of verb with sá (existential quantifier)",
"gloss": "of:some",
"short": "",
"keywords": [],
"notes": [],
"examples": []
},
{
"toaq": "",
"type": "determiner",
Expand All @@ -15857,6 +15847,16 @@
}
]
},
{
"toaq": "sa-",
"type": "determiner prefix form",
"english": "fills object of verb with sá (existential quantifier)",
"gloss": "of:some",
"short": "",
"keywords": [],
"notes": [],
"examples": []
},
{
"toaq": "sabaq",
"type": "predicate",
Expand Down Expand Up @@ -18700,8 +18700,8 @@
"examples": []
},
{
"toaq": "to-",
"type": "focus particle prefix form",
"toaq": "",
"type": "focus particle",
"english": "only",
"gloss": "only",
"short": "",
Expand All @@ -18710,8 +18710,8 @@
"examples": []
},
{
"toaq": "",
"type": "focus particle",
"toaq": "to-",
"type": "focus particle prefix form",
"english": "only",
"gloss": "only",
"short": "",
Expand Down Expand Up @@ -18922,16 +18922,6 @@
"examples": [],
"fields": []
},
{
"toaq": "tu-",
"type": "determiner prefix form",
"english": "fills object of verb with tú (singular universal quantifier)",
"gloss": "of:each",
"short": "",
"keywords": [],
"notes": [],
"examples": []
},
{
"toaq": "",
"type": "determiner",
Expand All @@ -18951,6 +18941,16 @@
}
]
},
{
"toaq": "tu-",
"type": "determiner prefix form",
"english": "fills object of verb with tú (singular universal quantifier)",
"gloss": "of:each",
"short": "",
"keywords": [],
"notes": [],
"examples": []
},
{
"toaq": "tua",
"type": "predicate",
Expand Down Expand Up @@ -19208,20 +19208,20 @@
"fields": []
},
{
"toaq": "tuq-",
"type": "determiner prefix form",
"english": "fills object of verb with túq (collective universal quantifier)",
"gloss": "of:all",
"toaq": "túq",
"type": "determiner",
"english": "collective universal quantifier",
"gloss": "all",
"short": "",
"keywords": [],
"notes": [],
"examples": []
},
{
"toaq": "túq",
"type": "determiner",
"english": "collective universal quantifier",
"gloss": "all",
"toaq": "tuq-",
"type": "determiner prefix form",
"english": "fills object of verb with túq (collective universal quantifier)",
"gloss": "of:all",
"short": "",
"keywords": [],
"notes": [],
Expand Down
2 changes: 1 addition & 1 deletion tools/normalize.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function sortify(s) {
.toLowerCase()
.replace(/ı/g, "i")
.replace(//g, "v")
.replace(/[^a-z\ ]/g, "");
.replace(/[^a-z\ -]/g, "");

// It doesn't look like Array.sort is stable, so we'll tack on the original
// string at the end of the sort key. For example "dâ" is sorted as "da,dâ".
Expand Down

0 comments on commit 8c01bbd

Please sign in to comment.