12 lines
313 B
Nim
12 lines
313 B
Nim
import os
|
|
import strutils
|
|
import tables
|
|
import scoring
|
|
import geneticTools
|
|
import db_connector/db_sqlite
|
|
import ./main
|
|
|
|
when isMainModule:
|
|
var trainingdb = open("../data/training/training.db", "", "", "")
|
|
var macroScore = createWordScore(main.mostCommonWords)
|
|
serializeMacroScore(trainingdb, macroScore, 0)
|