Semantria
  1. Features
Semantria
  • Blacklist
    • Remove items from blacklist
      DELETE
    • Retrieve blacklisted items
      GET
    • Add items to blacklist
      POST
    • Update items in blacklist
      PUT
  • Categories
    • Remove user categories
      DELETE
    • Retrieve user categories
      GET
    • Add user categories
      POST
    • Updates user categories
      PUT
  • ProcessingCollections
    • Queue collection for analysis
      POST
    • Retrieve collections analysis
      GET
    • Cancel collection analysis
      DELETE
    • Retrieve collection analysis or its status in queue
      GET
  • Configuration
    • Remove user configurations
      DELETE
    • Retrieve user configurations
      GET
    • Create user configurations
      POST
    • Update user configurations
      PUT
  • ProcessingDocuments
    • Queue document for analysis
      POST
    • Queue batch of documents for analysis
      POST
    • Retrieve documents analysis
      GET
    • Cancel document analysis
      DELETE
    • Retrieve document analysis or its status in queue
      GET
  • Entities
    • Remove user entities
      DELETE
    • Retrieve user entities
      GET
    • Add user entities
      POST
    • Update user entities
      PUT
  • Features
    • Retrieve supported features
      GET
  • Phrases
    • Remove sentiment-bearing phrases
    • Retrieve sentiment-bearing phrases
    • Add sentiment-bearing phrases
    • Updates sentiment-bearing phrases
  • Queries
    • Remove queries
    • Retrieve queries
    • Add or update queries
    • Update queries
  • Statistics
    • Retrieve usage statistics
  • Status
    • Retrieve API status
  • Subscription
    • Retrieve subscription details
  • Taxonomy
    • Remove taxonomy nodes
    • Retrieve taxonomy
    • Add taxonomy nodes
    • Update taxonomy nodes
  1. Features

Retrieve supported features

GET
/features.{content_type}
This method returns list of supported features per languages supported by Semantria API. Let the users know about API capabilities.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.semantria.com//features.'
Response Response Example
200 - Example 1
[
    {
        "detailed_mode": {
            "auto_categories": true,
            "entity_mentions": true,
            "entity_opinions": true,
            "entity_relations": true,
            "entity_themes": true,
            "intentions": true,
            "language_detection": true,
            "model_sentiment": true,
            "named_entities": true,
            "pos_tagging": true,
            "queries": true,
            "sentiment": true,
            "sentiment_phrases": true,
            "summarization": true,
            "taxonomy": true,
            "theme_mentions": true,
            "themes": true,
            "user_categories": true,
            "user_entities": true
        },
        "discovery_mode": {
            "entity_mentions": true,
            "facet_attributes": true,
            "facet_mentioins": true,
            "facets": true,
            "named_entities": true,
            "queries": true,
            "taxonomy": true,
            "theme_mentions": true,
            "themes": true,
            "user_categories": true,
            "user_entities": true
        },
        "html_processing": true,
        "id": "string",
        "language": "string",
        "one_sentence_mode": true,
        "settings": {
            "blacklist": true,
            "queries": true,
            "sentiment_phrases": true,
            "taxonomy": true,
            "user_categories": true,
            "user_entities": true
        },
        "templates": {
            "config_id": "string",
            "description": "string",
            "id": "string",
            "is_free": true,
            "language": "string",
            "name": "string",
            "type": "language-default",
            "version": "string"
        }
    }
]

Request

Path Params
content_type
string 
required
Query Params
language
string 
optional
Filter features by specified language

Responses

🟢200Client request accepted and queued. Server responds with subscription details.
application/json
Body
array of:
detailed_mode
object (FeatureDetailedModeSection) 
required
auto_categories
boolean 
required
Represents whether auto-categories of entities supported for certain language or not
entity_mentions
boolean 
required
Represents whether mentions of entities supported for certain language or not
entity_opinions
boolean 
required
Represents whether opinions of entities supported for certain language or not
entity_relations
boolean 
required
Represents whether relations of entities supported for certain language or not
entity_themes
boolean 
required
Represents whether themes of entities supported for certain language or not
intentions
boolean 
required
Represents whether intentions detection supported for certain language or not
language_detection
boolean 
required
Represents whether language detection feature supported or not
model_sentiment
boolean 
required
Represents whether model-based sentiment supported for certain language or not
named_entities
boolean 
required
Represents whether named entities extraction supported for certain language or not
pos_tagging
boolean 
required
Represents whether POS tagging supported for certain language or not
queries
boolean 
required
Represents whether queries of entities supported for certain language or not
sentiment
boolean 
required
Represents whether sentiment detection supported for certain language or not
sentiment_phrases
boolean 
required
Represents whether sentiment phrases detection supported for certain language or not
summarization
boolean 
required
Represents whether summarization supported for certain language or not
taxonomy
boolean 
required
Represents whether taxonomy feature supported for certain language or not
theme_mentions
boolean 
required
Represents whether mentions of themes supported for certain language or not
themes
boolean 
required
Represents whether themes extraction supported for certain language or not
user_categories
boolean 
required
Represents whether user categories of entities supported for certain language or not
user_entities
boolean 
required
Represents whether user entities extraction supported for certain language or not
discovery_mode
object (FeatureDiscoveryModeSection) 
required
entity_mentions
boolean 
required
Represents whether mentions of entities supported for certain language or not
facet_attributes
boolean 
required
Represents whether attributes of facets supported for certain language or not
facet_mentioins
boolean 
required
Represents whether mentions of facets supported for certain language or not
facets
boolean 
required
Represents whether facets detection supported for certain language or not
named_entities
boolean 
required
Represents whether named entities extraction supported for certain language or not
queries
boolean 
required
Represents whether queries extraction supported for certain language or not
taxonomy
boolean 
required
Represents whether taxonomy feature supported for certain language or not
theme_mentions
boolean 
required
Represents whether mentions of themes supported for certain language or not
themes
boolean 
required
Represents whether themes extraction supported for certain language or not
user_categories
boolean 
required
Represents whether user categories extraction supported for certain language or not
user_entities
boolean 
required
Represents whether user entities extraction supported for certain language or not
html_processing
boolean 
required
Represents whether HTML processing supported for certain language or not
id
string 
required
Unique language identifier
language
string 
required
Represents language following options relevant to
one_sentence_mode
boolean 
required
Considers entire text as one sentence and uses optimized chunker for short content like tweets.
settings
object (FeatureSettingsSection) 
required
blacklist
boolean 
required
Represents whether blacklist feature supported for certain language or not
queries
boolean 
required
Represents whether queries definition supported for certain language or not
sentiment_phrases
boolean 
required
Represents whether sentiment-bearing phrases adjustmment supported for certain language or not
taxonomy
boolean 
required
Represents whether taxonomy feature supported for certain language or not
user_categories
boolean 
required
Represents whether user categories definition supported for certain language or not
user_entities
boolean 
required
Represents whether user entities definition supported for certain language or not
templates
object (FeatureTemplateSection) 
required
config_id
string 
required
Unique identifier of configuration associated with the vertical pack. Required for cloning
description
string 
required
Verbal description of template features, belonging to domain area, etc.
id
string 
required
Unique document identifier. Can be up to 36 alphanumeric characters
is_free
boolean 
required
Shows whether Vertical pack is free or requires subscription
language
string 
required
The language supported by the vertical pack
name
string 
required
Name of the vertical pack
type
enum<string> 
required
The type of the vertical pack, can be either "vertical-pack" or "language-default"
Allowed values:
language-defaultvertical-pack
version
string 
required
Version of the vertical pack, for versioning purposes.
🟠401Authentication failed.
🟠402Unauthorized. Limit of system calls is reached or subscription is expired.
🔴500Server side issue. Server may respond with the details in response body.
Modified at 2022-09-10 18:38:13
Previous
Update user entities
Next
Remove sentiment-bearing phrases
Built with