michael@0: #!/usr/local/bin/perl michael@0: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: use StatKoi '.' ; michael@0: michael@0: open(FILE, "> ../src/nsCyrillicProb.h") or die "cannot open nsCyrillicDetector.h"; michael@0: michael@0: print FILE <{$key})) michael@0: { michael@0: $v = $table->{$key}; michael@0: } else { michael@0: $v = 0; michael@0: } michael@0: print FILE $v . ", \t"; michael@0: if( 7 == ( $j % 8) ) michael@0: { michael@0: print FILE "\n"; michael@0: } michael@0: } michael@0: print FILE "\n}, \n"; michael@0: } michael@0: print FILE "};\n"; michael@0: print FILE "#endif\n";