Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fanfiction and stylometry clean
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
chrysanthopoulou
fanfiction and stylometry clean
Commits
4ca28359
Commit
4ca28359
authored
1 year ago
by
chrysanthopoulou
Browse files
Options
Downloads
Patches
Plain Diff
Add start of averaged metrics
parent
29105f21
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+2
-1
2 additions, 1 deletion
.gitignore
stylo_sing.py
+524
-0
524 additions, 0 deletions
stylo_sing.py
trialy_trial.py
+14
-0
14 additions, 0 deletions
trialy_trial.py
with
540 additions
and
1 deletion
.gitignore
+
2
−
1
View file @
4ca28359
# ignore venv
stylo_venv/
\ No newline at end of file
stylo_venv/
fanfic_venv/
\ No newline at end of file
This diff is collapsed.
Click to expand it.
stylo_sing.py
0 → 100644
+
524
−
0
View file @
4ca28359
This diff is collapsed.
Click to expand it.
trialy_trial.py
0 → 100644
+
14
−
0
View file @
4ca28359
import
seaborn
as
sns
import
matplotlib.pyplot
as
plt
from
cycler
import
cycler
import
os
from
nltk.tokenize
import
word_tokenize
from
nltk.probability
import
FreqDist
from
nltk.tokenize
import
sent_tokenize
from
nltk.tag
import
pos_tag
import
pandas
as
pd
import
statistics
import
re
fanfic
=
pd
.
read_csv
(
f
"
cosmere/data/fanfics/cosmere_fanfics_new.csv
"
,
thousands
=
"
,
"
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment