ekinhbayar / brill-tagger
PHP implementation of a Brill Tagger, an inductive part-of-speech tagging method.
Installs: 232
Dependents: 1
Suggesters: 0
Security: 0
Stars: 16
Watchers: 1
Forks: 3
Open Issues: 1
pkg:composer/ekinhbayar/brill-tagger
Requires
- php: >5
Requires (Dev)
- phpunit/phpunit: 5.5.*
This package is auto-updated.
Last update: 2025-10-15 02:23:00 UTC
README
PHP implementation of a Brill Tagger, an inductive part-of-speech tagging method. Uses a lexicon generated from Brown Corpus.
Requirements
- PHP 7.3+
Installation
$ composer require ekinhbayar/brill-tagger then run $ composer install. The latter will define the lexicon.
or just clone/download this repository.
Usage
$input = "The quick brown fox jumps over the lazy dog."; $tagger = new BrillTagger(); $tagger->tag($input);