https://github.com/techiaith/hunspell-cy
Fersiwn wedi'i ddiweddaru o'r fersiwn Cymraeg o wirydd sillafu Hunspell. | An updated version of the Welsh version of the Hunspell spellchecker.
https://github.com/techiaith/hunspell-cy
cymraeg dictionary hunspell nlp spellchecker welsh
Last synced: 23 days ago
JSON representation
Fersiwn wedi'i ddiweddaru o'r fersiwn Cymraeg o wirydd sillafu Hunspell. | An updated version of the Welsh version of the Hunspell spellchecker.
- Host: GitHub
- URL: https://github.com/techiaith/hunspell-cy
- Owner: techiaith
- License: other
- Created: 2020-10-28T09:49:25.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-03-31T12:21:18.000Z (11 months ago)
- Last Synced: 2025-03-31T13:36:04.707Z (11 months ago)
- Topics: cymraeg, dictionary, hunspell, nlp, spellchecker, welsh
- Homepage:
- Size: 1.54 MB
- Stars: 5
- Watchers: 7
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: COPYING.LESSER
Awesome Lists containing this project
README
[English text below](#cy-hunspell)
# Hunspell CY
Fersiwn wedi'i ddiweddaru o'r fersiwn Cymraeg o wirydd sillafu Hunspell. Mae'r diweddariad yn cynnwys ffurfiau cysefin ychwanegol (gan gynnwys ‘actiwari’, ‘biodreulio’ a ‘seiberfwlio’) yn ogystal â 98 enw lle rhyngwladol ychwanegol (megis 'Irac'). Mae'r fersiwn newydd hwn hefyd yn delio gyda gogwyddeiriau Cymraeg yn well.
Cafodd Hunspell ei diweddaru eto ym mis Mawrth 2025. Mae'r diweddariad yn cynnwys ffurfiau cysefin ychwanegol (gan gynnwys ‘mangre’, ‘niwroamrywiaeth’ a ‘rheoleiddiwr’).
Dilynnwch y cyfarwyddiadau hyn er mwyn gosod Hunspell o fewn LibreOffice:
[Cyfarwyddiadau LibreOffice cy.odt](https://github.com/techiaith/hunspell-cy/files/13218984/Cyfarwyddiadau.LibreOffice.cy.odt)
I'w ddefnyddio o fewn eich cod:
```
pip install hunspell
```
yna
```
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:
https://github.com/blatinier/pyhunspell
Ariannwyd y diweddariad hwn gan Lywodraeth Cymru.
# CY Hunspell
An updated version of the Welsh version of the Hunspell spellchecker. The update includes additional headword forms (including 'actiwari’, ‘biodreulio’ a ‘seiberfwlio’), and also includes 98 additional international placenames (such as 'Irac'). This version also deals with clitics more effectively.
Hunspell was updated again in March 2025. The update includes additional headword forms (including ‘mangre’, ‘niwroamrywiaeth’ and ‘rheoleiddiwr’).
Follow these intructions to install Hunspell in LibreOffice:
[Cyfarwyddiadau LibreOffice en.odt](https://github.com/techiaith/hunspell-cy/files/13219008/Cyfarwyddiadau.LibreOffice.en.odt)
To use in your code:
```
pip install hunspell
```
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
```
For more details, see:
https://github.com/blatinier/pyhunspell
This update was funded by the Welsh Government.