Metadata-Version: 2.1
Name: py4N-gram
Version: 0.0.1
Summary: N-gram Python Library
Home-page: https://github.com/luthfi118/py4N_gram
Author: Mgs. M. Luthfi Ramadhan
Author-email: luthfir96@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown

# py4N-gram

N-gram Python Library

## Getting Started

This project is simply implementation of N-gram algorithm in python programming language.

### Prerequisites

This Project Has No Prerequisites


### Installing

The easiest way to install py4N-gram is using pip

```
pip install py4N-gram
```

### Usage
It's only a function named Ngram. It takes 2 argument, the first argument is the text and the second argument is the number of N.
```
from py4N_gram.tokenize import Ngram
x = "i love python programming language"
unigram = Ngram(x,1)
bigram = Ngram(x,2)
trigram = Ngram(x,3)
```


