Icon

04 Cleaning and Filtering

Annotations and comments
  • Exercise: Document Cleaning and Filtering In this exercise you'll reduce and clean the agenda text of the L4-TP instructor-led course. 1) Execute the Tagged document metanode. It applies POS and NE tagging to the agenda text. 2) Remove punctuation from the text 3) Convert all tokens to lower case 4) Filter out stop words using the built-in list and a custom list with the following words: "session", "word", "agenda". Check the Ignore unmodifiable flag option. 5) Filter the document to proper nouns (POS tags NNP and NNPS). Check the Ignore unmodifiable flag option. 6) Exclude locations, organizations and "unknown" NE tags. Check the Ignore unmodifiable flag option. 7) Inspect the result with the Tagged Document Viewer node. What are the first three tokens in the document?
  • built-in and custom list
  • session word agenda
  • only nouns
  • ignore NE location, organization, unknown
  • Parts of speech
  • Regular expressions
  • Read course agenda as pdf
  • Session identifiers

Nodes

Extensions

Links