Skip to content

Commit

Permalink
change num words encountered to long
Browse files Browse the repository at this point in the history
  • Loading branch information
agibsonccc committed Nov 11, 2014
1 parent ca1aac4 commit bd205d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public void setCache(VocabCache cache) {
}

@Override
public int numWordsEncountered() {
public long numWordsEncountered() {
return numWordsEncountered.get();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public interface TextVectorizer extends Vectorizer {
* Returns the number of words encountered so far
* @return the number of words encountered so far
*/
int numWordsEncountered();
long numWordsEncountered();

/**
* Inverted index
Expand Down

0 comments on commit bd205d6

Please sign in to comment.