# Rosette Text Analytics

Rosette Text Analytics is a platform that uses natural language processing, statistical modeling, and machine learning to analyze unstructured and semi-structured text across 364 language-encoding-script combinations, revealing valuable information and actionable data.

- **Category:** artificial intelligence
- **Auth:** API_KEY
- **Composio Managed App Available?** N/A
- **Tools:** 3
- **Triggers:** 0
- **Slug:** `ROSETTE_TEXT_ANALYTICS`
- **Version:** 20260211_00

## Tools

### Address Similarity

**Slug:** `ROSETTE_TEXT_ANALYTICS_ADDRESS_SIMILARITY`

Compares two addresses and returns a similarity score. Addresses can be provided as single strings or as structured objects. The tool is optimized for English, Simplified Chinese, and Traditional Chinese addresses.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `address1` | string | Yes | The first address to compare. Can be a string or a structured object. |
| `address2` | string | Yes | The second address to compare. Can be a string or a structured object. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Identify Language

**Slug:** `ROSETTE_TEXT_ANALYTICS_LANGUAGE_IDENTIFICATION`

This tool identifies the natural language of a given text. It takes a string of text as input and returns the detected language along with a confidence score. Optional parameters include specifying a genre (e.g., "social-media"), providing a list of language codes to constrain the identification, and indicating whether to include user-defined languages.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `content` | string | No | The text to be analyzed. |
| `contentUri` | string | No | A URI pointing to the content to be analyzed. Mutually exclusive with content. |
| `multilingual` | boolean | No | If set to true, the endpoint detects regions in multilingual documents and returns a list of language regions in addition to whole-document results. Default is false. |
| `koreanDialects` | boolean | No | If set to true, enables classification for North Korean (qkp) and South Korean (qkr) dialects. Default is false. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Compare Name Similarity

**Slug:** `ROSETTE_TEXT_ANALYTICS_NAME_SIMILARITY`

The 'Name Similarity' tool compares two entity names (Person, Location, or Organization) and returns a similarity score between 0 and 1 to indicate if the names are similar. It is useful for tasks such as record linkage, identity resolution, and data deduplication.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name1` | object | Yes | The first name object to be compared. |
| `name2` | object | Yes | The second name object to be compared. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
