OverviewFilesCommitsIssuesDocsReleasesPeers

hypercore-kb / opencog-kb / language-learning / mvp / test-phase-c.scm

18 lines · scm ref:
;; Clear bad classes and restart fresh with Phase C (jigsaw-only)
(format #t "~%=== FRESH START ===~%")
(hash-clear! *word-classes*)
(hash-clear! *word-to-class*)
(set! *next-class-id* 0)
(set! *min-similarity* 0.30)

;; Reload corpus-learning.scm
(load "corpus-learning.scm")

;; Reset and bootstrap
(corpus-reset)
(set! *cl-pair-mi-built?* #f)
(bootstrap!)

;; Run 3 epochs (6K sentences) - should switch to jigsaw after bootstrap
(run-epochs 3)