-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README and dictionary content.
Diweddaru README a cynwys y geiriadur.
- Loading branch information
Showing
3 changed files
with
478 additions
and
44 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,39 +1,39 @@ | ||
# Hunspell CY | ||
|
||
Fersiwn wedi'i ddiweddaru o'r fersiwn Cymraeg o wirydd sillafu Hunspell. Mae'n cynnwys cannoedd o eirffurfiau ychwanegol gan gynnwys geirfa newydd fel 'hunlun' a rhediadau berfol cyflawn ar gyfer geiriau fel 'lawrlwytho' ('lawrlwythais', 'lawrlwythiast', etc.), 'blogio' a 'hunanynysu'. | ||
|
||
|
||
*An updated version of the Welsh version of the Hunspell spellchecker. It includes hundreds of additional wordforms, including 'hunlun' (=selfie) and full veral conjugations for words such as 'lawrlwytho' (=to download) ('lawrlwythais', 'lawrlwythiast', etc.), 'blogio' (=to blog) and 'hunanynysu' (to self-isolate).* | ||
|
||
I'w ddefnyddio o fewn eich cod: | ||
|
||
*To use in your code:* | ||
|
||
``` | ||
pip install pyhunspell | ||
``` | ||
|
||
yna | ||
|
||
*then* | ||
|
||
``` | ||
import hunspell | ||
cy_speller = hunspell.HunSpell('/usr/share/hunspell/cy_GB.dic', '/usr/share/hunspell/cy_GB.aff') | ||
word = "kamsillafiad" | ||
cy_speller.spell(word) | ||
>>> False | ||
``` | ||
|
||
Am ragor o fanlion, gweler: | ||
|
||
*For more details, see:* | ||
|
||
https://github.com/blatinier/pyhunspell/wiki/Documentation | ||
|
||
Ariannwyd y diweddariad hwn gan Lywodraeth Cymru. | ||
|
||
*This update was funded by the Welsh Government.* | ||
# Hunspell CY | ||
|
||
Fersiwn wedi'i ddiweddaru o'r fersiwn Cymraeg o wirydd sillafu Hunspell. Mae'n cynnwys cannoedd o eirffurfiau ychwanegol gan gynnwys geirfa newydd fel 'llywodraethiant', 'atgyfeirio' a 'rhianta'. | ||
|
||
|
||
*An updated version of the Welsh version of the Hunspell spellchecker. It includes hundreds of additional wordforms, including 'hunlun' (=selfie) and full veral conjugations for words such as 'llywodraethiant', 'atgyfeirio' and 'rhianta'* | ||
|
||
I'w ddefnyddio o fewn eich cod: | ||
|
||
*To use in your code:* | ||
|
||
``` | ||
pip install hunspell | ||
``` | ||
|
||
yna | ||
|
||
*then* | ||
|
||
``` | ||
import hunspell | ||
cy_speller = hunspell.HunSpell('/usr/share/hunspell/cy_GB.dic', '/usr/share/hunspell/cy_GB.aff') | ||
word = "kamsillafiad" | ||
cy_speller.spell(word) | ||
>>> False | ||
``` | ||
|
||
Am ragor o fanlion, gweler: | ||
|
||
*For more details, see:* | ||
|
||
https://github.com/blatinier/pyhunspell | ||
|
||
Ariannwyd y diweddariad hwn gan Lywodraeth Cymru. | ||
|
||
*This update was funded by the Welsh Government.* |
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
Oops, something went wrong.