https://github.com/gabrielepicco/inter-language-translator
Interlingua translator
https://github.com/gabrielepicco/inter-language-translator
cfg nltk simplenlg tln translation
Last synced: 6 days ago
JSON representation
Interlingua translator
- Host: GitHub
- URL: https://github.com/gabrielepicco/inter-language-translator
- Owner: GabrielePicco
- Created: 2019-05-14T17:46:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-29T19:46:43.000Z (over 6 years ago)
- Last Synced: 2025-06-05T11:46:32.550Z (4 months ago)
- Topics: cfg, nltk, simplenlg, tln, translation
- Language: Python
- Homepage:
- Size: 13.3 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Interlingua translator
## How to use
Start the simpleNLG Gateway server:
java -jar JavaSimpleNLGGateway/SimpleNLG-GatewayServer.jar
Install the python requirements and run the test script:
pip install TranslatorCorePython/requirements.txt
python TranslatorCorePython/sentence_tester.py## Examples
Input sentence: You are imagining things.
Formula: exists z6.(objectRef(z6,thing,pl) & clause(you,imagine,z6) & verbTense(imagine,progPres))
Translation: Tu stai immaginando delle cose..
Input sentence: There is a price on my head.
Formula: exists x.(objectRef(x,price,sg) & exists y.(objectRef(y,head,sg) & pronPoss(my,y) & onlyOne(y) & propP(on,x,y)))
Translation: C'è una taglia sopra la mia testa..
Input sentence: Dogs are chasing Irene.
Formula: exists x.(objectRef(x,dog,pl) & clause(x,chase,irene) & verbTense(chase,progPres))
Translation: Dei cani stanno inseguendo irene.