Download TFf User Guide - Distributed Computing Systems
Transcript
Textflo User Guide 3.8 Remove all lines that are empty/blank, or only have whitespace: Name: Remove blank lines > 1 Input: the current text. Output: current text with a maximum of only 1 blank line between text paragraphs. 12.3.5 Remove the words in the word file from the text Remove all words in the list from the text: Name: Remove words Input: current text, list of words to remove. Output: current text with the words in the list removed. 12.3.6 Keep only the words in the word file in the text Keep only the words in the list in the text: Name: Keep only words Input: current text, list of words to keep. Output: current text with only the words in the list kept. 12.3.7 Remove duplicate lines Remove duplicate lines from the text – that is – only allow one instance of each line, but exactly as it is printed. This is case and space sensitive: Name: Remove duplicate lines Input: current text. Output: current text with only one instance of each line. 12.3.8 Remove duplicate words Remove duplicate words from the text – that is – only allow one instance of each word. This is not case sensitive: Name: Remove duplicate words Input: current text. Output: current text with only one instance of each word. 12.3.9 Remove duplicate words in sequence Remove duplicate words from a text sequence – that is – only allow one instance of each word. A word is removed if it is the same as the previous word. This is not case sensitive: Name: Remove duplicate words in sequence Input: current text. Output: current text with only one instance of each word in the sequence. 63