Skip to content
Snippets Groups Projects
Commit f479081f authored by Nicholas Yang's avatar Nicholas Yang
Browse files

more testing out funcitonality for corpus/chunks

parent 3ab7ddc7
No related branches found
No related tags found
1 merge request!9Website
No preview for this file type
......@@ -9,7 +9,11 @@ int main() {
cout << "Number documents: " << corpus.numberDocuments << endl;
cout << "Number words: " << corpus.numberWords << endl;
for(int i = 0; i < corpus.chunks.size(); i++) {
cout << "Ending for chunk " << i << ": " << corpus.chunks[i].lastLocation << endl;
cout << "Chunk " << i << endl;
cout << "\tNumber unique words: " << corpus.chunks[i].numberUniqueWords << endl;
cout << "\tNumber words: " << corpus.chunks[i].numberWords << endl;
cout << "\tNumber documents: " << corpus.chunks[i].numberDocs << endl;
cout << "\tEnding offset: " << corpus.chunks[i].lastLocation << endl;
}
return 0;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment