You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
José Carlos Cuevas
3363716124
|
9 years ago | |
---|---|---|
src/tfidf | 9 years ago | |
.gitignore | 9 years ago | |
README.md | 9 years ago | |
main.go | 9 years ago | |
test.go | 9 years ago |
README.md
TfIdf Crawler in Go
A simple website crawler and tfidf parsing engine to implement a simple search engine.
Command Line Parameters
This utility relies in a couple command line arguments.
- -w: Allows to choose the file where the webs to index will be found. If not present, it assumes a websites.txt file in the same directory the command is run in.
- -s: Chooses a stopword language. It assumes english1 as default. See the stopword files for choices.
Known bugs
- Stopwords should be loaded from the lib directory or implement a path search.
- Probably I messed up some of the tfidf calculations.