string_stats 0.0.2+2 copy "string_stats: ^0.0.2+2" to clipboard
string_stats: ^0.0.2+2 copied to clipboard

outdated

string_stats provides utility functions and classes for determining basic frequency statistics on strings. Provides support for asynchronous or incremental accumulation. Includes word count, character [...]

string_stats #

API In Fluid State #

Library is still in 0.0.* semver and any opinions on how the final API should work is appreciated. Particularly looking for help to strictly define what each of the utilities should do.

Description #

string_stats provides utility functions and classes for determining basic frequency statistics on strings. Provides support for asynchronous or incremental accumulation. Includes word count, character count, character frequency, word frequency, line count and more.

Utilities #

Utility Functions #

  • allCharFrequency
  • allPositionsWord
  • allWordFrequency
  • allWordsPositions
  • charCount
  • charFrequency
  • emptyLineCount
  • firstPositionWord
  • lineCount
  • nonEmptyLineCount
  • statistics
  • subStringFrequency
  • wordCount
  • wordFrequency

Utility Classes #

  • AllCharFrequencyCounter
  • AllWordFrequencyCounter
  • CharCounter
  • CharFrequencyCounter
  • StatisticsCounter
  • WordCounter
  • WordFrequencyCounter

String Extensions #

  • where(bool Function(String))
  • isNumeric
  • isPunctuation
  • isChar
  • isWhiteSpace
  • generateUnicodeString

Return Class #

  • StringStatistics

Features and bugs #

Please file feature requests and bugs at the issue tracker.

6
likes
0
pub points
75%
popularity

Publisher

verified publisheralmaclaine.com

string_stats provides utility functions and classes for determining basic frequency statistics on strings. Provides support for asynchronous or incremental accumulation. Includes word count, character count, character frequency, word frequency, line count and more.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on string_stats