<commit_before><script type="text/javascript">
    RED.nodes.registerType('punctuate',{
        category: 'function',
        color: '#a6bbcf',
        defaults: {
            name: {value: '' }
        },
        inputs:1,
        outputs:1,
        icon: 'function.png',
        label: function() {
            return this.name||'punctuate';
        }
    });
</script>

<script type="text/x-red" data-template-name="punctuate">
    <div class="form-row">
        <label for="node-input-name"><i class="icon-tag"></i> Name</label>
        <input type="text" id="node-input-name" placeholder="Name">
    </div>
</script>

<script type="text/x-red" data-help-name="punctuate">
    <p>A simple node that punctuates a text string.</p>
    <p>There are two inputs:</p>
    <p>1) msg.transcription: the original text string to be punctuated</p>
    <p>2) msg.pause: the string signifying a "pause" in the original speech.  For Watson, this is typically "%HESITATION".</p>
    <p>The punctuated string will be output as msg.punctuated</p>
    <p>Based on the <a href="https://www.npmjs.com/package/node-red-contrib-punctuate">punctuate node module.</a></p>
</script><commit_msg>removed leftover comment in node description<commit_after><script type="text/javascript">
    RED.nodes.registerType('punctuate',{
        category: 'function',
        color: '#a6bbcf',
        defaults: {
            name: {value: '' }
        },
        inputs:1,
        outputs:1,
        icon: 'function.png',
        label: function() {
            return this.name||'punctuate';
        }
    });
</script>

<script type="text/x-red" data-template-name="punctuate">
    <div class="form-row">
        <label for="node-input-name"><i class="icon-tag"></i> Name</label>
        <input type="text" id="node-input-name" placeholder="Name">
    </div>
</script>

<script type="text/x-red" data-help-name="punctuate">
    <p>A simple node that punctuates a text string.</p>
    <p>There are two inputs:</p>
    <p>1) msg.transcription: the original text string to be punctuated</p>
    <p>2) msg.pause: the string signifying a "pause" in the original speech.  For Watson, this is typically "%HESITATION".</p>
    <p>The punctuated string will be output as msg.punctuated</p>
</script>
{'fraction_non_alphanumeric': 0.1646746347941567, 'fraction_numerical': 0.004426737494466578, 'mean_word_length': 2.876500857632933, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 0, '>': 53, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, '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': '2609931', 'n_tokens_mistral': 732, 'n_tokens_neox': 724, 'n_words': 179}