Icon

01 Text processing

There has been no title set for this workflow's metadata.

There has been no description set for this workflow's metadata.

Processing song lyrics to display a tag cloud. The overview of the process is:
1. Read the song data (Song info.table file) with Table Reader
2. Select a song of your choice
3. Converting lyrics into document data type
4. Coverting all letters to lower case letters
5. Removing all punctuation marks
6. Creating a bag of words -- a list of unique words appearing in the document
7. Counting how many times each word appears in the document
8. Visualization with the tag cloud.

Session 2 - Display

Workflow 01 Text Processing

1. Reading the song info table

2. Selecting a song by adjusting Row Filter

3. Converting the lyrics to document data type. Adding the title and the singer. The new column "Document" is added to the table. "Document" can be visualized by the Document Viewer node.

4.Converting all letters in the document to lower case

5.Removing all punctuation marks from the document data

6. Creating a bag of words from the document data. A bag of words is a collection of dintinct words appearing in the document

7. Counting how many times each word appears in the document. Also, converting Term data type to String data type

8. Generating a word cloud

Steps 3-7 above are turned into a metanode "Term frequency"

Bonus -- Simplified workflow with a metanode

Reading the song info
Table Reader
selecting a song
Row Filter
Lyrics info into document data
Strings To Document
Document Viewer
to lower case
Case Converter
Document Viewer
removing punctuation
Punctuation Erasure
selecting a song
Row Filter
Document Viewer
Generating a word cloud
Tag Cloud (JavaScript)
Bag of words
Bag Of Words Creator
Absolute term frequency
TF
Generating a word cloud
Tag Cloud (JavaScript)
Converting Term data type to String data type
Term To String
Term frequency
Reading the song info
Table Reader

Nodes

Extensions

Links