--no_metafeats

Switch

--no_metafeats

Description

If given, do not extract meta features (word, message length) with ngrams.

Argument and Default Value

No argument. Sets metafeats to False; default (flag absent) is True.

Details

By default, --add_ngrams produces both the n-gram table (e.g. feat$1gram$...) and a parallel meta-features table (feat$meta_1gram$...) with word/message-length statistics. Passing this switch skips creation of the meta table.

Other Switches

Required Switches: --add_ngrams Optional Switches: None

Example Commands

Using the packaged dla_tutorial dataset (see Differential Language Analysis (DLA) Tutorial):

dlatkInterface.py -d dla_tutorial -t msgs -c user_id --add_ngrams --no_metafeats

Without --no_metafeats, this would create both feat$1gram$msgs$user_id (the 1gram table) and feat$meta_1gram$msgs$user_id. --no_metafeats turns off creation of the latter.