charguess 1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/Manifest.txt +134 -0
- data/PostInstall.txt +7 -0
- data/README.rdoc +26 -0
- data/Rakefile +25 -0
- data/ext/charguess/charguess.c +29 -0
- data/ext/charguess/extconf.rb +11 -0
- data/ext/libcharguess/cpp/.deps/EUCJPProber.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/EUCJPProber.Po +87 -0
- data/ext/libcharguess/cpp/.deps/EUCKRProber.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/EUCKRProber.Po +85 -0
- data/ext/libcharguess/cpp/.deps/EUCTWProber.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/EUCTWProber.Po +85 -0
- data/ext/libcharguess/cpp/.deps/EscCharsetProber.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/EscCharsetProber.Po +83 -0
- data/ext/libcharguess/cpp/.deps/EscSM.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/EscSM.Po +77 -0
- data/ext/libcharguess/cpp/.deps/GB2312Prober.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/GB2312Prober.Po +85 -0
- data/ext/libcharguess/cpp/.deps/LangBulgarianModel.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/LangBulgarianModel.Po +78 -0
- data/ext/libcharguess/cpp/.deps/LangCyrillicModel.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/LangCyrillicModel.Po +78 -0
- data/ext/libcharguess/cpp/.deps/LangGreekModel.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/LangGreekModel.Po +78 -0
- data/ext/libcharguess/cpp/.deps/LangHungarianModel.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/LangHungarianModel.Po +78 -0
- data/ext/libcharguess/cpp/.deps/LangThaiModel.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/LangThaiModel.Po +78 -0
- data/ext/libcharguess/cpp/.deps/Latin1Prober.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/Latin1Prober.Po +78 -0
- data/ext/libcharguess/cpp/.deps/MBCSGroupProber.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/MBCSGroupProber.Po +102 -0
- data/ext/libcharguess/cpp/.deps/MBCSSM.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/MBCSSM.Po +77 -0
- data/ext/libcharguess/cpp/.deps/SBCSGroupProber.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/SBCSGroupProber.Po +80 -0
- data/ext/libcharguess/cpp/.deps/SBCharsetProber.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/SBCharsetProber.Po +78 -0
- data/ext/libcharguess/cpp/.deps/SJISProber.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/SJISProber.Po +86 -0
- data/ext/libcharguess/cpp/.deps/UTF8Prober.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/UTF8Prober.Po +82 -0
- data/ext/libcharguess/cpp/.deps/big5Prober.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/big5Prober.Po +84 -0
- data/ext/libcharguess/cpp/.deps/charDistribution.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/charDistribution.Po +87 -0
- data/ext/libcharguess/cpp/.deps/chardet.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/chardet.Po +84 -0
- data/ext/libcharguess/cpp/.deps/charguess.Po +77 -0
- data/ext/libcharguess/cpp/.deps/jpCntx.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/jpCntx.Po +75 -0
- data/ext/libcharguess/cpp/.deps/universal.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/universal.Po +111 -0
- data/ext/libcharguess/cpp/AUTHORS +3 -0
- data/ext/libcharguess/cpp/Big5Freq.tab +928 -0
- data/ext/libcharguess/cpp/COPYING +340 -0
- data/ext/libcharguess/cpp/COPYRIGHT +20 -0
- data/ext/libcharguess/cpp/ChangeLog +0 -0
- data/ext/libcharguess/cpp/EUCJPProber.cpp +80 -0
- data/ext/libcharguess/cpp/EUCJPProber.h +58 -0
- data/ext/libcharguess/cpp/EUCKRFreq.tab +615 -0
- data/ext/libcharguess/cpp/EUCKRProber.cpp +80 -0
- data/ext/libcharguess/cpp/EUCKRProber.h +54 -0
- data/ext/libcharguess/cpp/EUCTWFreq.tab +448 -0
- data/ext/libcharguess/cpp/EUCTWProber.cpp +79 -0
- data/ext/libcharguess/cpp/EUCTWProber.h +53 -0
- data/ext/libcharguess/cpp/EscCharsetProber.cpp +89 -0
- data/ext/libcharguess/cpp/EscCharsetProber.h +49 -0
- data/ext/libcharguess/cpp/EscSM.cpp +244 -0
- data/ext/libcharguess/cpp/GB2312Freq.tab +476 -0
- data/ext/libcharguess/cpp/GB2312Prober.cpp +84 -0
- data/ext/libcharguess/cpp/GB2312Prober.h +56 -0
- data/ext/libcharguess/cpp/INSTALL +229 -0
- data/ext/libcharguess/cpp/JISFreq.tab +574 -0
- data/ext/libcharguess/cpp/LICENSE +504 -0
- data/ext/libcharguess/cpp/LangBulgarianModel.cpp +230 -0
- data/ext/libcharguess/cpp/LangCyrillicModel.cpp +340 -0
- data/ext/libcharguess/cpp/LangGreekModel.cpp +229 -0
- data/ext/libcharguess/cpp/LangHungarianModel.cpp +228 -0
- data/ext/libcharguess/cpp/LangThaiModel.cpp +206 -0
- data/ext/libcharguess/cpp/Latin1Prober.cpp +190 -0
- data/ext/libcharguess/cpp/Latin1Prober.h +49 -0
- data/ext/libcharguess/cpp/MBCSGroupProber.cpp +186 -0
- data/ext/libcharguess/cpp/MBCSGroupProber.h +58 -0
- data/ext/libcharguess/cpp/MBCSSM.cpp +610 -0
- data/ext/libcharguess/cpp/Makefile.am +45 -0
- data/ext/libcharguess/cpp/Makefile.in +608 -0
- data/ext/libcharguess/cpp/NEWS +0 -0
- data/ext/libcharguess/cpp/README +0 -0
- data/ext/libcharguess/cpp/SBCSGroupProber.cpp +244 -0
- data/ext/libcharguess/cpp/SBCSGroupProber.h +54 -0
- data/ext/libcharguess/cpp/SBCharsetProber.cpp +100 -0
- data/ext/libcharguess/cpp/SBCharsetProber.h +89 -0
- data/ext/libcharguess/cpp/SJISProber.cpp +86 -0
- data/ext/libcharguess/cpp/SJISProber.h +60 -0
- data/ext/libcharguess/cpp/UTF8Prober.cpp +75 -0
- data/ext/libcharguess/cpp/UTF8Prober.h +46 -0
- data/ext/libcharguess/cpp/aclocal.m4 +1008 -0
- data/ext/libcharguess/cpp/autogen.sh +153 -0
- data/ext/libcharguess/cpp/big5Prober.cpp +76 -0
- data/ext/libcharguess/cpp/big5Prober.h +53 -0
- data/ext/libcharguess/cpp/charDistribution.cpp +90 -0
- data/ext/libcharguess/cpp/charDistribution.h +219 -0
- data/ext/libcharguess/cpp/charguess.cpp +56 -0
- data/ext/libcharguess/cpp/charguess.h +23 -0
- data/ext/libcharguess/cpp/charsetProber.h +50 -0
- data/ext/libcharguess/cpp/codingStateMachine.h +92 -0
- data/ext/libcharguess/cpp/config.h +36 -0
- data/ext/libcharguess/cpp/config.h.in +35 -0
- data/ext/libcharguess/cpp/config.status +1075 -0
- data/ext/libcharguess/cpp/configure +5226 -0
- data/ext/libcharguess/cpp/configure.in +49 -0
- data/ext/libcharguess/cpp/depcomp +472 -0
- data/ext/libcharguess/cpp/fix_copyright +32 -0
- data/ext/libcharguess/cpp/install-sh +294 -0
- data/ext/libcharguess/cpp/jpCntx.cpp +194 -0
- data/ext/libcharguess/cpp/jpCntx.h +100 -0
- data/ext/libcharguess/cpp/missing +336 -0
- data/ext/libcharguess/cpp/mkinstalldirs +111 -0
- data/ext/libcharguess/cpp/pkgInt.h +72 -0
- data/ext/libcharguess/cpp/stamp-h1 +1 -0
- data/ext/libcharguess/cpp/test/test.cpp +78 -0
- data/ext/libcharguess/cpp/types.h +41 -0
- data/ext/libcharguess/cpp/universal.cpp +273 -0
- data/ext/libcharguess/cpp/universal.h +65 -0
- data/script/console +9 -0
- data/script/destroy +14 -0
- data/script/generate +14 -0
- data/tasks/extconf/charguess.rake +47 -0
- data/tasks/extconf.rake +13 -0
- data/test/test_charguess.rb +7 -0
- data/test/test_charguess_extn.rb +10 -0
- data/test/test_helper.rb +3 -0
- metadata +219 -0
@@ -0,0 +1,77 @@
|
|
1
|
+
charguess.o charguess.o: charguess.cpp universal.h types.h \
|
2
|
+
/usr/include/stdlib.h /usr/include/Availability.h \
|
3
|
+
/usr/include/AvailabilityInternal.h /usr/include/_types.h \
|
4
|
+
/usr/include/sys/_types.h /usr/include/sys/cdefs.h \
|
5
|
+
/usr/include/machine/_types.h /usr/include/i386/_types.h \
|
6
|
+
/usr/include/sys/wait.h /usr/include/sys/signal.h \
|
7
|
+
/usr/include/sys/appleapiopts.h /usr/include/machine/signal.h \
|
8
|
+
/usr/include/i386/signal.h /usr/include/i386/_structs.h \
|
9
|
+
/usr/include/sys/_structs.h /usr/include/machine/_structs.h \
|
10
|
+
/usr/include/mach/i386/_structs.h /usr/include/sys/resource.h \
|
11
|
+
/usr/include/machine/endian.h /usr/include/i386/endian.h \
|
12
|
+
/usr/include/sys/_endian.h /usr/include/libkern/_OSByteOrder.h \
|
13
|
+
/usr/include/libkern/i386/_OSByteOrder.h /usr/include/alloca.h \
|
14
|
+
/usr/include/machine/types.h /usr/include/i386/types.h \
|
15
|
+
/usr/include/i386/_types.h /usr/include/stdio.h /usr/include/string.h
|
16
|
+
|
17
|
+
universal.h:
|
18
|
+
|
19
|
+
types.h:
|
20
|
+
|
21
|
+
/usr/include/stdlib.h:
|
22
|
+
|
23
|
+
/usr/include/Availability.h:
|
24
|
+
|
25
|
+
/usr/include/AvailabilityInternal.h:
|
26
|
+
|
27
|
+
/usr/include/_types.h:
|
28
|
+
|
29
|
+
/usr/include/sys/_types.h:
|
30
|
+
|
31
|
+
/usr/include/sys/cdefs.h:
|
32
|
+
|
33
|
+
/usr/include/machine/_types.h:
|
34
|
+
|
35
|
+
/usr/include/i386/_types.h:
|
36
|
+
|
37
|
+
/usr/include/sys/wait.h:
|
38
|
+
|
39
|
+
/usr/include/sys/signal.h:
|
40
|
+
|
41
|
+
/usr/include/sys/appleapiopts.h:
|
42
|
+
|
43
|
+
/usr/include/machine/signal.h:
|
44
|
+
|
45
|
+
/usr/include/i386/signal.h:
|
46
|
+
|
47
|
+
/usr/include/i386/_structs.h:
|
48
|
+
|
49
|
+
/usr/include/sys/_structs.h:
|
50
|
+
|
51
|
+
/usr/include/machine/_structs.h:
|
52
|
+
|
53
|
+
/usr/include/mach/i386/_structs.h:
|
54
|
+
|
55
|
+
/usr/include/sys/resource.h:
|
56
|
+
|
57
|
+
/usr/include/machine/endian.h:
|
58
|
+
|
59
|
+
/usr/include/i386/endian.h:
|
60
|
+
|
61
|
+
/usr/include/sys/_endian.h:
|
62
|
+
|
63
|
+
/usr/include/libkern/_OSByteOrder.h:
|
64
|
+
|
65
|
+
/usr/include/libkern/i386/_OSByteOrder.h:
|
66
|
+
|
67
|
+
/usr/include/alloca.h:
|
68
|
+
|
69
|
+
/usr/include/machine/types.h:
|
70
|
+
|
71
|
+
/usr/include/i386/types.h:
|
72
|
+
|
73
|
+
/usr/include/i386/_types.h:
|
74
|
+
|
75
|
+
/usr/include/stdio.h:
|
76
|
+
|
77
|
+
/usr/include/string.h:
|
@@ -0,0 +1 @@
|
|
1
|
+
# dummy
|
@@ -0,0 +1,75 @@
|
|
1
|
+
jpCntx.o jpCntx.o: jpCntx.cpp types.h /usr/include/stdlib.h \
|
2
|
+
/usr/include/Availability.h /usr/include/AvailabilityInternal.h \
|
3
|
+
/usr/include/_types.h /usr/include/sys/_types.h \
|
4
|
+
/usr/include/sys/cdefs.h /usr/include/machine/_types.h \
|
5
|
+
/usr/include/i386/_types.h /usr/include/sys/wait.h \
|
6
|
+
/usr/include/sys/signal.h /usr/include/sys/appleapiopts.h \
|
7
|
+
/usr/include/machine/signal.h /usr/include/i386/signal.h \
|
8
|
+
/usr/include/i386/_structs.h /usr/include/sys/_structs.h \
|
9
|
+
/usr/include/machine/_structs.h /usr/include/mach/i386/_structs.h \
|
10
|
+
/usr/include/sys/resource.h /usr/include/machine/endian.h \
|
11
|
+
/usr/include/i386/endian.h /usr/include/sys/_endian.h \
|
12
|
+
/usr/include/libkern/_OSByteOrder.h \
|
13
|
+
/usr/include/libkern/i386/_OSByteOrder.h /usr/include/alloca.h \
|
14
|
+
/usr/include/machine/types.h /usr/include/i386/types.h \
|
15
|
+
/usr/include/i386/_types.h /usr/include/stdio.h jpCntx.h
|
16
|
+
|
17
|
+
types.h:
|
18
|
+
|
19
|
+
/usr/include/stdlib.h:
|
20
|
+
|
21
|
+
/usr/include/Availability.h:
|
22
|
+
|
23
|
+
/usr/include/AvailabilityInternal.h:
|
24
|
+
|
25
|
+
/usr/include/_types.h:
|
26
|
+
|
27
|
+
/usr/include/sys/_types.h:
|
28
|
+
|
29
|
+
/usr/include/sys/cdefs.h:
|
30
|
+
|
31
|
+
/usr/include/machine/_types.h:
|
32
|
+
|
33
|
+
/usr/include/i386/_types.h:
|
34
|
+
|
35
|
+
/usr/include/sys/wait.h:
|
36
|
+
|
37
|
+
/usr/include/sys/signal.h:
|
38
|
+
|
39
|
+
/usr/include/sys/appleapiopts.h:
|
40
|
+
|
41
|
+
/usr/include/machine/signal.h:
|
42
|
+
|
43
|
+
/usr/include/i386/signal.h:
|
44
|
+
|
45
|
+
/usr/include/i386/_structs.h:
|
46
|
+
|
47
|
+
/usr/include/sys/_structs.h:
|
48
|
+
|
49
|
+
/usr/include/machine/_structs.h:
|
50
|
+
|
51
|
+
/usr/include/mach/i386/_structs.h:
|
52
|
+
|
53
|
+
/usr/include/sys/resource.h:
|
54
|
+
|
55
|
+
/usr/include/machine/endian.h:
|
56
|
+
|
57
|
+
/usr/include/i386/endian.h:
|
58
|
+
|
59
|
+
/usr/include/sys/_endian.h:
|
60
|
+
|
61
|
+
/usr/include/libkern/_OSByteOrder.h:
|
62
|
+
|
63
|
+
/usr/include/libkern/i386/_OSByteOrder.h:
|
64
|
+
|
65
|
+
/usr/include/alloca.h:
|
66
|
+
|
67
|
+
/usr/include/machine/types.h:
|
68
|
+
|
69
|
+
/usr/include/i386/types.h:
|
70
|
+
|
71
|
+
/usr/include/i386/_types.h:
|
72
|
+
|
73
|
+
/usr/include/stdio.h:
|
74
|
+
|
75
|
+
jpCntx.h:
|
@@ -0,0 +1 @@
|
|
1
|
+
# dummy
|
@@ -0,0 +1,111 @@
|
|
1
|
+
universal.o universal.o: universal.cpp universal.h types.h \
|
2
|
+
/usr/include/stdlib.h /usr/include/Availability.h \
|
3
|
+
/usr/include/AvailabilityInternal.h /usr/include/_types.h \
|
4
|
+
/usr/include/sys/_types.h /usr/include/sys/cdefs.h \
|
5
|
+
/usr/include/machine/_types.h /usr/include/i386/_types.h \
|
6
|
+
/usr/include/sys/wait.h /usr/include/sys/signal.h \
|
7
|
+
/usr/include/sys/appleapiopts.h /usr/include/machine/signal.h \
|
8
|
+
/usr/include/i386/signal.h /usr/include/i386/_structs.h \
|
9
|
+
/usr/include/sys/_structs.h /usr/include/machine/_structs.h \
|
10
|
+
/usr/include/mach/i386/_structs.h /usr/include/sys/resource.h \
|
11
|
+
/usr/include/machine/endian.h /usr/include/i386/endian.h \
|
12
|
+
/usr/include/sys/_endian.h /usr/include/libkern/_OSByteOrder.h \
|
13
|
+
/usr/include/libkern/i386/_OSByteOrder.h /usr/include/alloca.h \
|
14
|
+
/usr/include/machine/types.h /usr/include/i386/types.h \
|
15
|
+
/usr/include/i386/_types.h /usr/include/stdio.h MBCSGroupProber.h \
|
16
|
+
SJISProber.h charsetProber.h codingStateMachine.h pkgInt.h jpCntx.h \
|
17
|
+
charDistribution.h UTF8Prober.h EUCJPProber.h GB2312Prober.h \
|
18
|
+
EUCKRProber.h big5Prober.h EUCTWProber.h SBCSGroupProber.h \
|
19
|
+
EscCharsetProber.h Latin1Prober.h
|
20
|
+
|
21
|
+
universal.h:
|
22
|
+
|
23
|
+
types.h:
|
24
|
+
|
25
|
+
/usr/include/stdlib.h:
|
26
|
+
|
27
|
+
/usr/include/Availability.h:
|
28
|
+
|
29
|
+
/usr/include/AvailabilityInternal.h:
|
30
|
+
|
31
|
+
/usr/include/_types.h:
|
32
|
+
|
33
|
+
/usr/include/sys/_types.h:
|
34
|
+
|
35
|
+
/usr/include/sys/cdefs.h:
|
36
|
+
|
37
|
+
/usr/include/machine/_types.h:
|
38
|
+
|
39
|
+
/usr/include/i386/_types.h:
|
40
|
+
|
41
|
+
/usr/include/sys/wait.h:
|
42
|
+
|
43
|
+
/usr/include/sys/signal.h:
|
44
|
+
|
45
|
+
/usr/include/sys/appleapiopts.h:
|
46
|
+
|
47
|
+
/usr/include/machine/signal.h:
|
48
|
+
|
49
|
+
/usr/include/i386/signal.h:
|
50
|
+
|
51
|
+
/usr/include/i386/_structs.h:
|
52
|
+
|
53
|
+
/usr/include/sys/_structs.h:
|
54
|
+
|
55
|
+
/usr/include/machine/_structs.h:
|
56
|
+
|
57
|
+
/usr/include/mach/i386/_structs.h:
|
58
|
+
|
59
|
+
/usr/include/sys/resource.h:
|
60
|
+
|
61
|
+
/usr/include/machine/endian.h:
|
62
|
+
|
63
|
+
/usr/include/i386/endian.h:
|
64
|
+
|
65
|
+
/usr/include/sys/_endian.h:
|
66
|
+
|
67
|
+
/usr/include/libkern/_OSByteOrder.h:
|
68
|
+
|
69
|
+
/usr/include/libkern/i386/_OSByteOrder.h:
|
70
|
+
|
71
|
+
/usr/include/alloca.h:
|
72
|
+
|
73
|
+
/usr/include/machine/types.h:
|
74
|
+
|
75
|
+
/usr/include/i386/types.h:
|
76
|
+
|
77
|
+
/usr/include/i386/_types.h:
|
78
|
+
|
79
|
+
/usr/include/stdio.h:
|
80
|
+
|
81
|
+
MBCSGroupProber.h:
|
82
|
+
|
83
|
+
SJISProber.h:
|
84
|
+
|
85
|
+
charsetProber.h:
|
86
|
+
|
87
|
+
codingStateMachine.h:
|
88
|
+
|
89
|
+
pkgInt.h:
|
90
|
+
|
91
|
+
jpCntx.h:
|
92
|
+
|
93
|
+
charDistribution.h:
|
94
|
+
|
95
|
+
UTF8Prober.h:
|
96
|
+
|
97
|
+
EUCJPProber.h:
|
98
|
+
|
99
|
+
GB2312Prober.h:
|
100
|
+
|
101
|
+
EUCKRProber.h:
|
102
|
+
|
103
|
+
big5Prober.h:
|
104
|
+
|
105
|
+
EUCTWProber.h:
|
106
|
+
|
107
|
+
SBCSGroupProber.h:
|
108
|
+
|
109
|
+
EscCharsetProber.h:
|
110
|
+
|
111
|
+
Latin1Prober.h:
|