Application written in Golang to allow for the user to define a given term.
def [-l language_code] [-s] word
The -l
flag allows the user to specify the language of the word that they would like defined. If this flag is not provided, it defaults to 'en'. All language codes and their language are specified below.
Code | Language |
---|---|
ar | Arabic |
de | German |
en | English |
es | Spanish |
fr | French |
hi | Hindi |
it | Italian |
ja | Japanese |
ko | Korean |
pt-BR | Brazilian Portuguese |
ru | Russian |
tr | Turkish |
zh-CN | Chinese (Simplified) |
If the -s
flag is enabled, then synonyms will be shown for each definition. By default, this is set to false.