Skip to content

Commit

Permalink
Merge branch 'main' into semantic_searchNEW
Browse files Browse the repository at this point in the history
  • Loading branch information
M1Al3x authored Nov 6, 2023
2 parents 9ef58f2 + 21d209c commit 4974e6d
Show file tree
Hide file tree
Showing 164 changed files with 149,452 additions and 10 deletions.
12 changes: 12 additions & 0 deletions .env.crkeng
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
REACT_APP_PORT_NUMBER=8000
REACT_APP_NAME="itwêwina"
REACT_APP_SUBTITLE="Plains Cree Dictionary"
REACT_APP_SOURCE_LANGUAGE_ENDONYM="nêhiyawêwin"
REACT_APP_WELCOME=tânisi
REACT_APP_ISO_CODE=crk
REACT_APP_SOURCE_LANGUAGE=NÊHIYAWÊWIN
REACT_APP_SYLLABICS_NAME="ᐃᑘᐏᓇ"
REACT_APP_SRO_MACRONS_NAME="itwēwina"
REACT_APP_SYLLABICS_WELCOME="ᑖᓂᓯ"
REACT_APP_SRO_MACRONS_WELCOME="tānisi"
REACT_APP_BACKEND="https://api.itwewina.altlab.dev"
1 change: 0 additions & 1 deletion Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<div class="definition__elaboration" data-cy="elaboration">
{{ lemma.linguist_info.pos }}
• {{ lemma.linguist_info.morphologies|join:" " }}
• {{ lemma.linguist_info.sourceIds|join:" " }}
</div>
Empty file.
105 changes: 105 additions & 0 deletions generated/frontend/arpeng/res/altlabel.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
FST TAG LINGUISTIC (SHORT) LINGUISTIC (LONG) ENGLISH HINÓNO'ÉÍ EMOJI
[AFFIRMATIVE] Affirmative Affirmative Affirmative statement
[NON_AFFIRMATIVE] Non-Affirmative Non-affirmative Not
[NON_AFFIRMATIVE][NEG] Negative Non-affirmative negative Not
[NON_AFFIRMATIVE][INTERROGATIVE] Non-Affirm Interrogative Non-affirmative Interrogative Negative Question
[INTERROGATIVE] Interrogative Interrogative Question
[INDICATIVE] Indicative Indicative Statement
[IMPERATIVE] Imper Imperative Command/Request
[1SG-SUBJ] 1s Subject: 1st Person Singular I
[1PL-SUBJ] 1p Subject: 1st Person Plural we
[1PL-EXCL-SUBJ] 1p (excl) Subject: 1st Person Plural (Exclusive) we (but not you)
[1PL-INCL-SUBJ] 1p (incl) Subject: 1st Person Plural (Inclusive) you and we
[2SG-SUBJ] 2s Subject: 2nd Person Singular you (one)
[2PL-SUBJ] 2p Subject: 2nd Person Plural you (all)
[3SG-SUBJ] 3s Subject: 3rd Person Singular s/he
[3PL-SUBJ] 3p Subject: 3rd Person Plural they
[4SG-SUBJ] 4s Subject: 4th Person Singular (Obviative) s/he (further)
[4PL-SUBJ] 4p Subject: 4th Person Plural (Obviative) s/he (further)
[INANIMATE-SUBJECT] Inanimate Subj Subject: Inanimate it

[1PL-SUBJ][INANIMATE-OBJECT] 1p → 3s Subject: 1st Person Plural we → it
[1PL-EXCL-SUBJ][INANIMATE-OBJECT] 1p (excl) → 3s Subject: 1st Person Plural (Exclusive) we (but not you) → it/them
[1PL-INCL-SUBJ][INANIMATE-OBJECT] 1p (incl) → 3s Subject: 1st Person Plural (Inclusive) you and we → it/them
[2SG-SUBJ][INANIMATE-OBJECT] 2s → 3s Subject: 2nd Person Singular you (one) → it/them
[2PL-SUBJ][INANIMATE-OBJECT] 2p → 3s Subject: 2nd Person Plural you (all) → it/them
[3SG-SUBJ][INANIMATE-OBJECT] 3s → 3s Subject: 3rd Person Singular s/he → it/them
[3PL-SUBJ][INANIMATE-OBJECT] 3p → 3s Subject: 3rd Person Plural they → it/them
[4SG-SUBJ][INANIMATE-OBJECT] 4s → 3s Subject: 4th Person Singular (Obviative) s/he (further) → it/them
[4PL-SUBJ][INANIMATE-OBJECT] 4p → 3s Subject: 4th Person Plural (Obviative) s/he (further) → it/them
[INANIMATE-OBJECT] Inanimate Obj Object: Inanimate → it

[1SG-OBJ] → 1s Object: 1st Person Singular → me
[1PL-OBJ] → 1s Object: 1st Person Plural → us
[1PL-EXCL-OBJ] → 1p (excl) Object: 1st Person Plural (Exclusive) → you (but not us)
[1PL-INCL-OBJ] → 1p (incl) Object: 1st Person Plural (Inclusive) → you and us
[2SG-OBJ] → 2s Object: 2nd Person Singular → you (one)
[2PL-OBJ] → 2p Object: 2nd Person Plural → you (all)
[3SG-OBJ] → 3s Object: 3rd Person Singular → her/him
[3PL-OBJ] → 3p Object: 3rd Person Plural → they
[4SG-OBJ] → 4s 3rd Person Singular (Obviative) → him/her
[4PL-OBJ] → 4p 3rd Person Plural (Obviative) → them

[1SG-SUBJ][2SG-OBJ] 1s → 2s Subject: 1st Person Singular → Object: 2nd Person Singular I → you
[1SG-SUBJ][2PL-OBJ] 1s → 2p Subject: 1st Person Singular → Object: 2nd Person Plural I → you (all)
[2SG-SUBJ][1SG-OBJ] 2s → 1s Subject: 2nd Person Singular → Object: 1st Person Singular you → me
[2PL-SUBJ][1SG-OBJ] 2p → 1s Subject: 2nd Person Plural → Object: 1st Person Singular you (all) → me
[1PL-SUBJ][2SG-OBJ] 1p → 2s Subject: 1st Person Plural → Object: 2nd Person Singular we → you
[1PL-SUBJ][2PL-OBJ] 1p → 2p Subject: 1st Person Plural → Object: 2nd Person Plural we → you (all)
[2SG-SUBJ][1PL-EXCL-OBJ] 2s → 1p (excl) Subject: 2nd Person Singular → Object: 1st Person Plural (Exclusive) you → us (but not you)
[2PL-SUBJ][1PL-EXCL-OBJ] 2p → 1p (excl) Subject: 2nd Person Plural → Object: 1st Person Plural (Exclusive) you (all) → us (but not you)
[1SG-SUBJ][3SG-OBJ] 1s → 3s Subject: 1st Person Singular → Object: 3rd Person Singular I → her/him/it
[1SG-SUBJ][3PL-OBJ] 1s → 3p Subject: 1st Person Singular → Object: 3rd Person Plural I → them
[2SG-SUBJ][3SG-OBJ] 2s → 3s Subject: 2nd Person Singular → Object: 3rd Person Singular you → her/him/it
[2SG-SUBJ][3PL-OBJ] 2s → 3p Subject: 2nd Person Singular → Object: 3rd Person Plural you → them
[3SG-SUBJ][4SG-OBJ] 3s → 4s Subject: 3rd Person Singular → Object: 4th Person Singular s/he/it → them (further)
[3SG-SUBJ][3PL-OBJ] 3s → 3p Subject: 3rd Person Singular → Object: 3rd Person Plural s/he/it → them
[4SG-SUBJ][4SG-OBJ] 4s → 4s Subject: 4th Person Singular → Object: 4th Person Singular s/he/it (further) → her/him/it (further)
[4SG-SUBJ][4PL-OBJ] 4s → 4p Subject: 4th Person Singular → Object: 4th Person Plural s/he/it (fruther) → them (further)
[1PL-SUBJ][3SG-OBJ] 1p → 3s Subject: 1st Person Plural → Object: 3rd Person Singular we → her/him/it
[1PL-SUBJ][3PL-OBJ] 1p → 3p Subject: 1st Person Plural → Object: 3rd Person Plural we → them
[1PL-INCL-SUBJ][3SG-OBJ] 1p (incl) → 3s Subject: 1st Person Singular (Inclusive) → Object: 3rd Person Singular you and we → her/him/it
[1PL-INCL-SUBJ][3PL-OBJ] 1p (incl) → 3p Subject: 1st Person Singular (Inclusive) → Object: 3rd Person Plural you and we → them
[2PL-SUBJ][3SG-OBJ] 2p → 3s Subject: 2nd Person Plural → Object: 3rd Person Singular you (all) → her/him/it
[2PL-SUBJ][3PL-OBJ] 2p → 3p Subject: 2nd Person Plural → Object: 3rd Person Plural you (all) → them
[3PL-SUBJ][3SG-OBJ] 3p → 3s Subject: 3rd Person Plural → Object: 3rd Person Singular they → her/him/it
[3PL-SUBJ][3PL-OBJ] 3p → 3p Subject: 3rd Person Plural → Object: 3rd Person Plural they → them
[4PL-SUBJ][4SG-OBJ] 4p → 4s Subject: 4th Person Plural → Object: 4th Person Singular they (further) → her/him/it (further)
[4PL-SUBJ][4PL-OBJ] 4p → 4p Subject: 4th Person Plural → Object: 4th Person Plural they (further) → them (further)
[3SG-SUBJ][1SG-OBJ] 3s → 1s Subject: 3rd Person Singular → Object: 1st Person Singular s/he/it → me
[3PL-SUBJ][1SG-OBJ] 3p → 1s Subject: 3rd Person Plural → Object: 1st Person Singular they → me
[3SG-SUBJ][2SG-OBJ] 3s → 2s Subject: 3rd Person Singular → Object: 2nd Person Singular s/he/it → you
[3PL-SUBJ][2SG-OBJ] 3p → 2s Subject: 3rd Person Plural → Object: 2nd Person Singular they → you
[4SG-SUBJ][3SG-OBJ] 4s → 3s Subject: 4th Person Singular → Object: 3rd Person Singular they (further) → her/him/it
[4PL-SUBJ][3PL-OBJ] 4p → 3p Subject: 4th Person Plural → Object: 3rd Person Plural they (further) → them
[4SG-SUBJ][4SG-OBJ] 4s → 4s Subject: 4th Person Singular → Object: 4th Person Singular they (further) → them (further)
[4PL-SUBJ][4SG-OBJ] 4p → 4s Subject: 4th Person Plural → Object: 4th Person Singular they (further) → her/him/it (further)
[3SG-SUBJ][1PL-EXCL-OBJ] 3s → 1p (excl) Subject: 3rd Person Singular → Object: 1st Person Plural (Exclusive) s/he/it → us (but not you)
[3PL-SUBJ][1PL-EXCL-OBJ] 3p → 1p (excl) Subject: 3rd Person Plural → Object: 1st Person Plural (Exclusive) they → us (but not you)
[3SG-SUBJ][1PL-INCL-OBJ] 3s → 1p (incl) Subject: 3rd Person Singular → Object: 1st Person Plural (Inclusive) s/he/it → us
[3PL-SUBJ][1PL-INCL-OBJ] 3p → 1p (incl) Subject: 3rd Person Plural → Object: 1st Person Plural (Inclusive) they → us
[3SG-SUBJ][2PL-OBJ] 3s → 2p Subject: 3rd Person Singular → Object: 2nd Person Plural s/he/it → you (all)
[3PL-SUBJ][2PL-OBJ] 3p → 2p Subject: 3rd Person Plural → Object: 2nd Person Plural they → you (all)
[4SG-SUBJ][3PL-OBJ] 4s → 3p Subject: 4th Person Singular → Object: 3rd Person Plural s/he/it (further) → them
[4PL-SUBJ][3PL-OBJ] 4p → 3p Subject: 4th Person Plural → Object: 3rd Person Plural they (further) → them
[4SG-SUBJ][4PL-OBJ] 4s → 4p Subject: 4th Person Singular → Object: 4th Person Plural s/he/it (further) → them (further)
[4PL-SUBJ][4PL-OBJ] 4p → 4p Subject: 4th Person Plural → Object: 4th Person Plural they (further) → them (further)

[PRESENT] Present Present tense happens now
[PAST] Past Past tense happened before this
[FUTURE] Future Future tense happening later on
[INF] Infinitive Infinitive form to happen
[PROGRESSIVE] Progresssive Progressive happening
[PERFECTIVE] Perfective Perfective have happened
[IMPERFECTIVE] Imperfective Imperfective incomplete event
[SIMPLE] Simple Simple tense simple event
[IC] IC Initial change starts change
[II] II Inanimate Intransitive unalive actor
[AI] AI Animate Intransitive alive actor
[TA] TA Animate Transitive alive actor acting on something/one
[TI] TI Inanimate Transitive unalive actor acting on something/one

[CONJUNCT] Conjunct Conjunct
[SUBJUNCTIVE] Subjunct Subjunctive would/could
[ITERATIVE] Iter Iterative repeatedly
[PROHIBITIVE] Prohib Prohibitive not allowed
1 change: 1 addition & 0 deletions generated/frontend/arpeng/res/dictionary/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
arapaho_lexicon.json
74 changes: 74 additions & 0 deletions generated/frontend/arpeng/res/dictionary/arpeng_test_db.importjson
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
[
{
"analysis": [
["[VERB]", "[AI]", "[ANIMATE-SUBJECT]", "[IMPERATIVE]"],
"nihooneihi",
["[2SG-SUBJ]"]
],
"head": "níhoonéíhi-",
"linguistInfo": {
"morphologies": ["nihoon-ehi-"],
"pos": "vai",
"sourceIds": ["L16721"]
},
"paradigm": "AI",
"senses": [
{
"definition": "yellow",
"sources": ["ALD"]
}
],
"slug": "níhoonéíhi-"
},
{
"fstLemma": "nihooyoo",
"head": "níhooyóó-",
"linguistInfo": {
"morphologies": ["nihoon-yoo-"],
"pos": "vii",
"sourceIds": ["L16737"]
},
"paradigm": "II",
"senses": [
{
"definition": "yellow",
"sources": ["ALD"]
}
],
"slug": "níhooyóó-"
},
{
"fstLemma": "noohoot",
"head": "noohóot-",
"linguistInfo": {
"morphologies": ["nooh-ôot-"],
"pos": "vti",
"sourceIds": ["L19469"]
},
"paradigm": "TI",
"senses": [
{
"definition": "see s.t.",
"sources": ["ALD"]
}
],
"slug": "noohóot-"
},
{
"fstLemma": "noohow",
"head": "nóóhow-",
"linguistInfo": {
"morphologies": ["nooh-ow-"],
"pos": "vta",
"sourceIds": ["L19475"]
},
"paradigm": "TA",
"senses": [
{
"definition": "see",
"sources": ["ALD"]
}
],
"slug": "nóóhow-"
}
]
9 changes: 9 additions & 0 deletions generated/frontend/arpeng/res/dictionary/test_db_words.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# vii, to be yellow
níhooyóó-
# vai, to be yellow
níhoonéíhi-

# vta, to see someone
nóóhow-
# vti, to see something
noohóot-
Binary file not shown.
Binary file not shown.
Binary file not shown.
25 changes: 25 additions & 0 deletions generated/frontend/arpeng/res/layouts/AI.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# [AFFIRMATIVE]

_ [1SG-SUBJ] [VERB][AI][ANIMATE-SUBJECT][AFFIRMATIVE][PRESENT][IC]${lemma}[1SG-SUBJ]
_ [2SG-SUBJ] [VERB][AI][ANIMATE-SUBJECT][AFFIRMATIVE][PRESENT][IC]${lemma}[2SG-SUBJ]
_ [3SG-SUBJ] [VERB][AI][ANIMATE-SUBJECT][AFFIRMATIVE][PRESENT][IC]${lemma}[3SG-SUBJ]
_ [4SG-SUBJ] [VERB][AI][ANIMATE-SUBJECT][AFFIRMATIVE][PRESENT][IC]${lemma}[4SG-SUBJ]
_ [1PL-SUBJ] [VERB][AI][ANIMATE-SUBJECT][AFFIRMATIVE][PRESENT][IC]${lemma}[3PL-SUBJ]
_ [1PL-INCL-SUBJ] [VERB][AI][ANIMATE-SUBJECT][AFFIRMATIVE][PRESENT][IC]${lemma}[1PL-INCL-SUBJ]
_ [2PL-SUBJ] [VERB][AI][ANIMATE-SUBJECT][AFFIRMATIVE][PRESENT][IC]${lemma}[3PL-SUBJ]
_ [3PL-SUBJ] [VERB][AI][ANIMATE-SUBJECT][AFFIRMATIVE][PRESENT][IC]${lemma}[3PL-SUBJ]
_ [4PL-SUBJ] [VERB][AI][ANIMATE-SUBJECT][AFFIRMATIVE][PRESENT][IC]${lemma}[4PL-SUBJ]

# [NON_AFFIRMATIVE][NEG]

_ [1SG-SUBJ] [VERB][AI][ANIMATE-SUBJECT][NON_AFFIRMATIVE][NEG][PRESENT]${lemma}[1SG-SUBJ]
_ [2SG-SUBJ] [VERB][AI][ANIMATE-SUBJECT][NON_AFFIRMATIVE][NEG][PRESENT]${lemma}[2SG-SUBJ]
_ [3SG-SUBJ] [VERB][AI][ANIMATE-SUBJECT][NON_AFFIRMATIVE][NEG][PRESENT]${lemma}[3SG-SUBJ]
_ [3SG-SUBJ] [VERB][AI][ANIMATE-SUBJECT][NON_AFFIRMATIVE][NEG][PRESENT]${lemma}[4SG-SUBJ]
_ [1PL-SUBJ] [VERB][AI][ANIMATE-SUBJECT][NON_AFFIRMATIVE][NEG][PRESENT]${lemma}[1PL-SUBJ]
_ [1PL-INCL-SUBJ] [VERB][AI][ANIMATE-SUBJECT][NON_AFFIRMATIVE][NEG][PRESENT]${lemma}[1PL-INCL-SUBJ]
_ [2PL-SUBJ] [VERB][AI][ANIMATE-SUBJECT][NON_AFFIRMATIVE][NEG][PRESENT]${lemma}[2PL-SUBJ]
_ [3PL-SUBJ] [VERB][AI][ANIMATE-SUBJECT][NON_AFFIRMATIVE][NEG][PRESENT]${lemma}[3PL-SUBJ]
_ [3PL-SUBJ] [VERB][AI][ANIMATE-SUBJECT][NON_AFFIRMATIVE][NEG][PRESENT]${lemma}[4PL-SUBJ]


17 changes: 17 additions & 0 deletions generated/frontend/arpeng/res/layouts/II.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# [AFFIRMATIVE]

_ [INANIMATE-SUBJECT] [VERB][II][INANIMATE-SUBJECT][AFFIRMATIVE][PRESENT][IC]${lemma}[3SG-SUBJ]
_ [3PL-SUBJ] [VERB][II][INANIMATE-SUBJECT][AFFIRMATIVE][PRESENT][IC]${lemma}[3PL-SUBJ]

# [NON_AFFIRMATIVE][NEG]

_ [INANIMATE-SUBJECT] [VERB][II][INANIMATE-SUBJECT][NON_AFFIRMATIVE][NEG][PRESENT]${lemma}[3SG-SUBJ]
_ [3PL-SUBJ] [VERB][II][INANIMATE-SUBJECT][NON_AFFIRMATIVE][NEG][PRESENT]${lemma}[3PL-SUBJ]

# [NON_AFFIRMATIVE][INTERROGATIVE]

_ [INANIMATE-SUBJECT] [VERB][II][INANIMATE-SUBJECT][NON_AFFIRMATIVE][INTERROGATIVE][PRESENT]${lemma}[3SG-SUBJ]
_ [3PL-SUBJ] [VERB][II][INANIMATE-SUBJECT][NON_AFFIRMATIVE][INTERROGATIVE][PRESENT]${lemma}[3PL-SUBJ]



Loading

0 comments on commit 4974e6d

Please sign in to comment.