<commit_before># Inflect

[![MIT License](http://img.shields.io/badge/license-MIT-red.svg)](./LICENSE)
[![Composer Version](http://img.shields.io/badge/composer-v1.0--dev-orange.svg)](http://getcomposer.org)

A PHP class to handle words in Portuguese

## Dependencies

1. Install [PHP](http://php.net/downloads) if you don't have it yet.
2. Install [Composer](http://getcomposer.org) if you don't have it yet.

## Usage

Examples of usage of the Inflect(i.e portuguese).

```php
<?php

use Inflect\Inflect;

Inflect::pluralize('pão');                // pães
Inflect::pluralize('carro');              // carros

Inflect::singularize('carros');           // carro
Inflect::singularize('pães');             // pão

Inflect::camelize('tablename');           // TableName
Inflect::camelize('tablename', true);     // tableName
```

## Installation

The recommended way to install this package is through [composer](http://getcomposer.org).

Create a `composer.json` file.

```json
{
    "minimum-stability": "dev",
    "require": {
        "randsonjs/inflect": "*"
    }
}
```

Run command to install it.

```sh
$ composer install
```

## File Structure

```
.
|-- src/
|-- tests/
|-- .editorconfig
|-- .gitignore
|-- composer.json
```

#### [src/](src/)

The main files of package, in this directory you will find the [Inflect](https://github.com/randsonjs/inflect/blob/master/src/Inflect/Inflect.php) class.

#### [tests/](tests/)

The tests directory for [Inflect](https://github.com/randsonjs/inflect/blob/master/src/Inflect/Inflect.php) class. Tests are made using [PHPUnit](https://phpunit.de/).

#### [.editorconfig](.editorconfig)

This file is for unifying the coding style for different editors and IDEs.
> Check [editorconfig.org](http://editorconfig.org/) if you haven't heard about this project.

#### [.gitignore](.gitignore)

List of files that we don't want Git to track.
> Check this [Git Ignoring Files Guide](https://help.github.com/articles/ignoring-files) for more details.

#### [composer.json](composer.json)

Specify all dependencies loaded via Composer.
> Check [composer.json](https://getcomposer.org/doc/01-basic-usage.md#composer-json-project-setup) Project Setup for more details.

## Credits

## Contributing

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D

## License
[MIT License](./LICENSE) © <NAME>
<commit_msg>Remove credits section<commit_after># Inflect

[![MIT License](http://img.shields.io/badge/license-MIT-red.svg)](./LICENSE)
[![Composer Version](http://img.shields.io/badge/composer-v1.0--dev-orange.svg)](http://getcomposer.org)

A PHP class to handle words in Portuguese

## Dependencies

1. Install [PHP](http://php.net/downloads) if you don't have it yet.
2. Install [Composer](http://getcomposer.org) if you don't have it yet.

## Usage

Examples of usage of the Inflect(i.e portuguese).

```php
<?php

use Inflect\Inflect;

Inflect::pluralize('pão');                // pães
Inflect::pluralize('carro');              // carros

Inflect::singularize('carros');           // carro
Inflect::singularize('pães');             // pão

Inflect::camelize('tablename');           // TableName
Inflect::camelize('tablename', true);     // tableName
```

## Installation

The recommended way to install this package is through [composer](http://getcomposer.org).

Create a `composer.json` file.

```json
{
    "minimum-stability": "dev",
    "require": {
        "randsonjs/inflect": "*"
    }
}
```

Run command to install it.

```sh
$ composer install
```

## File Structure

```
.
|-- src/
|-- tests/
|-- .editorconfig
|-- .gitignore
|-- composer.json
```

#### [src/](src/)

The main files of package, in this directory you will find the [Inflect](https://github.com/randsonjs/inflect/blob/master/src/Inflect/Inflect.php) class.

#### [tests/](tests/)

The tests directory for [Inflect](https://github.com/randsonjs/inflect/blob/master/src/Inflect/Inflect.php) class. Tests are made using [PHPUnit](https://phpunit.de/).

#### [.editorconfig](.editorconfig)

This file is for unifying the coding style for different editors and IDEs.
> Check [editorconfig.org](http://editorconfig.org/) if you haven't heard about this project.

#### [.gitignore](.gitignore)

List of files that we don't want Git to track.
> Check this [Git Ignoring Files Guide](https://help.github.com/articles/ignoring-files) for more details.

#### [composer.json](composer.json)

Specify all dependencies loaded via Composer.
> Check [composer.json](https://getcomposer.org/doc/01-basic-usage.md#composer-json-project-setup) Project Setup for more details.

## Contributing

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D

## License
[MIT License](./LICENSE) © <NAME>

{'fraction_non_alphanumeric': 0.16324905434999004, 'fraction_numerical': 0.00437985267768266, 'mean_word_length': 3.695327102803738, 'pattern_counts': {'":': 6, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 10, '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': '5053161', 'n_tokens_mistral': 1705, 'n_tokens_neox': 1637, 'n_words': 443}