Count Task

 

Back to Main Help

A Count Task takes any Text column as input and generates one numeric Count column.  

Each resulting Count column counts a count of the matches (mentions) of a Pattern or a list of Patterns in the input text.   Each Pattern can be a word or phrase, search query, or regular expression.  See Using Patterns.    

.

In the example above, the “Clothes-Count” column is generated by a Count Task that uses the “Response Text” column as input and counts the occurrences of words related to clothing from a ‘Clothes’ Term List.

What’s Needed

To create a Count Task, the prerequisite objects are:

·      Template – the new Task will be added to this.

·      Input Column – a text column in the Template

·      (possibly) Term List  – if you want to count a list of patterns – not needed to count a single Pattern.

Creating a Count Task

Click Pipelines > Tasks then Create Task and select Type “Count”:

·      Name for the Count Task and a Description, if needed.

·      Template – Choose the template.

·      Input Column – Choose text column

·      If you check Count Term List then

o   Term List – the Term List of keywords or patterns.

·      otherwise

o   Pattern: A keyword, phrase, search query or regular expression

 

Check Show Matching Options? if your Pattern is a search query or regular expression or you want to change the default matching options, which are:

·      No wildcard characters

·      Case insensitive

·      Does not match partial words

See Matching Options Help for other options.

See Task Help for other Task parameters.

Next: Extract Tasks