Zipfs-Law-Language-Detector/nim/tes.nim
2024-10-10 22:37:54 -04:00

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)