Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 1003 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 1003 Bytes

Brill Tagger

Build Status Code Coverage Scrutinizer Code Quality

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);