Giter VIP home page Giter VIP logo

hunspell-cy's Introduction

English text below

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

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.

Follow these intructions to install Hunspell in LibreOffice: 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.

hunspell-cy's People

Contributors

gruffprys avatar grw20blt avatar mgrbyte avatar stefanoghazzali avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hunspell-cy's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.