uniqueness-periods-vector-examples 0.5.0.0 → 0.5.1.0
raw patch · 4 files changed
+13/−3 lines, 4 filesdep ~uniqueness-periods-vector-stats
Dependency ranges changed: uniqueness-periods-vector-stats
Files
- ChangeLog.md +4/−0
- Proportion/Main.hs +1/−1
- README.md +6/−0
- uniqueness-periods-vector-examples.cabal +2/−2
ChangeLog.md view
@@ -40,3 +40,7 @@ just a simple visualization in ASCII). Besides, it counts totals on the words-per-line and prints it, added the possibility to change the number of the intervals as the second command line argument, and made some dependency changing related changes. Changed the dependency bounds for uniqueness-periods-vector-filters package. Added new dependency of uniqueness-periods-vector-stats package. ++## 0.5.1.0 -- 2020-09-19++* Fifth version revised A. Changed the dependency bounds of uniqueness-periods-vector-stats and used function from there in uniqVec03 executable.
Proportion/Main.hs view
@@ -76,7 +76,7 @@ data4 = filter (/= 0) data31 if null data4 then putStrLn (replicate 102 '-') >> putStrLn "1.000+-0.000\tALL!" >> putStrLn (replicate 102 '=') -- Well, this means that all the text consists of the unique (in phonetic meaning) words alongside every line. A rather rare occurrence. else do - let (mean1,disp) = meanWithDispF data4+ let (mean1,disp) = meanWithDisp data4 pairs = sort . filter ((/= 0) . snd) $ wordsCnt0_data32 f xs n = show . length . takeWhile (== n) . dropWhile (/= n) $ xs g m n = length . takeWhile (\(_,v) -> v == n) . dropWhile (\(_,v) -> v /= n) . takeWhile (\(u,_) -> u == m) . dropWhile (\(u,_) -> u /= m) $ pairs
README.md view
@@ -3,11 +3,17 @@ These files are created by the uniqVec03 executable after Lynx dumping the web pages from the links on the following pages: TarasShevchenko -- http://poetyka.uazone.net/kobzar/zmist.html+ IvanFranko -- http://poetyka.uazone.net/franko/+ OleksandrOles -- http://poetyka.uazone.net/oles/+ PavloTychyna -- http://poetyka.uazone.net/tychina/+ VolodymyrSosura -- http://poetyka.uazone.net/sosura/+ LinaKostenko -- http://poetyka.uazone.net/kostenko/+ WilliamShakespeare -- http://poetyka.uazone.net/shakespeare/ (the last one is translation of the original English versions into Ukrainian). -------------
uniqueness-periods-vector-examples.cabal view
@@ -3,7 +3,7 @@ -- http://haskell.org/cabal/users-guide/ name: uniqueness-periods-vector-examples-version: 0.5.0.0+version: 0.5.1.0 synopsis: Examples of usage for the uniqueness-periods-vector series of packages description: Examples of usage for the uniqueness-periods-vector series of packages. Several executables are planned to demonstrate the libraries work. homepage: https://hackage.haskell.org/package/uniqueness-periods-vector-examples@@ -37,6 +37,6 @@ main-is: Main.hs -- other-modules: other-extensions: CPP, BangPatterns- build-depends: base >=4.7 && <4.15, mmsyn6ukr >=0.8 && <1, vector >=0.11 && <0.14, uniqueness-periods-vector >=0.3 && <1, uniqueness-periods-vector-general >=0.4.2 && < 1, uniqueness-periods-vector-common >=0.3 && <1, uniqueness-periods-vector-properties >=0.3.1 && <1, print-info >=0.1.3 && <1, phonetic-languages-ukrainian >=0.2 && <1, uniqueness-periods-vector-filters >=0.2 && <1, uniqueness-periods-vector-stats >=0.1.1 && <1+ build-depends: base >=4.7 && <4.15, mmsyn6ukr >=0.8 && <1, vector >=0.11 && <0.14, uniqueness-periods-vector >=0.3 && <1, uniqueness-periods-vector-general >=0.4.2 && < 1, uniqueness-periods-vector-common >=0.3 && <1, uniqueness-periods-vector-properties >=0.3.1 && <1, print-info >=0.1.3 && <1, phonetic-languages-ukrainian >=0.2 && <1, uniqueness-periods-vector-filters >=0.2 && <1, uniqueness-periods-vector-stats >=0.1.2 && <1 hs-source-dirs: Proportion default-language: Haskell2010