Tools Home : Plain Text Tools : List Word Pairs

Click here to show HTML tools HTML Tools

Click here to expand XML tools XML tools

Click here to expand plain text tools Plain Text Tools

Click here to expand other tools Other tools

 Beta tools
 Add Tools Demo
 Manual
 About

List Word Pairs
?
Summary

This tool lists all the word pairs found within a text document, either from a URL or uploaded from the user's files, narrowed from a set of limitations. The results can include all word pairs, including words matching a pair, specifying words to include, or containing or excluding only the words on a specified word list.

Note: If an HTML or XML text is submitted, the tool will strip all tags and process it as plain text.

Please click the ? buttons at the bottom right of each set of options for more information on that set.

For further information on this tool, please see the TADA Wiki's List Word Pairs entry here. A glossary of terms is also available here.

Walkthrough To show all word pairs from http://tada.mcmaster.ca/wikita/pub/Main/ToolTestingTexts/GulliversTravels.txt where neither word appears on the modified Glasgow Stop Words list, sort the pairs by order of appearance and display them in an HTML page:
  1. Source text
    1. Enter `http://tada.mcmaster.ca/wikita/pub/Main/ToolTestingTexts/GulliversTravels.txt' in the 'URL' field;
  2. Word Pairs limited to
    1. Click the radio button next to 'Neither words in teh list below'.
    2. Click the radio button next to 'Use modified Glasgow Stop Words'.
  3. Results
    1. Choose 'Order of appearance' from the 'Sort' drop menu.
    2. Choose 'HTML' from the 'Display as' drop menu.
    3. Click the 'Submit' button to process the text.
*
» Source text
  Example: http://taporware.ualberta.ca/sampleDocs/plainText.txt


?
Summary

This section determines the source of the document you wish the tool to process.

Fields

Source URL
To use content from a web page, enter a full web address (URL) in the field provided. Copy and paste from your browser’s address bar for best results. If the web address directs to an HTML or XML document instead of plain text, the tool will strip all tags and process it as plain text.

Local file
To upload a plain text (.txt) file from your computer, choose ‘Local file,’ click ‘Browse,’ and select the file you wish to use from your directory.

» Word pairs limited to ?
    All word pairs -- ignore all punctuation
    All word pairs -- treat sentence as unit
    At least one word matching pattern:
    At least one word in the list below  
    Neither words in the list below
         Word list typed in: (separate words by ',')
         Text file with words:
         Use modified Glasgow Stop Words (At least one word not in the stop list only)
?
Summary

This section allows the user to choose what will be included in the final word pairs.

Fields

All word pairs -- ignore all punctuation
All words will be included in the pairs, even those separated by punctuation.

All word pairs -- treat sentences as unit
All words will be included in pairs, as long as both words appear in the same sentence.

At least one word matching pattern:
One word in the pair must match the string or regular expression entered here.

At least one word in the list below
Select this option to only include pairs that contain words on a user-specified list, either typed into the field provided or contained in a text file from the user's documents.

Neither words in the list below
Select this option to only include pairs that do not contain words on a user-specified list, either typed into the field provided or contained in a text file from the user's documents.
Word list typed in
Type in a list of words separated by commas into this field to include or exclude pairs containing those words. The user must also choose either ‘Words in the list below’ or ‘Words not in the list below'.

Text file with words
Choose this option to upload a text (.txt) file of words to include or exclude. The list must be separated by commas (ex: red, orange, green, purple). The user must also choose either ‘Words in the list below’ or ‘Words not in the list below'.

Use modified Glasgow Stop Words
Click this option to filter the modified Glasgow Stop Words list out of the final list.
» Results
?
Summary

This section allows users to choose how the results will be formatted, and whether to display it in a new browser window.

Fields

Sort
This drop-down lists enables users to choose from several sort options: Alphabetically, Order of first appearance, By frequency, or By reversed alphabetic order.

Display as
This drop-down lists enables users to choose from several output formats: HTML, XML text in HTML, XML tree, and Tab delimited text.

Open results in new window
Check this box to display the results in a new window or browser tab. This option is selected by default. Some pop-up blockers may prevent a new window from being opened; if so, un-check the box to open the results in the same window instead.
`*' indicates a required field

 

 

TAPoRware Project, McMaster University,