dc6d35a5b3dfb6b4bc9981e52cb6ccde4299e3a2,soynlp/predicator/_predicator.py,PredicatorExtractor,extract,#PredicatorExtractor#Any#Any#Any#Any#Any#,180
Before Change
self._num_of_covered_eojeols = 0
if self.extract_eomi:
raise NotImplemented
if self.extract_stem:
raise NotImplemented
After Change
self._num_of_covered_eojeols = 0
if self.extract_eomi:
eomi_extractor = EomiExtractor(
lrgraph = self.lrgraph,
stems = self._stems,
nouns = self._nouns,
min_num_of_features = 5,
verbose = self.verbose,
logpath = None
)
extracted_eomis = eomi_extractor.extract(min_count=20)
extracted_eomis = {eomi for eomi in extracted_eomis if not (eomi in self._eomis)}
self._eomis.update(extracted_eomis)
if self.verbose:
message = "{} eomis have been extracted".format(len(extracted_eomis))
self._print(message, replace=False, newline=True)
if self.extract_stem:
raise NotImplemented
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: lovit/soynlp
Commit Name: dc6d35a5b3dfb6b4bc9981e52cb6ccde4299e3a2
Time: 2018-08-26
Author: soy.lovit@gmail.com
File Name: soynlp/predicator/_predicator.py
Class Name: PredicatorExtractor
Method Name: extract
Project Name: lovit/soynlp
Commit Name: e46c04f3451e4916773148cef1acc15b27651440
Time: 2018-11-05
Author: soy.lovit@gmail.com
File Name: soynlp/pos/_pos.py
Class Name: POSExtractor
Method Name: _separate_verb_adjective
Project Name: Rostlab/nalaf
Commit Name: 61d4a5ce735a208a9cb214bb7227f822ceaae5c5
Time: 2017-01-30
Author: i@juanmi.rocks
File Name: nalaf/learning/lib/sklsvm.py
Class Name: SklSVM
Method Name: set_allowed_feature_names