Textrazor

Learn how to use Textrazor with Composio

Overview

Enum

TEXTRAZOR

Description

TextRazor is a natural language processing API that extracts meaning, entities, and relationships from text, powering advanced content analysis and sentiment detection

Authentication Details

api_key
stringRequired

Actions

This tool retrieves comprehensive information about a textrazor account, providing essential details about the account’s status, usage, and limits. it returns an account object containing properties such as the current subscription plan, concurrent request limits, and daily usage among others, making it crucial for monitoring api usage, managing requests, and ensuring compliance with subscription limits.

Action Parameters

Action Response

data
object
error
successful
boolean

This tool will classify text into predefined categories using textrazor’s classification capabilities. it takes input text, optional cleanup mode and language, and returns a list of relevant categories with their confidence scores from the analysis. the tool supports various built-in classifiers including: - textrazor iab: iab qag segments - textrazor iab content taxonomy 3.0: iab content taxonomy v3.0 (2022) - textrazor mediatopics 2023q1: latest iptc media topics (march 2023) - and other versions of these taxonomies

Action Parameters

classifiers
stringRequired
cleanup_mode
stringDefaults to raw
language_override
string
text
stringRequired

Action Response

data
object
error
successful
boolean

The dependencytreesaction analyzes the grammatical relationships between words in text by creating dependency trees. it provides detailed syntactic analysis by identifying the grammatical relationships between words and their parent words in a sentence. this tool is useful for: - understanding sentence structure - analyzing grammatical relationships - parsing complex sentences - supporting advanced linguistic analysis tasks

Action Parameters

cleanup_mode
stringDefaults to raw
language_override
string
text
stringRequired

Action Response

data
object
error
successful
boolean

The textrazor dictionary manager tool allows users to create, update, and manage custom entity dictionaries in textrazor. it provides endpoints for creating/updating dictionaries, listing dictionaries, getting a specific dictionary, and deleting dictionaries, as well as managing the entries within these dictionaries (adding, retrieving, and deleting entries).

Action Parameters

dictionary_id
string
entries
array
operation
stringRequired

Action Response

data
error
message
string
ok
boolean
successful
boolean

This tool extracts entailments from text using textrazor’s api. it identifies words or phrases that can be logically inferred from the given text by analyzing logical implications and relationships.

Action Parameters

cleanup_mode
string
cleanup_return_cleaned
boolean
language_override
string
text
stringRequired

Action Response

data
object
error
successful
boolean

Extract named entities (people, places, companies, etc.) from text using textrazor’s entity extraction api. the tool will identify and classify named entities within the provided text, returning detailed information about each entity including its type, confidence score, and relevance score.

Action Parameters

cleanup_mode
stringDefaults to raw
entities_allow_overlap
booleanDefaults to True
entities_filter_dbpedia_types
array
entities_filter_freebase_types
array
language_override
string
text
stringRequired

Action Response

data
object
error
successful
boolean

The extractphrases action extracts meaningful phrases from input text using textrazor’s phrase extraction capability. it analyzes text to identify important phrases and multi-word expressions that aid in tasks like content analysis, keyword extraction, and summarization.

Action Parameters

cleanup_mode
stringDefaults to raw
language
string
text
stringRequired

Action Response

data
object
error
successful
boolean

This tool extracts grammatical relations between words in the text. it identifies the relationships between different parts of sentences, including subjects, objects, and predicates. the relations extractor provides detailed syntactic analysis of the text.

Action Parameters

cleanup_mode
stringDefaults to raw
language_override
string
text
stringRequired

Action Response

data
object
error
successful
boolean

This tool performs word sense disambiguation on the input text by identifying the most likely meanings of words in context. it uses textrazor’s ‘senses’ extractor to determine the semantic meaning and provides detailed data including word, sense, confidence score, part of speech, position, synset, and definition.

Action Parameters

cleanupMode
stringDefaults to raw
languageOverride
string
text
stringRequired

Action Response

data
object
error
successful
boolean

This tool performs spelling correction on the provided text using textrazor’s deep spelling correction system. it analyzes the input text for spelling errors and provides context-based corrections.

Action Parameters

cleanup_mode
stringDefaults to cleanHTML
language
string
text
stringRequired

Action Response

data
object
error
successful
boolean

A comprehensive content analysis tool that combines multiple textrazor extractors to perform a complete analysis of the input text. this action allows users to analyze text content with multiple extractors in a single api call.

Action Parameters

cleanup_mode
stringDefaults to stripTags
cleanup_return_cleaned
boolean
cleanup_use_metadata
booleanDefaults to True
extractors
arrayDefaults to ['entities', 'topics', 'words', 'phrases', 'dependency-trees', 'relations', 'entailments', 'senses']
language_override
string
text
stringRequired

Action Response

data
object
error
successful
boolean

A tool to extract topics from text using textrazor’s topic extraction capabilities. topics represent the main themes and concepts discussed in the text, with relevance scores indicating their importance to the document.

Action Parameters

cleanup_mode
string
language_override
string
text
stringRequired

Action Response

data
object
error
successful
boolean