From 6aeeca08457fe735accd78407a1c635070ab93e4 Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Fri, 30 Apr 2021 10:34:38 +0700 Subject: Update dictionary setting --- src/SUMMARY.md | 1 + src/haasdaiga/compile-dict.sh | 3 +- src/haasdaiga/dict2md.sh | 10 ++++ src/haasdaiga/lexicon.dict.txt | 13 ++++- src/haasdaiga/lexicon.md | 116 ++++++++++++++++++++++++++++++++++++++ src/haasdaiga/lexicon.temp | 106 ++++++++++++++++++++++++++++++++++ src/haasdaiga/lexicon.template.md | 10 ++++ 7 files changed, 256 insertions(+), 3 deletions(-) create mode 100755 src/haasdaiga/dict2md.sh create mode 100644 src/haasdaiga/lexicon.md create mode 100644 src/haasdaiga/lexicon.temp create mode 100644 src/haasdaiga/lexicon.template.md diff --git a/src/SUMMARY.md b/src/SUMMARY.md index ed1af1b..5fcbe9b 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -13,3 +13,4 @@ - [Pronoun](./haasdaiga/pos/pronoun.md) - [Verb](./haasdaiga/pos/verb.md) - [Postposition](./haasdaiga/pos/pp.md) + - [Lexicon](./haasdaiga/lexicon.md) diff --git a/src/haasdaiga/compile-dict.sh b/src/haasdaiga/compile-dict.sh index 271a4d5..b6097d0 100755 --- a/src/haasdaiga/compile-dict.sh +++ b/src/haasdaiga/compile-dict.sh @@ -1,3 +1,4 @@ -cat lexicon.dict.txt | sed "/^=/d" | dictfmt -j --utf8 --utf8\ +cat lexicon.dict.txt | sed "/^=/d" | sed -e '/./b' -e :n -e 'N;s/\n$//;tn' |\ + dictfmt -j --utf8 --utf8 \ -s "Hàäsdáïga-English dictionary" \ -u https://git.disroot.org/huyngo/conlang hdg-eng diff --git a/src/haasdaiga/dict2md.sh b/src/haasdaiga/dict2md.sh new file mode 100755 index 0000000..04d5273 --- /dev/null +++ b/src/haasdaiga/dict2md.sh @@ -0,0 +1,10 @@ +# Convert lexicon.dict.txt to better markdown + +cp lexicon.dict.txt lexicon.temp +sed "s/=/##/g" lexicon.temp > lexicon.tmp +mv lexicon.tmp lexicon.temp +sed "s/#*$//g" lexicon.temp > lexicon.tmp +mv lexicon.tmp lexicon.temp +sed "s/:/**/g" lexicon.temp > lexicon.tmp +mv lexicon.tmp lexicon.temp +{ cat lexicon.template.md ; cat lexicon.temp; } > lexicon.md; diff --git a/src/haasdaiga/lexicon.dict.txt b/src/haasdaiga/lexicon.dict.txt index 1ee9354..2c118a8 100644 --- a/src/haasdaiga/lexicon.dict.txt +++ b/src/haasdaiga/lexicon.dict.txt @@ -1,5 +1,3 @@ -H - = C = ===== @@ -11,6 +9,7 @@ H :cong: 1. (pp.) opposite of + = D = ===== @@ -19,6 +18,7 @@ H :dún: 1. (pp.) up + = F = ===== @@ -32,6 +32,7 @@ H :fènvynsỳ: 1. (pron.) we (inclusive), the nominative case of the dual pronoun for the first person + = J = ===== @@ -40,6 +41,7 @@ H :jos: 1. (pp.) inside + = L = ===== @@ -48,6 +50,7 @@ H :long: 1. (pp.) between + = M = ===== @@ -59,6 +62,7 @@ H :mỳfgháä: 1. (pp.) before + = N = ===== @@ -67,16 +71,19 @@ H :njongù: 1. (pp.) during + = P = ===== :pam: 1. (pp.) over + = R = ===== :rung: 1. (pp.) outside + = S = ===== @@ -85,11 +92,13 @@ H :sés: 1. (pp.) until + = T = ===== :tèf: 1. (pp.) behind + = V = ===== diff --git a/src/haasdaiga/lexicon.md b/src/haasdaiga/lexicon.md new file mode 100644 index 0000000..3310742 --- /dev/null +++ b/src/haasdaiga/lexicon.md @@ -0,0 +1,116 @@ +# Lexicon + +Below are the list of words in the lexicon. + +Abbreviations: + +| abbreviation | meaning | +|--------------|-------------| +| pp. | postposition| +| pron. | pronoun | +## C + + +**chát** + 1. (pp.) with + +**chỳc** + 1. (pp.) near + +**cong** + 1. (pp.) opposite of + +## D + + +**dàm** + 1. (pp.) beyond + +**dún** + 1. (pp.) up + +## F + + +**fá** + 1. (pp.) across, through + +**fènsy** + 1. (pron.) I, the nominative case of the singular pronoun for the + first person + +**fènvynsỳ** + 1. (pron.) we (inclusive), the nominative case of the dual pronoun + for the first person + +## J + + +**jím** + 1. (pp.) under, below + +**jos** + 1. (pp.) inside + +## L + + +**lòn** + 1. (pp.) down + +**long** + 1. (pp.) between + +## M + + +**mèng** + 1. (pp.) in front of + +**músnech** + 1. (pp.) after + +**mỳfgháä** + 1. (pp.) before + +## N + + +**ngỳch** + 1. (pp.) above + +**njongù** + 1. (pp.) during + +## P + + +**pam** + 1. (pp.) over + +## R + + +**rung** + 1. (pp.) outside + +## S + + +**sànj** + 1. (pp.) without + +**sés** + 1. (pp.) until + +## T + + +**tèf** + 1. (pp.) behind + +## V + + +**váp** + 1. (pp.) to diff --git a/src/haasdaiga/lexicon.temp b/src/haasdaiga/lexicon.temp new file mode 100644 index 0000000..16439b8 --- /dev/null +++ b/src/haasdaiga/lexicon.temp @@ -0,0 +1,106 @@ +## C + + +**chát** + 1. (pp.) with + +**chỳc** + 1. (pp.) near + +**cong** + 1. (pp.) opposite of + +## D + + +**dàm** + 1. (pp.) beyond + +**dún** + 1. (pp.) up + +## F + + +**fá** + 1. (pp.) across, through + +**fènsy** + 1. (pron.) I, the nominative case of the singular pronoun for the + first person + +**fènvynsỳ** + 1. (pron.) we (inclusive), the nominative case of the dual pronoun + for the first person + +## J + + +**jím** + 1. (pp.) under, below + +**jos** + 1. (pp.) inside + +## L + + +**lòn** + 1. (pp.) down + +**long** + 1. (pp.) between + +## M + + +**mèng** + 1. (pp.) in front of + +**músnech** + 1. (pp.) after + +**mỳfgháä** + 1. (pp.) before + +## N + + +**ngỳch** + 1. (pp.) above + +**njongù** + 1. (pp.) during + +## P + + +**pam** + 1. (pp.) over + +## R + + +**rung** + 1. (pp.) outside + +## S + + +**sànj** + 1. (pp.) without + +**sés** + 1. (pp.) until + +## T + + +**tèf** + 1. (pp.) behind + +## V + + +**váp** + 1. (pp.) to diff --git a/src/haasdaiga/lexicon.template.md b/src/haasdaiga/lexicon.template.md new file mode 100644 index 0000000..e5440a9 --- /dev/null +++ b/src/haasdaiga/lexicon.template.md @@ -0,0 +1,10 @@ +# Lexicon + +Below are the list of words in the lexicon. + +Abbreviations: + +| abbreviation | meaning | +|--------------|-------------| +| pp. | postposition| +| pron. | pronoun | -- cgit 1.4.1