package jp.gr.java_conf.dyama.rink.parser;
public interface Sentence {

    /**
     * get the number of words
     * @return number of words
     */
    public int size();

    /**
     * get the i-th word
     * @param i index. throw IllegalArgumentException if i is negative or greater than {@link #size()} - 1.
     * @return word
     */
    public Word getWord(int i);


    /**
     * get the string of the sentence.
     * @return string of the sentence
     */
    public String getString();

}

@@ -76,27 +76,31 @@
  /**%0A     * 
-g
+R
 et
+urns
  the number 
@@ -182,27 +182,31 @@
  /**%0A     * 
-g
+R
 et
+urns
  the i-th wo
@@ -228,20 +228,81 @@
 m i 
+the 
 index.
- 
+%0A     * @return word corresponding to the index.%0A     * @
 throw
+s
  Ill
@@ -381,28 +381,8 @@
  1.%0A
-     * @return word%0A
     
@@ -434,19 +434,23 @@
 %0A     * 
-g
+R
 et
+urns
  the str
@@ -485,16 +485,20 @@
 @return 
+the 
 string o

revise API document