swishej
Class StemRule

java.lang.Object
  |
  +--swishej.StemRule

class StemRule
extends java.lang.Object

Class implementing stemming rule


Field Summary
(package private)  StemCond condition
          Replacement test function
(package private)  int id
          Rule identifier returned if rule fired
(package private) static java.lang.String LAMBDA
           
(package private)  int min_root_size
          Min root word size for replacement
(package private)  java.lang.String new_end
          Suffix replacement
(package private)  int new_offset
          From beginning to end of new suffix
(package private)  java.lang.String old_end
          Suffix replaced
(package private)  int old_offset
          From end of word to start of suffix
 
Constructor Summary
(package private) StemRule(int id, java.lang.String old_end, java.lang.String new_end, int old_offset, int new_offset, int min_root_size, StemCond condition)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

id

int id
Rule identifier returned if rule fired

old_end

java.lang.String old_end
Suffix replaced

new_end

java.lang.String new_end
Suffix replacement

old_offset

int old_offset
From end of word to start of suffix

new_offset

int new_offset
From beginning to end of new suffix

min_root_size

int min_root_size
Min root word size for replacement

condition

StemCond condition
Replacement test function

LAMBDA

static final java.lang.String LAMBDA
Constructor Detail

StemRule

StemRule(int id,
         java.lang.String old_end,
         java.lang.String new_end,
         int old_offset,
         int new_offset,
         int min_root_size,
         StemCond condition)


Contact: Christian.Werner@t-online.de