def __init__(self, db): GraphBuilder.__init__(self, db) self._min_distance_threshold = float( self._config_parser.get(self.__class__.__name__, "min_distance_threshold")) self._distance_dict = {}
def __init__(self, db): GraphBuilder.__init__(self, db) if self._domain == u'Microblog': self._tokenizer = TweetTokenizer() else: self._tokenizer = SpaceTokenizer()
def __init__(self, db): GraphBuilder.__init__(self, db) self._connection_types = self._config_parser.eval( self.__class__.__name__, "connection_types") self._similarity_functions = self._config_parser.eval( self.__class__.__name__, "similarity_functions") self._word_embedding_table_name = self._config_parser.eval( self.__class__.__name__, "word_embedding_table_name")
def __init__(self, db): GraphBuilder.__init__(self, db) self._min_number_of_common_posts = int( self._config_parser.get(self.__class__.__name__, "min_number_of_common_posts")) self._min_number_of_posts_per_author = int( self._config_parser.get(self.__class__.__name__, "min_number_of_posts_per_author"))
def __init__(self, db): GraphBuilder.__init__(self, db) self._author_guid_posts_dict = {} self._author_guid_bag_of_words_dict = {} self._word_dict = {} if self._domain == u'Microblog': self._tokenizer = TweetTokenizer() else: self._tokenizer = SpaceTokenizer()
def __init__(self, db): GraphBuilder.__init__(self, db) self._connection_types = self._config_parser.eval( self.__class__.__name__, "connection_types") self._topic_distr_features_min_distance_threshold = \ self._config_parser.eval(self.__class__.__name__, "topic_distr_features_min_distance_threshold") self._topic_distr_features = \ self._config_parser.eval(self.__class__.__name__, "topic_distr_features") self._profile_prop_features_min_distance_threshold = \ self._config_parser.eval(self.__class__.__name__, "profile_prop_features_min_distance_threshold") self._profile_prop_features = \ self._config_parser.eval(self.__class__.__name__, "profile_prop_features")
def __init__(self, db): GraphBuilder.__init__(self, db) self._twitter_api_requester = TwitterApiRequester()
def __init__(self, db): GraphBuilder.__init__(self, db) self._min_distance_threshold = self._config_parser.eval( self.__class__.__name__, "min_distance_threshold") self._author_guid_topics_vector_dict = {}
def __init__(self, db): GraphBuilder.__init__(self, db)
def __init__(self, db): GraphBuilder.__init__(self, db) self._min_number_of_cocited_posts = int( self._config_parser.get(self.__class__.__name__, "min_number_of_cocited_posts"))