Home

Awesome

emMorph (Humor) Hungarian morphological analyzer

Requirements

The morphological analyzer can be compiled on Unix systems. You'll need perl and hfst. Hfst version above 9.12.0 required.

Installing hfst

wget http://apertium.projectjj.com/rpm/install-nightly.sh -O - | sudo bash
sudo apt-get install hfst

Compilation of the morphology

cd mak
bash mkemmorph.sh

The compiled lexicon is hfst/hu.hfstol

Usage

hfst-lookup --cascade=composition hu.hfstol

If you want to redirect input from a file, use:

hfst-lookup --pipe-mode=input --cascade=composition hu.hfstol <intext >outtext

Lemmatized output

If you want lemmatized output, download the lemmatizer from https://github.com/dlt-rilmta/hunlp-GATE/tree/master/Lang_Hungarian/resources/hfst.

One way to download only this tool from the repository: Visit http://kinolien.github.io/gitzip/ and paste the link above.

Using the compiled lexicon on Windows

Install hfst from: http://apertium.projectjj.com/win32/nightly/hfst-latest.7z.

Usage is the same as above.

License

Copyright (C) 2001-2016 Attila Novák

The database files are licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 (CC BY-NC-SA) license, the compilation scripts under the GNU General Public License (GPL v3) with the amendments below under Publication.

If you are interested in using or adapting the resource for commercial purposes, please contact the author at: novakat@gmail.com

Publication

If you use this database and/or the tools:

  1. Please inform the author at novakat@gmail.com about your use of the database/tools clearly indicating what you use this database or tool for in your application/experiment/resource.

  2. If possible, please publish a scientific paper about each application, experimental system or linguistic resource you create or experiment you perform using this resource quoting the articles below, and inform the author at novakat@gmail.com about each article you publish.

Articles to quote are the following: (See the BibTeX file quotethis.bib in the root directory):

  1. Please do share your adaptations of the morphology (vocabulary extensions etc.) using the same licenses.

References

This tool is also integrated into the e-magyar language processing system and its successor, emtsv. If you use the e-magyar/emtsv/hunlp-GATE system, please also refer to Novák et al. (2016).