예제 #1
0
 private Representacion joinByRepresentacion(Collection<Silaba> mSilabas2) {
   Representacion representacion = Representacion.desde("");
   for (Silaba silaba : mSilabas2) {
     representacion.append(silaba.getRepresentacion());
   }
   return representacion;
 }
예제 #2
0
 @Override
 public String toString() {
   Representacion representacionDeLaPalabra = toRepresentacion();
   return representacionDeLaPalabra.toString();
 }
예제 #3
0
 public Palabra(Collection<Fonema> fonemas) {
   mSilabas = new ArrayList<Silaba>();
   for (Fonema fonema : fonemas) {
     mSilabas.add(new Silaba(fonema, Representacion.desde(fonema.toString().toUpperCase())));
   }
 }