it didnt
This commit is contained in:
parent
44d3a4d18f
commit
9685fc3449
1 changed files with 4 additions and 1 deletions
|
@ -13,6 +13,7 @@ import (
|
|||
)
|
||||
|
||||
var orogen *mctext.MChain
|
||||
var orocorpus *strings.Reader
|
||||
|
||||
func initoroscopo() {
|
||||
counter := 0
|
||||
|
@ -33,8 +34,10 @@ func initoroscopo() {
|
|||
return nil
|
||||
})
|
||||
|
||||
orocorpus = strings.NewReader(corpus)
|
||||
|
||||
orogen := mctext.New()
|
||||
orogen.Parse(strings.NewReader(corpus))
|
||||
orogen.Parse(orocorpus)
|
||||
|
||||
log.Printf("[oroscopo] Loaded corpus from %d files\n", counter)
|
||||
}
|
||||
|
|
Reference in a new issue