Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go-freeling not compiling cleanly #8

Open
lonnietc opened this issue Mar 4, 2016 · 0 comments
Open

go-freeling not compiling cleanly #8

lonnietc opened this issue Mar 4, 2016 · 0 comments

Comments

@lonnietc
Copy link

lonnietc commented Mar 4, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant