GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  LINGUA::ZH::KEYWORDS (3)

.ds Aq ’

NAME

Lingua::ZH::Keywords - Extract keywords from Chinese text

CONTENTS

SYNOPSIS



    # Exports keywords() by default
    use Lingua::ZH::Keywords;

    print join(",", keywords($text));       # Prints five keywords
    print join(",", keywords($text, 10));   # Prints ten keywords



DESCRIPTION

This is a very simple algorithm which removes stopwords from the text, and then counts up what it considers to be the most important <B>keywordsB>. The keywords subroutine returns a list of keywords in order of relevance.

The stopwords list is accessible as @Lingua::ZH::Keywords::StopWords.

If the input $text is an Unicode string, the returned keywords will also be Unicode strings; otherwise they are assumed to be Big5-encoded bytestrings.

SEE ALSO

Lingua::ZH::TaBE, Lingua::EN::Keywords

ACKNOWLEDGEMENTS

Algorithm adapted from the Lingua::EN::Keywords module by Simon Cozens, <simon@simon-cozens.org<gt>.

AUTHORS

Autrijus Tang <autrijus@autrijus.org>

COPYRIGHT

Copyright 2003 by Autrijus Tang <autrijus@autrijus.org>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See <http://www.perl.com/perl/misc/Artistic.html>

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 KEYWORDS (3) 2003-01-20

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.