package jp.gr.java_conf.dyama.rink.parser;

import jp.gr.java_conf.dyama.rink.corpus.TagSet;

public interface Word extends Range {

    /**
     * Returns the beginning position of the word.
     * @return the beginning position of the word
     */
    @Override
    public int getBegin();

    /**
     * Returns the ending position of the word.
     * @return the ending position of the word
     */
    @Override
    public int getEnd();

    /**
     * Returns the length of the word ( = the number of characters )
     * @return the length of the word
     */
    public int length();

    /**
     * Returns the word's ID.
     * @return word's ID
     */
    public int getID();


    /**
     * Returns the surface string of the word
     * @return the surface string of the word.
     */
    public String getSurface();

    /**
     * Returns the base form of the word
     * @return base form string
     */
    public String getBaseForm();

    /**
     * Returns the part-of-speech tag
     * @return the part-of-speech tag.
     */
    public TagSet.PartOfSpeech getPOS();


}

@@ -226,33 +226,34 @@
 tion of the word
+.
 %0A
-
      */%0A    @Ove
@@ -380,32 +380,33 @@
 tion of the word
+.
 %0A     */%0A    @Ov
@@ -548,24 +548,25 @@
  of the word
+.
 %0A     */%0A   
@@ -650,16 +650,17 @@
 ord's ID
+.
 %0A     */
@@ -731,32 +731,33 @@
 ring of the word
+.
 %0A     * @return 
@@ -877,16 +877,17 @@
 the word
+.
 %0A     * 
@@ -910,16 +910,17 @@
 m string
+.
 %0A     */
@@ -954,32 +954,32 @@
 orm();%0A%0A    /**%0A
-
      * Returns t
@@ -999,16 +999,17 @@
 eech tag
+.
 %0A     * 

revise API document