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.
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.
and here is a word list based on BNC spoken classroom data where the tag file was used:
Here is a concordance using the Noun tag:
... 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.
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.