The NLG tool for Finnish
Switch branches/tags
Nothing to show
Clone or download
Latest commit e8ef5ef Feb 9, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
backup_of_build_scripts Update DESCRIPTION.rst Sep 29, 2017
data first commit Aug 18, 2015
test evaluation Dec 15, 2017
.gitignore Update .gitignore Sep 29, 2017
LICENSE.txt Update LICENSE.txt Sep 29, 2017
README.md Update README.md Feb 8, 2018
__init__.py first commit Aug 18, 2015
adposition_tool.py python3 Sep 29, 2017
grammar.json first commit Aug 18, 2015
head.py python3 Sep 29, 2017
inflector.py python3 Sep 29, 2017
phrase.py python3 Sep 29, 2017
pronoun_tool.py python3 Sep 29, 2017
syntax_maker.py python3 Sep 29, 2017
testi.py evaluation Dec 15, 2017
verb_valence.py python3 Sep 29, 2017
verb_valences_new.json python3 Sep 29, 2017

README.md

Syntax maker

The tool NLG tool for Finnish by Mika Hämäläinen

Syntax maker is the natural language generation tool for generating syntactically correct sentences in Finnish automatically. The tool is especially useful in the case of Finnish which has such a high diversity in its morphosyntax. All you need to know are the lemmas and their parts-of-speech and syntax maker will take care of the rest.

For instance, just throw in words rantaleijona, uneksia, korkea and aalto and you will get rantaleijonat uneksivat korkeista aalloista. So you will get the morphology right automatically! Don't believe me? Just take a look at this tutorial to find out how.

Requirements

  1. This tool requires Omorfi, you can download the correct binary version from http://mikakalevi.com/omorfi
  2. HFST pip install hfst for more instructions, see my post about HFST and Python.

Installing

Run pip install syntaxmaker to install this library. After installing it, go to Creating a sentence, the basics for a quick start guide.

Cite

If you use Syntax Maker in any academic publication, please cite it as follows:

Mika Hämäläinen. (2018, January 9). Syntax Maker (Version v1). Zenodo. http://doi.org/10.5281/zenodo.1143056

DOI

Or the paper describing Syntax Maker:

Hämäläinen, M. and Rueter, J. 2018. Development of an Open Source Natural Language Generation Tool for Finnish. In Proceedings of the Fourth International Workshop on Computatinal Linguistics of Uralic Languages, 51–58.

More information?

Just go ahead and take a look at the wiki or my blog post about Syntax maker.