NLP

Looks up the vector definition for a word.

get
Path parameters
strSessionIDstringRequired

The session ID

wordstringRequired

Word to be looked up

Responses
200
Success
application/json
get
GET /memori/v2/WordVector/{strSessionID}/{word} HTTP/1.1
Host: 
Accept: */*
200

Success

{
  "vector": [
    1
  ],
  "requestID": 1,
  "requestDateTime": "2025-07-23T12:36:42.450Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Searches for the 10 words most semantically similar words to the specified word.

get
Path parameters
strSessionIDstringRequired

The session ID

wordstringRequired

Word to be searcher for

Responses
200
Success
application/json
get
GET /memori/v2/SimilarWords/{strSessionID}/{word} HTTP/1.1
Host: 
Accept: */*
200

Success

{
  "similarWords": [
    "text"
  ],
  "requestID": 1,
  "requestDateTime": "2025-07-23T12:36:42.450Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Tries to guess the language of a sentence by analyzing keyword occurrences.

post
Path parameters
strSessionIDstringRequired

The session ID

Body

Specifications for requests requiring a sentence.

textstring | nullableOptional

Text of the sentence. Required.

Responses
200
Success
application/json
post
POST /memori/v2/GuessLanguage/{strSessionID} HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 15

{
  "text": "text"
}
200

Success

{
  "languageGuesses": {
    "ANY_ADDITIONAL_PROPERTY": 1
  },
  "requestID": 1,
  "requestDateTime": "2025-07-23T12:36:42.450Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Computes the similarity between a reference and a comparison sentences.

post
Path parameters
strSessionIDstringRequired

The session ID

Body

Specifications for requests requiring a two sentences.

referenceTextstring | nullableOptional

Text of the reference sentence. Required.

referenceTextTypestring | nullableOptional

Type of reference text, i.e. question or answer. Required. Only types supported are: QUESTION ANSWER

comparisonTextstring | nullableOptional

Text of the comparison sentence. Required.

comparisonTextTypestring | nullableOptional

Type of comparison text, i.e. question or answer. Required. Only types supported are: QUESTION ANSWER

Responses
200
Success
application/json
post
POST /memori/v2/ComputeSimilarity/{strSessionID} HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 103

{
  "referenceText": "text",
  "referenceTextType": "text",
  "comparisonText": "text",
  "comparisonTextType": "text"
}
200

Success

{
  "similarity": 1,
  "similarityLevel": "text",
  "requestID": 1,
  "requestDateTime": "2025-07-23T12:36:42.450Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Checks the words of a sentence for their definition in the word vector dictionary.

post
Path parameters
strSessionIDstringRequired

The session ID

Body

Specifications for requests requiring a sentence.

textstring | nullableOptional

Text of the sentence. Required.

Responses
200
Success
application/json
post
POST /memori/v2/CheckWords/{strSessionID} HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 15

{
  "text": "text"
}
200

Success

{
  "undefinedWords": [
    "text"
  ],
  "requestID": 1,
  "requestDateTime": "2025-07-23T12:36:42.450Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Checks a sentence for NSFW content.

post

This API requires a Giver session.

Path parameters
strSessionIDstringRequired

The session ID

Body

Specifications for requests requiring a sentence.

textstring | nullableOptional

Text of the sentence. Required.

Responses
200
Success
application/json
post
POST /memori/v2/CheckNSFW/{strSessionID} HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 15

{
  "text": "text"
}
200

Success

{
  "nsfw": true,
  "requestID": 1,
  "requestDateTime": "2025-07-23T12:36:42.450Z",
  "resultCode": 1,
  "resultMessage": "text"
}