List of all feature counting functions
count_functions
Named list of all ferature counting functions
n_wordsNumber of words.
n_uq_wordsNumber of unique words.
n_charSNumber of characters. Not counting urls, hashtags, mentions or white spaces.
n_uq_charSNumber of unique characters. Not counting urls, hashtags, mentions or white spaces.
n_digitsNumber of digits.
n_hashtagsNumber of hashtags, word preceded by a '#'.
n_uq_hashtagsNumber of unique hashtags, word preceded by a '#'.
n_mentionsNumber of mentions, word preceded by a '@'.
n_uq_mentionsNumber of unique mentions, word preceded by a '@'.
n_commasNumber of commas.
n_periodsNumber of periods.
n_exclaimsNumber of exclamation points.
n_extraspacesNumber of times more then 1 consecutive space have been used.
n_capsNumber of upper case characters.
n_lowersNumber of lower case characters.
n_urlsNumber of urls.
n_uq_urlsNumber of unique urls.
n_nonasciisNumber of non ascii characters.
n_punctsNumber of punctuations characters, not including exclamation points, periods and commas.
politenessSummed sentiment value calculated using politeness_dict.
first_personNumber of "first person" words.
first_personpNumber of "first person plural" words.
second_personNumber of "second person" words.
second_personpNumber of "second person plural" words.
third_personNumber of "third person" words.
to_beNumber of "to be" words.
prepositionsNumber of preposition words.
In this function we refer to "first person", "first person plural" and so on. This list describes what words are contained in each group.
I, me, myself, my, mine, this.
we, us, our, ours, these.
you, yours, your, yourself.
he, she, it, its, his, hers.
they, them, theirs, their, they're, their's, those, that.
am, is, are, was, were, being, been, be, were, be.
about, below, excepting, off, toward, above, beneath, on, under, across, from, onto, underneath, after, between, in, out, until, against, beyond, outside, up, along, but, inside, over, upon, among, by, past, around, concerning, regarding, with, at, despite, into, since, within, down, like, through, without, before, during, near, throughout, behind, except, of, to, for.