<commit_before># indico.io

A Node.js wrapper for the Indico's API.

### Getting started 

Install with [npm](http://npmjs.org/)

```
npm install indico.io
```

### API

Right now this wrapper supports the following apps:

- Political Sentiment Analysis
- Spam Detection
- Positive/Negative Sentiment Analysis
- Facial Emotion Recognition
- Facial Feature Extraction

### Using the library

```js
var indico = require('indico.io');

function fn(err, res) {
  if (err) {
    console.log('err: ', err);
    return;
  }

  console.log(res);
}<commit_msg>Updated README to replace spam detection with language detection<commit_after># indico.io

A Node.js wrapper for the Indico's API.

### Getting started 

Install with [npm](http://npmjs.org/)

```
npm install indico.io
```

### API

Right now this wrapper supports the following apps:

- Political Sentiment Analysis
- Language Detection
- Positive/Negative Sentiment Analysis
- Facial Emotion Recognition
- Facial Feature Extraction

### Using the library

```js
var indico = require('indico.io');

function fn(err, res) {
  if (err) {
    console.log('err: ', err);
    return;
  }

  console.log(res);
}
{'fraction_non_alphanumeric': 0.12445980985306827, 'fraction_numerical': 0.0, 'mean_word_length': 3.8860759493670884, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4342421', 'n_tokens_mistral': 392, 'n_tokens_neox': 355, 'n_words': 120}