2017 © Pedro Peláez
 

library phpanalysis

The PHP library for phpanalysis

image

lmz/phpanalysis

The PHP library for phpanalysis

  • Friday, October 14, 2016
  • by liumingzhij26
  • Repository
  • 1 Watchers
  • 1 Stars
  • 351 Installations
  • PHP
  • 1 Dependents
  • 1 Suggesters
  • 5 Forks
  • 0 Open issues
  • 4 Versions
  • 25 % Grown

The README.md

phpanalysis

基于phpanalysis的功能封装,方便使用php语言分词, (*1)

    \Phpanalysis\PhpAnalysis::$loadInit = false;
    $pa = new \Phpanalysis\PhpAnalysis('utf-8', 'utf-8', true);
    //载入词典
    $pa->LoadDict();
    //执行分词
    $pa->SetSource('今天不要忘记给智聪带面膜
    昨天喝了咖啡,晚上失眠,现在蓝瘦香菇
    北京天气变得好冷了,秋风萧瑟');
    $pa->differMax = true;
    $pa->unitWord = true;
    $pa->StartAnalysis( true );
    $okresult = $pa->GetFinallyResult('###', false);

    print_r($okresult);

The Versions

14/10 2016

dev-master

9999999-dev https://github.com/liumingzhij26/phpanalysis

The PHP library for phpanalysis

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by liumingzhi

phpanalysis

14/10 2016

v1.0.3

1.0.3.0 https://github.com/liumingzhij26/phpanalysis

The PHP library for phpanalysis

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by liumingzhi

phpanalysis

14/10 2016

v1.0.2

1.0.2.0 https://github.com/liumingzhij26/phpanalysis

The PHP library for phpanalysis

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by liumingzhi

phpanalysis

12/10 2016

v1.0.1

1.0.1.0 https://github.com/liumingzhij26/phpanalysis

The PHP library for phpanalysis

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by liumingzhi

phpanalysis