Skip to content
Snippets Groups Projects
Commit dffffe72 authored by chrysanthopoulou's avatar chrysanthopoulou
Browse files

Move split txt files to correct location

parent d850a226
No related branches found
No related tags found
No related merge requests found
Showing
with 1 addition and 22 deletions
......@@ -373,29 +373,8 @@ def create_dataframe_with_overview_info():
if __name__ == "__main__":
# canon calculations
#stuff
# fanfic calculations
#run_functions("grishaverse/data/split_txt_fanfics")
#run_functions("throne_of_glass/data/split_txt_fanfics")
#data_overview.to_csv(f"data_overview/data_overview.csv")
#GrishaverseCanon = StylometryMetrics(directory_path="grishaverse/data/canon_works", name_of_work="Grishaverse", fanfiction=False)
#GrishaverseCanon.calculate_pos_tag_distribution()
#print(GrishaverseCanon.md_freq_dist)
#print(type(GrishaverseCanon.md_freq_dist))
TogCannon = StylometryMetrics(directory_path="throne_of_glass/data/canon_works", fanfiction=False)
TogCannon.calculate_pos_tag_distribution()
#TogCannon.calculate_mendenhall_token_metrics()
#TogCannon.plot_token_metrics()
#print(TogCannon.md_freq_dist)
TogCannon.plot_md_freq()
TogCannon.plot_pos_tag_freq()
#GrishaverseCanon.plot_md_freq("grishaverse/plots/canon/md_freq.png")
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