Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add primitives from nlp_primitives that do not require additional ext…
…ernal libraries (#2328) * lint * update release notes * fix count_string test * remove unnecessary try/except block
- Loading branch information
1 parent
c98d2ff
commit bb43b32
Showing
35 changed files
with
2,984 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
43 changes: 43 additions & 0 deletions
43
featuretools/primitives/standard/natural_language_primitives/api.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# flake8: noqa | ||
from featuretools.primitives.standard.natural_language_primitives.count_string import ( | ||
CountString, | ||
) | ||
from featuretools.primitives.standard.natural_language_primitives.mean_characters_per_word import ( | ||
MeanCharactersPerWord, | ||
) | ||
from featuretools.primitives.standard.natural_language_primitives.median_word_length import ( | ||
MedianWordLength, | ||
) | ||
from featuretools.primitives.standard.natural_language_primitives.num_unique_separators import ( | ||
NumUniqueSeparators, | ||
) | ||
from featuretools.primitives.standard.natural_language_primitives.number_of_common_words import ( | ||
NumberOfCommonWords, | ||
) | ||
from featuretools.primitives.standard.natural_language_primitives.number_of_hashtags import ( | ||
NumberOfHashtags, | ||
) | ||
from featuretools.primitives.standard.natural_language_primitives.number_of_mentions import ( | ||
NumberOfMentions, | ||
) | ||
from featuretools.primitives.standard.natural_language_primitives.number_of_unique_words import ( | ||
NumberOfUniqueWords, | ||
) | ||
from featuretools.primitives.standard.natural_language_primitives.number_of_words_in_quotes import ( | ||
NumberOfWordsInQuotes, | ||
) | ||
from featuretools.primitives.standard.natural_language_primitives.punctuation_count import ( | ||
PunctuationCount, | ||
) | ||
from featuretools.primitives.standard.natural_language_primitives.title_word_count import ( | ||
TitleWordCount, | ||
) | ||
from featuretools.primitives.standard.natural_language_primitives.total_word_length import ( | ||
TotalWordLength, | ||
) | ||
from featuretools.primitives.standard.natural_language_primitives.upper_case_count import ( | ||
UpperCaseCount, | ||
) | ||
from featuretools.primitives.standard.natural_language_primitives.whitespace_count import ( | ||
WhitespaceCount, | ||
) |
Oops, something went wrong.