Tools Home : HTML Tools : Distribution Graph

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

Distribution Graph
?
Summary

This tool creates a graphical distribution list of words in an HTML document, either from a web address or uploaded from the user’s files. The subtext can be distributed in percentage blocks of text, over specific HTML elements, or chunks of a user-defined number of words. The results may be viewed as an SVG graph, a graph generated with JavaScript, as HTML or as tab-delimited 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 Distribution Graph entry here. A glossary of terms is also available here.

Walkthrough

To generate a distribution graph for http://www.w3.org/, search only the text found between <p> and </p> for the word 'web' and display the results as a JavaScript graph:
  1. Source text
    1. Enter ‘http://www.w3.org/’ into the ‘URL’ field.
  2. Subtext limited to
    1. Click the radio button next to 'Distribute over element' and enter ‘p’ in the text field.
  3. What to find
    1. Enter 'web' in the 'Word/Pattern' field.
  4. Results
    1. Set ‘Display as’ to ‘Java applet’.
  5. Click the ‘Submit’ button to process the text.
*
» Source text
  Example: http://taporware.ualberta.ca/einstein-bio.html

?
Summary

This section determines the source of the document you wish the tool to process. HTML can be obtained either from a web address or by uploading a file.

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.

Local file
To upload an HTML (.html) file from your computer, choose ‘Local file,’ click ‘Browse,’ and select the file you wish to use from your directory.
» Subtext limited to




?
Summary

This section determines the graph's distribution based on HTML elements, percentage of the text, or number of words per chunk.

Fields

Distribute over ___% block of text
This field allows the text to be broken down into chunks based on percentage. For example, 10% will split the text into ten chunks and give the distribution of the word or pattern in each, while 1% will split it into 100 units, and 25% will split it into four.

Distribute over Element
This field allows a specific HTML element, such as 'p', to be used as a distribution unit. The text contained within each instance of that element becomes a chunk for the distribution graph.

Distribute over chunks of ____ words
This field allows the user to break the text into chunks based on the number of words per chunk.

Show relative distribution
Check this box to enable relative distribution on the graph.
*
» What to find
?
Summary

This section allows the source text to be searched for words, phrases or patterns.

Fields

Word/Pattern
Use this field to filter results based on the word, phrase or pattern (regular expression) entered here. To search multiple words without the tool treating them as a phrase, separate words with commas (Ex: red, orange, purple). To search for a phrase, enter it as it appears in the text - quotation marks are not needed (Ex: wine-dark sea, not "wine-dark sea"). Unix-style searching may also be used.

Get Synonyms
If searching a word, this button generates a list of synonyms in a new window. To search the original word plus synonymns, copy the comma-separated list in the text box of the new window and paste it into the Word/Pattern field. Note: Concordance only.

Exclude modified Glasgow Stop Words
Choose this option to filter the modified Glasgow Stop Words list out of the final list Note: Collocation only.
» Results
`*' indicates a required field

 

 

TAPoRware Project, McMaster University,