项目作者: ekinhbayar

项目描述 :
Part of Speech (Brill) Tagger & lexicon generated from Brown Corpus
高级语言: PHP
项目地址: git://github.com/ekinhbayar/BrillTagger.git
创建时间: 2016-10-23T22:27:59Z
项目社区:https://github.com/ekinhbayar/BrillTagger

开源协议:MIT License

下载


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

  1. $input = "The quick brown fox jumps over the lazy dog.";
  2. $tagger = new BrillTagger();
  3. $tagger->tag($input);