]> code.communitydata.science - cdsc_reddit.git/blobdiff - similarities/tfidf.py
Changes from hyak.
[cdsc_reddit.git] / similarities / tfidf.py
index b7b4e6361f11e901b46ba5be73f1ec83e74001a8..885dae2af76cc00f74f82a8dc133285a6281d9e2 100644 (file)
@@ -58,12 +58,13 @@ def tfidf_authors_weekly(outpath='/gscratch/comdata/output/reddit_similarity/tfi
 def tfidf_terms_weekly(outpath='/gscratch/comdata/output/reddit_similarity/tfidf_weekly/comment_terms.parquet',
                 topN=25000):
 
 def tfidf_terms_weekly(outpath='/gscratch/comdata/output/reddit_similarity/tfidf_weekly/comment_terms.parquet',
                 topN=25000):
 
+
     return tfidf_weekly("/gscratch/comdata/output/reddit_ngrams/comment_terms.parquet",
     return tfidf_weekly("/gscratch/comdata/output/reddit_ngrams/comment_terms.parquet",
-                 outpath,
-                 topN,
-                 'term',
-                 []
-                 )
+                        outpath,
+                        topN,
+                        'term',
+                        []
+                        )
 
 
 if __name__ == "__main__":
 
 
 if __name__ == "__main__":

Community Data Science Collective || Want to submit a patch?