Skip to content

FloraCanou/charfreak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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