<commit_before># -*- coding: utf-8 -*-
"""
Created on Wed Oct 28 11:06:44 2015

@author: danaukes
"""
#from . import QtCore
#from . import QtGui
#from . import QtSvg

import sys
argv = [item.lower() for item in sys.argv]
if '--pyqt4' in argv:
#    import PyQt4.QtGui as QtGui
#    import PyQt4.QtCore as QtCore
#    import PyQt4.QtSvg as QtSvg
#
#    QtCore.Signal = QtCore.SIGNAL
#    
#    QtCore.Qt.ItemSelectionMode.ContainsItemShape = 0
#    QtCore.Qt.ItemSelectionMode.IntersectsItemShape = 1
#    QtCore.Qt.ItemSelectionMode.ContainsItemBoundingRect = 2
#    QtCore.Qt.ItemSelectionMode.IntersectsItemBoundingRect = 3
#
#    QtGui.QGraphicsView.DragMode.NoDrag = 0
#    QtGui.QGraphicsView.DragMode.ScrollHandDrag = 1
#    QtGui.QGraphicsView.DragMode.RubberBandDrag = 2
#    
    loaded = 'PyQt4'
    pyqt_loaded = True
    pyside_loaded = False
else:
#    import PySide.QtGui as QtGui
#    import PySide.QtCore as QtCore
#    import PySide.QtSvg as QtSvg
    loaded = 'PySide'
    pyqt_loaded = False
    pyside_loaded = True<commit_msg>cleanup of qt init<commit_after># -*- coding: utf-8 -*-
"""
Created on Wed Oct 28 11:06:44 2015

@author: danaukes
"""

import sys
argv = [item.lower() for item in sys.argv]
if '--pyqt4' in argv:
    loaded = 'PyQt4'
    pyqt_loaded = True
    pyside_loaded = False
else:
    loaded = 'PySide'
    pyqt_loaded = False
    pyside_loaded = True
{'fraction_non_alphanumeric': 0.10878962536023054, 'fraction_numerical': 0.02881844380403458, 'mean_word_length': 3.2347560975609757, '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': '6836384', 'n_tokens_mistral': 531, 'n_tokens_neox': 504, 'n_words': 125}