Exemple #1
0
 def feature_extractor_builder(self):
     return builder.wrap_word_level(
         extractors.WordEmbeddingFeatureExtractorBuilder(
             self.__feature_name, self.__initializer_name, self.__path,
             self.__lowercase), True)
Exemple #2
0
 def feature_extractor_builder(self):
     return builder.wrap_word_level(
         extractors.TrainableEmbeddingsExtractorBuilder(
             self.__feature_name, self.__threshold, self.__lowercase), True)
Exemple #3
0
 def feature_extractor_builder(self):
     return builder.wrap_word_level(
         extractors.ApplicableSuffixTransformationsBuilder(
             self.__feature_name, self.__rules_builder))
Exemple #4
0
 def labels_extractor_builder(self):
     return builder.wrap_word_level(
         extractors.LemmaCharFeatureExtractorBuilder(
             self.__label_name, self.__lemma_characters_config))
Exemple #5
0
 def labels_extractor_builder(self):
     return builder.wrap_word_level(
         extractors.LemmaSuffixTransformationFeatureExtractorBuilder(
             self.__label_name, self.__rules_builder))
Exemple #6
0
 def labels_extractor_builder(self):
     return builder.wrap_word_level(
         extractors.PosDictFeatureExtractorBuilder(self.__label_name,
                                                   self.__splitting))
Exemple #7
0
 def labels_extractor_builder(self):
     return builder.wrap_word_level(
         extractors.LemmaDictFeatureExtractorBuilder(self.__label_name))
Exemple #8
0
 def feature_extractor_builder(self):
     return builder.wrap_word_level(
         extractors.TokenCharactersFeatureExtractorBuilder(
             self.__feature_name, self.__config), True)
Exemple #9
0
 def feature_extractor_builder(self):
     return builder.wrap_word_level(
         extractors.SubwordEmbeddingFeatureExtractorBuilder(
             self.__feature_name, self.__initializer_name, self.__config),
         True)