Example #1
0
        public bool Deserialize(string text)
        {
            string[] parts = text.Split("\t"[0]);
            if (parts.Length == 2)
            {
                frame   = Rhubarb.StringToFrame(parts[0]);
                phoneme = Rhubarb.GetPhonemeType(parts[1]);
                return(true);
            }

            return(false);
        }
Example #2
0
 public string Serialize()
 {
     return(Rhubarb.FrameToString(frame) + "\t" + Rhubarb.GetPhonemeName(phoneme));
 }