Update WavAudioDictionary.java

added buildSegmentDictionary()