Skip to content

simongoricar/SSKJpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSKJpy

A Slovenian dictionary API written in python

Python 3.5 MIT

Uses sskj.si.


###1. Installing Dependencies:

  • BeautifulSoup4
  • (optional, but recommended) requests

You can install SSKJpy with pip:
pip install git+https://github.com/DefaltSimon/SSKJpy.git

Strongly recommended: install with requests:
pip install git+https://github.com/DefaltSimon/SSKJpy.git[requests]

Or clone the repo and run: python -m pip install .
(or python -m pip install .[requests] to get the "faster" implementation)

###2. Use and simple examples:

sskj = SSKJParser()

data = sskj.get_definition("test")

data.keyword
"test"
data.summary
"Postopek za ugotavljanje določenih lastnosti, [...]"

####Full documentation can be found on the wiki

About

Slovenian sskj.si library for Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages