|
@@ -444,10 +444,6 @@ class WordFeatureExtractor(FeatureExtractor): |
|
|
""" |
|
|
""" |
|
|
logger.debug("WordFeatureExtractor setup") |
|
|
logger.debug("WordFeatureExtractor setup") |
|
|
|
|
|
|
|
|
# Validate input files |
|
|
|
|
|
if not self.input_files: |
|
|
|
|
|
raise ValueError("No input files provided") |
|
|
|
|
|
|
|
|
|
|
|
# Validate words - raise a notice if none provided |
|
|
# Validate words - raise a notice if none provided |
|
|
if len(words) == 0: |
|
|
if len(words) == 0: |
|
|
logger.warning("No words provided for detection") |
|
|
logger.warning("No words provided for detection") |
|
|