public static String tranformChords(String string) {
		String ngram = "" + PITCH;
//		System.out.println(string);
		if (string.startsWith("_")) ngram = ngram + "_";
		else if (!string.isEmpty()) ngram = ngram + " ";
		String[] chords = string.split(" ");
		
		int old = Integer.parseInt(PITCH);
		for (int i=0; i < chords.length; i++){
//			System.out.println(chords[i]);
			String[] keys = chords[i].split("_");
			for (int j=0; j < keys.length; j++) {
//				System.out.println(keys[j]);
				if (!keys[j].isEmpty()){
				if (j != keys.length-1) ngram = ngram + (old + Integer.parseInt(keys[j]))  + "_";
				else ngram = ngram + (old + Integer.parseInt(keys[j]));
				old = old + Integer.parseInt(keys[j]);
			
				}
			}
			if (i != chords.length - 1) ngram = ngram + " ";
		}
		
		return ngram;
	}