public ExtensionResourceNameIterator(final String extension, final char separatorChar) {
   super();
   String[] extensions = Strings.split(extension, separatorChar);
   if (extensions.length == 0) {
     extensions = new String[] {""};
   }
   this.extensions = extensions;
   this.index = 0;
 }
Beispiel #2
0
 /**
  * Retrieves parts of speech from feature.
  *
  * @return parts of speech(coding in Japanese)
  */
 private String getPos() {
   return Strings.split(mFeature, ',')[0];
 }
Beispiel #3
0
 /**
  * Retrieves base form from feature.
  *
  * @return base form
  */
 public String getBaseForm() {
   return Strings.split(mFeature, ',')[6];
 }