PHPackages                             mozzos/nlptool - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. mozzos/nlptool

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mozzos/nlptool
==============

Multi function Natural Language Processing system.

116PHP

Since Jul 19Pushed 9y ago2 watchersCompare

[ Source](https://github.com/Mozzos/NLPTool)[ Packagist](https://packagist.org/packages/mozzos/nlptool)[ RSS](/packages/mozzos-nlptool/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Mozzos
======

[](#mozzos)

Natural Language Processing is one of the important directions in the field of computer science and artificial intelligence. It can be used to realize the effective communication between people and computer in the natural language of the various theories and methods. Natural Language Processing is a fusion of linguistics, computer science, mathematics in one of the science. Therefore, the research in this field will involve natural language, that is, people's daily use of language, so it has a close relationship with the study of linguistics, but there are important differences. Natural Language Processing is not a general study of natural language, but in the development of natural language communication can effectively achieve the computer system, especially the software system. So it's a part of computer science.

This package was created for a personal project and it's still a work in progress. I don't expect it's API to change however.

Table of Contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Setting Up](#setting-up)
- [Use](#Use)
- [Group](#Group)

Installation
------------

[](#installation)

- Add the package to your `composer.json` file and run `composer update`:

```
{
    "require": {
        "mozzos/nlptool": "dev-master"
    }
}
```

- Add the service provider to your `app/config/app.php` file, inside the `providers` array: `Mozzos\NLPTool\Providers\NLPToolServiceProvider::class`
- Publish the config file by running the following command in the terminal: `php artisan config:publish mozzos/nlptool
- Edit the config files (located in `config/nlp.php`) etc.

Setting Up
----------

[](#setting-up)

There's only one step to tell your models that they should use Bouncy. Just add a trait! I'll be using a fictional `Product` model for the examples.

```
use Mozzos\NLPTool\NLPTool;

class Product extends Eloquent {

    use NLPTool;

    // ...other Eloquent attributes
    // or methods.
}
```

Use
---

[](#use)

An example participle;:

```
   $res = $this->ws(strip_tags($request->content . "。" . $request->title))->get();
```

The `$params` array is exactly as NLP expects for it to build a JSON request. etc.

Group
-----

[](#group)

An example participle;:

```
   $res = $this->analysis(strip_tags($request->content . "。" . $request->title))->group(3);
```

The `$params` array is exactly as NLP expects for it to build a JSON request. etc.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/47a1804d44352dd2017acbe88bb9f696b0080687666f4aee08d0d8b81a4c38bb?d=identicon)[BrettCao](/maintainers/BrettCao)

---

Top Contributors

[![BrettCao](https://avatars.githubusercontent.com/u/17780089?v=4)](https://github.com/BrettCao "BrettCao (1 commits)")

### Embed Badge

![Health badge](/badges/mozzos-nlptool/health.svg)

```
[![Health](https://phpackages.com/badges/mozzos-nlptool/health.svg)](https://phpackages.com/packages/mozzos-nlptool)
```

###  Alternatives

[strictus/strictus

Strict Typing for local variables in PHP

1606.9k](/packages/strictus-strictus)[wodby/wordpress-composer

Project template for WordPress projects with composer

691.1k](/packages/wodby-wordpress-composer)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
