glosario package¶
Submodules¶
glosario.glosario module¶
-
glosario.glosario.define(slug)[source]¶ Define a given word
Parameters: slug (str) – The word you want to search Returns: The word definition Return type: str Examples
>>> from glosario import glosario >>> glosario.define('data frame')
-
glosario.glosario.get_languages_available()[source]¶ Get all languages available part of the dictionary.
Returns: A counter object with the number of instances each language is present as an entry. Return type: Counter({}) Examples
>>> from glosario import glosario >>> glosario.get_languages_available()
-
glosario.glosario.set_language(language, verbose=False)[source]¶ Get all languages available part of the dictionary.
Parameters: - language (str) – Language to return the definitions in
- verbose (bool) – Whether to print verbal confirnmation of the change
Examples
>>> from glosario import glosario >>> glosario.set_language('es')