mirror of
https://github.com/neocities/neocities.git
synced 2025-08-03 00:02:00 +02:00
experimental statistical language classification system
This commit is contained in:
parent
9cc85a48bb
commit
242cc6e92d
15 changed files with 178 additions and 37 deletions
|
@ -131,3 +131,6 @@ $country_codes = {}
|
|||
CSV.foreach("./files/country_codes.csv") do |row|
|
||||
$country_codes[row.last] = row.first
|
||||
end
|
||||
|
||||
$classifier = Linnaeus::Classifier.new redis_db: 1
|
||||
$trainer = Linnaeus::Trainer.new redis_db: 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue