mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Skip gc step for now
This commit is contained in:
@@ -72,17 +72,6 @@ module Linguist
|
||||
#
|
||||
# Returns receiver Classifier instance.
|
||||
def gc
|
||||
@tokens.each do |language, tokens|
|
||||
if @language_tokens[language] > 20
|
||||
tokens.each do |name, count|
|
||||
if count == 1
|
||||
@tokens[language].delete(name)
|
||||
@language_tokens[language] -= 1
|
||||
@tokens_total -= 1
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
self
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user