A package which retrieves meaning and other informations about italian words.
Project description
ItalianDictionary
This package searches for word meanings on dizionario-italiano.
Usage
import italian_dictionary
# Use this to get only the meaning
definition = italian_dictionary.get_only_definition('cane', limit=3) #Optional: specify max number of defs
#Use this to get all datas of a word
datas = italian_dictionary.get_all_data('albero')
get_all_data response
This function will return a dictionary like this:
{
'lemma': 'Ã lbero',
'pronuncia': ' /ˈalbero/',
'grammatica': 'sostantivo maschile',
'definizione': ['pianta con fusto alto, legnoso, provvisto di rami nella parte superiore',
"MARINERIA -- palo che regge i pennoni con le vele e tutta l'attrezzatura",
'MECCANICA -- parte rotante, generalmente cilindrica, che, in una macchina, ha la funzione di trasmettere potenza meccanica da un organo a un altro'],
'locuzioni': ["linea d'asse o d'alberi di una nave",
'ad albero che cade dà gli dà gli',
'svasare un albero',
'albero portaelica',
'albero a calcese',
'albero castalio',
'albero matricino',
'alberi a mezzovento',
'albero optronico',
'albero pizzuto',
'andare agli alberi pizzuti',
'alberi rinterzati',
'albero del sego']
}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
italian_dictionary-1.0.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for italian_dictionary-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac9ffdae3e4a5f1cad29bdd5c4fcace6c966f1525e5545b08e252d4e9236c092 |
|
MD5 | 821c5d3d59fa43b7fb1746e1499fda6c |
|
BLAKE2b-256 | d7255165a871e63e2adbbc6c6a84508fc41a1a7c78da66922bc8e7addeef40e7 |