<commit_before># Prompter for Julius

![Screenshot](/screenshot.png)

Prompter is a perl/Tkx based tiny program that displays recognition results sent from [Julius](http://github.com/julius-speech/julius), like a scrolling caption.

# Requirement

Perl and Tkx extension is reuired to run this program.
Developed and tested on ActivePerl/win32.

# Usage

First, look at the header of the script and set Julius server name in "prompter.pl".
You can also change caption size, window location, colors, fonts, etc. 
Then,

1. Start prompter.pl.
2. Run Julius with `-module -progout -outcode Ww`.
3. After starting Julius, push "Connect" button to connect to Julius.

When connection was failed or lost, prompter will automatically continue retrying to connect for every 3 seconds, maximum at 60 seconds in total.

If text clutters, make sure the Julius outputs text in UTF-8 encoding!
  <commit_msg>Small fixes on README<commit_after># Prompter for Julius

![Screenshot](/screenshot.png)

Prompter is a tiny program that displays recognition results of [Julius](http://github.com/julius-speech/julius) as a scrolling caption style.

## Requirement

Perl and Tkx extension is required to run.  Developed and tested on ActivePerl/win32.

## Usage

First, look at the header part of the script, and set Julius server name.

You can also change caption size, window location, colors, fonts, etc. 

Then,

1. Start prompter.pl.
2. Run Julius with `-module -progout -outcode Ww`.
3. After starting Julius, push "Connect" button to connect to Julius.

When failed to connect, or connection was lost while running, prompter will automatically retry to connect for every 3 seconds, maximum at 60 seconds.

If displaying text clutters, make sure your Julius output result texts in UTF-8 encoding!

{'fraction_non_alphanumeric': 0.06898485698261357, 'fraction_numerical': 0.010095344924284913, 'mean_word_length': 4.357357357357357, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4241389', 'n_tokens_mistral': 554, 'n_tokens_neox': 507, 'n_words': 249}