-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Hämäläinen, Mika K
committed
Oct 12, 2019
1 parent
b1d1c34
commit 8399ef4
Showing
21 changed files
with
79 additions
and
9 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
Metadata-Version: 1.1 | ||
Name: syntaxmaker | ||
Version: 1.1.1 | ||
Summary: An NLG tool for Finnish | ||
Home-page: https://github.com/mikahama/syntaxmaker/ | ||
Author: Mika Hämäläinen, Dept. of Modern Languages, University of Helsinki | ||
Author-email: [email protected] | ||
License: Apache License, Version 2.0 | ||
Description: Syntax Maker | ||
============= | ||
The tool NLG tool for Finnish by `Mika Hämäläinen <https://mikakalevi.com>`_ | ||
|
||
|
||
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. <https://github.com/mikahama/syntaxmaker/wiki/Creating-a-sentence,-the-basics>`_ | ||
|
||
**Update:** Python 2 and Python 3 are both now supported! | ||
|
||
============ | ||
Installation | ||
============ | ||
|
||
**NOTE 1:** This tool requires Omorfi, you can download the correct binary version from http://mikakalevi.com/omorfi | ||
|
||
**NOTE 2:** If you have any issues with installing HFST, see `an HSFT tutorial | ||
<https://mikalikes.men/using-hfst-on-python/>`_. | ||
|
||
=========================== | ||
How to use | ||
=========================== | ||
|
||
Start of by following this tutorial: https://github.com/mikahama/syntaxmaker/wiki/Creating-a-sentence,-the-basics . Or you can go ahead and `take a look at the wiki <https://github.com/mikahama/syntaxmaker/wiki>`_ | ||
or my `blog post about Syntax maker <https://mikalikes.men/create-finnish-sentences-computationally-in-python-nlg/>`_ | ||
|
||
Keywords: NLG Finnish | ||
Platform: UNKNOWN | ||
Classifier: Development Status :: 5 - Production/Stable | ||
Classifier: Intended Audience :: Developers | ||
Classifier: Topic :: Text Processing | ||
Classifier: Natural Language :: Finnish | ||
Classifier: Programming Language :: Python :: 2 | ||
Classifier: Programming Language :: Python :: 3 | ||
Classifier: Programming Language :: Python :: 2.6 | ||
Classifier: Programming Language :: Python :: 2.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
DESCRIPTION.rst | ||
MANIFEST.in | ||
README.md | ||
setup.cfg | ||
setup.py | ||
syntaxmaker/__init__.py | ||
syntaxmaker/adposition_tool.py | ||
syntaxmaker/grammar.json | ||
syntaxmaker/head.py | ||
syntaxmaker/inflector.py | ||
syntaxmaker/phrase.py | ||
syntaxmaker/pronoun_tool.py | ||
syntaxmaker/syntax_maker.py | ||
syntaxmaker/verb_valence.py | ||
syntaxmaker/verb_valences_new.json | ||
syntaxmaker.egg-info/PKG-INFO | ||
syntaxmaker.egg-info/SOURCES.txt | ||
syntaxmaker.egg-info/dependency_links.txt | ||
syntaxmaker.egg-info/requires.txt | ||
syntaxmaker.egg-info/top_level.txt | ||
syntaxmaker/data/postpositions.csv | ||
syntaxmaker/data/prepositions.csv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
hfst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
syntaxmaker |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.