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
{{ message }}
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.
Secondly, it didn't worked out of the box, initially it was giving SLF4J classNotFound exception, so I had to include other SLF dependencies to get it working, apart from that, there's no change.
One more thing, I'm having jdk 7 and scala 2.10.1
Hope you guys can help at your earliest.
The text was updated successfully, but these errors were encountered:
Hi
Had the same issue and fixed it.
the file '\src\main\resources\com\gravity\goose\text\stopwords-en.txt' was written in unix probably, so all line break are '\n'.
Now if you open this file in notepad you can see that windows doesnt recognise any line-breaks.
So to fix :
go to \src\main\scala\com\gravity\goose\text\StopWords.scala .
change this line:
val STOP_WORDS = FileHelper.loadResourceFile("stopwords-en.txt", StopWords.getClass).split(sys.props("line.separator")).toSet
to this:
val STOP_WORDS = FileHelper.loadResourceFile("stopwords-en.txt", StopWords.getClass).split("\r?\n").toSet
this will split the file by '\n' or by '\r\n' - good for unix and windows.
hopes this helps!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
hey, guys,
I'm sure that might be some problem at my end, but unfortunately, it's returning Article Not Found, for any url that I enter.
Github didn't txt files, so here is how the log looked like : https://dl.dropboxusercontent.com/u/109241721/gooseresult0.txt
Secondly, it didn't worked out of the box, initially it was giving SLF4J classNotFound exception, so I had to include other SLF dependencies to get it working, apart from that, there's no change.
One more thing, I'm having jdk 7 and scala 2.10.1
Hope you guys can help at your earliest.
The text was updated successfully, but these errors were encountered: