# File solution.rb, line 375 def get_word_morphology sb = "" sb.force_encoding "UTF-8" if (!@prefix.morphology.empty? and @prefix.morphology != nil ) sb+= "\t" + "prefix : " + @prefix.morphology + "\n" end if (!@stem.morphology.empty? and @stem.morphology != nil) sb+= "\t" + "stem : " + @stem.morphology + "\n" end if (!@suffix.morphology.empty? and @suffix.morphology != nil) sb+= "\t" + "suffix : " + @suffix.morphology + "\n" end return sb end