acts-as-messageable 0.5.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +8 -0
- data/.github/workflows/test.yml +152 -0
- data/.rubocop.yml +14 -1
- data/.rubocop_todo.yml +49 -7
- data/.ruby-version +1 -0
- data/Appraisals +11 -0
- data/Dockerfile +2 -1
- data/Gemfile +19 -13
- data/Gemfile.lock +186 -97
- data/README.md +2 -3
- data/Rakefile +6 -1
- data/VERSION +1 -1
- data/acts-as-messageable.gemspec +193 -40
- data/bin/tapioca +29 -0
- data/docker-compose.yml +82 -71
- data/gemfiles/rails_3.2.gemfile +14 -9
- data/gemfiles/rails_4.2.gemfile +14 -9
- data/gemfiles/rails_5.2.gemfile +14 -9
- data/gemfiles/rails_6.0.gemfile +14 -9
- data/gemfiles/rails_7.0.gemfile +29 -0
- data/gemfiles/rails_master.gemfile +15 -9
- data/lib/acts-as-messageable.rb +1 -0
- data/lib/acts_as_messageable/message.rb +62 -5
- data/lib/acts_as_messageable/model.rb +71 -20
- data/lib/acts_as_messageable/rails3.rb +27 -2
- data/lib/acts_as_messageable/rails4.rb +31 -4
- data/lib/acts_as_messageable/rails6.rb +34 -2
- data/lib/acts_as_messageable/railtie.rb +1 -0
- data/lib/acts_as_messageable/relation.rb +18 -2
- data/lib/acts_as_messageable/scopes.rb +11 -0
- data/lib/acts_as_messageable.rb +18 -0
- data/lib/generators/acts_as_messageable/migration/migration_generator.rb +4 -0
- data/lib/generators/acts_as_messageable/migration/templates/migration.rb +1 -0
- data/lib/generators/acts_as_messageable/migration/templates/migration_indexes.rb +1 -0
- data/lib/generators/acts_as_messageable/migration/templates/migration_opened_as_datetime.rb +1 -0
- data/lib/generators/acts_as_messageable/migration/templates/migration_permanent.rb +1 -0
- data/sorbet/config +4 -0
- data/sorbet/rbi/annotations/actionpack.rbi +428 -0
- data/sorbet/rbi/annotations/actionview.rbi +77 -0
- data/sorbet/rbi/annotations/activerecord.rbi +18 -0
- data/sorbet/rbi/annotations/activesupport.rbi +52 -0
- data/sorbet/rbi/annotations/faraday.rbi +17 -0
- data/sorbet/rbi/annotations/railties.rbi +58 -0
- data/sorbet/rbi/annotations/rainbow.rbi +269 -0
- data/sorbet/rbi/dsl/abstract_controller/caching/fragments.rbi +23 -0
- data/sorbet/rbi/dsl/abstract_controller/caching.rbi +30 -0
- data/sorbet/rbi/dsl/abstract_controller/callbacks.rbi +23 -0
- data/sorbet/rbi/dsl/abstract_controller/helpers.rbi +23 -0
- data/sorbet/rbi/dsl/abstract_controller/rendering.rbi +9 -0
- data/sorbet/rbi/dsl/abstract_controller/url_for.rbi +23 -0
- data/sorbet/rbi/dsl/action_controller/caching.rbi +29 -0
- data/sorbet/rbi/dsl/action_controller/conditional_get.rbi +23 -0
- data/sorbet/rbi/dsl/action_controller/content_security_policy.rbi +31 -0
- data/sorbet/rbi/dsl/action_controller/data_streaming.rbi +9 -0
- data/sorbet/rbi/dsl/action_controller/etag_with_flash.rbi +24 -0
- data/sorbet/rbi/dsl/action_controller/etag_with_template_digest.rbi +30 -0
- data/sorbet/rbi/dsl/action_controller/flash.rbi +19 -0
- data/sorbet/rbi/dsl/action_controller/form_builder.rbi +19 -0
- data/sorbet/rbi/dsl/action_controller/helpers.rbi +36 -0
- data/sorbet/rbi/dsl/action_controller/params_wrapper.rbi +23 -0
- data/sorbet/rbi/dsl/action_controller/redirecting.rbi +24 -0
- data/sorbet/rbi/dsl/action_controller/renderers/all.rbi +24 -0
- data/sorbet/rbi/dsl/action_controller/renderers.rbi +23 -0
- data/sorbet/rbi/dsl/action_controller/request_forgery_protection.rbi +31 -0
- data/sorbet/rbi/dsl/action_controller/rescue.rbi +24 -0
- data/sorbet/rbi/dsl/action_controller/test_case/behavior.rbi +24 -0
- data/sorbet/rbi/dsl/action_controller/url_for.rbi +24 -0
- data/sorbet/rbi/dsl/action_dispatch/routing/url_for.rbi +23 -0
- data/sorbet/rbi/dsl/action_view/helpers/form_helper.rbi +10 -0
- data/sorbet/rbi/dsl/action_view/helpers/form_tag_helper.rbi +10 -0
- data/sorbet/rbi/dsl/action_view/helpers/text_helper.rbi +9 -0
- data/sorbet/rbi/dsl/action_view/helpers.rbi +10 -0
- data/sorbet/rbi/dsl/action_view/layouts.rbi +24 -0
- data/sorbet/rbi/dsl/action_view/rendering.rbi +9 -0
- data/sorbet/rbi/dsl/active_model/attribute_methods.rbi +27 -0
- data/sorbet/rbi/dsl/active_model/attributes.rbi +34 -0
- data/sorbet/rbi/dsl/active_model/dirty.rbi +28 -0
- data/sorbet/rbi/dsl/active_model/serializers/json.rbi +22 -0
- data/sorbet/rbi/dsl/active_model/validations/callbacks.rbi +22 -0
- data/sorbet/rbi/dsl/active_model/validations.rbi +27 -0
- data/sorbet/rbi/dsl/active_record/attribute_methods/dirty.rbi +38 -0
- data/sorbet/rbi/dsl/active_record/attribute_methods/time_zone_conversion.rbi +32 -0
- data/sorbet/rbi/dsl/active_record/attribute_methods.rbi +53 -0
- data/sorbet/rbi/dsl/active_record/attributes.rbi +19 -0
- data/sorbet/rbi/dsl/active_record/callbacks.rbi +22 -0
- data/sorbet/rbi/dsl/active_record/core.rbi +55 -0
- data/sorbet/rbi/dsl/active_record/encryption/encryptable_record.rbi +23 -0
- data/sorbet/rbi/dsl/active_record/inheritance.rbi +27 -0
- data/sorbet/rbi/dsl/active_record/integration.rbi +32 -0
- data/sorbet/rbi/dsl/active_record/locking/optimistic.rbi +22 -0
- data/sorbet/rbi/dsl/active_record/model_schema.rbi +52 -0
- data/sorbet/rbi/dsl/active_record/nested_attributes.rbi +22 -0
- data/sorbet/rbi/dsl/active_record/readonly_attributes.rbi +19 -0
- data/sorbet/rbi/dsl/active_record/reflection.rbi +32 -0
- data/sorbet/rbi/dsl/active_record/scoping/default.rbi +23 -0
- data/sorbet/rbi/dsl/active_record/scoping.rbi +23 -0
- data/sorbet/rbi/dsl/active_record/serialization.rbi +22 -0
- data/sorbet/rbi/dsl/active_record/signed_id.rbi +22 -0
- data/sorbet/rbi/dsl/active_record/test_fixtures.rbi +58 -0
- data/sorbet/rbi/dsl/active_record/timestamp.rbi +23 -0
- data/sorbet/rbi/dsl/active_record/validations.rbi +28 -0
- data/sorbet/rbi/dsl/active_support/actionable_error.rbi +23 -0
- data/sorbet/rbi/dsl/active_support/callbacks.rbi +22 -0
- data/sorbet/rbi/dsl/active_support/rescuable.rbi +23 -0
- data/sorbet/rbi/dsl/active_support/testing/file_fixtures.rbi +22 -0
- data/sorbet/rbi/gems/actionpack@7.0.4.3.rbi +19265 -0
- data/sorbet/rbi/gems/actionview@7.0.4.3.rbi +15482 -0
- data/sorbet/rbi/gems/activemodel@7.0.4.3.rbi +6025 -0
- data/sorbet/rbi/gems/activerecord@7.0.4.3.rbi +37852 -0
- data/sorbet/rbi/gems/activesupport@7.0.4.3.rbi +18788 -0
- data/sorbet/rbi/gems/addressable@2.4.0.rbi +8 -0
- data/sorbet/rbi/gems/appraisal@2.4.1.rbi +584 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +584 -0
- data/sorbet/rbi/gems/builder@3.2.4.rbi +8 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +3426 -0
- data/sorbet/rbi/gems/commander@4.6.0.rbi +8 -0
- data/sorbet/rbi/gems/concurrent-ruby@1.2.2.rbi +11545 -0
- data/sorbet/rbi/gems/coveralls_reborn@0.27.0.rbi +8 -0
- data/sorbet/rbi/gems/crass@1.0.6.rbi +622 -0
- data/sorbet/rbi/gems/descendants_tracker@0.0.4.rbi +8 -0
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +1079 -0
- data/sorbet/rbi/gems/docile@1.4.0.rbi +8 -0
- data/sorbet/rbi/gems/erubi@1.12.0.rbi +146 -0
- data/sorbet/rbi/gems/faraday@0.9.2.rbi +964 -0
- data/sorbet/rbi/gems/git@1.11.0.rbi +2700 -0
- data/sorbet/rbi/gems/github_api@0.16.0.rbi +8 -0
- data/sorbet/rbi/gems/hashie@5.0.0.rbi +8 -0
- data/sorbet/rbi/gems/highline@2.0.3.rbi +8 -0
- data/sorbet/rbi/gems/i18n@1.12.0.rbi +2296 -0
- data/sorbet/rbi/gems/jeweler@2.3.9.rbi +1591 -0
- data/sorbet/rbi/gems/json@2.6.3.rbi +1541 -0
- data/sorbet/rbi/gems/jwt@2.5.0.rbi +8 -0
- data/sorbet/rbi/gems/loofah@2.19.1.rbi +904 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +272 -0
- data/sorbet/rbi/gems/mime-types@2.99.3.rbi +8 -0
- data/sorbet/rbi/gems/minitest@5.18.0.rbi +1491 -0
- data/sorbet/rbi/gems/multi_json@1.15.0.rbi +8 -0
- data/sorbet/rbi/gems/multi_xml@0.6.0.rbi +8 -0
- data/sorbet/rbi/gems/multipart-post@2.2.3.rbi +8 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +158 -0
- data/sorbet/rbi/gems/nokogiri@1.14.2.rbi +7244 -0
- data/sorbet/rbi/gems/oauth2@1.4.8.rbi +8 -0
- data/sorbet/rbi/gems/parallel@1.22.1.rbi +277 -0
- data/sorbet/rbi/gems/pg@1.4.6.rbi +2574 -0
- data/sorbet/rbi/gems/polyfill@1.9.0.rbi +8 -0
- data/sorbet/rbi/gems/pry@0.14.2.rbi +10081 -0
- data/sorbet/rbi/gems/psych@4.0.6.rbi +1819 -0
- data/sorbet/rbi/gems/racc@1.6.2.rbi +155 -0
- data/sorbet/rbi/gems/rack-test@2.0.2.rbi +943 -0
- data/sorbet/rbi/gems/rack@2.2.6.4.rbi +5659 -0
- data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +455 -0
- data/sorbet/rbi/gems/rails-html-sanitizer@1.5.0.rbi +685 -0
- data/sorbet/rbi/gems/railties@7.0.4.3.rbi +4553 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +8 -0
- data/sorbet/rbi/gems/rake@13.0.6.rbi +2959 -0
- data/sorbet/rbi/gems/rbi@0.0.16.rbi +3008 -0
- data/sorbet/rbi/gems/rbs@2.8.0.rbi +8 -0
- data/sorbet/rbi/gems/rchardet@1.8.0.rbi +1078 -0
- data/sorbet/rbi/gems/rdoc@6.5.0.rbi +12441 -0
- data/sorbet/rbi/gems/regexp_parser@2.7.0.rbi +8 -0
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +8 -0
- data/sorbet/rbi/gems/rspec-core@3.12.0.rbi +10798 -0
- data/sorbet/rbi/gems/rspec-expectations@3.12.0.rbi +8090 -0
- data/sorbet/rbi/gems/rspec-mocks@3.12.0.rbi +5296 -0
- data/sorbet/rbi/gems/rspec-support@3.12.0.rbi +1617 -0
- data/sorbet/rbi/gems/rspec@3.12.0.rbi +88 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +8 -0
- data/sorbet/rbi/gems/safe_type@1.1.1.rbi +8 -0
- data/sorbet/rbi/gems/semver2@3.4.2.rbi +8 -0
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +8 -0
- data/sorbet/rbi/gems/simplecov@0.22.0.rbi +8 -0
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +8 -0
- data/sorbet/rbi/gems/sorbet-coerce@0.7.0.rbi +8 -0
- data/sorbet/rbi/gems/stringio@3.0.2.rbi +8 -0
- data/sorbet/rbi/gems/sync@0.5.0.rbi +8 -0
- data/sorbet/rbi/gems/term-ansicolor@1.7.1.rbi +8 -0
- data/sorbet/rbi/gems/thor@1.2.1.rbi +3956 -0
- data/sorbet/rbi/gems/thread_safe@0.3.6.rbi +8 -0
- data/sorbet/rbi/gems/timecop@0.9.6.rbi +361 -0
- data/sorbet/rbi/gems/tins@1.32.1.rbi +8 -0
- data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +5917 -0
- data/sorbet/rbi/gems/unicode-display_width@2.4.2.rbi +8 -0
- data/sorbet/rbi/gems/unparser@0.6.7.rbi +4515 -0
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +2553 -0
- data/sorbet/rbi/gems/yard@0.9.28.rbi +17954 -0
- data/sorbet/rbi/gems/zeitwerk@2.6.7.rbi +966 -0
- data/sorbet/rbi/models/acts-as-messageable/message.rbi +668 -0
- data/sorbet/rbi/models/acts-as-messageable/user.rbi +343 -0
- data/sorbet/rbi/rails-rbi/active_record_base.rbi +119 -0
- data/sorbet/rbi/rails-rbi/active_record_relation.rbi +180 -0
- data/sorbet/rbi/shims/activerecord.rbi +4 -0
- data/sorbet/rbi/shims/model.rbi +9 -0
- data/sorbet/tapioca/config.yml +10 -0
- data/sorbet/tapioca/pre_require.rb +5 -0
- data/sorbet/tapioca/require.rb +10 -0
- data/spec/acts_as_messageable_spec.rb +7 -4
- data/spec/custom_class_spec.rb +1 -0
- data/spec/custom_required_spec.rb +8 -4
- data/spec/group_messages_spec.rb +1 -0
- data/spec/migrations_spec.rb +2 -1
- data/spec/spec_helper.rb +19 -9
- data/spec/support/admin.rb +3 -0
- data/spec/support/custom_message.rb +3 -0
- data/spec/support/custom_message_uuid.rb +1 -0
- data/spec/support/custom_search_user.rb +3 -0
- data/spec/support/men.rb +1 -0
- data/spec/support/send_message.rb +8 -1
- data/spec/support/table_schema.rb +7 -6
- data/spec/support/user.rb +3 -0
- data/spec/support/uuid_user.rb +3 -0
- data/tasks/types.rake +46 -0
- metadata +261 -11
- data/.travis.yml +0 -55
@@ -0,0 +1,1078 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `rchardet` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem rchardet`.
|
6
|
+
|
7
|
+
# source://rchardet//lib/rchardet/version.rb#1
|
8
|
+
module CharDet
|
9
|
+
class << self
|
10
|
+
# source://rchardet//lib/rchardet.rb#58
|
11
|
+
def detect(aBuf); end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
# accent capital other
|
16
|
+
#
|
17
|
+
# source://rchardet//lib/rchardet/latin1prober.rb#38
|
18
|
+
CharDet::ACO = T.let(T.unsafe(nil), Integer)
|
19
|
+
|
20
|
+
# accent capital vowel
|
21
|
+
#
|
22
|
+
# source://rchardet//lib/rchardet/latin1prober.rb#37
|
23
|
+
CharDet::ACV = T.let(T.unsafe(nil), Integer)
|
24
|
+
|
25
|
+
# ascii capital letter
|
26
|
+
#
|
27
|
+
# source://rchardet//lib/rchardet/latin1prober.rb#35
|
28
|
+
CharDet::ASC = T.let(T.unsafe(nil), Integer)
|
29
|
+
|
30
|
+
# accent small other
|
31
|
+
#
|
32
|
+
# source://rchardet//lib/rchardet/latin1prober.rb#40
|
33
|
+
CharDet::ASO = T.let(T.unsafe(nil), Integer)
|
34
|
+
|
35
|
+
# ascii small letter
|
36
|
+
#
|
37
|
+
# source://rchardet//lib/rchardet/latin1prober.rb#36
|
38
|
+
CharDet::ASS = T.let(T.unsafe(nil), Integer)
|
39
|
+
|
40
|
+
# accent small vowel
|
41
|
+
#
|
42
|
+
# source://rchardet//lib/rchardet/latin1prober.rb#39
|
43
|
+
CharDet::ASV = T.let(T.unsafe(nil), Integer)
|
44
|
+
|
45
|
+
# Char to FreqOrder table
|
46
|
+
#
|
47
|
+
# source://rchardet//lib/rchardet/big5freq.rb#48
|
48
|
+
CharDet::BIG5_TABLE_SIZE = T.let(T.unsafe(nil), Integer)
|
49
|
+
|
50
|
+
# source://rchardet//lib/rchardet/big5freq.rb#45
|
51
|
+
CharDet::BIG5_TYPICAL_DISTRIBUTION_RATIO = T.let(T.unsafe(nil), Float)
|
52
|
+
|
53
|
+
# BIG5
|
54
|
+
#
|
55
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#32
|
56
|
+
CharDet::BIG5_cls = T.let(T.unsafe(nil), Array)
|
57
|
+
|
58
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#67
|
59
|
+
CharDet::BIG5_st = T.let(T.unsafe(nil), Array)
|
60
|
+
|
61
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#73
|
62
|
+
CharDet::Big5CharLenTable = T.let(T.unsafe(nil), Array)
|
63
|
+
|
64
|
+
# source://rchardet//lib/rchardet/big5freq.rb#50
|
65
|
+
CharDet::Big5CharToFreqOrder = T.let(T.unsafe(nil), Array)
|
66
|
+
|
67
|
+
# source://rchardet//lib/rchardet/chardistribution.rb#174
|
68
|
+
class CharDet::Big5DistributionAnalysis < ::CharDet::CharDistributionAnalysis
|
69
|
+
# @return [Big5DistributionAnalysis] a new instance of Big5DistributionAnalysis
|
70
|
+
#
|
71
|
+
# source://rchardet//lib/rchardet/chardistribution.rb#175
|
72
|
+
def initialize; end
|
73
|
+
|
74
|
+
# source://rchardet//lib/rchardet/chardistribution.rb#182
|
75
|
+
def get_order(aStr); end
|
76
|
+
end
|
77
|
+
|
78
|
+
# source://rchardet//lib/rchardet/big5prober.rb#30
|
79
|
+
class CharDet::Big5Prober < ::CharDet::MultiByteCharSetProber
|
80
|
+
# @return [Big5Prober] a new instance of Big5Prober
|
81
|
+
#
|
82
|
+
# source://rchardet//lib/rchardet/big5prober.rb#31
|
83
|
+
def initialize; end
|
84
|
+
|
85
|
+
# source://rchardet//lib/rchardet/big5prober.rb#38
|
86
|
+
def get_charset_name; end
|
87
|
+
end
|
88
|
+
|
89
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#75
|
90
|
+
CharDet::Big5SMModel = T.let(T.unsafe(nil), Hash)
|
91
|
+
|
92
|
+
# Model Table:
|
93
|
+
# total sequences: 100%
|
94
|
+
# first 512 sequences: 96.9392%
|
95
|
+
# first 1024 sequences:3.0618%
|
96
|
+
# rest sequences: 0.2992%
|
97
|
+
# negative sequences: 0.0020%
|
98
|
+
#
|
99
|
+
# source://rchardet//lib/rchardet/langbulgarianmodel.rb#83
|
100
|
+
CharDet::BulgarianLangModel = T.let(T.unsafe(nil), Array)
|
101
|
+
|
102
|
+
# total classes
|
103
|
+
#
|
104
|
+
# source://rchardet//lib/rchardet/latin1prober.rb#41
|
105
|
+
CharDet::CLASS_NUM = T.let(T.unsafe(nil), Integer)
|
106
|
+
|
107
|
+
# source://rchardet//lib/rchardet/chardistribution.rb#34
|
108
|
+
class CharDet::CharDistributionAnalysis
|
109
|
+
# @return [CharDistributionAnalysis] a new instance of CharDistributionAnalysis
|
110
|
+
#
|
111
|
+
# source://rchardet//lib/rchardet/chardistribution.rb#35
|
112
|
+
def initialize; end
|
113
|
+
|
114
|
+
# source://rchardet//lib/rchardet/chardistribution.rb#49
|
115
|
+
def feed(aStr, aCharLen); end
|
116
|
+
|
117
|
+
# source://rchardet//lib/rchardet/chardistribution.rb#68
|
118
|
+
def get_confidence; end
|
119
|
+
|
120
|
+
# source://rchardet//lib/rchardet/chardistribution.rb#92
|
121
|
+
def get_order(aStr); end
|
122
|
+
|
123
|
+
# source://rchardet//lib/rchardet/chardistribution.rb#86
|
124
|
+
def got_enough_data; end
|
125
|
+
|
126
|
+
# source://rchardet//lib/rchardet/chardistribution.rb#42
|
127
|
+
def reset; end
|
128
|
+
end
|
129
|
+
|
130
|
+
# source://rchardet//lib/rchardet/charsetgroupprober.rb#30
|
131
|
+
class CharDet::CharSetGroupProber < ::CharDet::CharSetProber
|
132
|
+
# @return [CharSetGroupProber] a new instance of CharSetGroupProber
|
133
|
+
#
|
134
|
+
# source://rchardet//lib/rchardet/charsetgroupprober.rb#32
|
135
|
+
def initialize; end
|
136
|
+
|
137
|
+
# source://rchardet//lib/rchardet/charsetgroupprober.rb#63
|
138
|
+
def feed(aBuf); end
|
139
|
+
|
140
|
+
# source://rchardet//lib/rchardet/charsetgroupprober.rb#53
|
141
|
+
def get_charset_name; end
|
142
|
+
|
143
|
+
# source://rchardet//lib/rchardet/charsetgroupprober.rb#84
|
144
|
+
def get_confidence; end
|
145
|
+
|
146
|
+
# Returns the value of attribute probers.
|
147
|
+
#
|
148
|
+
# source://rchardet//lib/rchardet/charsetgroupprober.rb#31
|
149
|
+
def probers; end
|
150
|
+
|
151
|
+
# Sets the attribute probers
|
152
|
+
#
|
153
|
+
# @param value the value to set the attribute probers to.
|
154
|
+
#
|
155
|
+
# source://rchardet//lib/rchardet/charsetgroupprober.rb#31
|
156
|
+
def probers=(_arg0); end
|
157
|
+
|
158
|
+
# source://rchardet//lib/rchardet/charsetgroupprober.rb#39
|
159
|
+
def reset; end
|
160
|
+
end
|
161
|
+
|
162
|
+
# source://rchardet//lib/rchardet/charsetprober.rb#31
|
163
|
+
class CharDet::CharSetProber
|
164
|
+
# @return [CharSetProber] a new instance of CharSetProber
|
165
|
+
#
|
166
|
+
# source://rchardet//lib/rchardet/charsetprober.rb#33
|
167
|
+
def initialize; end
|
168
|
+
|
169
|
+
# Returns the value of attribute active.
|
170
|
+
#
|
171
|
+
# source://rchardet//lib/rchardet/charsetprober.rb#32
|
172
|
+
def active; end
|
173
|
+
|
174
|
+
# Sets the attribute active
|
175
|
+
#
|
176
|
+
# @param value the value to set the attribute active to.
|
177
|
+
#
|
178
|
+
# source://rchardet//lib/rchardet/charsetprober.rb#32
|
179
|
+
def active=(_arg0); end
|
180
|
+
|
181
|
+
# source://rchardet//lib/rchardet/charsetprober.rb#44
|
182
|
+
def feed(aBuf); end
|
183
|
+
|
184
|
+
# source://rchardet//lib/rchardet/charsetprober.rb#55
|
185
|
+
def filter_high_bit_only(aBuf); end
|
186
|
+
|
187
|
+
# source://rchardet//lib/rchardet/charsetprober.rb#65
|
188
|
+
def filter_with_english_letters(aBuf); end
|
189
|
+
|
190
|
+
# source://rchardet//lib/rchardet/charsetprober.rb#60
|
191
|
+
def filter_without_english_letters(aBuf); end
|
192
|
+
|
193
|
+
# source://rchardet//lib/rchardet/charsetprober.rb#40
|
194
|
+
def get_charset_name; end
|
195
|
+
|
196
|
+
# source://rchardet//lib/rchardet/charsetprober.rb#51
|
197
|
+
def get_confidence; end
|
198
|
+
|
199
|
+
# source://rchardet//lib/rchardet/charsetprober.rb#47
|
200
|
+
def get_state; end
|
201
|
+
|
202
|
+
# source://rchardet//lib/rchardet/charsetprober.rb#36
|
203
|
+
def reset; end
|
204
|
+
end
|
205
|
+
|
206
|
+
# source://rchardet//lib/rchardet/codingstatemachine.rb#30
|
207
|
+
class CharDet::CodingStateMachine
|
208
|
+
# @return [CodingStateMachine] a new instance of CodingStateMachine
|
209
|
+
#
|
210
|
+
# source://rchardet//lib/rchardet/codingstatemachine.rb#33
|
211
|
+
def initialize(sm); end
|
212
|
+
|
213
|
+
# Returns the value of attribute active.
|
214
|
+
#
|
215
|
+
# source://rchardet//lib/rchardet/codingstatemachine.rb#31
|
216
|
+
def active; end
|
217
|
+
|
218
|
+
# Sets the attribute active
|
219
|
+
#
|
220
|
+
# @param value the value to set the attribute active to.
|
221
|
+
#
|
222
|
+
# source://rchardet//lib/rchardet/codingstatemachine.rb#31
|
223
|
+
def active=(_arg0); end
|
224
|
+
|
225
|
+
# source://rchardet//lib/rchardet/codingstatemachine.rb#63
|
226
|
+
def get_coding_state_machine; end
|
227
|
+
|
228
|
+
# source://rchardet//lib/rchardet/codingstatemachine.rb#59
|
229
|
+
def get_current_charlen; end
|
230
|
+
|
231
|
+
# source://rchardet//lib/rchardet/codingstatemachine.rb#44
|
232
|
+
def next_state(c); end
|
233
|
+
|
234
|
+
# source://rchardet//lib/rchardet/codingstatemachine.rb#40
|
235
|
+
def reset; end
|
236
|
+
end
|
237
|
+
|
238
|
+
# source://rchardet//lib/rchardet/jpcntx.rb#31
|
239
|
+
CharDet::DONT_KNOW = T.let(T.unsafe(nil), Integer)
|
240
|
+
|
241
|
+
# source://rchardet//lib/rchardet/constants.rb#33
|
242
|
+
CharDet::EDetecting = T.let(T.unsafe(nil), Integer)
|
243
|
+
|
244
|
+
# source://rchardet//lib/rchardet/constants.rb#38
|
245
|
+
CharDet::EError = T.let(T.unsafe(nil), Integer)
|
246
|
+
|
247
|
+
# source://rchardet//lib/rchardet/universaldetector.rb#35
|
248
|
+
CharDet::EEscAscii = T.let(T.unsafe(nil), Integer)
|
249
|
+
|
250
|
+
# source://rchardet//lib/rchardet/constants.rb#34
|
251
|
+
CharDet::EFoundIt = T.let(T.unsafe(nil), Integer)
|
252
|
+
|
253
|
+
# source://rchardet//lib/rchardet/universaldetector.rb#36
|
254
|
+
CharDet::EHighbyte = T.let(T.unsafe(nil), Integer)
|
255
|
+
|
256
|
+
# source://rchardet//lib/rchardet/constants.rb#39
|
257
|
+
CharDet::EItsMe = T.let(T.unsafe(nil), Integer)
|
258
|
+
|
259
|
+
# source://rchardet//lib/rchardet/chardistribution.rb#30
|
260
|
+
CharDet::ENOUGH_DATA_THRESHOLD = T.let(T.unsafe(nil), Integer)
|
261
|
+
|
262
|
+
# source://rchardet//lib/rchardet/jpcntx.rb#32
|
263
|
+
CharDet::ENOUGH_REL_THRESHOLD = T.let(T.unsafe(nil), Integer)
|
264
|
+
|
265
|
+
# source://rchardet//lib/rchardet/constants.rb#35
|
266
|
+
CharDet::ENotMe = T.let(T.unsafe(nil), Integer)
|
267
|
+
|
268
|
+
# source://rchardet//lib/rchardet/universaldetector.rb#34
|
269
|
+
CharDet::EPureAscii = T.let(T.unsafe(nil), Integer)
|
270
|
+
|
271
|
+
# source://rchardet//lib/rchardet/constants.rb#37
|
272
|
+
CharDet::EStart = T.let(T.unsafe(nil), Integer)
|
273
|
+
|
274
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#127
|
275
|
+
CharDet::EUCJPCharLenTable = T.let(T.unsafe(nil), Array)
|
276
|
+
|
277
|
+
# source://rchardet//lib/rchardet/jpcntx.rb#205
|
278
|
+
class CharDet::EUCJPContextAnalysis < ::CharDet::JapaneseContextAnalysis
|
279
|
+
# source://rchardet//lib/rchardet/jpcntx.rb#206
|
280
|
+
def get_order(aStr); end
|
281
|
+
end
|
282
|
+
|
283
|
+
# source://rchardet//lib/rchardet/chardistribution.rb#229
|
284
|
+
class CharDet::EUCJPDistributionAnalysis < ::CharDet::CharDistributionAnalysis
|
285
|
+
# @return [EUCJPDistributionAnalysis] a new instance of EUCJPDistributionAnalysis
|
286
|
+
#
|
287
|
+
# source://rchardet//lib/rchardet/chardistribution.rb#230
|
288
|
+
def initialize; end
|
289
|
+
|
290
|
+
# source://rchardet//lib/rchardet/chardistribution.rb#237
|
291
|
+
def get_order(aStr); end
|
292
|
+
end
|
293
|
+
|
294
|
+
# source://rchardet//lib/rchardet/eucjpprober.rb#30
|
295
|
+
class CharDet::EUCJPProber < ::CharDet::MultiByteCharSetProber
|
296
|
+
# @return [EUCJPProber] a new instance of EUCJPProber
|
297
|
+
#
|
298
|
+
# source://rchardet//lib/rchardet/eucjpprober.rb#31
|
299
|
+
def initialize; end
|
300
|
+
|
301
|
+
# source://rchardet//lib/rchardet/eucjpprober.rb#48
|
302
|
+
def feed(aBuf); end
|
303
|
+
|
304
|
+
# source://rchardet//lib/rchardet/eucjpprober.rb#44
|
305
|
+
def get_charset_name; end
|
306
|
+
|
307
|
+
# source://rchardet//lib/rchardet/eucjpprober.rb#83
|
308
|
+
def get_confidence; end
|
309
|
+
|
310
|
+
# source://rchardet//lib/rchardet/eucjpprober.rb#39
|
311
|
+
def reset; end
|
312
|
+
end
|
313
|
+
|
314
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#129
|
315
|
+
CharDet::EUCJPSMModel = T.let(T.unsafe(nil), Hash)
|
316
|
+
|
317
|
+
# EUC-JP
|
318
|
+
#
|
319
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#84
|
320
|
+
CharDet::EUCJP_cls = T.let(T.unsafe(nil), Array)
|
321
|
+
|
322
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#119
|
323
|
+
CharDet::EUCJP_st = T.let(T.unsafe(nil), Array)
|
324
|
+
|
325
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#178
|
326
|
+
CharDet::EUCKRCharLenTable = T.let(T.unsafe(nil), Array)
|
327
|
+
|
328
|
+
# Char to FreqOrder table ,
|
329
|
+
#
|
330
|
+
# source://rchardet//lib/rchardet/euckrfreq.rb#47
|
331
|
+
CharDet::EUCKRCharToFreqOrder = T.let(T.unsafe(nil), Array)
|
332
|
+
|
333
|
+
# source://rchardet//lib/rchardet/chardistribution.rb#130
|
334
|
+
class CharDet::EUCKRDistributionAnalysis < ::CharDet::CharDistributionAnalysis
|
335
|
+
# @return [EUCKRDistributionAnalysis] a new instance of EUCKRDistributionAnalysis
|
336
|
+
#
|
337
|
+
# source://rchardet//lib/rchardet/chardistribution.rb#131
|
338
|
+
def initialize; end
|
339
|
+
|
340
|
+
# source://rchardet//lib/rchardet/chardistribution.rb#138
|
341
|
+
def get_order(aStr); end
|
342
|
+
end
|
343
|
+
|
344
|
+
# source://rchardet//lib/rchardet/euckrprober.rb#30
|
345
|
+
class CharDet::EUCKRProber < ::CharDet::MultiByteCharSetProber
|
346
|
+
# @return [EUCKRProber] a new instance of EUCKRProber
|
347
|
+
#
|
348
|
+
# source://rchardet//lib/rchardet/euckrprober.rb#31
|
349
|
+
def initialize; end
|
350
|
+
|
351
|
+
# source://rchardet//lib/rchardet/euckrprober.rb#38
|
352
|
+
def get_charset_name; end
|
353
|
+
end
|
354
|
+
|
355
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#180
|
356
|
+
CharDet::EUCKRSMModel = T.let(T.unsafe(nil), Hash)
|
357
|
+
|
358
|
+
# source://rchardet//lib/rchardet/euckrfreq.rb#44
|
359
|
+
CharDet::EUCKR_TABLE_SIZE = T.let(T.unsafe(nil), Integer)
|
360
|
+
|
361
|
+
# source://rchardet//lib/rchardet/euckrfreq.rb#42
|
362
|
+
CharDet::EUCKR_TYPICAL_DISTRIBUTION_RATIO = T.let(T.unsafe(nil), Float)
|
363
|
+
|
364
|
+
# EUC-KR
|
365
|
+
#
|
366
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#138
|
367
|
+
CharDet::EUCKR_cls = T.let(T.unsafe(nil), Array)
|
368
|
+
|
369
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#173
|
370
|
+
CharDet::EUCKR_st = T.let(T.unsafe(nil), Array)
|
371
|
+
|
372
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#233
|
373
|
+
CharDet::EUCTWCharLenTable = T.let(T.unsafe(nil), Array)
|
374
|
+
|
375
|
+
# source://rchardet//lib/rchardet/euctwfreq.rb#52
|
376
|
+
CharDet::EUCTWCharToFreqOrder = T.let(T.unsafe(nil), Array)
|
377
|
+
|
378
|
+
# source://rchardet//lib/rchardet/chardistribution.rb#100
|
379
|
+
class CharDet::EUCTWDistributionAnalysis < ::CharDet::CharDistributionAnalysis
|
380
|
+
# @return [EUCTWDistributionAnalysis] a new instance of EUCTWDistributionAnalysis
|
381
|
+
#
|
382
|
+
# source://rchardet//lib/rchardet/chardistribution.rb#101
|
383
|
+
def initialize; end
|
384
|
+
|
385
|
+
# source://rchardet//lib/rchardet/chardistribution.rb#121
|
386
|
+
def get_confidence; end
|
387
|
+
|
388
|
+
# source://rchardet//lib/rchardet/chardistribution.rb#108
|
389
|
+
def get_order(aStr); end
|
390
|
+
end
|
391
|
+
|
392
|
+
# source://rchardet//lib/rchardet/euctwprober.rb#30
|
393
|
+
class CharDet::EUCTWProber < ::CharDet::MultiByteCharSetProber
|
394
|
+
# @return [EUCTWProber] a new instance of EUCTWProber
|
395
|
+
#
|
396
|
+
# source://rchardet//lib/rchardet/euctwprober.rb#31
|
397
|
+
def initialize; end
|
398
|
+
|
399
|
+
# source://rchardet//lib/rchardet/euctwprober.rb#38
|
400
|
+
def get_charset_name; end
|
401
|
+
end
|
402
|
+
|
403
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#235
|
404
|
+
CharDet::EUCTWSMModel = T.let(T.unsafe(nil), Hash)
|
405
|
+
|
406
|
+
# Char to FreqOrder table ,
|
407
|
+
#
|
408
|
+
# source://rchardet//lib/rchardet/euctwfreq.rb#50
|
409
|
+
CharDet::EUCTW_TABLE_SIZE = T.let(T.unsafe(nil), Integer)
|
410
|
+
|
411
|
+
# source://rchardet//lib/rchardet/euctwfreq.rb#47
|
412
|
+
CharDet::EUCTW_TYPICAL_DISTRIBUTION_RATIO = T.let(T.unsafe(nil), Float)
|
413
|
+
|
414
|
+
# EUC-TW
|
415
|
+
#
|
416
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#189
|
417
|
+
CharDet::EUCTW_cls = T.let(T.unsafe(nil), Array)
|
418
|
+
|
419
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#224
|
420
|
+
CharDet::EUCTW_st = T.let(T.unsafe(nil), Array)
|
421
|
+
|
422
|
+
# source://rchardet//lib/rchardet/escprober.rb#30
|
423
|
+
class CharDet::EscCharSetProber < ::CharDet::CharSetProber
|
424
|
+
# @return [EscCharSetProber] a new instance of EscCharSetProber
|
425
|
+
#
|
426
|
+
# source://rchardet//lib/rchardet/escprober.rb#31
|
427
|
+
def initialize; end
|
428
|
+
|
429
|
+
# source://rchardet//lib/rchardet/escprober.rb#65
|
430
|
+
def feed(aBuf); end
|
431
|
+
|
432
|
+
# source://rchardet//lib/rchardet/escprober.rb#53
|
433
|
+
def get_charset_name; end
|
434
|
+
|
435
|
+
# source://rchardet//lib/rchardet/escprober.rb#57
|
436
|
+
def get_confidence; end
|
437
|
+
|
438
|
+
# source://rchardet//lib/rchardet/escprober.rb#42
|
439
|
+
def reset; end
|
440
|
+
end
|
441
|
+
|
442
|
+
# source://rchardet//lib/rchardet/hebrewprober.rb#128
|
443
|
+
CharDet::FINAL_KAF = T.let(T.unsafe(nil), String)
|
444
|
+
|
445
|
+
# source://rchardet//lib/rchardet/hebrewprober.rb#130
|
446
|
+
CharDet::FINAL_MEM = T.let(T.unsafe(nil), String)
|
447
|
+
|
448
|
+
# source://rchardet//lib/rchardet/hebrewprober.rb#132
|
449
|
+
CharDet::FINAL_NUN = T.let(T.unsafe(nil), String)
|
450
|
+
|
451
|
+
# source://rchardet//lib/rchardet/hebrewprober.rb#134
|
452
|
+
CharDet::FINAL_PE = T.let(T.unsafe(nil), String)
|
453
|
+
|
454
|
+
# source://rchardet//lib/rchardet/hebrewprober.rb#136
|
455
|
+
CharDet::FINAL_TSADI = T.let(T.unsafe(nil), String)
|
456
|
+
|
457
|
+
# source://rchardet//lib/rchardet/latin1prober.rb#31
|
458
|
+
CharDet::FREQ_CAT_NUM = T.let(T.unsafe(nil), Integer)
|
459
|
+
|
460
|
+
# To be accurate, the length of class 6 can be either 2 or 4.
|
461
|
+
# But it is not necessary to discriminate between the two since
|
462
|
+
# it is used for frequency analysis only, and we are validing
|
463
|
+
# each code range there as well. So it is safe to set it to be
|
464
|
+
# 2 here.
|
465
|
+
#
|
466
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#293
|
467
|
+
CharDet::GB18030CharLenTable = T.let(T.unsafe(nil), Array)
|
468
|
+
|
469
|
+
# source://rchardet//lib/rchardet/gb18030freq.rb#48
|
470
|
+
CharDet::GB18030CharToFreqOrder = T.let(T.unsafe(nil), Array)
|
471
|
+
|
472
|
+
# source://rchardet//lib/rchardet/chardistribution.rb#152
|
473
|
+
class CharDet::GB18030DistributionAnalysis < ::CharDet::CharDistributionAnalysis
|
474
|
+
# @return [GB18030DistributionAnalysis] a new instance of GB18030DistributionAnalysis
|
475
|
+
#
|
476
|
+
# source://rchardet//lib/rchardet/chardistribution.rb#153
|
477
|
+
def initialize; end
|
478
|
+
|
479
|
+
# source://rchardet//lib/rchardet/chardistribution.rb#160
|
480
|
+
def get_order(aStr); end
|
481
|
+
end
|
482
|
+
|
483
|
+
# source://rchardet//lib/rchardet/gb18030prober.rb#30
|
484
|
+
class CharDet::GB18030Prober < ::CharDet::MultiByteCharSetProber
|
485
|
+
# @return [GB18030Prober] a new instance of GB18030Prober
|
486
|
+
#
|
487
|
+
# source://rchardet//lib/rchardet/gb18030prober.rb#31
|
488
|
+
def initialize; end
|
489
|
+
|
490
|
+
# source://rchardet//lib/rchardet/gb18030prober.rb#38
|
491
|
+
def get_charset_name; end
|
492
|
+
end
|
493
|
+
|
494
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#295
|
495
|
+
CharDet::GB18030SMModel = T.let(T.unsafe(nil), Hash)
|
496
|
+
|
497
|
+
# source://rchardet//lib/rchardet/gb18030freq.rb#46
|
498
|
+
CharDet::GB18030_TABLE_SIZE = T.let(T.unsafe(nil), Integer)
|
499
|
+
|
500
|
+
# source://rchardet//lib/rchardet/gb18030freq.rb#44
|
501
|
+
CharDet::GB18030_TYPICAL_DISTRIBUTION_RATIO = T.let(T.unsafe(nil), Float)
|
502
|
+
|
503
|
+
# GB18030
|
504
|
+
#
|
505
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#244
|
506
|
+
CharDet::GB18030_cls = T.let(T.unsafe(nil), Array)
|
507
|
+
|
508
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#279
|
509
|
+
CharDet::GB18030_st = T.let(T.unsafe(nil), Array)
|
510
|
+
|
511
|
+
# Model Table:
|
512
|
+
# total sequences: 100%
|
513
|
+
# first 512 sequences: 98.2851%
|
514
|
+
# first 1024 sequences:1.7001%
|
515
|
+
# rest sequences: 0.0359%
|
516
|
+
# negative sequences: 0.0148%
|
517
|
+
#
|
518
|
+
# source://rchardet//lib/rchardet/langgreekmodel.rb#81
|
519
|
+
CharDet::GreekLangModel = T.let(T.unsafe(nil), Array)
|
520
|
+
|
521
|
+
# source://rchardet//lib/rchardet/escsm.rb#74
|
522
|
+
CharDet::HZCharLenTable = T.let(T.unsafe(nil), Array)
|
523
|
+
|
524
|
+
# source://rchardet//lib/rchardet/escsm.rb#76
|
525
|
+
CharDet::HZSMModel = T.let(T.unsafe(nil), Hash)
|
526
|
+
|
527
|
+
# source://rchardet//lib/rchardet/escsm.rb#30
|
528
|
+
CharDet::HZ_cls = T.let(T.unsafe(nil), Array)
|
529
|
+
|
530
|
+
# source://rchardet//lib/rchardet/escsm.rb#65
|
531
|
+
CharDet::HZ_st = T.let(T.unsafe(nil), Array)
|
532
|
+
|
533
|
+
# Model Table:
|
534
|
+
# total sequences: 100%
|
535
|
+
# first 512 sequences: 98.4004%
|
536
|
+
# first 1024 sequences: 1.5981%
|
537
|
+
# rest sequences: 0.087%
|
538
|
+
# negative sequences: 0.0015%
|
539
|
+
#
|
540
|
+
# source://rchardet//lib/rchardet/langhebrewmodel.rb#64
|
541
|
+
CharDet::HebrewLangModel = T.let(T.unsafe(nil), Array)
|
542
|
+
|
543
|
+
# source://rchardet//lib/rchardet/hebrewprober.rb#150
|
544
|
+
class CharDet::HebrewProber < ::CharDet::CharSetProber
|
545
|
+
# @return [HebrewProber] a new instance of HebrewProber
|
546
|
+
#
|
547
|
+
# source://rchardet//lib/rchardet/hebrewprober.rb#151
|
548
|
+
def initialize; end
|
549
|
+
|
550
|
+
# source://rchardet//lib/rchardet/hebrewprober.rb#192
|
551
|
+
def feed(aBuf); end
|
552
|
+
|
553
|
+
# source://rchardet//lib/rchardet/hebrewprober.rb#252
|
554
|
+
def get_charset_name; end
|
555
|
+
|
556
|
+
# source://rchardet//lib/rchardet/hebrewprober.rb#281
|
557
|
+
def get_state; end
|
558
|
+
|
559
|
+
# source://rchardet//lib/rchardet/hebrewprober.rb#174
|
560
|
+
def is_final(c); end
|
561
|
+
|
562
|
+
# source://rchardet//lib/rchardet/hebrewprober.rb#178
|
563
|
+
def is_non_final(c); end
|
564
|
+
|
565
|
+
# source://rchardet//lib/rchardet/hebrewprober.rb#158
|
566
|
+
def reset; end
|
567
|
+
|
568
|
+
# source://rchardet//lib/rchardet/hebrewprober.rb#169
|
569
|
+
def set_model_probers(logicalProber, visualProber); end
|
570
|
+
end
|
571
|
+
|
572
|
+
# Model Table:
|
573
|
+
# total sequences: 100%
|
574
|
+
# first 512 sequences: 94.7368%
|
575
|
+
# first 1024 sequences:5.2623%
|
576
|
+
# rest sequences: 0.8894%
|
577
|
+
# negative sequences: 0.0009%
|
578
|
+
#
|
579
|
+
# source://rchardet//lib/rchardet/langhungarianmodel.rb#80
|
580
|
+
CharDet::HungarianLangModel = T.let(T.unsafe(nil), Array)
|
581
|
+
|
582
|
+
# source://rchardet//lib/rchardet/langcyrillicmodel.rb#108
|
583
|
+
CharDet::IBM855_CharToOrderMap = T.let(T.unsafe(nil), Array)
|
584
|
+
|
585
|
+
# source://rchardet//lib/rchardet/langcyrillicmodel.rb#127
|
586
|
+
CharDet::IBM866_CharToOrderMap = T.let(T.unsafe(nil), Array)
|
587
|
+
|
588
|
+
# source://rchardet//lib/rchardet/escsm.rb#129
|
589
|
+
CharDet::ISO2022CNCharLenTable = T.let(T.unsafe(nil), Array)
|
590
|
+
|
591
|
+
# source://rchardet//lib/rchardet/escsm.rb#131
|
592
|
+
CharDet::ISO2022CNSMModel = T.let(T.unsafe(nil), Hash)
|
593
|
+
|
594
|
+
# source://rchardet//lib/rchardet/escsm.rb#83
|
595
|
+
CharDet::ISO2022CN_cls = T.let(T.unsafe(nil), Array)
|
596
|
+
|
597
|
+
# source://rchardet//lib/rchardet/escsm.rb#118
|
598
|
+
CharDet::ISO2022CN_st = T.let(T.unsafe(nil), Array)
|
599
|
+
|
600
|
+
# source://rchardet//lib/rchardet/escsm.rb#185
|
601
|
+
CharDet::ISO2022JPCharLenTable = T.let(T.unsafe(nil), Array)
|
602
|
+
|
603
|
+
# source://rchardet//lib/rchardet/escsm.rb#187
|
604
|
+
CharDet::ISO2022JPSMModel = T.let(T.unsafe(nil), Hash)
|
605
|
+
|
606
|
+
# source://rchardet//lib/rchardet/escsm.rb#138
|
607
|
+
CharDet::ISO2022JP_cls = T.let(T.unsafe(nil), Array)
|
608
|
+
|
609
|
+
# source://rchardet//lib/rchardet/escsm.rb#173
|
610
|
+
CharDet::ISO2022JP_st = T.let(T.unsafe(nil), Array)
|
611
|
+
|
612
|
+
# source://rchardet//lib/rchardet/escsm.rb#237
|
613
|
+
CharDet::ISO2022KRCharLenTable = T.let(T.unsafe(nil), Array)
|
614
|
+
|
615
|
+
# source://rchardet//lib/rchardet/escsm.rb#239
|
616
|
+
CharDet::ISO2022KRSMModel = T.let(T.unsafe(nil), Hash)
|
617
|
+
|
618
|
+
# source://rchardet//lib/rchardet/escsm.rb#194
|
619
|
+
CharDet::ISO2022KR_cls = T.let(T.unsafe(nil), Array)
|
620
|
+
|
621
|
+
# source://rchardet//lib/rchardet/escsm.rb#229
|
622
|
+
CharDet::ISO2022KR_st = T.let(T.unsafe(nil), Array)
|
623
|
+
|
624
|
+
# source://rchardet//lib/rchardet/langcyrillicmodel.rb#323
|
625
|
+
CharDet::Ibm855Model = T.let(T.unsafe(nil), Hash)
|
626
|
+
|
627
|
+
# source://rchardet//lib/rchardet/langcyrillicmodel.rb#315
|
628
|
+
CharDet::Ibm866Model = T.let(T.unsafe(nil), Hash)
|
629
|
+
|
630
|
+
# source://rchardet//lib/rchardet/jisfreq.rb#51
|
631
|
+
CharDet::JISCharToFreqOrder = T.let(T.unsafe(nil), Array)
|
632
|
+
|
633
|
+
# Char to FreqOrder table ,
|
634
|
+
#
|
635
|
+
# source://rchardet//lib/rchardet/jisfreq.rb#49
|
636
|
+
CharDet::JIS_TABLE_SIZE = T.let(T.unsafe(nil), Integer)
|
637
|
+
|
638
|
+
# source://rchardet//lib/rchardet/jisfreq.rb#46
|
639
|
+
CharDet::JIS_TYPICAL_DISTRIBUTION_RATIO = T.let(T.unsafe(nil), Float)
|
640
|
+
|
641
|
+
# This is hiragana 2-char sequence table, the number in each cell represents its frequency category
|
642
|
+
#
|
643
|
+
# source://rchardet//lib/rchardet/jpcntx.rb#36
|
644
|
+
CharDet::JP2_CHAR_CONTEXT = T.let(T.unsafe(nil), Array)
|
645
|
+
|
646
|
+
# source://rchardet//lib/rchardet/jpcntx.rb#122
|
647
|
+
class CharDet::JapaneseContextAnalysis
|
648
|
+
# @return [JapaneseContextAnalysis] a new instance of JapaneseContextAnalysis
|
649
|
+
#
|
650
|
+
# source://rchardet//lib/rchardet/jpcntx.rb#123
|
651
|
+
def initialize; end
|
652
|
+
|
653
|
+
# source://rchardet//lib/rchardet/jpcntx.rb#135
|
654
|
+
def feed(aBuf, aLen); end
|
655
|
+
|
656
|
+
# source://rchardet//lib/rchardet/jpcntx.rb#169
|
657
|
+
def get_confidence; end
|
658
|
+
|
659
|
+
# source://rchardet//lib/rchardet/jpcntx.rb#178
|
660
|
+
def get_order(aStr); end
|
661
|
+
|
662
|
+
# source://rchardet//lib/rchardet/jpcntx.rb#165
|
663
|
+
def got_enough_data; end
|
664
|
+
|
665
|
+
# source://rchardet//lib/rchardet/jpcntx.rb#127
|
666
|
+
def reset; end
|
667
|
+
end
|
668
|
+
|
669
|
+
# Character Mapping Table:
|
670
|
+
#
|
671
|
+
# source://rchardet//lib/rchardet/langcyrillicmodel.rb#32
|
672
|
+
CharDet::KOI8R_CharToOrderMap = T.let(T.unsafe(nil), Array)
|
673
|
+
|
674
|
+
# source://rchardet//lib/rchardet/langcyrillicmodel.rb#283
|
675
|
+
CharDet::Koi8rModel = T.let(T.unsafe(nil), Hash)
|
676
|
+
|
677
|
+
# source://rchardet//lib/rchardet/hebrewprober.rb#148
|
678
|
+
CharDet::LOGICAL_HEBREW_NAME = T.let(T.unsafe(nil), String)
|
679
|
+
|
680
|
+
# 0 : illegal
|
681
|
+
# 1 : very unlikely
|
682
|
+
# 2 : normal
|
683
|
+
# 3 : very likely
|
684
|
+
#
|
685
|
+
# source://rchardet//lib/rchardet/latin1prober.rb#82
|
686
|
+
CharDet::Latin1ClassModel = T.let(T.unsafe(nil), Array)
|
687
|
+
|
688
|
+
# source://rchardet//lib/rchardet/latin1prober.rb#94
|
689
|
+
class CharDet::Latin1Prober < ::CharDet::CharSetProber
|
690
|
+
# @return [Latin1Prober] a new instance of Latin1Prober
|
691
|
+
#
|
692
|
+
# source://rchardet//lib/rchardet/latin1prober.rb#95
|
693
|
+
def initialize; end
|
694
|
+
|
695
|
+
# source://rchardet//lib/rchardet/latin1prober.rb#110
|
696
|
+
def feed(aBuf); end
|
697
|
+
|
698
|
+
# source://rchardet//lib/rchardet/latin1prober.rb#106
|
699
|
+
def get_charset_name; end
|
700
|
+
|
701
|
+
# source://rchardet//lib/rchardet/latin1prober.rb#127
|
702
|
+
def get_confidence; end
|
703
|
+
|
704
|
+
# source://rchardet//lib/rchardet/latin1prober.rb#100
|
705
|
+
def reset; end
|
706
|
+
end
|
707
|
+
|
708
|
+
# source://rchardet//lib/rchardet/latin1prober.rb#43
|
709
|
+
CharDet::Latin1_CharToClass = T.let(T.unsafe(nil), Array)
|
710
|
+
|
711
|
+
# source://rchardet//lib/rchardet/langhungarianmodel.rb#211
|
712
|
+
CharDet::Latin2HungarianModel = T.let(T.unsafe(nil), Hash)
|
713
|
+
|
714
|
+
# Character Mapping Table:
|
715
|
+
#
|
716
|
+
# source://rchardet//lib/rchardet/langhungarianmodel.rb#36
|
717
|
+
CharDet::Latin2_HungarianCharToOrderMap = T.let(T.unsafe(nil), Array)
|
718
|
+
|
719
|
+
# source://rchardet//lib/rchardet/langbulgarianmodel.rb#214
|
720
|
+
CharDet::Latin5BulgarianModel = T.let(T.unsafe(nil), Hash)
|
721
|
+
|
722
|
+
# source://rchardet//lib/rchardet/langcyrillicmodel.rb#299
|
723
|
+
CharDet::Latin5CyrillicModel = T.let(T.unsafe(nil), Hash)
|
724
|
+
|
725
|
+
# source://rchardet//lib/rchardet/langbulgarianmodel.rb#39
|
726
|
+
CharDet::Latin5_BulgarianCharToOrderMap = T.let(T.unsafe(nil), Array)
|
727
|
+
|
728
|
+
# source://rchardet//lib/rchardet/langgreekmodel.rb#212
|
729
|
+
CharDet::Latin7GreekModel = T.let(T.unsafe(nil), Hash)
|
730
|
+
|
731
|
+
# Character Mapping Table:
|
732
|
+
#
|
733
|
+
# source://rchardet//lib/rchardet/langgreekmodel.rb#37
|
734
|
+
CharDet::Latin7_CharToOrderMap = T.let(T.unsafe(nil), Array)
|
735
|
+
|
736
|
+
# source://rchardet//lib/rchardet/jpcntx.rb#33
|
737
|
+
CharDet::MAX_REL_THRESHOLD = T.let(T.unsafe(nil), Integer)
|
738
|
+
|
739
|
+
# source://rchardet//lib/rchardet/mbcsgroupprober.rb#32
|
740
|
+
class CharDet::MBCSGroupProber < ::CharDet::CharSetGroupProber
|
741
|
+
# @return [MBCSGroupProber] a new instance of MBCSGroupProber
|
742
|
+
#
|
743
|
+
# source://rchardet//lib/rchardet/mbcsgroupprober.rb#33
|
744
|
+
def initialize; end
|
745
|
+
end
|
746
|
+
|
747
|
+
# source://rchardet//lib/rchardet/universaldetector.rb#32
|
748
|
+
CharDet::MINIMUM_DATA_THRESHOLD = T.let(T.unsafe(nil), Integer)
|
749
|
+
|
750
|
+
# source://rchardet//lib/rchardet/universaldetector.rb#33
|
751
|
+
CharDet::MINIMUM_THRESHOLD = T.let(T.unsafe(nil), Float)
|
752
|
+
|
753
|
+
# Minimum Visual vs Logical final letter score difference.
|
754
|
+
# If the difference is below this, don't rely solely on the final letter score distance.
|
755
|
+
#
|
756
|
+
# source://rchardet//lib/rchardet/hebrewprober.rb#141
|
757
|
+
CharDet::MIN_FINAL_CHAR_DISTANCE = T.let(T.unsafe(nil), Integer)
|
758
|
+
|
759
|
+
# Minimum Visual vs Logical model score difference.
|
760
|
+
# If the difference is below this, don't rely at all on the model score distance.
|
761
|
+
#
|
762
|
+
# source://rchardet//lib/rchardet/hebrewprober.rb#145
|
763
|
+
CharDet::MIN_MODEL_DISTANCE = T.let(T.unsafe(nil), Float)
|
764
|
+
|
765
|
+
# source://rchardet//lib/rchardet/langcyrillicmodel.rb#307
|
766
|
+
CharDet::MacCyrillicModel = T.let(T.unsafe(nil), Hash)
|
767
|
+
|
768
|
+
# source://rchardet//lib/rchardet/mbcharsetprober.rb#32
|
769
|
+
class CharDet::MultiByteCharSetProber < ::CharDet::CharSetProber
|
770
|
+
# @return [MultiByteCharSetProber] a new instance of MultiByteCharSetProber
|
771
|
+
#
|
772
|
+
# source://rchardet//lib/rchardet/mbcharsetprober.rb#33
|
773
|
+
def initialize; end
|
774
|
+
|
775
|
+
# source://rchardet//lib/rchardet/mbcharsetprober.rb#54
|
776
|
+
def feed(aBuf); end
|
777
|
+
|
778
|
+
# source://rchardet//lib/rchardet/mbcharsetprober.rb#51
|
779
|
+
def get_charset_name; end
|
780
|
+
|
781
|
+
# source://rchardet//lib/rchardet/mbcharsetprober.rb#85
|
782
|
+
def get_confidence; end
|
783
|
+
|
784
|
+
# source://rchardet//lib/rchardet/mbcharsetprober.rb#40
|
785
|
+
def reset; end
|
786
|
+
end
|
787
|
+
|
788
|
+
# source://rchardet//lib/rchardet/sbcharsetprober.rb#34
|
789
|
+
CharDet::NEGATIVE_SHORTCUT_THRESHOLD = T.let(T.unsafe(nil), Float)
|
790
|
+
|
791
|
+
# source://rchardet//lib/rchardet/hebrewprober.rb#129
|
792
|
+
CharDet::NORMAL_KAF = T.let(T.unsafe(nil), String)
|
793
|
+
|
794
|
+
# source://rchardet//lib/rchardet/hebrewprober.rb#131
|
795
|
+
CharDet::NORMAL_MEM = T.let(T.unsafe(nil), String)
|
796
|
+
|
797
|
+
# source://rchardet//lib/rchardet/hebrewprober.rb#133
|
798
|
+
CharDet::NORMAL_NUN = T.let(T.unsafe(nil), String)
|
799
|
+
|
800
|
+
# source://rchardet//lib/rchardet/hebrewprober.rb#135
|
801
|
+
CharDet::NORMAL_PE = T.let(T.unsafe(nil), String)
|
802
|
+
|
803
|
+
# source://rchardet//lib/rchardet/hebrewprober.rb#137
|
804
|
+
CharDet::NORMAL_TSADI = T.let(T.unsafe(nil), String)
|
805
|
+
|
806
|
+
# source://rchardet//lib/rchardet/sbcharsetprober.rb#36
|
807
|
+
CharDet::NUMBER_OF_SEQ_CAT = T.let(T.unsafe(nil), Integer)
|
808
|
+
|
809
|
+
# source://rchardet//lib/rchardet/jpcntx.rb#30
|
810
|
+
CharDet::NUM_OF_CATEGORY = T.let(T.unsafe(nil), Integer)
|
811
|
+
|
812
|
+
# source://rchardet//lib/rchardet/utf8prober.rb#30
|
813
|
+
CharDet::ONE_CHAR_PROB = T.let(T.unsafe(nil), Float)
|
814
|
+
|
815
|
+
# other
|
816
|
+
#
|
817
|
+
# source://rchardet//lib/rchardet/latin1prober.rb#34
|
818
|
+
CharDet::OTH = T.let(T.unsafe(nil), Integer)
|
819
|
+
|
820
|
+
# source://rchardet//lib/rchardet/sbcharsetprober.rb#37
|
821
|
+
CharDet::POSITIVE_CAT = T.let(T.unsafe(nil), Integer)
|
822
|
+
|
823
|
+
# source://rchardet//lib/rchardet/sbcharsetprober.rb#33
|
824
|
+
CharDet::POSITIVE_SHORTCUT_THRESHOLD = T.let(T.unsafe(nil), Float)
|
825
|
+
|
826
|
+
# Model Table:
|
827
|
+
# total sequences: 100%
|
828
|
+
# first 512 sequences: 97.6601%
|
829
|
+
# first 1024 sequences: 2.3389%
|
830
|
+
# rest sequences: 0.1237%
|
831
|
+
# negative sequences: 0.0009%
|
832
|
+
#
|
833
|
+
# source://rchardet//lib/rchardet/langcyrillicmodel.rb#152
|
834
|
+
CharDet::RussianLangModel = T.let(T.unsafe(nil), Array)
|
835
|
+
|
836
|
+
# source://rchardet//lib/rchardet/sbcharsetprober.rb#31
|
837
|
+
CharDet::SAMPLE_SIZE = T.let(T.unsafe(nil), Integer)
|
838
|
+
|
839
|
+
# source://rchardet//lib/rchardet/sbcsgroupprober.rb#31
|
840
|
+
class CharDet::SBCSGroupProber < ::CharDet::CharSetGroupProber
|
841
|
+
# @return [SBCSGroupProber] a new instance of SBCSGroupProber
|
842
|
+
#
|
843
|
+
# source://rchardet//lib/rchardet/sbcsgroupprober.rb#32
|
844
|
+
def initialize; end
|
845
|
+
end
|
846
|
+
|
847
|
+
# source://rchardet//lib/rchardet/sbcharsetprober.rb#32
|
848
|
+
CharDet::SB_ENOUGH_REL_THRESHOLD = T.let(T.unsafe(nil), Integer)
|
849
|
+
|
850
|
+
# source://rchardet//lib/rchardet/constants.rb#41
|
851
|
+
CharDet::SHORTCUT_THRESHOLD = T.let(T.unsafe(nil), Float)
|
852
|
+
|
853
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#347
|
854
|
+
CharDet::SJISCharLenTable = T.let(T.unsafe(nil), Array)
|
855
|
+
|
856
|
+
# source://rchardet//lib/rchardet/jpcntx.rb#183
|
857
|
+
class CharDet::SJISContextAnalysis < ::CharDet::JapaneseContextAnalysis
|
858
|
+
# source://rchardet//lib/rchardet/jpcntx.rb#184
|
859
|
+
def get_order(aStr); end
|
860
|
+
end
|
861
|
+
|
862
|
+
# source://rchardet//lib/rchardet/chardistribution.rb#200
|
863
|
+
class CharDet::SJISDistributionAnalysis < ::CharDet::CharDistributionAnalysis
|
864
|
+
# @return [SJISDistributionAnalysis] a new instance of SJISDistributionAnalysis
|
865
|
+
#
|
866
|
+
# source://rchardet//lib/rchardet/chardistribution.rb#201
|
867
|
+
def initialize; end
|
868
|
+
|
869
|
+
# source://rchardet//lib/rchardet/chardistribution.rb#208
|
870
|
+
def get_order(aStr); end
|
871
|
+
end
|
872
|
+
|
873
|
+
# source://rchardet//lib/rchardet/sjisprober.rb#30
|
874
|
+
class CharDet::SJISProber < ::CharDet::MultiByteCharSetProber
|
875
|
+
# @return [SJISProber] a new instance of SJISProber
|
876
|
+
#
|
877
|
+
# source://rchardet//lib/rchardet/sjisprober.rb#31
|
878
|
+
def initialize; end
|
879
|
+
|
880
|
+
# source://rchardet//lib/rchardet/sjisprober.rb#48
|
881
|
+
def feed(aBuf); end
|
882
|
+
|
883
|
+
# source://rchardet//lib/rchardet/sjisprober.rb#44
|
884
|
+
def get_charset_name; end
|
885
|
+
|
886
|
+
# source://rchardet//lib/rchardet/sjisprober.rb#83
|
887
|
+
def get_confidence; end
|
888
|
+
|
889
|
+
# source://rchardet//lib/rchardet/sjisprober.rb#39
|
890
|
+
def reset; end
|
891
|
+
end
|
892
|
+
|
893
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#349
|
894
|
+
CharDet::SJISSMModel = T.let(T.unsafe(nil), Hash)
|
895
|
+
|
896
|
+
# Shift_JIS
|
897
|
+
#
|
898
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#304
|
899
|
+
CharDet::SJIS_cls = T.let(T.unsafe(nil), Array)
|
900
|
+
|
901
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#341
|
902
|
+
CharDet::SJIS_st = T.let(T.unsafe(nil), Array)
|
903
|
+
|
904
|
+
# source://rchardet//lib/rchardet/chardistribution.rb#32
|
905
|
+
CharDet::SURE_NO = T.let(T.unsafe(nil), Float)
|
906
|
+
|
907
|
+
# source://rchardet//lib/rchardet/chardistribution.rb#31
|
908
|
+
CharDet::SURE_YES = T.let(T.unsafe(nil), Float)
|
909
|
+
|
910
|
+
# source://rchardet//lib/rchardet/sbcharsetprober.rb#35
|
911
|
+
CharDet::SYMBOL_CAT_ORDER = T.let(T.unsafe(nil), Integer)
|
912
|
+
|
913
|
+
# NEGATIVE_CAT = 0
|
914
|
+
#
|
915
|
+
# source://rchardet//lib/rchardet/sbcharsetprober.rb#40
|
916
|
+
class CharDet::SingleByteCharSetProber < ::CharDet::CharSetProber
|
917
|
+
# @return [SingleByteCharSetProber] a new instance of SingleByteCharSetProber
|
918
|
+
#
|
919
|
+
# source://rchardet//lib/rchardet/sbcharsetprober.rb#41
|
920
|
+
def initialize(model, reversed = T.unsafe(nil), nameProber = T.unsafe(nil)); end
|
921
|
+
|
922
|
+
# source://rchardet//lib/rchardet/sbcharsetprober.rb#66
|
923
|
+
def feed(aBuf); end
|
924
|
+
|
925
|
+
# source://rchardet//lib/rchardet/sbcharsetprober.rb#58
|
926
|
+
def get_charset_name; end
|
927
|
+
|
928
|
+
# source://rchardet//lib/rchardet/sbcharsetprober.rb#110
|
929
|
+
def get_confidence; end
|
930
|
+
|
931
|
+
# source://rchardet//lib/rchardet/sbcharsetprober.rb#49
|
932
|
+
def reset; end
|
933
|
+
end
|
934
|
+
|
935
|
+
# Character Mapping Table:
|
936
|
+
#
|
937
|
+
# source://rchardet//lib/rchardet/langthaimodel.rb#38
|
938
|
+
CharDet::TIS620CharToOrderMap = T.let(T.unsafe(nil), Array)
|
939
|
+
|
940
|
+
# source://rchardet//lib/rchardet/langthaimodel.rb#194
|
941
|
+
CharDet::TIS620ThaiModel = T.let(T.unsafe(nil), Hash)
|
942
|
+
|
943
|
+
# Model Table:
|
944
|
+
# total sequences: 100%
|
945
|
+
# first 512 sequences: 92.6386%
|
946
|
+
# first 1024 sequences:7.3177%
|
947
|
+
# rest sequences: 1.0230%
|
948
|
+
# negative sequences: 0.0436%
|
949
|
+
#
|
950
|
+
# source://rchardet//lib/rchardet/langthaimodel.rb#63
|
951
|
+
CharDet::ThaiLangModel = T.let(T.unsafe(nil), Array)
|
952
|
+
|
953
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#403
|
954
|
+
CharDet::UCS2BECharLenTable = T.let(T.unsafe(nil), Array)
|
955
|
+
|
956
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#405
|
957
|
+
CharDet::UCS2BESMModel = T.let(T.unsafe(nil), Hash)
|
958
|
+
|
959
|
+
# UCS2-BE
|
960
|
+
#
|
961
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#358
|
962
|
+
CharDet::UCS2BE_cls = T.let(T.unsafe(nil), Array)
|
963
|
+
|
964
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#393
|
965
|
+
CharDet::UCS2BE_st = T.let(T.unsafe(nil), Array)
|
966
|
+
|
967
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#459
|
968
|
+
CharDet::UCS2LECharLenTable = T.let(T.unsafe(nil), Array)
|
969
|
+
|
970
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#461
|
971
|
+
CharDet::UCS2LESMModel = T.let(T.unsafe(nil), Hash)
|
972
|
+
|
973
|
+
# UCS2-LE
|
974
|
+
#
|
975
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#414
|
976
|
+
CharDet::UCS2LE_cls = T.let(T.unsafe(nil), Array)
|
977
|
+
|
978
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#449
|
979
|
+
CharDet::UCS2LE_st = T.let(T.unsafe(nil), Array)
|
980
|
+
|
981
|
+
# undefined
|
982
|
+
#
|
983
|
+
# source://rchardet//lib/rchardet/latin1prober.rb#33
|
984
|
+
CharDet::UDF = T.let(T.unsafe(nil), Integer)
|
985
|
+
|
986
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#534
|
987
|
+
CharDet::UTF8CharLenTable = T.let(T.unsafe(nil), Array)
|
988
|
+
|
989
|
+
# source://rchardet//lib/rchardet/utf8prober.rb#32
|
990
|
+
class CharDet::UTF8Prober < ::CharDet::CharSetProber
|
991
|
+
# @return [UTF8Prober] a new instance of UTF8Prober
|
992
|
+
#
|
993
|
+
# source://rchardet//lib/rchardet/utf8prober.rb#33
|
994
|
+
def initialize; end
|
995
|
+
|
996
|
+
# source://rchardet//lib/rchardet/utf8prober.rb#49
|
997
|
+
def feed(aBuf); end
|
998
|
+
|
999
|
+
# source://rchardet//lib/rchardet/utf8prober.rb#45
|
1000
|
+
def get_charset_name; end
|
1001
|
+
|
1002
|
+
# source://rchardet//lib/rchardet/utf8prober.rb#75
|
1003
|
+
def get_confidence; end
|
1004
|
+
|
1005
|
+
# source://rchardet//lib/rchardet/utf8prober.rb#39
|
1006
|
+
def reset; end
|
1007
|
+
end
|
1008
|
+
|
1009
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#536
|
1010
|
+
CharDet::UTF8SMModel = T.let(T.unsafe(nil), Hash)
|
1011
|
+
|
1012
|
+
# UTF-8
|
1013
|
+
#
|
1014
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#470
|
1015
|
+
CharDet::UTF8_cls = T.let(T.unsafe(nil), Array)
|
1016
|
+
|
1017
|
+
# source://rchardet//lib/rchardet/mbcssm.rb#505
|
1018
|
+
CharDet::UTF8_st = T.let(T.unsafe(nil), Array)
|
1019
|
+
|
1020
|
+
# source://rchardet//lib/rchardet/universaldetector.rb#38
|
1021
|
+
class CharDet::UniversalDetector
|
1022
|
+
# @return [UniversalDetector] a new instance of UniversalDetector
|
1023
|
+
#
|
1024
|
+
# source://rchardet//lib/rchardet/universaldetector.rb#41
|
1025
|
+
def initialize; end
|
1026
|
+
|
1027
|
+
# source://rchardet//lib/rchardet/universaldetector.rb#146
|
1028
|
+
def close; end
|
1029
|
+
|
1030
|
+
# Returns the value of attribute done.
|
1031
|
+
#
|
1032
|
+
# source://rchardet//lib/rchardet/universaldetector.rb#39
|
1033
|
+
def done; end
|
1034
|
+
|
1035
|
+
# source://rchardet//lib/rchardet/universaldetector.rb#64
|
1036
|
+
def feed(aBuf); end
|
1037
|
+
|
1038
|
+
# source://rchardet//lib/rchardet/universaldetector.rb#49
|
1039
|
+
def reset; end
|
1040
|
+
|
1041
|
+
# Returns the value of attribute result.
|
1042
|
+
#
|
1043
|
+
# source://rchardet//lib/rchardet/universaldetector.rb#39
|
1044
|
+
def result; end
|
1045
|
+
end
|
1046
|
+
|
1047
|
+
# source://rchardet//lib/rchardet/version.rb#2
|
1048
|
+
CharDet::VERSION = T.let(T.unsafe(nil), String)
|
1049
|
+
|
1050
|
+
# source://rchardet//lib/rchardet/hebrewprober.rb#147
|
1051
|
+
CharDet::VISUAL_HEBREW_NAME = T.let(T.unsafe(nil), String)
|
1052
|
+
|
1053
|
+
# source://rchardet//lib/rchardet/langhungarianmodel.rb#55
|
1054
|
+
CharDet::Win1250HungarianCharToOrderMap = T.let(T.unsafe(nil), Array)
|
1055
|
+
|
1056
|
+
# source://rchardet//lib/rchardet/langhungarianmodel.rb#219
|
1057
|
+
CharDet::Win1250HungarianModel = T.let(T.unsafe(nil), Hash)
|
1058
|
+
|
1059
|
+
# source://rchardet//lib/rchardet/langbulgarianmodel.rb#222
|
1060
|
+
CharDet::Win1251BulgarianModel = T.let(T.unsafe(nil), Hash)
|
1061
|
+
|
1062
|
+
# source://rchardet//lib/rchardet/langcyrillicmodel.rb#291
|
1063
|
+
CharDet::Win1251CyrillicModel = T.let(T.unsafe(nil), Hash)
|
1064
|
+
|
1065
|
+
# source://rchardet//lib/rchardet/langgreekmodel.rb#220
|
1066
|
+
CharDet::Win1253GreekModel = T.let(T.unsafe(nil), Hash)
|
1067
|
+
|
1068
|
+
# source://rchardet//lib/rchardet/langgreekmodel.rb#56
|
1069
|
+
CharDet::Win1253_CharToOrderMap = T.let(T.unsafe(nil), Array)
|
1070
|
+
|
1071
|
+
# source://rchardet//lib/rchardet/langhebrewmodel.rb#195
|
1072
|
+
CharDet::Win1255HebrewModel = T.let(T.unsafe(nil), Hash)
|
1073
|
+
|
1074
|
+
# Windows-1255 language model
|
1075
|
+
# Character Mapping Table:
|
1076
|
+
#
|
1077
|
+
# source://rchardet//lib/rchardet/langhebrewmodel.rb#39
|
1078
|
+
CharDet::Win1255_CharToOrderMap = T.let(T.unsafe(nil), Array)
|