Tools Home : XML Tools : Find Text -- Fixed Phrase

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

Find Text -- Fixed Phrase
?
Summary

This tool locates fixed phrases containing a user-specified word within an XML document, located either at a user-specified web address or uploaded from the user’s files, and displays the phrases in a text-based, SVG graph or JavaScript format.

This tool was contributed to TAPoR by Academic Computing Services, New York University.

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 Fixed Phrase entry here. A glossary of terms is also available here.

Walkthrough

To process the text found within http://www.xml.com/1999/03/ie5/first-x.xml, extract phrases of up to 5 words containing the word 'web' and display the results as an interactive graph:
  1. Source text
    1. Enter ‘http://www.xml.com/1999/03/ie5/first-x.xml’ into the ‘URL’ field.
  2. What to find
    1. Enter ‘web’ in the ‘Word’ field.
    2. Enter '10' in the 'Context Length' field.
  3. Results
    1. Set the ‘Display as’ drop menu to ‘interactive graph’.
  4. Click the ‘Submit’ button to process the text.
*
» Source text
  Example: http://taporware.ualberta.ca/sampleDocs/interact2.xml

?
Summary

This section determines the source of the document you wish the tool to process. XML 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) ending in .html in the field provided. Copy and paste from your browser’s address bar for best results.

Local file
To upload an XML (.xml) file from your computer, choose ‘Local file,’ click ‘Browse,’ and select the file you wish to use from your directory.
*
» What to find
?
Summary

This section determines what to search for within the document.

Fields

Word
Enter the desired word here. Please note that it cannot be a pattern or regular expression.

Context length
Enter a number here to set the size of the phrase containing the word entered above. For example, in the phrase 'she sells sea shells by the sea shore,' a search around the word 'shells' with a context width of three might find the phrase 'she sells sea shells by the sea,' while a context width of one would find the phrase 'sea shells by' instead.
» 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

Display as
This drop-down lists enables users to choose from several output formats: fixed phrase list, SVG graph, annotated fixed phrase list or interactive graph. Please note that the interactive graph requires JavaScript.

Open results in new window
Checking this box will display the results in a new window. 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,