basic
Class WordList

java.lang.Object
  extended by basic.WordList
Direct Known Subclasses:
Context, Gloss

public class WordList
extends java.lang.Object

List of words, contains info about base forms and orthographical form

Author:
Mateusz Kopec

Constructor Summary
WordList()
          Constructor
WordList(WordList wordlist)
          Constructor to copy from another word list
 
Method Summary
 void addWord(java.lang.String orth, java.lang.String base)
          Adds word to the list
 java.util.List<java.lang.String> getBases()
          Gets bases of words in the list
 java.util.List<java.lang.String> getOrths()
          Gets orths of words in the list
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WordList

public WordList(WordList wordlist)
Constructor to copy from another word list

Parameters:
wordlist - list to copy

WordList

public WordList()
Constructor

Method Detail

addWord

public void addWord(java.lang.String orth,
                    java.lang.String base)
Adds word to the list

Parameters:
orth - orth form
base - base form

getBases

public java.util.List<java.lang.String> getBases()
Gets bases of words in the list

Returns:
bases

getOrths

public java.util.List<java.lang.String> getOrths()
Gets orths of words in the list

Returns:
orths