CountWords Post-processing function can be used to get how many words contain in our extracted field result. For example, I have this scraping agent “CountWords Function Example (Post-Processing)” in my account and I want to know how many words contain the Name field for some internal use. So, I can use the CountWords Post-processing function to get the number of words in particular field.
Add a new field name something like CountWords in Name
The selector will be same as Name field have
Now, click on the
Add Post-processingbutton to add the
CountWordsPost-processing function, The below dialog box will appear
There is no parameter required in this function So just adding this, is enough
Then Save the function and the scraping agent configuration
And finally, re-run you agent to apply the changes.
After CountWords Function
If we look the updated result, we get how many words contained by field Name will represent the actual number of words in this field CountWords in Name .