Original Idea: https://physionet.org/content/ibs/1.0.0/ or
Yang AC, Peng C-K, Yien H-W, Goldberger AL: Information categorization approach to literary authorship disputes. Physica A 2003, 329:
473–483.
I just implemented it.
under Linux:
./run file1.txt file2.txt
Please ensure the locale of two files are the same.
Also noted that this program are used for wide char articles
g++ ibs-article.cpp -o run