Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 3 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.1%) to scientific vocabulary
Keywords
Repository
The NLG tool for Finnish
Basic Info
- Host: GitHub
- Owner: mikahama
- License: apache-2.0
- Language: Python
- Default Branch: master
- Homepage: https://mikakalevi.com/nlp/syntax-maker/
- Size: 4.17 MB
Statistics
- Stars: 23
- Watchers: 2
- Forks: 4
- Open Issues: 0
- Releases: 4
Topics
Metadata Files
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.
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.
Owner
- Name: Mika Hämäläinen
- Login: mikahama
- Kind: user
- Location: Helsinki
- Company: Fly for Points
- Website: http://mikakalevi.com
- Repositories: 35
- Profile: https://github.com/mikahama
PhD in NLP. Currently working at Metropolia University of Applied Sciences as an AI manager.
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: Syntax Maker
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: Mika
family-names: Hämäläinen
- given-names: Jack
family-names: Rueter
identifiers:
- type: doi
value: 10.5281/zenodo.1143056
description: Zenodo
repository-code: 'https://github.com/mikahama/syntaxmaker'
date-released: '2018-01-09'
preferred-citation:
type: article
authors:
- family-names: "Hämäläinen"
given-names: "Mika"
- family-names: "Rueter"
given-names: "Jack"
journal: "Proceedings of the Fourth International Workshop on Computational Linguistics of Uralic Languages"
title: "Development of an Open Source Natural Language Generation Tool for Finnish"
year: 2018
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1
Committers
Last synced: almost 3 years ago
All Time
- Total Commits: 46
- Total Committers: 4
- Avg Commits per committer: 11.5
- Development Distribution Score (DDS): 0.522
Top Committers
| Name | Commits | |
|---|---|---|
| Hämäläinen, Mika K | m****n@h****i | 22 |
| Mika Hämäläinen | m****a@u****m | 19 |
| Mika Hämäläinen | m****a@r****m | 3 |
| Mika | m****n@m****m | 2 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 4 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 49 last-month
- Total dependent packages: 0
- Total dependent repositories: 3
- Total versions: 8
- Total maintainers: 1
pypi.org: syntaxmaker
The NLG tool for Finnish
- Homepage: https://github.com/mikahama/syntaxmaker/
- Documentation: https://syntaxmaker.readthedocs.io/
- License: Apache License, Version 2.0
-
Latest release: 2.0.1
published over 5 years ago
Rankings
Maintainers (1)
Dependencies
- uralicNLP >=1.2.2