Module deeperl

Behaviours: gen_server.

Data Types

glossary()

glossary() = #{glossary_id => glossary_id(), name => glossary_name(), source_lang => language(), target_lang => language(), creation_time => nonempty_list(), entry_count => integer()}

glossary_entries()

glossary_entries() = [glossary_entry()]

glossary_entry()

glossary_entry() = {nonempty_list(), nonempty_list()}

glossary_id()

glossary_id() = nonempty_list()

glossary_name()

glossary_name() = nonempty_list()

language()

language() = nonempty_list()

Function Index

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

Function Details

auth_key/1

auth_key(AuthKey::nonempty_list()) -> ok

glossary_create/4

glossary_create(Name::glossary_name(), SourceLang::language(), TargetLang::language(), Entries::glossary_entries()) -> {ok, glossary()} | {error, atom(), term()}

glossary_delete/1

glossary_delete(GlossaryId::glossary_id()) -> ok | {error, atom(), term()}

glossary_entries/1

glossary_entries(GlossaryId::glossary_id()) -> {ok, glossary()} | {error, atom(), term()}

glossary_information/1

glossary_information(GlossaryId::glossary_id()) -> {ok, glossary()} | {error, atom(), term()}

glossary_list/0

glossary_list() -> {ok, [glossary()]}

source_languages/0

source_languages() -> any()

target_languages/0

target_languages() -> any()

translate/2

translate(TargetLang, Texts) -> any()

translate/3

translate(TargetLang, Texts, Options) -> any()

usage/0

usage() -> any()


Generated by EDoc