         }
         
         let unioned = UnionArrayByY(YaverageArray, charinfo: sorted)
+        
+        ShowcharinfoArray(unioned)
+        
     }
     
     

        
        let removed = RemoveOverlapArray(charinfoArray)
        var sorted = SortcharinfoArray(removed)
//        ShowcharinfoArray(sorted)

        //各配列のY座標の平均値を求める
        var YaverageArray: [Double] = []

        
        //全テキストを検査するループ
        while(text != nil && text.characters.count > 0){
            while(tet.get_char_info(page) > 0){
                
                var charinfo = CharInfo()
                charinfo.text = text
