Textgain v0.1.4 Textgain View Source
This module provides access to the various text analytics services provided by Textgain.
Each service is implemented as a function in this module, with both the tuple and "!" versions provided.
Link to this section Summary
Functions
Executes a query against the Textgain age service, returning one of two tuples
Executes a query against the Textgain age service, returning a valid
struct or raising an exception
Executes a query against the Textgain concepts service, returning one of two tuples
Executes a query against the Textgain concepts service, returning a valid
struct or raising an exception
Executes a query against the Textgain education service, returning one of two tuples
Executes a query against the Textgain education service, returning a valid
struct or raising an exception
Executes a query against the Textgain gender service, returning one of two tuples
Executes a query against the Textgain gender service, returning a valid
struct or raising an exception
Executes a query against the Textgain genre service, returning one of two tuples
Executes a query against the Textgain genre service, returning a valid
struct or raising an exception
Executes a query against the Textgain language service, returning one of two tuples
Executes a query against the Textgain language service, returning a valid
struct or raising an exception
Executes a query against the Textgain personality service, returning one of two tuples
Executes a query against the Textgain personality service, returning a valid
struct or raising an exception
Executes a query against the Textgain sentiment service, returning one of two tuples
Executes a query against the Textgain sentiment service, returning a valid
struct or raising an exception
Executes a query against the Textgain tag service, returning one of two tuples
Executes a query against the Textgain tag service, returning a valid
struct or raising an exception
Link to this section Functions
age(text, options \\ []) View Source
Executes a query against the Textgain age service, returning one of two tuples:
{ :ok, %Elixir.Textgain.Age{} }
{ :error, msg }
See the Textgain API services page for details on returned analytics.
age!(text, options \\ []) View Source
Executes a query against the Textgain age service, returning a valid
struct or raising an exception.
See the Textgain API services page for details on returned analytics.
concepts(text, options \\ []) View Source
Executes a query against the Textgain concepts service, returning one of two tuples:
{ :ok, %Elixir.Textgain.Concepts{} }
{ :error, msg }
See the Textgain API services page for details on returned analytics.
concepts!(text, options \\ []) View Source
Executes a query against the Textgain concepts service, returning a valid
struct or raising an exception.
See the Textgain API services page for details on returned analytics.
education(text, options \\ []) View Source
Executes a query against the Textgain education service, returning one of two tuples:
{ :ok, %Elixir.Textgain.Education{} }
{ :error, msg }
See the Textgain API services page for details on returned analytics.
education!(text, options \\ []) View Source
Executes a query against the Textgain education service, returning a valid
struct or raising an exception.
See the Textgain API services page for details on returned analytics.
gender(text, options \\ []) View Source
Executes a query against the Textgain gender service, returning one of two tuples:
{ :ok, %Elixir.Textgain.Gender{} }
{ :error, msg }
See the Textgain API services page for details on returned analytics.
gender!(text, options \\ []) View Source
Executes a query against the Textgain gender service, returning a valid
struct or raising an exception.
See the Textgain API services page for details on returned analytics.
genre(text, options \\ []) View Source
Executes a query against the Textgain genre service, returning one of two tuples:
{ :ok, %Elixir.Textgain.Genre{} }
{ :error, msg }
See the Textgain API services page for details on returned analytics.
genre!(text, options \\ []) View Source
Executes a query against the Textgain genre service, returning a valid
struct or raising an exception.
See the Textgain API services page for details on returned analytics.
language(text, options \\ []) View Source
Executes a query against the Textgain language service, returning one of two tuples:
{ :ok, %Elixir.Textgain.Language{} }
{ :error, msg }
See the Textgain API services page for details on returned analytics.
language!(text, options \\ []) View Source
Executes a query against the Textgain language service, returning a valid
struct or raising an exception.
See the Textgain API services page for details on returned analytics.
personality(text, options \\ []) View Source
Executes a query against the Textgain personality service, returning one of two tuples:
{ :ok, %Elixir.Textgain.Personality{} }
{ :error, msg }
See the Textgain API services page for details on returned analytics.
personality!(text, options \\ []) View Source
Executes a query against the Textgain personality service, returning a valid
struct or raising an exception.
See the Textgain API services page for details on returned analytics.
sentiment(text, options \\ []) View Source
Executes a query against the Textgain sentiment service, returning one of two tuples:
{ :ok, %Elixir.Textgain.Sentiment{} }
{ :error, msg }
See the Textgain API services page for details on returned analytics.
sentiment!(text, options \\ []) View Source
Executes a query against the Textgain sentiment service, returning a valid
struct or raising an exception.
See the Textgain API services page for details on returned analytics.
tag(text, options \\ []) View Source
Executes a query against the Textgain tag service, returning one of two tuples:
{ :ok, %Elixir.Textgain.Tag{} }
{ :error, msg }
See the Textgain API services page for details on returned analytics.
tag!(text, options \\ []) View Source
Executes a query against the Textgain tag service, returning a valid
struct or raising an exception.
See the Textgain API services page for details on returned analytics.