Skip to content

Latest commit

 

History

History
16 lines (15 loc) · 506 Bytes

File metadata and controls

16 lines (15 loc) · 506 Bytes

Español

Example: Spanish ser (to be)

>>> from verbecc import CompleteConjugator, LangCodeISO639_1 as Lang
>>> ccg = CompleteConjugator(lang=Lang.es) 
# If this is the first run, it will take a minute for the model to train, 
# but it should save the model .zip file and run fast subsequently
>>> cc = ccg.conjugate('ser')
>>> print(cc.to_json())

(View Output JSON)

>>> print(cc.to_yaml())

(View Output YAML)