<commit_before>import sys
import readline
sys.path.insert(0, "../settings/")
import settings
sys.path.insert(0, "../control/")
import motorControl

class command :
  def __init__(self, cmd):
    s = cmd.split();
    self.cmdName = s[0]
    self.cmdArg = []
    argList = s[1:]
    for arg in argList :
      pair = arg.split('=')
      self.cmdArg += [[pair[0],int(pair[1])]]

class commandLineInterface :
  def __init__(self,settingPath=None,debug=False):
    motorSettings = settings.MotorSettings(settingPath)
    self.motorControl = motorControl.MotorControl(motorSettings.get())       

  def start(self):
    isRunning = True
    while isRunning :
      try:<commit_msg>Correction cli<commit_after>import sys
import readline
sys.path.insert(0, "../settings/")
import settings
sys.path.insert(0, "../control/")
import motorControl

class command :
  def __init__(self, cmd):
    s = cmd.split();
    self.cmdName = s[0]
    self.cmdArg = []
    argList = s[1:]
    for arg in argList :
      pair = arg.split('=')
      self.cmdArg += [[pair[0],int(pair[1])]]

class commandLineInterface :
  def __init__(self,settingPath=None,debug=False):
    if settingPath != None :
      motorSettings = settings.MotorSettings(settingPath)
    else :
      motorSettings = settings.MotorSettings()
    self.motorControl = motorControl.MotorControl(motorSettings.get())       

  def start(self):
    isRunning = True
    while isRunning :
      try:
{'fraction_non_alphanumeric': 0.13730929264909847, 'fraction_numerical': 0.008321775312066574, 'mean_word_length': 3.3595166163141994, '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': '3067679', 'n_tokens_mistral': 472, 'n_tokens_neox': 458, 'n_words': 100}