You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Being a bit new to Golang, I am finding it very exciting and am learning quickly, but recently I came across your Go-Freeling (https://github.com/advancedlogic/go-freeling) and wanted to see about getting it to run for a project that i am working on lately.
I compiled and installed the external library MITIE - https://github.com/mit-nlp/MITIE, but now when I try to compile go-freeling (go build gofreeling.go), I am getting an error with the Goose library (https://github.com/advancedlogic/GoOse), which is also know is installed in the src directory as well.
spartan:~/work/go-freeling$ go get github.com/advancedlogic/go-freeling
github.com/advancedlogic/go-freeling/nlp
src/github.com/advancedlogic/go-freeling/nlp/crawler.go:27: g.ExtractFromUrl undefined (type goose.Goose has no field or method ExtractFromUrl, but does have ExtractFromURL)
I looked inside the nlp/crawler.go file and see the structure:
Greetings,
I hope that your day is going well.
Being a bit new to Golang, I am finding it very exciting and am learning quickly, but recently I came across your Go-Freeling (https://github.com/advancedlogic/go-freeling) and wanted to see about getting it to run for a project that i am working on lately.
I compiled and installed the external library MITIE - https://github.com/mit-nlp/MITIE, but now when I try to compile go-freeling (go build gofreeling.go), I am getting an error with the Goose library (https://github.com/advancedlogic/GoOse), which is also know is installed in the src directory as well.
spartan:~/work/go-freeling$ go get github.com/advancedlogic/go-freeling
github.com/advancedlogic/go-freeling/nlp
src/github.com/advancedlogic/go-freeling/nlp/crawler.go:27: g.ExtractFromUrl undefined (type goose.Goose has no field or method ExtractFromUrl, but does have ExtractFromURL)
I looked inside the nlp/crawler.go file and see the structure:
func (this *Crawler) Analyze(url string) *goose.Article {
g := goose.New()
article := g.ExtractFromUrl(url)
return article
}
Not sure how to fix this in your go-freeling.
Can you please look into this for me?
Thanks,
Lonnie
The text was updated successfully, but these errors were encountered: