/charfreak

Character frequency counter

Primary LanguageCGNU General Public License v3.0GPL-3.0

CharFreak

Character frequency counter

Description

This program counts characters and gives their respective frequencies in a text sample.

Features

  • Accepting UTF-8 text sample of any length

  • Effective exclusion of BOM

  • Optional filter of spaces, all punctuation marks or all non-alphabetical characters

  • Optional case sensitivity

  • Optional sorting method

  • Automatic counter resize

How to Build

Linux: Run compile.sh.

Windows: Install MSYS2 and GCC. Run compile.bat.

To Do List (Maybe)

  • Explicit UTF-8 reading algorithm (so as to enhance portability)

  • UTF-16 support

  • Passing command-line arguments

  • Manual page