{"id":20882715,"url":"https://github.com/ochko/stardict-mn-dics","last_synced_at":"2025-05-12T18:31:06.158Z","repository":{"id":66682415,"uuid":"203963","full_name":"ochko/stardict-mn-dics","owner":"ochko","description":"Mongolian dictionaries for Stardict","archived":false,"fork":false,"pushed_at":"2012-10-24T23:23:44.000Z","size":7929,"stargazers_count":14,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T09:11:09.401Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://ochko.blogspot.com","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ochko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-05-18T16:01:07.000Z","updated_at":"2023-09-17T11:47:47.000Z","dependencies_parsed_at":"2023-02-20T09:15:42.342Z","dependency_job_id":null,"html_url":"https://github.com/ochko/stardict-mn-dics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ochko%2Fstardict-mn-dics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ochko%2Fstardict-mn-dics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ochko%2Fstardict-mn-dics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ochko%2Fstardict-mn-dics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ochko","download_url":"https://codeload.github.com/ochko/stardict-mn-dics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253797963,"owners_count":21965984,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T07:33:10.251Z","updated_at":"2025-05-12T18:31:04.341Z","avatar_url":"https://github.com/ochko.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"#Mongolian Language dictionaries for Stardict\n\nIf you have a need to use Mongolian dictionaries there one great open source software called [Stardict](http://code.google.com/p/stardict-3/). It has many [free dictionaries](http://abloz.com/huzheng/stardict-dic/) but lacks Mongolian dictionaries. Here is my attempt make it.\n\n#How to use\n-----------\nTo use pre-compiled stardict dictionaries:\n\n- Download this repository(https://github.com/ochko/stardict-mn-dics/zipball/master) and extract.\n- Copy directories in **en-mn** into **/usr/share/stardict/dic**\n\n#How make your own dictionary from scratch\n------------------------------------------\n\n##Requirements\nYou will need **stardict-tools**. It is collection of usefull commands for stardict format and other dictionary formats. On debian based systems you can install with apt-get:\n\n\u003ctt\u003e$ sudo apt-get install stardict-tools\u003c/tt\u003e\n\n##Create your terms\nMake a tab separated file containing one term per line. For example:\n\u003cpre\u003e\naeroplane\tn. нисдэг онгоц.\nafresh\tadv. цоо шинээр, дахин.\nafternoon\tn. үдээс хойш.\n\u003c/pre\u003e\nThis file has 3 lines, each starts with a term and then \u003ctt\u003eTAB\u003c/tt\u003e character, and then definition.\n\n##Compile dictionary\n\u003ctt\u003e$ /usr/lib/stardict-tools/tabfile dictionary.txt\u003c/tt\u003e\n\nIt'll create 3 files:\n- dictionary.dict.dz\n- dictionary.ifo\n- dictionary.idx\n\nYou should edit **dictionary.ifo** file to set name of the dictionary. But don't touch lines *wordcount, idxfilesize, sametypesequence*. These are internal info for startdict to understand structure of dictionary file.\nTo install built dictionay create a directory under **/usr/share/stardict/dic** and copy 3 files above into new direcrtory.\n\n#How to convert from babylon dictionaries\n-----------------------------------------\n\n##Requirements\nYou'll need **dictconv** and **stardict-tools**. On debian based systems you can install with apt-get:\n\u003ctt\u003e$ sudo apt-get install dictconv stardict-tools\u003c/tt\u003e\n\nOr you can build the tool from [source](http://code.google.com/p/stardictproject/).\n\n##Convert babylon to dic format\nLet's assume you had a babylon dictionary file named **dictionary.bgl**\n\nTo convert *bgl* file to *dic* file run:\n\u003ctt\u003e$ dictconv -o dictionary.dic dictionary.bgl\u003c/tt\u003e\n\nConverted *dictionary.dic* file is simple tab separated text file. So you can open it in any text editor to see if it converted correctly. \n\n##Fix encodings\nMost old Mongolian dictionary files tend to be in some non-standard encodings. If that is the case, you should use transcoder scripts accompanied in **script** directory of this repository. There is 2 transcoder scripts for 2 different encodings for now. Please use one of them and see if it fixes the file by open it in text editor, otherwise try another one.\n\u003ctt\u003e$ mon2unicode.sh dictionary.dic\u003c/tt\u003e\nor\n\u003ctt\u003e$ mgl2unicode.sh dictionary.dic\u003c/tt\u003e\n\nThen there should be UTF-8 encoded new file \u003ctt\u003edictionary.dic.utf8\u003c/tt\u003e.\n\n\u003ctt\u003e$ /usr/lib/stardict-tools/tabfile dictionary.dic.utf8\u003c/tt\u003e\n\nYou could edit \u003ctt\u003edictionary.ifo\u003c/tt\u003e file to change some meta info like name of dictionary etc.\n\n#Thanks!\n\n[melug](https://github.com/melug) for mappings for mon2unicode.sh.\n\n#Copyright and License\n----------------------\n\n\u0026copy; 2009-2012 by [Ochirkhuyag.L](mailto:ochkoo@gmail.com). It is licensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fochko%2Fstardict-mn-dics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fochko%2Fstardict-mn-dics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fochko%2Fstardict-mn-dics/lists"}