public String process(Item item) throws ProcessException {
  int count=0;
  Item ss=item.getItemAs(Relation.SYLLABLE);
  Item firstSyllable=LAST_LAST_SYLLABLE_PATH.findItem(item);
  for (Item p=ss; p != null; p=p.getNext()) {
    if (p.equalsShared(firstSyllable)) {
      break;
    }
    count++;
  }
  return Integer.toString(rail(count));
}

public String process ( Item item ) throws ProcessException { int count = 0 ; Item ss = item . getItemAs ( Relation . SYLLABLE ) ; Item firstSyllable = LAST_LAST_SYLLABLE_PATH . findItem ( item ) ; for ( Item p = ss ; p != null ; p = p . getNext ( ) ) { if ( p . equalsShared ( firstSyllable ) ) { break ; } count ++ ; } return Integer . toString ( rail ( count ) ) ; }
performs some processing on the given item .
