Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dbix::fulltextsearch::stoplist(3pm) [debian man page]

DBIx::FullTextSearch::StopList(3pm)			User Contributed Perl Documentation		       DBIx::FullTextSearch::StopList(3pm)

NAME
DBIx::FullTextSearch::StopList - Stopwords for DBIx::FullTextSearch SYNOPSIS
use DBIx::FullTextSearch::StopList; # connect to database (regular DBI) my $dbh = DBI->connect('dbi:mysql:database', 'user', 'passwd'); # create a new empty stop word list my $sl1 = DBIx::FullTextSearch::StopList->create_empty($dbh, 'sl_web_1'); # or create a new one with default stop words my $sl2 = DBIx::FullTextSearch::StopList->create_default($dbh, 'sl_web_2', 'english'); # or open an existing one my $sl3 = DBIx::FullTextSearch::StopList->open($dbh, 'sl_web_3'); # add stop words $sl1->add_stop_word(['a','in','on','the']); # remove stop words $sl2->remove_stop_word(['be','because','been','but','by']); # check if word is in stoplist $bool = $sl1->is_stop_word('in'); # empty stop words $sl3->empty; # drop stop word table $sl2->drop; DESCRIPTION
DBIx::FullTextSearch::StopList provides stop lists that can be used -DBIx::FullTextSearch. StopList objects can be reused accross several FullTextSearch objects. METHODS
CONSTRUCTERS create_empty my $sl = DBIx::FullTextSearch::StopList->create_empty($dbh, $sl_name); This class method creates a new StopList object. create_default my $sl = DBIx::FullTextSearch::StopList->create_default($dbh, $sl_name, $language); This class method creates a new StopList object, with default words loaded in for the given language. Supported languages include Czech, Danish, Dutch, English, Finnish, French, German, Italian, Portuguese, Spanish, and Swedish. open my $sl = DBIx::FullTextSearch::StopList->open($dbh, $sl_name); Opens and returns StopList object OBJECT METHODS add_stop_word $sl->add_stop_word(@stop_words); Adds stop words to StopList object. Expects array reference as argument. remove_stop_word $sl->remove_stop_word(@stop_words); Remove stop words from StopList object. is_stop_word $bool = $sl->is_stop_word($stop_word); Returns true iff stop_word is StopList object empty $sl->empty; Removes all stop words in StopList object. drop $sl->drop; Removes table associated with the StopList object. AUTHOR
T.J. Mather, tjmather@tjmather.com, http://www.tjmather.com/ COPYRIGHT
All rights reserved. This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
DBIx::FullTextSearch perl v5.8.8 2007-10-23 DBIx::FullTextSearch::StopList(3pm)

Check Out this Related Man Page

DBIx::Class::Manual::DocMap(3)				User Contributed Perl Documentation			    DBIx::Class::Manual::DocMap(3)

NAME
DBIx::Class::Manual::DocMap - What documentation do we have? Manuals DBIx::Class::Manual - User's Manual overview. DBIx::Class::Manual::Intro - Introduction to setting up and using DBIx::Class. DBIx::Class::Manual::Example - Full example Schema. DBIx::Class::Manual::SQLHackers::TOC - How to use DBIx::Class if you know SQL (external, available on CPAN) DBIx::Class::Manual::Glossary - What do all those terms mean? DBIx::Class::Manual::Cookbook - Various short recipes on how to do things. DBIx::Class::Manual::FAQ - Frequently Asked Questions, gathered from IRC and the mailing list. DBIx::Class::Manual::Troubleshooting - What to do if things go wrong (diagnostics of known error messages). DBIx::Class::Manual::Component - How to write your own DBIx::Class components. Setting up DBIx::Class::Schema - Overall schemas, and connection container. DBIx::Class::ResultSource - Source/Table definition functions. DBIx::Class::Relationship - Simple relationships. DBIx::Class::Relationship::Base - Relationship details. DBIx::Class::PK::Auto - Magically retrieve auto-incrementing fields. DBIx::Class::Core - Set of standard components to load. DBIx::Class::InflateColumn - Making objects out of your columns. DBIx::Class::InflateColumn::DateTime - Magically turn your datetime or timestamp columns into DateTime objects. DBIx::Class::PK - Dealing with primary keys. DBIx::Class::ResultSourceProxy::Table - Turns the resultsource into a table. DBIx::Class::AccessorGroup - Accessor grouping. Retrieving and creating data DBIx::Class::ResultSet - Selecting and manipulating sets. DBIx::Class::ResultSetColumn - Perform operations on entire columns of a ResultSet. DBIx::Class::Row - Dealing with actual data. DBIx::Class::Storage - Basic Storage stuff. DBIx::Class::Storage::DBI - Storage using DBI and SQL::Abstract. perl v5.16.2 2012-08-16 DBIx::Class::Manual::DocMap(3)
Man Page