Behaviours: gen_server.
glossary() = #{glossary_id => glossary_id(), name => glossary_name(), source_lang => language(), target_lang => language(), creation_time => nonempty_list(), entry_count => integer()}
glossary_entries() = [glossary_entry()]
glossary_entry() = {nonempty_list(), nonempty_list()}
glossary_id() = nonempty_list()
glossary_name() = nonempty_list()
language() = nonempty_list()
auth_key/1 | |
glossary_create/4 | |
glossary_delete/1 | |
glossary_entries/1 | |
glossary_information/1 | |
glossary_list/0 | |
source_languages/0 | |
target_languages/0 | |
translate/2 | |
translate/3 | |
usage/0 |
auth_key(AuthKey::nonempty_list()) -> ok
glossary_create(Name::glossary_name(), SourceLang::language(), TargetLang::language(), Entries::glossary_entries()) -> {ok, glossary()} | {error, atom(), term()}
glossary_delete(GlossaryId::glossary_id()) -> ok | {error, atom(), term()}
glossary_entries(GlossaryId::glossary_id()) -> {ok, glossary()} | {error, atom(), term()}
glossary_information(GlossaryId::glossary_id()) -> {ok, glossary()} | {error, atom(), term()}
glossary_list() -> {ok, [glossary()]}
source_languages() -> any()
target_languages() -> any()
translate(TargetLang, Texts) -> any()
translate(TargetLang, Texts, Options) -> any()
usage() -> any()
Generated by EDoc