diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b923e44c..3b1da0323 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ ### ✨ Improvements - Utils: Update Wordless's sentence and sentence segment splitters +- Work Area: Update Profiler - Readability - Flesch Reading Ease ### 📌 Bugfixes - Work Area: Fix Concordancer - Generation Settings - Width unit - Character diff --git a/doc/doc_eng.md b/doc/doc_eng.md index 066364746..ae6ce9881 100644 --- a/doc/doc_eng.md +++ b/doc/doc_eng.md @@ -913,120 +913,83 @@ These variables are used in the following formulas:
- + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/doc/measures/readability/ari.svg b/doc/measures/readability/ari.svg index aca628e47..dd90e2f09 100644 --- a/doc/measures/readability/ari.svg +++ b/doc/measures/readability/ari.svg @@ -1,107 +1,101 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/doc/measures/readability/coleman_liau_index.svg b/doc/measures/readability/coleman_liau_index.svg index ea6ae50a8..309e4fec9 100644 --- a/doc/measures/readability/coleman_liau_index.svg +++ b/doc/measures/readability/coleman_liau_index.svg @@ -1,205 +1,203 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/doc/measures/readability/formula_de_comprensibilidad_de_gutierrez_de_polini.svg b/doc/measures/readability/cp.svg similarity index 90% rename from doc/measures/readability/formula_de_comprensibilidad_de_gutierrez_de_polini.svg rename to doc/measures/readability/cp.svg index 8fc8ecba4..dcbafbe78 100644 --- a/doc/measures/readability/formula_de_comprensibilidad_de_gutierrez_de_polini.svg +++ b/doc/measures/readability/cp.svg @@ -1,6 +1,6 @@ - - + + @@ -35,72 +35,72 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/doc/measures/readability/dale_chall_readability_score.svg b/doc/measures/readability/dale_chall_readability_score.svg deleted file mode 100644 index 9910183ee..000000000 --- a/doc/measures/readability/dale_chall_readability_score.svg +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/doc/measures/readability/devereux_readability_index.svg b/doc/measures/readability/devereux_readability_index.svg index 115c52c21..9aae083c3 100644 --- a/doc/measures/readability/devereux_readability_index.svg +++ b/doc/measures/readability/devereux_readability_index.svg @@ -1,117 +1,111 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/doc/measures/readability/eflaw.svg b/doc/measures/readability/eflaw.svg index 1c2cab992..99777191d 100644 --- a/doc/measures/readability/eflaw.svg +++ b/doc/measures/readability/eflaw.svg @@ -1,6 +1,6 @@ - - + + @@ -24,46 +24,46 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/doc/measures/readability/fernandez_huertas_readability_score.svg b/doc/measures/readability/fernandez_huertas_readability_score.svg index 3ec276b5d..8c177dbf2 100644 --- a/doc/measures/readability/fernandez_huertas_readability_score.svg +++ b/doc/measures/readability/fernandez_huertas_readability_score.svg @@ -1,97 +1,91 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/doc/measures/readability/flesch_kincaid_grade_level.svg b/doc/measures/readability/flesch_kincaid_grade_level.svg index 07df256f2..cc58ddf34 100644 --- a/doc/measures/readability/flesch_kincaid_grade_level.svg +++ b/doc/measures/readability/flesch_kincaid_grade_level.svg @@ -1,99 +1,93 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/doc/measures/readability/fog_index.svg b/doc/measures/readability/fog_index.svg index 28f229abe..36c7b98aa 100644 --- a/doc/measures/readability/fog_index.svg +++ b/doc/measures/readability/fog_index.svg @@ -1,98 +1,98 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/doc/measures/readability/formula_de_crawford.svg b/doc/measures/readability/formula_de_crawford.svg index 06ab847ec..3f3f36049 100644 --- a/doc/measures/readability/formula_de_crawford.svg +++ b/doc/measures/readability/formula_de_crawford.svg @@ -1,6 +1,6 @@ - - + + @@ -37,84 +37,84 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/doc/measures/readability/gulpease_index.svg b/doc/measures/readability/gulpease_index.svg index 215799fcd..dca78cec0 100644 --- a/doc/measures/readability/gulpease_index.svg +++ b/doc/measures/readability/gulpease_index.svg @@ -1,9 +1,9 @@ - - + + - + @@ -36,70 +36,70 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/doc/measures/readability/linsear_write.svg b/doc/measures/readability/lensear_write.svg similarity index 91% rename from doc/measures/readability/linsear_write.svg rename to doc/measures/readability/lensear_write.svg index 8744a3216..7f4984fc3 100644 --- a/doc/measures/readability/linsear_write.svg +++ b/doc/measures/readability/lensear_write.svg @@ -1,6 +1,6 @@ - - + + @@ -26,47 +26,47 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/doc/measures/readability/lix.svg b/doc/measures/readability/lix.svg index 04cb76fd0..48fad1bf0 100644 --- a/doc/measures/readability/lix.svg +++ b/doc/measures/readability/lix.svg @@ -1,87 +1,81 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/doc/measures/readability/legibilidad_mu.svg b/doc/measures/readability/mu.svg similarity index 76% rename from doc/measures/readability/legibilidad_mu.svg rename to doc/measures/readability/mu.svg index 2c9209b6e..172112f54 100644 --- a/doc/measures/readability/legibilidad_mu.svg +++ b/doc/measures/readability/mu.svg @@ -1,85 +1,79 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/doc/measures/readability/osman.svg b/doc/measures/readability/osman.svg index 188935587..0fa325114 100644 --- a/doc/measures/readability/osman.svg +++ b/doc/measures/readability/osman.svg @@ -1,6 +1,6 @@ - - + + @@ -42,115 +42,115 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/doc/measures/readability/re.svg b/doc/measures/readability/re.svg index 728079d10..037e3b7e8 100644 --- a/doc/measures/readability/re.svg +++ b/doc/measures/readability/re.svg @@ -1,122 +1,428 @@ - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/doc/measures/readability/re_simplified.svg b/doc/measures/readability/re_simplified.svg index d053f4965..48d45896f 100644 --- a/doc/measures/readability/re_simplified.svg +++ b/doc/measures/readability/re_simplified.svg @@ -1,110 +1,120 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/doc/measures/readability/rgl.svg b/doc/measures/readability/rgl.svg index 51166accb..bc59748cb 100644 --- a/doc/measures/readability/rgl.svg +++ b/doc/measures/readability/rgl.svg @@ -1,6 +1,6 @@ - - + + @@ -31,41 +31,41 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/doc/measures/readability/rix.svg b/doc/measures/readability/rix.svg index ef44759ea..d60683386 100644 --- a/doc/measures/readability/rix.svg +++ b/doc/measures/readability/rix.svg @@ -1,6 +1,6 @@ - - + + @@ -22,35 +22,35 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/doc/measures/readability/smog_grade.svg b/doc/measures/readability/smog_grade.svg index a0570bc22..041e37857 100644 --- a/doc/measures/readability/smog_grade.svg +++ b/doc/measures/readability/smog_grade.svg @@ -1,76 +1,72 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/doc/measures/readability/spache_grade_level.svg b/doc/measures/readability/spache_grade_level.svg index 951ec84a0..f48778a7b 100644 --- a/doc/measures/readability/spache_grade_level.svg +++ b/doc/measures/readability/spache_grade_level.svg @@ -1,117 +1,115 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/doc/measures/readability/szigriszts_perspicuity_index.svg b/doc/measures/readability/szigriszts_perspicuity_index.svg index f6540cdac..479ee2445 100644 --- a/doc/measures/readability/szigriszts_perspicuity_index.svg +++ b/doc/measures/readability/szigriszts_perspicuity_index.svg @@ -1,6 +1,6 @@ - - + + @@ -28,55 +28,55 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/doc/measures/readability/wstf.svg b/doc/measures/readability/wstf.svg index b2f049af4..491c0e675 100644 --- a/doc/measures/readability/wstf.svg +++ b/doc/measures/readability/wstf.svg @@ -1,5 +1,5 @@ - + diff --git a/doc/measures/readability/xc50.svg b/doc/measures/readability/xc50.svg new file mode 100644 index 000000000..8aa13886f --- /dev/null +++ b/doc/measures/readability/xc50.svg @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wordless/wl_measures/wl_measures_readability.py b/wordless/wl_measures/wl_measures_readability.py index ab31846b1..6d9a14ad7 100644 --- a/wordless/wl_measures/wl_measures_readability.py +++ b/wordless/wl_measures/wl_measures_readability.py @@ -180,8 +180,8 @@ def coleman_liau_index(main, text): # Dale-Chall Readability Score # References: -# Dale, E., & Chall, J. S. (1948). A formula for predicting readability. Educational Research Bulletin, 27(1), 11–20, 28. -# Dale, E., & Chall, J. S. (1948). A formula for predicting readability: Instructions. Educational Research Bulletin, 27(2), 37–54. +# Dale, E., & Chall, J. S. (1948a). A formula for predicting readability. Educational Research Bulletin, 27(1), 11–20, 28. +# Dale, E., & Chall, J. S. (1948b). A formula for predicting readability: Instructions. Educational Research Bulletin, 27(2), 37–54. def dale_chall_readability_score(main, text): if text.lang.startswith('eng'): text = get_counts(main, text) @@ -257,7 +257,21 @@ def flesch_kincaid_grade_level(main, text): return gl # Flesch Reading Ease -# Reference: Flesch, R. (1948). A new readability yardstick. Journal of Applied Psychology, 32(3), 221–233. https://doi.org/10.1037/h0057532 +# Reference: +# Flesch, R. (1948). A new readability yardstick. Journal of Applied Psychology, 32(3), 221–233. https://doi.org/10.1037/h0057532 +# Dutch variant: +# Douma, W. H. (1960). De leesbaarheid van landbouwbladen: Een onderzoek naar en een toepassing van leesbaarheidsformules [Readability of Dutch farm papers: A discussion and application of readability-formulas]. Afdeling sociologie en sociografie van de Landbouwhogeschool Wageningen. https://edepot.wur.nl/276323 +# French variant: +# Kandel, L., & Moles A. (1958). Application de l’indice de flesch la langue francaise [applying flesch index to french language]. The Journal of Educational Research, 21, 283–287. +# Kopient, A., & Grabar, N. (2020). Rated lexicon for the simplification of medical texts. In B. Gersbeck-Schierholz (ed.), HEALTHINFO 2020: The fifth international conference on informatics and assistive technologies for health-care, medical support and wellbeing (pp. 11–17). IARIA. https://hal.science/hal-03095275/document +# German variant: +# Amstad, T. (1978). Wie verständlich sind unsere Zeitungen? [Unpublished doctoral dissertation]. University of Zurich. +# Lesbarkeitsindex. (2023, February 2). In Wikipedia. https://de.wikipedia.org/w/index.php?title=Lesbarkeitsindex&oldid=230472824 +# Italian variant: +# Franchina, V., & Vacca, R. (1986). Adaptation of Flesh readability index on a bilingual text written by the same author both in Italian and English languages. Linguaggi, 3, 47–49. +# Garais, E. (2011). Web applications readability. Journal of Information Systems and Operations Management, 5(1), 117–121. http://www.rebe.rau.ro/RePEc/rau/jisomg/SP11/JISOM-SP11-A13.pdf +# Russian variant: +# Oborneva, I. V. (2006). Автоматизированная оценка сложности учебных текстов на основе статистических параметров [Doctoral dissertation, Institute for Strategy of Education Development of the Russian Academy of Education]. Freereferats.ru. https://static.freereferats.ru/_avtoreferats/01002881899.pdf?ver=3 def flesch_reading_ease(main, text): if text.lang in main.settings_global['syl_tokenizers']: text = get_counts(main, text) @@ -373,9 +387,9 @@ def gulpease_index(main, text): return gulpease_index # Gunning Fog Index -# References: +# Reference: # Gunning, R. (1968). The technique of clear writing (revised ed.). McGraw-Hill Book Company. -# Indeks czytelności FOG. (2022, September 12). In Wikipedia. https://pl.wikipedia.org/wiki/Indeks_czytelno%C5%9Bci_FOG?oldid=68198881 +# Polish variant: # Pisarek, W. (1969). Jak mierzyć zrozumiałość tekstu?. Zeszyty Prasoznawcze, 4(42), 35–48. def gunning_fog_index(main, text): if text.lang.startswith('eng') or text.lang == 'pol' and text.lang in main.settings_global['syl_tokenizers']: @@ -410,9 +424,7 @@ def gunning_fog_index(main, text): return fog_index # Legibilidad µ -# References: -# Muñoz Baquedano, M. (2006). Legibilidad y variabilidad de los textos. Boletín de Investigación Educacional, Pontificia Universidad Católica de Chile, 21(2), 13–26. -# Muñoz Fernández, A. (2016). Analizador de legibilidad de texto. Legible. https://legible.es/ +# Reference: Muñoz Baquedano, M. (2006). Legibilidad y variabilidad de los textos. Boletín de Investigación Educacional, Pontificia Universidad Católica de Chile, 21(2), 13–26. def legibility_mu(main, text): if text.lang == 'spa': text = get_counts(main, text) diff --git a/wordless/wl_measures/wl_measures_statistical_significance.py b/wordless/wl_measures/wl_measures_statistical_significance.py index e88eeb398..fc8118055 100644 --- a/wordless/wl_measures/wl_measures_statistical_significance.py +++ b/wordless/wl_measures/wl_measures_statistical_significance.py @@ -61,7 +61,7 @@ def yatess_correction(c11, c12, c21, c22, e11, e12, e21, e22): return c11, c12, c21, c22 # Fisher's Exact Test -# References: Pedersen, T. (1996). Fishing for exactness. In T. Winn (Ed.), Proceedings of the Sixth Annual South-Central Regional SAS Users' Group Conference (pp. 188-200). The South–Central Regional SAS Users' Group. +# References: Pedersen, T. (1996). Fishing for exactness. In T. Winn (Ed.), Proceedings of the Sixth Annual South-Central Regional SAS Users' Group Conference (pp. 188–200). The South–Central Regional SAS Users' Group. def fishers_exact_test(main, c11, c12, c21, c22): direction = main.settings_custom['measures']['statistical_significance']['fishers_exact_test']['direction']