Giter VIP home page Giter VIP logo

hunspell-cy-llafar's Introduction

English text below

Hunspell CY Llafar

Mae'r fersiwn hwn o Hunspell wedi ei deilwra yn arbennig at anghenion y trawsgrifwyr sydd yn cyfrannu at fanc trawsgrifiadau Uned Technolegau Iaith Prifysgol Bangor. Mae'n cynnwys nifer o ffurfiau llafar sy'n cydymffurfio gyda chonfensiynau trawsgrifio verbatim y project hwnnw (gw. https://git.techiaith.bangor.ac.uk/data-porth-technolegau-iaith/banc-trawsgrifiadau-bangor#confensiynau-trawsgrifio am fwy o fanylion). Ceir ynddo ffurfiau llafar megis ch'mod, rwbath, sicir a gweud.

I'w ddefnyddio o fewn eich cod:

pip install hunspell

yna

import hunspell


cy_speller = hunspell.HunSpell('/usr/share/hunspell/cy_GB_llafar.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.

Hunspell Spoken CY

This version of Hunspell has been specially tailored to the needs of the transcribers who contribute to Bangor University Language Technology Unit's transcription bank. It contains a number of spoken forms which comply with the verbatim transcription conventions of that project (see https://git.techiaith.bangor.ac.uk/data-porth-technologiau-iaith/banc- transcripts-bangor#conventions-transcript for more details). It contains a number of spoken forms such as ch'mod, rwbath, sicir and gweud.

To use in your code:

pip install hunspell

then

import hunspell


cy_speller = hunspell.HunSpell('/usr/share/hunspell/cy_GB_llafar.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-llafar's People

Contributors

grw20blt avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

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.