Skip to content

Commit

Permalink
Add primitives from nlp_primitives that do not require additional ext…
Browse files Browse the repository at this point in the history
…ernal libraries (#2328)

* lint

* update release notes

* fix count_string test

* remove unnecessary try/except block
  • Loading branch information
thehomebrewnerd committed Oct 20, 2022
1 parent c98d2ff commit bb43b32
Show file tree
Hide file tree
Showing 35 changed files with 2,984 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/source/release_notes.rst
Expand Up @@ -7,6 +7,7 @@ Future Release
==============
* Enhancements
* Add ExponentialWeighted primitives and DateToTimeZone primitive (:pr:`2318`)
* Add 14 natural language primitives from ``nlp_primitives`` library (:pr:`2328`)
* Fixes
* Changes
* Documentation Changes
Expand All @@ -15,7 +16,7 @@ Future Release
* Testing Changes

Thanks to the following people for contributing to this release:
:user:`gsheni`, :user:`sbadithe`
:user:`gsheni`, :user:`sbadithe`, :user:`thehomebrewnerd`

v1.15.0 Oct 6, 2022
===================
Expand Down
1 change: 1 addition & 0 deletions featuretools/primitives/standard/api.py
Expand Up @@ -5,5 +5,6 @@
from featuretools.primitives.standard.datetime_transform_primitives import *
from featuretools.primitives.standard.exponential_transform_primitives import *
from featuretools.primitives.standard.latlong_transform_primitives import *
from featuretools.primitives.standard.natural_language_primitives.api import *
from featuretools.primitives.standard.rolling_transform_primitives import *
from featuretools.primitives.standard.transform_primitive import *
Empty file.
@@ -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,
)

0 comments on commit bb43b32

Please sign in to comment.