pullword - The perl agent for Pullword(a online Chinese segmentation System) api!

VERSION

Version 0.02

SYNOPSIS

Quick summary of what the module does.

Perhaps a little code snippet.

use pullword;

print PWget("清华大学是好学校",0,1);
...

EXPORT

A list of functions that can be exported. You can delete this section if you don't export anything, such as for a purely object-oriented module.

SUBROUTINES/METHODS

PWget($source,$param1,$param2)

get pullword api result. source=[a paragraph of chinese words] for example: source=清华大学是好学校 param1=[threshold] for example: param1=0 to pull all word, param1=1 to pull word with probability with 100%. param2=[debug] for example: param2=0 debug model is off, param2=1 debug mode in on(show all probabilities of each word)

OUT text reslut;

PWhash($source)

get pullword word distribution hash. source=[a paragraph of chinese words] for example: source=清华大学是好学校

OUT hash: word as kery and It's frequency count;

AUTHOR

ORANGE, <bollwarm at ijz.me>

BUGS

Please report any bugs or feature requests to bug-pullword at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=pullword. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc pullword

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2016 ORANGE.

This program is released under the following license: Perl