Skip to main content

OpenAPI definition (v0)

Download OpenAPI specification:Download

Word Count

Endpoints for counting and analyzing words in a given text

Get top N most frequent words

Returns the top N most frequently occurring words in the provided text.

query Parameters
limit
integer <int32>
Default: 5
Example: limit=5

Maximum number of top words to return

Request Body schema: application/json
required

Plain text to be analyzed

string

Responses

Request samples

Content type
application/json
"string"

Get frequency of each word

Returns a frequency map of words in the provided text.

Request Body schema: application/json
required

Plain text to be analyzed

string

Responses

Request samples

Content type
application/json
"string"

Count total number of words

Returns the number of words in the provided input text.

Request Body schema: application/json
required

Plain text to be analyzed

string

Responses

Request samples

Content type
application/json
"string"

Get sample text

Returns a sample English sentence for testing purposes.

Responses

List help for all endpoints

Returns descriptions of all available endpoints and their usage.

Responses