pax_global_header00006660000000000000000000000064131505770750014524gustar00rootroot0000000000000052 comment=00f69067940dabbc7c4a0088e13740212bd2c763 hunspell-dz-0.1.0/000077500000000000000000000000001315057707500137675ustar00rootroot00000000000000hunspell-dz-0.1.0/CHANGELOG.md000066400000000000000000000005241315057707500156010ustar00rootroot00000000000000# Change Log All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). It follows [some conventions](http://keepachangelog.com/). ## [0.1.0] - 2017-08-27 - initial release, same syllables as Classical Tibetan, with additional suffxes, fused forms and syllables hunspell-dz-0.1.0/LICENSE000066400000000000000000000146341315057707500150040ustar00rootroot00000000000000CC0 1.0 Universal Statement of Purpose The laws of most jurisdictions throughout the world automatically confer exclusive Copyright and Related Rights (defined below) upon the creator and subsequent owner(s) (each and all, an "owner") of an original work of authorship and/or a database (each, a "Work"). Certain owners wish to permanently relinquish those rights to a Work for the purpose of contributing to a commons of creative, cultural and scientific works ("Commons") that the public can reliably and without fear of later claims of infringement build upon, modify, incorporate in other works, reuse and redistribute as freely as possible in any form whatsoever and for any purposes, including without limitation commercial purposes. These owners may contribute to the Commons to promote the ideal of a free culture and the further production of creative, cultural and scientific works, or to gain reputation or greater distribution for their Work in part through the use and efforts of others. For these and/or other purposes and motivations, and without any expectation of additional consideration or compensation, the person associating CC0 with a Work (the "Affirmer"), to the extent that he or she is an owner of Copyright and Related Rights in the Work, voluntarily elects to apply CC0 to the Work and publicly distribute the Work under its terms, with knowledge of his or her Copyright and Related Rights in the Work and the meaning and intended legal effect of CC0 on those rights. 1. Copyright and Related Rights. A Work made available under CC0 may be protected by copyright and related or neighboring rights ("Copyright and Related Rights"). Copyright and Related Rights include, but are not limited to, the following: i. the right to reproduce, adapt, distribute, perform, display, communicate, and translate a Work; ii. moral rights retained by the original author(s) and/or performer(s); iii. publicity and privacy rights pertaining to a person's image or likeness depicted in a Work; iv. rights protecting against unfair competition in regards to a Work, subject to the limitations in paragraph 4(a), below; v. rights protecting the extraction, dissemination, use and reuse of data in a Work; vi. database rights (such as those arising under Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, and under any national implementation thereof, including any amended or successor version of such directive); and vii. other similar, equivalent or corresponding rights throughout the world based on applicable law or treaty, and any national implementations thereof. 2. Waiver. To the greatest extent permitted by, but not in contravention of, applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and unconditionally waives, abandons, and surrenders all of Affirmer's Copyright and Related Rights and associated claims and causes of action, whether now known or unknown (including existing as well as future claims and causes of action), in the Work (i) in all territories worldwide, (ii) for the maximum duration provided by applicable law or treaty (including future time extensions), (iii) in any current or future medium and for any number of copies, and (iv) for any purpose whatsoever, including without limitation commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each member of the public at large and to the detriment of Affirmer's heirs and successors, fully intending that such Waiver shall not be subject to revocation, rescission, cancellation, termination, or any other legal or equitable action to disrupt the quiet enjoyment of the Work by the public as contemplated by Affirmer's express Statement of Purpose. 3. Public License Fallback. Should any part of the Waiver for any reason be judged legally invalid or ineffective under applicable law, then the Waiver shall be preserved to the maximum extent permitted taking into account Affirmer's express Statement of Purpose. In addition, to the extent the Waiver is so judged Affirmer hereby grants to each affected person a royalty-free, non transferable, non sublicensable, non exclusive, irrevocable and unconditional license to exercise Affirmer's Copyright and Related Rights in the Work (i) in all territories worldwide, (ii) for the maximum duration provided by applicable law or treaty (including future time extensions), (iii) in any current or future medium and for any number of copies, and (iv) for any purpose whatsoever, including without limitation commercial, advertising or promotional purposes (the "License"). The License shall be deemed effective as of the date CC0 was applied by Affirmer to the Work. Should any part of the License for any reason be judged legally invalid or ineffective under applicable law, such partial invalidity or ineffectiveness shall not invalidate the remainder of the License, and in such case Affirmer hereby affirms that he or she will not (i) exercise any of his or her remaining Copyright and Related Rights in the Work or (ii) assert any associated claims and causes of action with respect to the Work, in either case contrary to Affirmer's express Statement of Purpose. 4. Limitations and Disclaimers. a. No trademark or patent rights held by Affirmer are waived, abandoned, surrendered, licensed or otherwise affected by this document. b. Affirmer offers the Work as-is and makes no representations or warranties of any kind concerning the Work, express, implied, statutory or otherwise, including without limitation warranties of title, merchantability, fitness for a particular purpose, non infringement, or the absence of latent or other defects, accuracy, or the present or absence of errors, whether or not discoverable, all to the greatest extent permissible under applicable law. c. Affirmer disclaims responsibility for clearing rights of other persons that may apply to the Work or any use thereof, including without limitation any person's Copyright and Related Rights in the Work. Further, Affirmer disclaims responsibility for obtaining any necessary consents, permissions or other rights required for any use of the Work. d. Affirmer understands and acknowledges that Creative Commons is not a party to this document and has no duty or obligation with respect to this CC0 or use of the Work. For more information, please see hunspell-dz-0.1.0/README.md000066400000000000000000000026231315057707500152510ustar00rootroot00000000000000# Dzonghka syllable spellchecker for Hunspell You can find here the necessary files to use spell checking for Dzongkha at syllable level (not composed words) in [Hunspell](http://hunspell.sourceforge.net/) (used in [many applications](https://en.wikipedia.org/wiki/Hunspell#Uses)). Note that checking compound words for Dzongkha is not possible with hunspell alone due to the absence of separation between words. This work is largely based on the [Classical Tibetan spell checker](https://github.com/eroux/hunspell-dz), see [documentation](doc/). ## Using #### Global installation Under Linux or OSX, you can install the spellchecker globally and benefit from it in most applications. - under Linux, copy `dz.dic` and `dz.aff` to `/usr/share/hunspell` - Under OSX, copy `dz.dic` and `dz.aff` to `/Library/Spelling` and restart your machine #### Application-specific installation - extensions will be released for Firefox and LibreOffice - for Adobe products (>= CS5.5), see the instructions on [this page](http://blog.napsys.com/2012/11/adding-hyphenation-and-spelling.html) ## Changes See [CHANGELOG.md](CHANGELOG.md). ## Thanks This spell checker has been made possible with the help of: - Pema Galey (པདྨ་དགེ་ལེགས།) - the [Dzongkha Development Commission](http://www.dzongkha.gov.bt/) ## License This work and the derived files are under the [Creative Commons CC0 license](LICENSE). hunspell-dz-0.1.0/doc/000077500000000000000000000000001315057707500145345ustar00rootroot00000000000000hunspell-dz-0.1.0/doc/Changes-from-bo.md000066400000000000000000000030131315057707500177620ustar00rootroot00000000000000# Changes from hunspell-bo ## Affixed particles (བ བོ པ པོ མ མོ ན ནི) We have been able to derive these rules from some discussions and inspection of a list of valid words, but we are not sure about them: * Dzongkha can affix more particles than Classical Tibetan, and it can do it after suffixes (ex: རྒྱལཔོ།, king). * The particle བ gets affixed as ཝ (ex: འཐུཝ།). * For a table of what particle can go after which suffix, see page 29 of [གཞི་རིམ་རྫོད་ཁའི་བརྡ་གཞུང་།](http://www.dzongkha.gov.bt/publications/PDF-publications/Dzongkha_Dazhung_part1.pdf) part 1 * There cannot be an affixed particles after these affixed particles, ex: རྒྱལཔོའི། is invalid. * Unlike other affixed particles, they do not replace the འ suffix (ex: མདའཔ།). ## Other fused forms Looking at a Dzongkha Dictionnary, one can find the fused forms ནོརབུ།, རྫིབུ། and རིལབུ།. We do not know if fusing བུ with the previous word is exceptional or common. ## Other forms These forms are also taken from a word list from the DDC: * ཅིའུ * ཇིའུ * ཏའུ * དའུ * ནིའུ * བོའུ * ཙའུ * ཚིའུ * ཞིའུ * རྙིའུ * རྟིའུ * ལྟེའུ * ལྷིའུ * ཤིའུ * སྡིའུ * ཧའུ * ཧིའུ * གྭའུ * དྭ * ཟྭོ * སྟྭ * ཨའེ * སྨྲིག hunspell-dz-0.1.0/dz.aff000066400000000000000000000104111315057707500150570ustar00rootroot00000000000000SET UTF-8 LANGCODE bo # ignoring Ux0F35 and Ux0F37, as they are extremely rare but valid. # This means that a syllable containing these signs at invalid places will not # be detected by the spell checker, but this makes the code more simple at # almost no cost IGNORE ༵༷ NOSPLITSUGS # The "N" makes the suffixes mandatory. It is used only with B, example: དཀ/NB, # in this case, དཀ is invalid, but is not if there is a suffix. NEEDAFFIX N # grammatical suffixes only SFX C Y 8 SFX C 0 འི . +'brel_sgra SFX C 0 འོ . +slar_bsdu SFX C 0 འིའོ . +'brel_sgra_slar_bsdu SFX C 0 ར . +la_don SFX C 0 ས . +byed_sgra SFX C 0 འང . +rgyan_sdud SFX C 0 འམ . +'byed_sdud SFX C 0 /D . # Words with mandatory vowel or suffix # If no ashung and no vowel, a suffix is mandatory SFX B Y 14 SFX B 0 ི/S . +i SFX B 0 ུ/S . +u SFX B 0 ེ/S . +e SFX B 0 ོ/S . +o SFX B 0 ི/D . +i SFX B 0 ུ/D . +u SFX B 0 ེ/D . +e SFX B 0 ོ/D . +o SFX B 0 འ . +ashung SFX B 0 འབོ . +ashung+bo SFX B 0 འཝ . +ashung+b SFX B 0 འམ . +ashung+m SFX B 0 འམོ . +ashung+mo SFX B 0 /NS . # Non-mandatory vowel or suffix. In these cases, no ashung is possible, see # the documentation. SFX A Y 10 SFX A 0 ི/S . +i SFX A 0 ུ/S . +u SFX A 0 ེ/S . +e SFX A 0 ོ/S . +o SFX A 0 ི/D . +i SFX A 0 ུ/D . +u SFX A 0 ེ/D . +e SFX A 0 ོ/D . +o SFX A 0 /S . SFX A 0 /D . # affixed particles after suffixes, all versions SFX D Y 8 SFX D 0 ཝ . +b SFX D 0 བོ . +bo SFX D 0 པ . +p SFX D 0 པོ . +po SFX D 0 མ . +m SFX D 0 མོ . +mo SFX D 0 ན . +n SFX D 0 ནི . +ni # List of suffixes used by both A and B SFX S Y 103 SFX S 0 ག . +g SFX S 0 གས . +gs SFX S 0 ང . +ng SFX S 0 ངས . +ngs SFX S 0 ད . +d SFX S 0 ན . +n SFX S 0 བ . +b SFX S 0 བས . +bs SFX S 0 མ . +m SFX S 0 མས . +ms SFX S 0 འི . +'brel_sgra SFX S 0 འོ . +slar_bsdu SFX S 0 འིའོ . +'brel_sgra_slar_bsdu SFX S 0 འང . +rgyan_sdud SFX S 0 འམ . +'byed_sdud SFX S 0 ར . +r SFX S 0 ལ . +l SFX S 0 ས . +s SFX S 0 གཔ . +g+p SFX S 0 གཔོ . +g+po SFX S 0 གམ . +g+m SFX S 0 གམོ . +g+mo SFX S 0 གན . +g+n SFX S 0 གནི . +g+ni SFX S 0 གསཝ . +gs+b SFX S 0 གསཔ . +gs+p SFX S 0 གསཔོ . +gs+po SFX S 0 གསམ . +gs+m SFX S 0 གསམོ . +gs+mo SFX S 0 གསན . +gs+n SFX S 0 གསནི . +gs+ni SFX S 0 ངཝ . +ng+b SFX S 0 ངབོ . +ng+bo SFX S 0 ངཔ . +ng+p SFX S 0 ངཔོ . +ng+po SFX S 0 ངམ . +ng+m SFX S 0 ངམོ . +ng+mo SFX S 0 ངན . +ng+n SFX S 0 ངནི . +ng+ni SFX S 0 ངསཝ . +ngs+b SFX S 0 ངསཔ . +ngs+p SFX S 0 ངསཔོ . +ngs+po SFX S 0 ངསམ . +ngs+m SFX S 0 ངསམོ . +ngs+mo SFX S 0 ངསན . +ngs+n SFX S 0 ངསནི . +ngs SFX S 0 དཝ . +d+b SFX S 0 དཔ . +d+p SFX S 0 དཔོ . +d+po SFX S 0 དམ . +d+m SFX S 0 དམོ . +d+mo SFX S 0 དན . +d+n SFX S 0 དནི . +d+ni SFX S 0 ནཔ . +n+p SFX S 0 ནཔོ . +n+po SFX S 0 ནམ . +n+m SFX S 0 ནམོ . +n+mo SFX S 0 ནན . +n+n SFX S 0 ནནི . +n+ni SFX S 0 བཔ . +b+p SFX S 0 བམ . +b+m SFX S 0 བམོ . +b+mo SFX S 0 བན . +b+n SFX S 0 བནི . +b+ni SFX S 0 བསཝ . +bs+b SFX S 0 བསཔ . +bs+p SFX S 0 བསཔོ . +bs+po SFX S 0 བསམ . +bs+m SFX S 0 བསམོ . +bs+mo SFX S 0 བསན . +bs+n SFX S 0 བསནི . +bs+ni SFX S 0 མཔ . +m+p SFX S 0 མཔོ . +m+po SFX S 0 མན . +m+n SFX S 0 མནི . +m+ni SFX S 0 མསཝ . +ms+b SFX S 0 མསཔ . +ms+p SFX S 0 མསཔོ . +ms+po SFX S 0 མསམ . +ms+m SFX S 0 མསམོ . +ms+mo SFX S 0 མསན . +ms+n SFX S 0 མསནི . +ms+ni SFX S 0 རཝ . +r+b SFX S 0 རཔ . +r+p SFX S 0 རཔོ . +r+po SFX S 0 རམ . +r+m SFX S 0 རམོ . +r+mo SFX S 0 རན . +r+n SFX S 0 རནི . +r+ni SFX S 0 ལཝ . +l+b SFX S 0 ལཔ . +l+p SFX S 0 ལཔོ . +l+po SFX S 0 ལམ . +l+m SFX S 0 ལམོ . +l+mo SFX S 0 ལན . +l+n SFX S 0 ལནི . +l+ni SFX S 0 སཝ . +s+b SFX S 0 སཔ . +s+p SFX S 0 སཔོ . +s+po SFX S 0 སམ . +s+m SFX S 0 སམོ . +s+mo SFX S 0 སན . +s+n SFX S 0 སནི . +s+ni # Replace archaic forms by modern ones REP 6 REP འིས ས REP འའིས ས REP འར ར REP ནད ན REP རད ར REP ལད ལ hunspell-dz-0.1.0/dz.dic000066400000000000000000000116311315057707500150670ustar00rootroot00000000000000404 བགླ/C དམེའ མེའ མདྲོན བརྡའ བརྟའ ཏྲ/C ཏྲེས ཐྲིག མྲ/C སྨྲ/C སྨྲོས སྨྲས སྨྲེ/C སྨྲེང སྨྲངས སྨྲང སྣྲོན སྣྲུབས སྣྲེལ རྒྭ/C ཧྥ/A ཀརྨ/C པདྨ/C ཨཱ/C རྒྭ/C བསྭེ/C རྭང རྭི/C དྭང དྭ/C ཏྭོན ཀྭན ཀྭས ཧྭང དབའས ཀྲའུ/C ཀྲུའུ/C ཁྲུའུ/C སྒྱིའུ/C ཅོའུ/C གཅོའུ/C ཐུའུ/C དུའུ/C དྲིའུ/C ནོའུར ཕེའུ/C མུའུ/C མོའུ/C ཚུའུ/C ལོའུ/C ཧུའུ/C ཧེའུ/C ཧྲུའུ/C བྲའོ/C སླེའོ/C ཀའུ/C ཀིའུ/C ཀེའུ/C ཁིའུ/C ཁེའུ/C ཁྱིའུ/C ཁྱེའུ/C ཁྲིའུ/C ཁྲེའུ/C གའུ/C གྲིའུ/C གྲེའུ/C གླེའུ/C འགིའུ/C རྒེའུ/C སྒའུ/C སྒེའུ/C སྒྱེའུ/C སྒྲེའུ/C རྔེའུ/C སྔེའུ/C ཅེའུ/C གཅིའུ/C གཅེའུ/C ལྕེའུ/C རྗེའུ/C ཉེའུ/C སྙེའུ/C ཏེའུ/C གཏེའུ/C རྟའུ/C རྟེའུ/C སྟེའུ/C ཐའུ/C ཐིའུ/C ཐེའུ/C ཐོའུ/C མཐེའུ/C དེའུ/C དྲེའུ/C མདེའུ/C རྡེའུ/C ལྡེའུ/C སྡེའུ/C ནའུ/C ནེའུ/C སྣེའུ/C དཔེའུ/C སྤའུ/C སྤེའུ/C སྤྱིའུ/C སྤྲེའུ/C ཕྲའུ/C ཕྲེའུ/C འཕེའུ/C བེའུ/C བྱའུ/C བྱིའུ/C བྱེའུ/C བྲའུ/C བྲེའུ/C བྲོའུ/C འབེའུ/C སྦྲེའུ/C མིའུ/C མྱིའུ/C རྨེའུ/C སྨེའུ/C ཙིའུ/C ཙེའུ/C གཙེའུ/C རྩིའུ/C རྩེའུ/C ཚའུ/C ཚེའུ/C མཚེའུ/C མཚེའུ/C རྫིའུ/C རྫེའུ/C གཞུའུ/C ཟེའུ/C ཡེའུ/C གཡིའུ/C རེའུ/C ལའུ/C ལིའུ/C ལེའུ/C ཤའུ/C ཤེའུ/C སིའུ/C སེའུ/C སྲིའུ/C སླེའུ/C བསེའུ/C ཨའུ/C ཀ/A ཀྱ/A ཀྲ/A ཀླ/A དཀ/NB དཀྱ/A དཀྲ/A བཀ/NB བཀྱ/A བཀྲ/A བཀླ/A རྐ/A རྐྱ/A ལྐ/A སྐ/A སྐྱ/A སྐྲ/A བརྐ/A བརྐྱ/A བསྐ/A བསྐྱ/A བསྐྲ/A ཁ/A ཁྱ/A ཁྲ/A མཁ/NB མཁྱ/A མཁྲ/A འཁ/NB འཁྱ/A འཁྲ/A ག/A གྱ/A གྲ/A གླ/A དག/NB དགྱ/A དགྲ/A བག/NB བགྱ/A བགྲ/A མག/NB མགྱ/A མགྲ/A འག/NB འགྱ/A འགྲ/A རྒ/A རྒྱ/A ལྒ/A སྒ/A སྒྱ/A སྒྲ/A བརྒ/A བརྒྱ/A བསྒ/A བསྒྱ/A བསྒྲ/A ང/A དང/NB མང/NB རྔ/A ལྔ/A སྔ/A བརྔ/A བསྔ/A ཅ/A གཅ/NB བཅ/NB ལྕ/A ཆ/A མཆ/NB འཆ/NB ཇ/A མཇ/NB འཇ/NB རྗ/A ལྗ/A བརྗ/A ཉ/A གཉ/NB མཉ/NB རྙ/A སྙ/A བརྙ/A བསྙ/A ཏ/A གཏ/NB བཏ/NB རྟ/A ལྟ/A སྟ/A བརྟ/A བལྟ/A བསྟ/A ཐ/A མཐ/NB འཐ/NB ད/A དྲ/A གད/NB བད/NB མད/NB འད/NB འདྲ/A རྡ/A ལྡ/A སྡ/A བརྡ/A བལྡ/A བསྡ/A ན/A གན/NB མན/NB རྣ/A སྣ/A བརྣ/A བསྣ/A པ/A པྱ/A པྲ/A དཔ/NB དཔྱ/A དཔྲ/A ལྤ/A སྤ/A སྤྱ/A སྤྲ/A ཕ/A ཕྱ/A ཕྲ/A འཕ/NB འཕྱ/A འཕྲ/A བ/A བྱ/A བྲ/A བླ/A དབ/NB དབྱ/A དབྲ/A འབ/NB འབྱ/A འབྲ/A རྦ/A ལྦ/A སྦ/A སྦྱ/A སྦྲ/A མ/A མྱ/A དམ/NB དམྱ/A རྨ/A རྨྱ/A སྨ/A སྨྱ/A ཙ/A གཙ/NB བཙ/NB རྩ/A སྩ/A བརྩ/A བསྩ/A ཚ/A མཚ/NB འཚ/NB ཛ/A མཛ/NB འཛ/NB རྫ/A བརྫ/A ཝ/A ཞ/A གཞ/NB བཞ/NB ཟ/A ཟླ/A གཟ/NB བཟ/NB བཟླ/A འ/A ཡ/A གཡ/NB ར/A རླ/A བརླ/A ལ/A ཤ/A གཤ/NB བཤ/NB ས/A སྲ/A སླ/A གས/NB བས/NB བསྲ/A བསླ/A ཧ/A ཧྲ/A ལྷ/A ཨ/A ཀྭ/C ཀྭའི/C ཁྭ/C གྭ/C གྲྭ/C ཉྭ/C དྭོ/C དྭངས དྭགས དྲྭ/C ཕྱྭ/C རྩྭ/C ཚྭ/C ཚྭབ ཞྭ/C ཟྭ/C རྭ/C ལྭ/C ཤྭ/C སྭོ/C བསྭ/C བསྭོ/C ཧྭ/C ཧྭག ཧྭགས ཅིའུ/C ཇིའུ/C ཏའུ/C དའུ/C ནིའུ/C བོའུ/C ཙའུ/C ཚིའུ/C ཞིའུ/C རྙིའུ/C རྟིའུ/C ལྟེའུ/C ལྷིའུ/C ཤིའུ/C སྡིའུ/C ཧའུ/C ཧིའུ/C གྭའུ/C དྭ/C ཟྭོ/C སྟྭ/C ནོརབུ རིལབུ རྫིབུ སྨྲིག ཨའེ hunspell-dz-0.1.0/lo/000077500000000000000000000000001315057707500144015ustar00rootroot00000000000000hunspell-dz-0.1.0/lo/META-INF/000077500000000000000000000000001315057707500155415ustar00rootroot00000000000000hunspell-dz-0.1.0/lo/META-INF/manifest.xml000066400000000000000000000007671315057707500201030ustar00rootroot00000000000000 hunspell-dz-0.1.0/lo/Makefile000066400000000000000000000010311315057707500160340ustar00rootroot00000000000000all: oxt # https://wiki.openoffice.org/wiki/Documentation/DevGuide/Extensions/File_Format FILES=dictionaries.xcu description.xml package-description.txt oxt: $(FILES) ../README.md ../CHANGELOG.md ../dz.dic ../dz.aff META-INF/manifest.xml @echo "Making oxt file for LibreOffice..." @mkdir -p dictionaries && cp ../dz.dic ../dz.aff dictionaries @cp ../README.md . @zip -rq dzongkha-spellchecker.oxt dictionaries $(FILES) META-INF README.md CHANGELOG.md clean: @rm -rf dictionaries README.md CHANGELOG.md dzongkha-spellchecker.oxt hunspell-dz-0.1.0/lo/description.xml000066400000000000000000000015071315057707500174510ustar00rootroot00000000000000 Correcteur orthographique Dzongkha Dzongkha Spellchecker Elie Roux hunspell-dz-0.1.0/lo/dictionaries.xcu000066400000000000000000000014601315057707500176000ustar00rootroot00000000000000 %origin%/dictionaries/dz.aff %origin%/dictionaries/dz.dic DICT_SPELL dz-BT dz hunspell-dz-0.1.0/lo/package-description.txt000066400000000000000000000002121315057707500210510ustar00rootroot00000000000000This extension provides Dzongkha spellchecking at syllable level. You can file bugreports at https://github.com/eroux/hunspell-dz/issues