def __init__(self):
        self.__db_manager = DBManager()
        self.__helper = GeneralHelpers()
        self.__plot_manager = PlotManager()
        self.__import_manager = ImportManager()
        self.__feature_manager = FeatureManager()

        self.years = ("2012", "2013", "2014", "2015")
Exemplo n.º 2
0
    def __init__(self):
        """
        Constructor method
        :param file_path_to_import: String a txt file path containing tweet ids
        :return: ImportManager instance
        """

        self.__db_manager = DBManager()
        self.__helper = GeneralHelpers()
        self.__preprocess_manager = PreprocessManager()
        self.__tweets_classes_dictionary = {}

        # magic numbers
        self.__components_in_a_line = 2
        self.__max_num_of_tweets_at_once = 100
 def __init__(self):
     Preprocessor.__init__(self)
     self.__helper = GeneralHelpers()
     self.__root_cache = self.__helper.load_roots_cache()
     self.__suggestion_cache = self.__helper.load_suggestion_cache()
     self.__dictionaries_directory = PROJECT_ROOT_DIRECTORY + DICTIONARIES_DIR_NAME
 def __init__(self):
     self.__first_year = 2012
     self.__helper = GeneralHelpers()
     self.__colors = ['r', 'b', 'y', 'm', 'g', 'c', 'k']
     self.__years = ('2012', '2013', '2014', '2015')
     self.__regexp_for_predict_lines = "\d{1,}\s{1,}\d{1}:\w{1,8}.{1,}"