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 a suggestion list inside another list like this,
Example 3
from madura_api import translate
result_list=translate('meen')
print(result_list)
result_list is a list of lists like this,
[
['meed'],
['meek'],
['meekness'],
['meerkat'],
['meerschaum'],
['meet'],
['meeting'],
['meeting adjourned'],
['meeting annual general'],
['meeting extraordinary']
]
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.1.tar.gz
(15.1 kB
view hashes)
Built Distribution
madura_api-0.1.1-py3-none-any.whl
(15.2 kB
view hashes)
Close
Hashes for madura_api-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d757406bbbe105d6b0d3683add46b54521fcfcd7f310b37d00a9cc276d1be001 |
|
MD5 | c149fe2f225733a01d02386bfc8c12f0 |
|
BLAKE2b-256 | 02d0bb0ffd9b7f4f690e6888e31855350d24018e418e0f18f536fdeeeb22b418 |