bc128d9596ed07d1c8d5d98f35b1f6905ad4d819,analyze_tagged_corpus.py,,,#,12
Before Change
print(" ".join(["Tag".center(taglen), "Count".center(countlen)]))
print(" ".join(["="*taglen, "="*(countlen)]))
for tag, count in sorted(tag_counts.items(), key=sort_key, reverse=args.reverse):
print(" ".join([tag.ljust(taglen), str(count).rjust(countlen)]))
print(" ".join(["="*taglen, "="*(countlen)]))
After Change
else:
raise ValueError("%s is not a valid sort option" % args.sort)
sorted_tag_counts = sorted(tag_counts.items(), key=sort_key, reverse=args.reverse)
countlen = max(len(str(sorted_tag_counts[0][1])) + 2, 9)
// simple reSt table format
print(" ".join(["Tag".center(taglen), "Count".center(countlen)]))
print(" ".join(["="*taglen, "="*(countlen)]))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: japerk/nltk-trainer
Commit Name: bc128d9596ed07d1c8d5d98f35b1f6905ad4d819
Time: 2014-01-05
Author: japerk@gmail.com
File Name: analyze_tagged_corpus.py
Class Name:
Method Name:
Project Name: aertslab/pySCENIC
Commit Name: 40f5862e0277b36a4983995aec1f9a928afccca3
Time: 2020-08-10
Author: gert.hulselmans@kuleuven.vib.be
File Name: src/pyscenic/rnkdb.py
Class Name: ParquetRankingDatabase
Method Name: load
Project Name: aertslab/pySCENIC
Commit Name: 40f5862e0277b36a4983995aec1f9a928afccca3
Time: 2020-08-10
Author: gert.hulselmans@kuleuven.vib.be
File Name: src/pyscenic/rnkdb.py
Class Name: FeatherRankingDatabase
Method Name: load