I would need a little help.
I have TreeMap inside TreeMap TreeMap<String,TreeMap<String,Integer>>
My text output looks like this (example of single line):
Phoneme "Y": ["**"=46,15%] ["I"=30,77%] ["Y"=7,69%] ["i:"=15,38%]
It means That phoneme Y has been in 31% recognized as I, in 7,7% as Y etc...
As a result I need a table (spreadsheet) which has on vertical (selected phoneme) and horizontal (prediction) lines every Phoneme and in cells the probability corresponding to selected line and row. This means that for example on line "Y" would be probabilities stated as above, everything else 0%
What would be the best solution for that? Should I programm it manually to get these information and save it sequentially in csv or is there some better way?