NAME
LoadTermList
DESCRIPTION
This a module in the DESIRE automatic classification system. Copyright 1999.
LoadTermList - A class for loading and storing a stoplist with single words a termlist with classifications and weights
Subroutines:
LoadStopWordList(StopWordListFileName)
loads a list of stopwords, one per line, from
the file StopWordListFileName.
EraseStopWordList
clears the stopword list
Subroutines:
LoadTermList(TermListFileName) - loads TermClass from file
LoadTermListStemmed(TermListFileName) - same plus stems terms
Input: A formatted term-list including weights and classifications
Format: <weight>: <term_reg_exp>=[<classification>, ]+
weight can be a positive or negative number
term_reg_exp can be words, phrases, boolean expressions (with @and
as operator) on term_reg_exp or Perl regular expressions
AUTHOR
Anders Ardö <Anders.Ardo@it.lth.se>
COPYRIGHT AND LICENSE
Copyright (C) 2005,2006 Anders Ardö
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.4 or, at your option, any later version of Perl 5 you may have available.
See the file LICENCE included in the distribution at http://combine.it.lth.se/
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 255:
Non-ASCII character seen before =encoding in 'Ardö'. Assuming CP1252