<commit_before># Bhaskara

> A library to convert numbers in full to actual numbers

Bhaskara is a small library that aims to convert written numbers in real integers for programming purposes, providing an easy interface for extending your own languages.

## Install

`$ npm install --save-dev bhaskara`

## Usage

```js
var bhaskara = require('bhaskara');

bhaskara('zero'); // 0
bhaskara('ten'); // 10
bhaskara('one hundred eighty-nine'); // 189
bhaskara('fourty-two million and one'); // 42000001<commit_msg>Add badges<commit_after># Bhaskara

> A library to convert numbers in full to actual numbers

[![Build Status](https://travis-ci.org/brenolf/bhaskara.svg?branch=master)](https://travis-ci.org/brenolf/bhaskara)
[![Code Climate](https://codeclimate.com/github/brenolf/bhaskara/badges/gpa.svg)](https://codeclimate.com/github/brenolf/bhaskara)

Bhaskara is a small library that aims to convert written numbers in real integers for programming purposes, providing an easy interface for extending your own languages.

## Install

`$ npm install --save-dev bhaskara`

## Usage

```js
var bhaskara = require('bhaskara');

bhaskara('zero'); // 0
bhaskara('ten'); // 10
bhaskara('one hundred eighty-nine'); // 189
bhaskara('fourty-two million and one'); // 42000001
{'fraction_non_alphanumeric': 0.12943962115232832, 'fraction_numerical': 0.022099447513812154, 'mean_word_length': 4.897674418604651, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 4, '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': '5668539', 'n_tokens_mistral': 433, 'n_tokens_neox': 393, 'n_words': 126}