-
-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Use Mongolian dictionary from
wooorm/dictionaries
(#4116)
- Loading branch information
Showing
16 changed files
with
16,089 additions
and
22,578 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
5080c13d61bf60137bfb8f8c6b8e96c2db05f5a3 dict/mn-mn.trie | ||
739b662b85481c70956640f8f1d831a039c26155 src/mn_MN.aff | ||
13448fd57a5daa61ce27149a6f323ec76f25269a src/mn_MN.dic | ||
e90c354ed223fb0a8d2b604b2358e6d62a37db0e dict/mn-mn.trie | ||
01b3cc8b21ed8e943b2b22d554f19b6b1abde040 src/additional-words.txt | ||
b786697b4e3e589f17f97a9af799a7e75be1fd62 src/hunspell/index.aff | ||
1ffeb349473e17bd44fef97284b606d0f48c566b src/hunspell/index.dic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,21 @@ | ||
// cSpell Settings | ||
{ | ||
"id": "mn-mn", | ||
"version": "0.2", | ||
"name": "Mongolian", | ||
"description": "Mongolian dictionary for cspell.", | ||
"readonly": true, | ||
// List of dictionary files to add to the global list of dictionaries | ||
"dictionaryDefinitions": [ | ||
{ | ||
"name": "mn-mn", | ||
"path": "./dict/mn-mn.trie", | ||
"description": "Mongolian dictionary for cspell." | ||
"path": "./dict/mn-mn.trie.gz", | ||
"description": "Mongolian dictionary." | ||
} | ||
], | ||
// Dictionaries to always be used. | ||
// Generally left empty | ||
"dictionaries": [], | ||
// Language Rules to apply to matching files. | ||
// Files are matched on `languageId` and `locale` | ||
"languageSettings": [ | ||
{ | ||
// VSCode languageId. i.e. typescript, java, go, cpp, javascript, markdown, latex | ||
// * will match against any file type. | ||
"languageId": "*", | ||
// Language locale. i.e. en-US, de-AT, or ru. * will match all locales. | ||
// Multiple locales can be specified like: "en, en-US" to match both English and English US. | ||
"locale": "mn,mn-MN", | ||
// By default the whole text of a file is included for spell checking | ||
// Adding patterns to the "includeRegExpList" to only include matching patterns | ||
"includeRegExpList": [], | ||
// To exclude patterns, add them to "ignoreRegExpList" | ||
"ignoreRegExpList": [], | ||
// regex patterns than can be used with ignoreRegExpList or includeRegExpList | ||
// Example: "pattern": [{ "name": "mdash", "pattern": "—" }] | ||
// This could be included in "ignoreRegExpList": ["mdash"] | ||
"patterns": [], | ||
// List of dictionaries to enable by name in `dictionaryDefinitions` | ||
"dictionaries": ["mn-mn"], | ||
// Dictionary definitions can also be supplied here. They are only used iff "languageId" and "locale" match. | ||
"dictionaryDefinitions": [] | ||
"dictionaries": ["mn-mn"] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,5 +8,6 @@ | |
], | ||
"import": [ | ||
"./cspell-ext.json" | ||
] | ||
], | ||
"ignorePaths": ["src/hunspell"] | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Улаанбаатар - Ulaanbaatar | ||
|
||
[Улаанбаатар — Википедиа нэвтэрхий толь](https://mn.wikipedia.org/wiki/%D0%A3%D0%BB%D0%B0%D0%B0%D0%BD%D0%B1%D0%B0%D0%B0%D1%82%D0%B0%D1%80) | ||
|
||
Улаанбаатар (ᠤᠯᠠᠭᠠᠨᠪᠠᠭᠠᠲᠤᠷ улаганбагатур, улаан-баа-тар) нь Монгол Улсын нийслэл бөгөөд Монгол Улсын цорын ганц саятан хот юм. | ||
|
||
Улаанбаатар хот Монгол Улсын төв хэсэгт хуучнаар Алтан тэвшийн хөндий, өнөөгийнхөөр Туул-Сэлбийн гол бэлчир хөндийд, далайн түвшнээс дээш 1300-1350 метр өндөрт Богд хан, Сонгино хайрхан, Чингэлтэй уул, Баянзүрх дөрвөн уулаар хүрээлэгдэн орших ба 4,704.4 км2 нутаг дэвсгэртэй. 2021 оны эцсээр 1,649,172 хүн оршин сууж байна. Засаг захиргааны хувьд 9 дүүрэг, 204 хороонд хуваагддаг. | ||
|
||
1639 онд Ширээт цагаан нуурт Өндөр гэгээнийг залж орд өргөө боссоноор Улаанбаатар хотын өмнөх суурин байгуулагджээ. 1778 он хүртэл олон газар нүүдэллэж байгаад одоогийн байрлалдаа тогтсон. Өмнө нь шашин, худалдааны төв байсан бол 1912 оноос улсын нийслэл болж[4], XX зуунд барилгажиж, аж үйлдвэр хөгжин, XXI зуунд их хотын төрх бүрдэж байна. Улаанбаатар Монгол Улсын улс төр, эдийн засаг, соёл, технологийн төв юм. Түгжрэл утаа маш ихтэй. | ||
|
||
<!-- | ||
cspell:locale en,mn | ||
cspell:words Ulaanbaatar улаганбагатур ᠤᠯᠠᠭᠠᠨᠪᠠᠭᠠᠲᠤᠷ | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Please add additional words below | ||
Википедиа | ||
өнөөгийнхөөр | ||
түвшнээс | ||
дэвсгэртэй | ||
боссоноор | ||
Википедиа | ||
байрлалдаа |
Oops, something went wrong.