All Projects → mikahama → syntaxmaker

mikahama / syntaxmaker

Licence: Apache-2.0 License
The NLG tool for Finnish

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to syntaxmaker

Accelerated Text
Accelerated Text is a no-code natural language generation platform. It will help you construct document plans which define how your data is converted to textual descriptions varying in wording and structure.
Stars: ✭ 256 (+1247.37%)
Mutual labels:  natural-language-generation, nlg
Practical Pytorch
Go to https://github.com/pytorch/tutorials - this repo is deprecated and no longer maintained
Stars: ✭ 4,329 (+22684.21%)
Mutual labels:  natural-language-generation, nlg
Kenlg Reading
Reading list for knowledge-enhanced text generation, with a survey
Stars: ✭ 257 (+1252.63%)
Mutual labels:  natural-language-generation, nlg
uctf
Unsupervised Controllable Text Generation (Applied to text Formalization)
Stars: ✭ 19 (+0%)
Mutual labels:  natural-language-generation, nlg
Awesome Nlg
A curated list of resources dedicated to Natural Language Generation (NLG)
Stars: ✭ 211 (+1010.53%)
Mutual labels:  natural-language-generation, nlg
Simplenlg
Java API for Natural Language Generation. Originally developed by Ehud Reiter at the University of Aberdeen’s Department of Computing Science and co-founder of Arria NLG. This git repo is the official SimpleNLG version.
Stars: ✭ 708 (+3626.32%)
Mutual labels:  natural-language-generation, nlg
Question generation
Neural question generation using transformers
Stars: ✭ 356 (+1773.68%)
Mutual labels:  natural-language-generation, nlg
awesome-nlg
A curated list of resources dedicated to Natural Language Generation (NLG)
Stars: ✭ 386 (+1931.58%)
Mutual labels:  natural-language-generation, nlg
Gluon Nlp
NLP made easy
Stars: ✭ 2,344 (+12236.84%)
Mutual labels:  natural-language-generation, nlg
Nlg Eval
Evaluation code for various unsupervised automated metrics for Natural Language Generation.
Stars: ✭ 822 (+4226.32%)
Mutual labels:  natural-language-generation, nlg
question generator
An NLP system for generating reading comprehension questions
Stars: ✭ 188 (+889.47%)
Mutual labels:  natural-language-generation, nlg
factedit
🧐 Code & Data for Fact-based Text Editing (Iso et al; ACL 2020)
Stars: ✭ 16 (-15.79%)
Mutual labels:  natural-language-generation, nlg
Pyxell
Multi-paradigm programming language compiled to C++, written in Python.
Stars: ✭ 42 (+121.05%)
Mutual labels:  syntax
NRC
Natural language generation for discrete data in EHRs
Stars: ✭ 19 (+0%)
Mutual labels:  natural-language-generation
oceanic-next-vim
Oceanic Next colorscheme for vim
Stars: ✭ 49 (+157.89%)
Mutual labels:  syntax
mlmorph
Malayalam Morphological Analyzer using Finite State Transducer
Stars: ✭ 40 (+110.53%)
Mutual labels:  inflection
micro-code-analyser
A tiny Node.js microservice to detect the language of a code snippet
Stars: ✭ 21 (+10.53%)
Mutual labels:  syntax
sqlweb
SqlWeb is an extension of JsStore which allows to use sql query for performing database operation in IndexedDB.
Stars: ✭ 38 (+100%)
Mutual labels:  syntax
linguistic-style-transfer-pytorch
Implementation of "Disentangled Representation Learning for Non-Parallel Text Style Transfer(ACL 2019)" in Pytorch
Stars: ✭ 55 (+189.47%)
Mutual labels:  natural-language-generation
KodeEditor
A simple code editor with syntax highlighting and pinch to zoom
Stars: ✭ 60 (+215.79%)
Mutual labels:  syntax

Syntax maker

Build Status DOI

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.

Installing

Run

pip install syntaxmaker
python -m uralicNLP.download -l fin

Usage

An example for generating a sentence in Finnish:

from syntaxmaker.syntax_maker import *
vp = create_verb_pharse("antaa")
subject = create_phrase("NP", "hevonen", {"NUM": "PL"})

dobject = create_phrase("NP", "lahja", {"NUM": "PL"})
dobject.components["attribute"] = create_phrase("AP", "mahtava")
dobject.components["attribute"].components["attribute"] = create_phrase("AdvP", "erittäin")

indobject = create_phrase("NP", "lehmä")
vp.components["subject"] = subject
vp.components["dir_object"] = dobject
vp.components["indir_object"] = indobject
print(vp)
>> hevoset antavat erittäin mahtavia lahjoja lehmälle

Go to Creating a sentence, the basics for a quick start guide.

A good source of example code with the expected output can be found in the Travis test file.

Don't forget to read the Wiki for more instructions.

Cite

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

Hämäläinen, Mika and Rueter, Jack 2018. Development of an Open Source Natural Language Generation Tool for Finnish. In Proceedings of the Fourth International Workshop on Computational 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.

Business solutions

Rootroo logo

My company, Rootroo, offers consulting related to Finnish NLG solutions. We have a strong academic background in the state-of-the-art AI solutions for every NLP need. Just contact us, we won't bite.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].