<commit_before># Serina

[![Build Status](https://travis-ci.org/h-dong/Serina.svg?branch=master)]()
[![GitHub Release](https://img.shields.io/github/release/h-dong/serina.svg)]()
[![GitHub Issues Open](https://img.shields.io/github/issues-raw/h-dong/serina.svg)]()
[![GitHub Last Commit](https://img.shields.io/github/last-commit/h-dong/serina.svg)]()
[![GitHub License](https://img.shields.io/github/license/h-dong/serina.svg)]()

[![Netlify Build Status](https://api.netlify.com/api/v1/badges/debe4f89-718a-43de-b3b7-0b791ae709fe/deploy-status)](https://app.netlify.com/sites/serina/deploys)
[![BCH compliance](https://bettercodehub.com/edge/badge/h-dong/Serina?branch=master)](https://bettercodehub.com/)
[![codecov](https://codecov.io/gh/h-dong/Serina/branch/master/graph/badge.svg)](https://codecov.io/gh/h-dong/Serina)

Natural Language Parser for date and time in Javascript.

## Introduction

Serina can parse English phrases and return an object that is easier to work. This project is inspired by [Sherlock](!https://github.com/neilgupta/Sherlock) project. The name comes from the Xbox Game "Halo wars", where she was the Artificial Intelligence of the UNSC navy ship - Spirit of Fire.

## Installation

Simply run `npm install serina`

### Basic browser setup

Just include Serina in a script tag. You can access its various classes through the serina global.

```html
<script src="serina.min.js"></script>
```

```js
var parsed = serina('Remind me to buy milk tomorrow 3pm');
```

### Node

Install via NPM:
<commit_msg>Added Serina Demo to README<commit_after># Serina

[![Build Status](https://travis-ci.org/h-dong/Serina.svg?branch=master)]()
[![GitHub Release](https://img.shields.io/github/release/h-dong/serina.svg)]()
[![GitHub Issues Open](https://img.shields.io/github/issues-raw/h-dong/serina.svg)]()
[![GitHub Last Commit](https://img.shields.io/github/last-commit/h-dong/serina.svg)]()
[![GitHub License](https://img.shields.io/github/license/h-dong/serina.svg)]()

[![Netlify Build Status](https://api.netlify.com/api/v1/badges/debe4f89-718a-43de-b3b7-0b791ae709fe/deploy-status)](https://app.netlify.com/sites/serina/deploys)
[![BCH compliance](https://bettercodehub.com/edge/badge/h-dong/Serina?branch=master)](https://bettercodehub.com/)
[![codecov](https://codecov.io/gh/h-dong/Serina/branch/master/graph/badge.svg)](https://codecov.io/gh/h-dong/Serina)

Natural Language Parser for date and time in Javascript.

Serina Demo: [serina.netlify.com](https://serina.netlify.com)

## Introduction

Serina can parse English phrases and return an object that is easier to work. This project is inspired by [Sherlock](!https://github.com/neilgupta/Sherlock) project. The name comes from the Xbox Game "Halo wars", where she was the Artificial Intelligence of the UNSC navy ship - Spirit of Fire.

## Installation

Simply run `npm install serina`

### Basic browser setup

Just include Serina in a script tag. You can access its various classes through the serina global.

```html
<script src="serina.min.js"></script>
```

```js
var parsed = serina('Remind me to buy milk tomorrow 3pm');
```

### Node

Install via NPM:

{'fraction_non_alphanumeric': 0.166189111747851, 'fraction_numerical': 0.012098057943330149, 'mean_word_length': 4.984761904761905, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 25, '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': '2418538', 'n_tokens_mistral': 1168, 'n_tokens_neox': 1079, 'n_words': 241}