<commit_before>#!/usr/bin/env python

import os
import sys
from subprocess import call

src = os.path.join(os.path.dirname(__file__), 'src')
ride = os.path.join(src, 'bin', 'ride.py')
os.environ['PYTHONPATH'] = src
try:
    call(['python', ride] + sys.argv[1:], shell=os.name=='nt')
except KeyboardInterrupt:
    pass<commit_msg>Edited to work also in windows<commit_after>#!/usr/bin/env python

import os
import sys

src = os.path.join(os.path.dirname(__file__), 'src')
sys.path.insert(0, src)

from robotide import main

try:
    main(sys.argv[1:])
except KeyboardInterrupt:
    pass
{'fraction_non_alphanumeric': 0.15726495726495726, 'fraction_numerical': 0.005128205128205128, 'mean_word_length': 4.801980198019802, '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': '7604741', 'n_tokens_mistral': 217, 'n_tokens_neox': 214, 'n_words': 51}