lzomedia/extract-nouns

This package allows you to extract nous from a large string

dev-master 2020-11-10 20:14 UTC

This package is auto-updated.

Last update: 2022-05-10 22:40:48 UTC


README

This package can extract proper nouns from texts. It takes a text string and can detect which words may be proper nouns of people, entities, etc. It uses some heuristics like the capitalization of the first word letter, the presence of people title preceding the nouns, etc. The class may consider consecutive proper names as a single proper name. The class assumes English by default but may be configured to work with other idioms.

How to use Extract Nouns

git clone https://github.com/lzomedia/extract-nouns.git .

or

composer require lzomedia/extract-nouns

Tests

I have added some small test to check if system is working as described.

phpunit

Issues

If you find issues please contact me via Github or Email

Owner

This script was created by @Lzo Media

DON'T BE A DICK PUBLIC LICENSE

Copyright (C) [2020] [Lzo Media]

Everyone is permitted to copy and distribute verbatim or modified copies of this license document.

DON'T BE A DICK PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  1. Do whatever you like with the original work, just don't be a dick.

    Being a dick includes - but is not limited to - the following instances:

1a. Outright copyright infringement - Don't just copy this and change the name. 1b. Selling the unmodified original with no work done what-so-ever, that's REALLY being a dick. 1c. Modifying the original work to contain hidden harmful content. That would make you a PROPER dick.

  1. If you become rich through modifications, related works/services, or supporting the original work, share the love. Only a dick would make loads off this work and not buy the original work's creator(s) a pint.

  2. Code is provided with no warranty. Using somebody else's code and bitching when it goes wrong makes you a DONKEY dick. Fix the problem yourself. A non-dick would submit the fix back.