org.eml.sir.util
Class CompoundSplitter

java.lang.Object
  extended byorg.eml.sir.util.CompoundSplitter

public class CompoundSplitter
extends java.lang.Object

Class that provides methods for splitting compounds

Author:
Katja Niemann, Simone Eberhard (EML-R)

Constructor Summary
CompoundSplitter()
          Create a new instance of CompoundSplitter, uses the SmesStemmmer
 
Method Summary
 boolean isCompound(java.lang.String possibleCompound)
          Test, if a word is a compound
 java.util.ArrayList split()
          Split possible compound
 java.util.ArrayList split(char pos)
          Split possible compound
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompoundSplitter

public CompoundSplitter()
Create a new instance of CompoundSplitter, uses the SmesStemmmer

Method Detail

isCompound

public boolean isCompound(java.lang.String possibleCompound)
Test, if a word is a compound

Parameters:
possibleCompound - word, which could be a compound
Returns:
- true, if possibleCompound is a compound, - false, if possibleCompound is no compound

split

public java.util.ArrayList split(char pos)
Split possible compound

Returns:
ArrayList with compound components - POS like POS of compound

split

public java.util.ArrayList split()
Split possible compound

Returns:
ArrayList with compound components - POS not defined