An API to access online madura dictionary
Project description
madura_api
A Python API to access online madura dictionary
Usage
Install the package
pip3 install madura-api
Example 1
from madura_api import translate
result_list=translate('Home')
print(result_list)
result_list is a list of lists like this,
[
['n.', 'ආල'],
['n.', 'ආලය'],
['n.', 'උත්පත්ති ස්ථානය'],
['n.', 'උන්හිටි තැන'],
['n.', 'ගෘහය'],
['n.', 'ගෙදර'],
['a.', 'ගෙදර පිළිබඳ වූ'],
['vi.', 'ගෙදරට ආපසු පැමිණෙනවා'],
['n.', 'ගේ'],
['n.', 'ගේදොර'],
['n.', 'ඝර'],
['n.', 'නිවස'],
['n.', 'නිවහන'],
['n.', 'නිවාසය'],
['n.', 'නිවෙස'],
['Ele.', 'නිවෙසනවා'],
['Ele.', 'නිවෙසීම'],
['n.', 'පදිංචිය'],
['Soc.', 'පවුල'],
['Soc.', 'ස්වදේශ'],
['n.', 'සියරට']
]
Example 2
from madura_api import translate
result_list=translate('පොත')
print(result_list)
result_list is a list of lists like this,
[
['n.','bood'],
['n.', 'book'],
['n.', 'scroll']
]
If there is no result, translate function will return False
Example 3
from madura_api import translate
result_list=translate('meen')
print(result_list)
>>> False
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
madura_api-0.1.3.tar.gz
(15.1 kB
view hashes)
Built Distribution
madura_api-0.1.3-py3-none-any.whl
(15.2 kB
view hashes)
Close
Hashes for madura_api-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31e417e9948292c79c428e219aa34ab0c9600aa6cc99f5bb5748971e04cdf29e |
|
MD5 | 5a12b5f8c894fa89afb72e841170fcea |
|
BLAKE2b-256 | d05b2a0facc3d17a986e9fe0e255a3812618cffed645d4cbdd10cd9c53f02266 |