Sha256: 38fccbe139ad804117af3912ba518972a08e15e3ff84fada6d8e5c33c1d0009d
Contents?: true
Size: 228 Bytes
Versions: 317
Compression:
Stored size: 228 Bytes
Contents
module Phrase open System.Text.RegularExpressions let wordCount (phrase: string) = Regex.Matches(phrase.ToLowerInvariant(), @"\w+('\w+)*") |> Seq.cast<Match> |> Seq.countBy (fun m -> m.Value) |> Map.ofSeq
Version data entries
317 entries across 317 versions & 1 rubygems