import java.util.*;
/**class - pepe pepetises a String */
public class pepe {
    
    /**method peptizeWord - pepetizes a String
     * @param w the String to be pepetized */    
    public String pepetizeWord(String w) {
	StringTokenizer t = new StringTokenizer(new hyp().hyp(w),"-");
	String answer = "", temp;
	
	while(t.hasMoreTokens() ) {
	    temp = t.nextToken();
	    answer += temp + pepetizeS(temp);
	}
	
	return answer;
    }
    
    /**method peptizeS - peptizes a Stavelse
     * @param s the String to be pepetized */ 
    private String pepetizeS(String s) {
	String answer = "";
	if ( new hyp().isVokal(s.toLowerCase().charAt(0)) )
	    answer += "p" + s;
	else {
	    StringTokenizer t = new StringTokenizer(s,"aeiouyæűćAEIOUYÆŰĆ",true);
	    if ( t.hasMoreTokens() )
		t.nextToken();
	    answer = "p";
	    while (t.hasMoreTokens() )
		answer += t.nextToken();
	}
	return answer;
    }
    
}
