Skip to content

Commit

Permalink
Move constant MINIMUM_DATA_THRESHOLD to global scope
Browse files Browse the repository at this point in the history
  • Loading branch information
KitaitiMakoto committed Jun 14, 2015
1 parent 7790cf1 commit f050c33
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion lib/rchardet/jpcntx.rb
Expand Up @@ -31,7 +31,6 @@ module CharDet
DONT_KNOW = -1
ENOUGH_REL_THRESHOLD = 100
MAX_REL_THRESHOLD = 1000
MINIMUM_DATA_THRESHOLD = 4

# This is hiragana 2-char sequence table, the number in each cell represents its frequency category
JP2_CHAR_CONTEXT = [
Expand Down
1 change: 1 addition & 0 deletions lib/rchardet/universaldetector.rb
Expand Up @@ -29,6 +29,7 @@
######################### END LICENSE BLOCK #########################

module CharDet
MINIMUM_DATA_THRESHOLD = 4
MINIMUM_THRESHOLD = 0.20
EPureAscii = 0
EEscAscii = 1
Expand Down

0 comments on commit f050c33

Please sign in to comment.