Skip to content
/ andip Public

Dictionary for natural language generator. It contains data about declension, conjugation, etc. (mainly for Polish and English language).

License

Notifications You must be signed in to change notification settings

perfidia/andip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AnDiP

Description

Dictionary for natural language generation. It contains data about declension, conjugation, ... (mainly for Polish an English language).

Installation

Simple

python setup.py install

Using eggs

python setup.py bdist_egg
cd dist
easy_install <package_name>

Getting started

from andip import *

ad1 = PlWikiProvider()
ad2 = DatabaseProvider("../data/polish", backoff = ad1)
ad3 = FileProvider("../data/polish", backoff = ad2)

print ad3.get_word(('czasownik', 'robić', {'aspekt': 'niedokonane', 'forma': 'czas terazniejszy', 'liczba': 'pojedyncza', 'osoba': 'trzecia'}))
print ad3.get_conf('robiła')

ad2.save_model(ad1.get_model())
ad2.close()

Authors

See AUTHORS file.

License

AnDiP is released under The MIT License. See LICENSE file.

About

Dictionary for natural language generator. It contains data about declension, conjugation, etc. (mainly for Polish and English language).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •