Please enable JavaScript to view this site.

WordSmith Tools Help

 

Tags for your text

Each tag you define has to match the structure of your text. If it doesn't match you won't get the results you want.

 

tog_plus        detailed explanation

 

Tag Syntax

Each tag is case sensitive.

Tags conventionally begin with < and end with >. You will be asked to confirm any tag with different first & last characters.

The ideal format for use with WordSmith, for single-word mark-up, is <TAG>word. In other words your tag immediately precedes the word it refers to. Tag as prefix to word. For longer stretches, <OPENING_TAG>blah blah blah</OPENING_TAG>. In other words a tag is used to signal the start of mark-up, and / plus the same tag is used to signal the end.

 

You can use

 * to mean any sequence of characters;

 ? to mean any one character;

 # to mean any numerical digit.

 

Don't use [ to insert comments in a tag file, since [ is useful as a potential tag symbol. You can use # to represent a number (e.g. <h#> will pick up <h5>, <h1>, etc.). And use ? to represent any single character (<?> will pick up <s>, <p>, etc.), or * to represent any number of characters (e.g. <u*> will pick up <u who=Fred>, <u who=Mariana>, etc.). Otherwise, prepare your tag list file in the same way as for Stop Lists.

 

Use notepad or any other plain text editor, to create a new .tag file. Write one entry on each line.

Any number of pre-defined tags can be stored. But the more you use, the more work WordSmith has to do, of course and it will take time & memory ...

 

Mark-up to INclude

A tag file for tags to retain contains a simple list of all the tags you want to retain. Sample tag list files for BNC handling (e.g. BNC_XML.tag) are included with your installation (in your Documents\wsmith8 folder): you could make a new tag file by reading one of them in, altering it, and saving it under a new name. The syntax is explained in BNC_XML.tag.

 

tags_to_include_loaded

Here a tag file has been loaded; it had 19 entries.

tags_to_include_getting_loaded

and here is a word list based on BNC spoken classroom data where the tag file was used:

tagged_wordlist_BNC_classroom

Here is a concordance using the Noun tag:

 

concordance_coloured_description_tags

... easy to see adjectives come before nouns...

 

You can hide the tags and keep the colours using View | Tag hiding | Tagfile tags. See tag colours.

 

tog_plus        if <tag>WORD

 

 

tog_plus        Mark-up to EXclude

 

 

tog_plus        Colours

 

tog_plus        Sound and Video

 

tog_plus        Descriptive Label

 

tog_plus        Section Tag

 

tog_plus        Tagstring_only tags

 

 

Here is an example of what you see after selecting a tag file and pressing "Load". The first tag is a "play media" tag, as is shown by the icon. You can see the cream on purple colour for nouns too. The tag file (BNC World.tag) is included in your installation.

 

tag_file_viewing

 

tog_plus        Entity File (entities to be translated)

 

See also: Overview of Tags, Handling Tags, Showing Nearest Tags in Concord, Tag Concordancing, Types of Tag, Viewing the Tags, Using Tags as Text Selectors, Guide to handling the BNC.

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Nav Header: ALT+n
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Exit Menu/Up: ESC