Commits

Olivier Grisel committed 8a4d719

fix indent

Comments (0)

Files changed (1)

examples/semantic_hashing.py

     def sample_document(self, doc):
         """Update the DF estimates with the tokens in doc"""
         for token in set(self.tokenize(doc)):
-                self.df_counts[self.hash_token(token)] += 1
+            self.df_counts[self.hash_token(token)] += 1
 
     def count(self, token):
         """Return the number (+1) of documents token occured at least once"""