Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
grw20blt committed Oct 31, 2023
1 parent 9388ec4 commit 641ade0
Showing 1 changed file with 44 additions and 6 deletions.
50 changes: 44 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
[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.

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)

*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.*

I'w ddefnyddio o fewn eich cod:

*To use in your code:*

```
pip install hunspell
```

yna

*then*

```
import hunspell
Expand All @@ -30,10 +31,47 @@ cy_speller.spell(word)

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.*

# 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.


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.

0 comments on commit 641ade0

Please sign in to comment.