Icon

TextKleaner

TextKleaner
Annotations and comments
  • TextKleaner A Knime workflow for preparing textual datasets for topic modelling and other types of analysis. Created by Angus Veitch, January 2020. Version 0.1.1.
  • 1. Load data and scrub text Select your dataset (in either CSV or KNIME's table format), create unique document IDs, and scrub the text to make it ready for further processing.
  • 2. Filter documents by relevance, terms or topics Find and remove unwanted documents from your dataset. The excluded documents are saved in a separate file, which you can review at any stage.
  • 3. Find duplicates and remove boilerplating Detecting duplicated documents is highly recommended if you plan to tag ngrams or use topic modelling.
  • 4. Tag and filter terms Tag names and ngrams, standardise plurals and other variants, and remove terms that are rare or uninformative. The outputs will be suitable for topic modelling or term frequency analyses.
  • Remove DocID column
  • DocID
  • Words to exclude
  • Retained terms
  • NgramID
  • One row per doc
  • Docs per ngram
  • Join ngrams per doc
  • Ngrams per doc
  • Ngram density
  • MOVE
  • Ngram density threshold
  • Ngram is in at least 2 docs
  • Assign status
  • Uniques
  • Review results
  • Load scrubbed documents
  • Save duplicate info
  • Top= no dup-info
  • Check for dup-info.csv
  • Exclude duplicates
  • Add manually excluded terms
  • Top= terms to exclude
  • DFs
  • DF rel
  • filteredDocs
  • Make replacements
  • Exclude all-caps
  • Exclude @xxx
  • Exclude #xxx
  • Average ratio per term
  • Root forms per variant
  • Root-Variant ratio
  • View topics
  • Exclude terms with multiple roots
  • Terms with multiple roots
  • Retain if ratio > 0
  • One variant per iteration
  • Counts of stripped terms
  • Variant forms
  • Include selected rows
  • Root forms
  • Tense conversions
  • Limit number of docs
  • Save list
  • Remove NEs
  • Bottom= No title
  • Merge title with text
  • Current iteration
  • Bottom= contains phrase
  • Top= Docs to exclude
  • Save filtered data
  • Load scrubbed texts
  • Bottom= excluded docs
  • Sentence score
  • Normalise scores
  • Lowercase
  • Remove punctuation
  • Sentence lengths
  • SentenceID
  • Sentence marker
  • Strip quotes
  • Replace topic names
  • Number of themes
  • SuperCluster threshold
  • Number of terms
  • Sum allocations
  • Join texts
  • Unwanted topics only
  • Minimum allocation
  • Allocation threshold
  • Unwanted topics
  • Review texts
  • Check for dup-info
  • DFrel
  • TF per doc
  • Exclude DocIDs
  • Load exclusion list
  • Add duplicates
  • Relevant copies
  • Copies only
  • Duplicate list
  • Save filtered docs
  • Save excluded documents
  • Exclude selected documents
  • Totals
  • ThemeNum
  • Initial term limit
  • Trim by num. characters
  • Trim incomplete terms
  • Throughput folder
  • Workflow group folder
  • Exclude if no match
  • File format
  • Load input data (Knime format)
  • Required columns
  • Extra columns
  • Title
  • Mean distance
  • Stub
  • Top row
  • Sort by distance
  • Exclude if below threshold
  • Unique stubs
  • Must have boilerplate
  • Bottom= clusters
  • Start of text
  • Min group size
  • Max length
  • Boilerplate text
  • Bold formatting
  • RESET this node each time
  • Top= Has boilerplate
  • Remove boilerplate
  • Exclude selected
  • Save scrubbed docs
  • DocIDs
  • Delete exclusion record
  • Load excluded documents
  • Save processed docs
  • Remove multiple spaces
  • Replacements
  • Manual additions
  • Set NPMI to 1.0
  • Length
  • NPMI x DF
  • Exclude short ngrams
  • Filter by DF
  • Filter by NPMI x DF
  • Sort
  • totalDocs
  • Term1
  • Term2
  • TF rel of ngram
  • NPMI
  • Retain only words
  • First two terms
  • Second two terms
  • Avg NPMI
  • Stopword list
  • Filter by first word
  • Filter by last word
  • Minimum word lengths
  • Exclude rare terms
  • Save ngram list
  • Open saved list
  • Replace " s" with apostrophe
  • Replace separator
  • "Organisation" to "Organization"
  • Group by lowercase and NE type
  • Count spaces
  • Standardised form
  • Edit NE types or remove names
  • Sum lowercase DF
  • Join lowercase to uppercase DFs
  • Percent capitalised
  • Top= Capitalised
  • Exclude if contains too many spaces
  • Exclude if too rarely capitalised
  • Min 3 chars
  • Standardised NE types
  • Top= NEs
  • Replacements table
  • Join less frequent variants
  • Rank variants by frequency
  • Pick highest rank
  • Update replacements
  • Add replacement
  • Sum DF by term
  • Join TFs
  • Tokenise documents
  • TF rel
  • TFIDF
  • Exclude NEs
  • Make replacements from topic
  • List topics
  • Restrict to current topic
  • Subtract 1 from index
  • Rank terms by weight
  • Index number for topics
  • Person names only
  • Select documents containing topic
  • Pick topic matched to iteration number
  • Full names
  • Title and last name
  • Titles per name
  • Consolidate last name DFs
  • Exclude if multiple titles
  • Names with multiple titles
  • Add "Mc Xxx"
  • Join full names
  • Rank full names per last name
  • Retain top rank
  • Exclude missing
  • One-part names WHY??
  • Top = single-part names
  • Top = "Mr xxx"
  • Top = "Mc Xxx"
  • Extract last names
  • Replace separators
  • Number of topics
  • Exclude words
  • Standardisation replacements and separators
  • Exclude if in standardisation table
  • Includes space
  • Pivot by NE type
  • Number of spaces
  • Bottom= Invalid NE

Nodes

Extensions

Links