Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.basex.query.ft
Class StemDir

    java.lang.Object
      org.basex.util.TokenSet
          org.basex.util.ObjectMap<byte[]>
              org.basex.query.ft.StemDir

    public final class StemDir

extends ObjectMap<byte[]>

Simple stemming directory for full-text requests.

Author:
  Workgroup DBIS, University of Konstanz 2005-10, ISC License, Christian Gruen

Constructor Summary
`StemDir()`

Method Summary
`boolean` | `read(IO fl)` Reads a stop words file.
`byte[]` | `stem(byte[] word)` Returns a stemmed word or the word itself.

Methods inherited from class org.basex.util.ObjectMap
`get, put, value`

Methods inherited from class org.basex.util.TokenSet
`add, delete, id, key, keys, read, size, write`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### StemDir

    public StemDir()

Method Detail

### read

    public boolean read(IO fl)

  Reads a stop words file.

  Parameters:
    `fl` - file reference
  Returns:
    true if everything went alright

### stem

    public byte[] stem(byte[] word)

  Returns a stemmed word or the word itself.

  Parameters:
    `word` - word to be stemmed
  Returns:
    resulting token

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD