<commit_before>package araword.tts.strategy;

import java.io.IOException;

public class WindowsSapiTtsStrategy implements TtsStrategy {

	@Override
	public void play(String text) {

		class SapiReader implements Runnable {
			String text;

			SapiReader(String s) {
				this.text = s;
			}

			public void run() {
				try {
					Runtime.getRuntime().exec(".\\bin\\tts.exe \"" + this.text + "\"");
				} catch (IOException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
			}
		}

		Thread t = new Thread(new SapiReader(text));
		t.start();
	}

	@Override
	public void setCurrentVoice(String text) {}
<commit_msg>tts label added (general preference dialog)<commit_after>package araword.tts.strategy;

import java.io.IOException;

public class WindowsSapiTtsStrategy implements TtsStrategy {

    @Override
    public void play(String text) {

        class SapiReader implements Runnable {
            String text;

            SapiReader(String s) {
                this.text = s;
            }

            public void run() {
                try {
                    Runtime.getRuntime().exec(".\\bin\\tts.exe \"" + this.text + "\"");
                } catch (IOException e) {
                    // TODO Auto-generated catch block
                    e.printStackTrace();
                }
            }
        }

        Thread t = new Thread(new SapiReader(text));
        t.start();
    }

    @Override
    public void setCurrentVoice(String text) {}

{'fraction_non_alphanumeric': 0.11014103425117529, 'fraction_numerical': 0.0, 'mean_word_length': 1.9859719438877756, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6438005', 'n_tokens_mistral': 480, 'n_tokens_neox': 415, 'n_words': 103}