string_stats 0.0.2+2

Dart native js
Flutter Android iOS web

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.

2
likes
100
pub points
43%
popularity

Publisher

almaclaine.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

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on string_stats