laszlonemeth / magyarispell

Hungarian Hunspell dictionary
Other
44 stars 7 forks source link

= Download dictionary files =

Latest release of hu_HU.aff and hu_HU.dic dictionary files is part of LibreOffice office suite:

https://cgit.freedesktop.org/libreoffice/dictionaries/tree/hu_HU

See also http://www.libreoffice.org.

= Requirements =

Hunspell: https://github.com/hunspell/hunspell

GNU recode, m4, awk

= Build =

make

= Usage =

Filter bad words from a text file:

cat x.txt | hunspell -d hu_HU_u8_gen_alias -l

With suggestions:

cat x.txt | hunspell -d hu_HU_u8_gen_alias -l

or install the dictionary files hu_HU_u8_gen_alias.aff and hu_HU_u8_gen_alias.dic, for example, in the place of hu_HU.aff and hu_HU.dic of a LibreOffice installation.

Morphological analysis (see man 5 hunspell):

$ echo szó | hunspell -d hu_HU -m szó st:szó po:noun ts:NOM al:szavak

$ echo szótár | hunspell -d hu_HU -m szótár st:szótár po:noun ts:NOM al:szótárak hy:3

Install all components

make menu # optional: use to change the modules to be included make all # compilation make install_all # installation make clean # remove temporary files

Install for Ispell only

make menu # optional: use to change the modules to be included make ispell # compile Ispell dictionary affix and hash file make install_ispell # install magyar.hash, magyar.aff in ISPELLDIR + links make clean # remove temporary files

Install for Hunspell only

make menu # optional: use to change the modules to be included make myspell # compile hu_HU.aff, hu_HU.dic for Hunspell make install_myspell # install hu_HU.aff, hu_HU.dic in MYSPELLDIR + links make clean # remove temporary files

Install for LibreOffice only

make menu # optional: use to change the modules to be included make myspell # compile hu_HU.aff, hu_HU.dic for LibreOffice make install_OO # install hu_HU.aff, hu_HU.dic in LODIR make clean # remove temporary files

Destination directories

To change default destination directories for installation, some variables need to be set:

component variable default value

    PREFIX      /usr/local

ispell ISPELLDIR PREFIX/lib/ispell myspell MYSPELLDIR PREFIX/lib/myspell LibreOffice LODIR $(USER)/libreoffice/dictionaries/hu_HU

for instance by passing them to make make ISPELLDIR=/home/bela/ispell \ MYSPELLDIR=/home/bela/myspell \ LODIR=/usr/share/hunspell/ \ install_all or make PREFIX=/home/bela

Usage

man ispell or hunspell

See http://hunspell.sourceforge.net

Developers

People who contributed:

Szántó Tamás tszanto@mol.hu Bíró Árpád biro_arpad@yahoo.com Hilzinger Marcel hili@suselinux.hu Koblinger Egmont egmont@cs.bme.hu Godó Ferenc godo@trillian.hu Trón Viktor tron@coli.uni-sb.de Fransoa Holop fred@francis.sk Eleonóra Goldmann eleonora46@gmx.net Tuna András Gyuris Gellért Pénzes Dávid Úr Balázs

and others.

References

Magyar Tudományos Akadémia szerk.: A magyar helyesírás szabályai. 12. kiadás. Budapest, 2015

Magyar helyesírási szótár. Szerk. Tóth Etelka, Akadémiai Kiadó, Budapest, 2017

Lackó Krisztina – Mártonfi Attila: Helyesírás, Osiris Kiadó, Budapest, 2004

and

Deme László, Fábián Pál, Tóth Etelka: Magyar helyesírási szótár. Akadémiai Kiadó, Budapest, 1999.

Funkcionális magyar nyelvtan. Osiris Kiadó, Budapest, 1998.

Grétsy László, Kovalovszky Miklós, szerk.: Magyar nyelvművelő kézikönyv. Akadémiai Kiadó, Budapest, 1985

Jakab László: Tanulmányok az igeragozás köréből. KLTE Nytud. Int. 73. Debrecen, 1999.

Kiefer Ferenc, szerk.: Strukturális magyar nyelvtan 2. Fonológia. Akadémiai Kiadó, Budapest, 1994.

Kiefer Ferenc, szerk.: Strukturális magyar nyelvtan 3. Morfológia. Akadémiai Kiadó, Budapest, 2000.

Magyar értelmező kéziszótár (2. kiadás), Akadémiai Kiadó, Budapest, 2003

Magyar Tudományos Akadémia szerk.: A magyar helyesírás szabályai. 11. kiadás. Budapest, 1984.

Németh Anikó: A magyar nyelvtan. Merényi Könyvkiadó, Budapest, 1997.

Papp Ferenc, szerk.: A magyar nyelv szóvégmutató szótára. Akadémiai Kiadó, Budapest, 1969.

Többek. ispell manpages (man ispell, man 4 ispell).

Vonyó Attila: Angol-magyar szótár. http://almos.vein.hu/~vonyoa

History

2024-03-27 Magyar Ispell 1.8.1 2023-05-17 Magyar Ispell 1.8 2018-05-17 Magyar Ispell 1.7 2017–18 Magyar Ispell 1.7 beta 2–5 2015-10-27 Magyar Ispell 1.7 beta 2010-03-29 Magyar Ispell 1.6.1 2010-02-06 Magyar Ispell 1.6 2009-09-18 Magyar Ispell 1.5 2008-11-20 Magyar Ispell 1.4 2008-03-15 Magyar Ispell 1.3 2007-10-26 Magyar Ispell 1.2.2 2007-09-18 Magyar Ispell 1.2.1 2007-05-11 Magyar Ispell 1.2 2006-07-27 Magyar Ispell 1.1.1 2006-06-15 Magyar Ispell 1.1 2005-12-19 Magyar Ispell 1.0 2005-10-24 Magyar Ispell 1.0-RC3 2004-10-07 Magyar Ispell 1.0-RC2 2004-06-29 Magyar Ispell 1.0-RC1 2004-06-09 Magyar Ispell 0.99.6 2004-04-09 Magyar Ispell 0.99.5 2003-09-15 Magyar Ispell 0.99.4.2 2003-09-01 Magyar Ispell 0.99.4 2003-07-11 Magyar Ispell 0.99.3 2003-06-30 Magyar Ispell 0.99.2 2003-06-11 Magyar Ispell 0.99.1 2003-06-05 Magyar Ispell 0.99 2003-04-30 Magyar Ispell 0.98 2003-04-12 Magyar Ispell 0.98b 2003-02-26 Magyar Ispell 0.97 2003-02-07 Magyar Ispell 0.96 2003-02-05 Magyar Ispell 0.95 2002-12-13 Magyar Ispell 0.94 2002-11-25 Magyar Ispell 0.93 2002-11-20 Magyar Ispell 0.92 2002-11-15 Magyar Ispell 0.91 2002-11-07 Magyar Ispell 0.90 2002-06-27 Magyar Ispell 0.86 2002-06-14 Magyar Ispell 0.85 2002-06-03 Magyar Ispell 0.84 2002-05-21 Magyar Ispell 0.83 2002-05-14 Magyar Ispell 0.82 2002-05-10 Magyar Ispell 0.81 2002-04-30 Magyar Ispell 0.8 2002-04-17 Magyar Ispell 0.71 2002-04-17 Magyar Ispell 0.7 2002-02-21 Magyar Ispell 0.65. build 2 2002-02-20 Magyar Ispell 0.65 2002-02-12 Magyar Ispell 0.64 2002-02-11 Magyar Ispell 0.63 2002-01-11 Magyar Ispell 0.62 2002-01-11 Magyar Ispell 0.61 2002-01-10 Magyar Ispell 0.6 2001-12-07 Magyar Ispell 0.5 2001-11-23 Magyar Ispell 0.4 2001-11-08 Magyar Ispell 0.3 2001-10-19 Magyar Ispell 0.2 2001-10-09 Magyar Ispell 0.1 1998, 1999, 2000 Magyar Ispell (not published)