Skip to content

Commit

Permalink
Update README and dictionary content.
Browse files Browse the repository at this point in the history
Diweddaru README a cynwys y geiriadur.
  • Loading branch information
mgrbyte committed Jul 26, 2022
1 parent e68a0b3 commit a1ab436
Show file tree
Hide file tree
Showing 3 changed files with 478 additions and 44 deletions.
78 changes: 39 additions & 39 deletions README.md
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.*
6 changes: 3 additions & 3 deletions cy_GB.aff
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Ffeil AFF:
# Hawlfraint (C) 2008-2020, Troi (http:https://troi.org)
# Hawlfraint (C) 2004-2020, Prifysgol Bangor (http:https://www.bangor.ac.uk)
# Hawlfraint (C) 2008-2012, Troi (http:https://troi.org)
# Hawlfraint (C) 2004-2011, Prifysgol Bangor (http:https://www.bangor.ac.uk)
#
# Ffeil DIC:
# Hawlfraint (C) 2004-2020, Prifysgol Bangor (http:https://www.bangor.ac.uk)
# Hawlfraint (C) 2004-2011, Prifysgol Bangor (http:https://www.bangor.ac.uk)
#
# Mae'r geiriadur hwn feddalwedd rhydd; gallwch ei aildosbarthu a/neu ei
# addasu dan delerau Trwydded Gyhoeddus Gyffredinol Lai GNU (yr LGPL) fel
Expand Down
Loading

0 comments on commit a1ab436

Please sign in to comment.