View Source Wordnik.Word.Hyphenation (Wordnik v1.0.0)
hyphenation information about requested word
Link to this section Summary
Types
parsed JSON response to get_hyphenation/2
query
map of optional parameters that can be passed to get_hyphenation/2
query
Functions
get hyphenation for requested word
Link to this section Types
parsed JSON response to get_hyphenation/2
query
@type hyphenation_params() :: %{ optional(:use_canonical) => boolean(), optional(:limit) => integer(), optional(:source_dict) => Formatter.Enums.source_dict() }
map of optional parameters that can be passed to get_hyphenation/2
query
Link to this section Functions
@spec get_hyphenation(String.t(), hyphenation_params()) :: {:error, String.t()} | {:ok, hyphenation()}
get hyphenation for requested word
parameters
Parameters
- use_canonical: boolean
- limit: integer
- source_dict: string
example
Example
iex> get_hyphenation("verbose", %{use_canonical})
response
Response
t:Word.Hyphenation.hyphenation/0