dhmit / gender_analysis

A toolkit for analyzing gendered language across sets of documents
BSD 3-Clause "New" or "Revised" License
11 stars 5 forks source link

Added string dunder methods to 5 classes #175

Closed farooqashar closed 3 years ago

farooqashar commented 3 years ago

Added basic string dunder methods (str) that concise explains what the class is for 5 classes (CorpusAnalyzer, GenderFrequencyAnalyzer, DistanceStats, GenderDistanceAnalyzer, GenderProximityAnalyzer).

codecov-commenter commented 3 years ago

Codecov Report

Merging #175 (538e360) into main (79cdc8e) will decrease coverage by 0.11%. The diff coverage is 53.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #175      +/-   ##
==========================================
- Coverage   71.86%   71.74%   -0.12%     
==========================================
  Files          23       23              
  Lines        1820     1830      +10     
  Branches      428      428              
==========================================
+ Hits         1308     1313       +5     
- Misses        415      420       +5     
  Partials       97       97              
Impacted Files Coverage Δ
gender_analysis/text/document.py 86.29% <ø> (ø)
gender_analysis/analysis/frequency.py 87.80% <50.00%> (-0.47%) :arrow_down:
gender_analysis/analysis/instance_distance.py 89.83% <50.00%> (-1.40%) :arrow_down:
gender_analysis/analysis/proximity.py 88.29% <50.00%> (-0.42%) :arrow_down:
gender_analysis/analysis/base_analyzers.py 53.12% <57.14%> (-0.21%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 79cdc8e...538e360. Read the comment docs.

farooqashar commented 3 years ago

This PR builds on the PR submitted by Josh with fixing typos and minor fixes

farooqashar commented 3 years ago

Fixing some files again