///// ------------------------------------------------------------------------------------ //[SetUp] //public void TestSetup() //{ //} /// ------------------------------------------------------------------------------------ private PatternMember CreateMember(PatternPart part, string wildcardSymbol) { var member = new PatternMember(part, false, new[] { "$", "%" }); member.AddGroup(new[] { "a", "e", "i", "o", "u" }); member.FinalizeParse(wildcardSymbol ?? string.Empty, _prj.PhoneticParser); return(member); }
/// ------------------------------------------------------------------------------------ private bool GetMatchInEnvironment(PatternMember member, string phones) { return(member.GetEnvironmentMatch(_prj.PhoneticParser.Parse(phones, true) ?? new string[0])); }