拼音字典

        public function pingyin():void
        {
            var s:Array = ["b","c","d","f","g","h","j","k","l","m","n","p","q","r","s","t","v","w","x","y","z","sh","ch","zh"];
            var y:Array = ["a","e","i","o","u","an","ang","en","eng","in","ing","ong","un", "uan","ou","ai","ao","ei","ia", "ie", "iu", "ian", "iang"];
            var o:Array = [];
            for each (var i2:String in y) 
            {
                o.push(i2)
            }
            
            for each (var i:String in s) 
            {
                for each (var j:String in y)    
                {
                    o.push(i + j);
                }
            }
            for each (var k:String in o) 
            {
                trace(k + ",")
            }
        }

 

posted @ 2014-12-04 13:57  rainInSun  阅读(198)  评论(0编辑  收藏  举报