<commit_before>node-translator
---

[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![David deps][david-image]][david-url]

[npm-image]: https://img.shields.io/npm/v/ntrans.svg?style=flat
[npm-url]: https://npmjs.org/package/ntrans
[travis-image]: https://img.shields.io/travis/teenworks/node-translator.svg?style=flat
[travis-url]: https://travis-ci.org/teenworks/node-translator
[david-image]: https://img.shields.io/david/teenworks/node-translator.svg?style=flat
[david-url]: https://david-dm.org/teenworks/node-translator

Yet another Chinese-English translate tool written in Node.

## Install

```
[sudo] npm install ntrans [-g]
```

## Usage
<commit_msg>Add nodeico image in the README.<commit_after>node-translator
---

[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![David deps][david-image]][david-url]

[npm-image]: https://img.shields.io/npm/v/ntrans.svg?style=flat
[npm-url]: https://npmjs.org/package/ntrans
[travis-image]: https://img.shields.io/travis/teenworks/node-translator.svg?style=flat
[travis-url]: https://travis-ci.org/teenworks/node-translator
[david-image]: https://img.shields.io/david/teenworks/node-translator.svg?style=flat
[david-url]: https://david-dm.org/teenworks/node-translator

[![NPM](https://nodei.co/npm/ntrans.png?downloads&downloadRank)](https://nodei.co/npm/ntrans/)

Yet another Chinese-English translate tool written in Node.

## Install

```
[sudo] npm install ntrans [-g]
```

## Usage

{'fraction_non_alphanumeric': 0.20066445182724252, 'fraction_numerical': 0.0, 'mean_word_length': 5.301255230125523, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 14, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1579033', 'n_tokens_mistral': 598, 'n_tokens_neox': 574, 'n_words': 74}