![]()
The following characters are used at this TACTweb site. (Please read the instructions above.)
| Windows Capital | Windows Small | Mac Capital | Mac Small | ||
| Þ/þ | Alt-0222 | Alt-0254 | Shift-Option-5 | Shift-Option-6 | |
| Ð/ð | Alt-0208 | Alt-0240 | Shift-Option-3 | Shift-Option-4 | |
| Á/á | Alt-0193 | Alt-0225 | Option-e followed by the letter | ||
| É/é | Alt-0201 | Alt-0233 | |||
| Í/í | Alt-0205 | Alt-0237 | |||
| Ó/ó | Alt-0211 | Alt-0243 | |||
| Ú/ú | Alt-0218 | Alt-0250 | |||
| Ý/ý | Alt-0221 | Alt-0253 | Option-t | Shift-Option-7 | |
| Ö/ö | Alt-0214 | Alt-0246 | Option-u followed by the letter | ||
| Ü/ü | Alt-0220 | Alt-0252 | |||
| Æ/æ | Alt-0198 | Alt-0230 | Shift-Option-' | Option-' | |
| Å/å | Alt-0197 | Alt-0229 | Shift-Option-a | Option-a | |
| Ø/ø | Alt-0216 | Alt-0248 | Shift-Option-o | Option-o | |
The following characters are not used at this site, but may be used at other TACTweb sites.
| Windows Capital | Windows Small | Mac Capital | Mac Small | ||
| Ä/ä | Alt-0196 | Alt-0228 | Option-u followed by the letter | ||
| Ë/ë | Alt-0203 | Alt-0235 | |||
| Ï/ï | Alt-0207 | Alt-0239 | |||
| ÿ | Alt-0255 | n/a | |||
| À/à | Alt-0192 | Alt-0224 | Option-` followed by the letter | ||
| È/è | Alt-0200 | Alt-0232 | |||
| Ì/ì | Alt-0204 | Alt-0236 | |||
| Ò/ò | Alt-0210 | Alt-0242 | |||
| Ù/ù | Alt-0217 | Alt-0249 | |||
| Â/â | Alt-0194 | Alt-0226 | Option-i followed by the letter | ||
| Ê/ê | Alt-0202 | Alt-0234 | |||
| Î/î | Alt-0206 | Alt-0238 | |||
| Ô/ô | Alt-0212 | Alt-0244 | |||
| Û/û | Alt-0219 | Alt-0251 | |||
| Ã/ã | Alt-0195 | Alt-0227 | Option-n followed by the letter | ||
| Õ/õ | Alt-0213 | Alt-0245 | |||
| Ñ/ñ | Alt-0209 | Alt-0241 | |||
| Ç/ç | Alt-0199 | Alt-0231 | Shift-Option-c | Option-c | |
| ß | Alt-0223 | Option-s | |||
![]()
![]()
To see more on regular expressions, click here.
The discussion below introduces some variations.
For more information about the co-occurrence syntax, click here.
Both the semi-colon and the word "WHEN" are required. For more information, click
here.
All TACTweb selection queries start with some type of initial
selection called a source. Some also contain
refinements or filters that modify the initial
selection. The general form is:
A refinement can follow any source or source group. It begins with
a semicolon. More than one refinement can be given -- in which case
separate each by a semi-colon:
There are several different refinement operators to choose from.
All refinement operators begin with a name, and some are followed by
some further specification information. Regular Expressions can be specified (a) as a source in a
selection criteria statement, (b) as a refinement, or (c) as a part
of a WHEN selection. In the first two instances it selects word types
in the last case it selects values for structural references. Format is a string of letters or diacritics with special
characters that have special meanings interspersed. In the following,
the term "word letter" means letter or diacritic. Special characters
are: Use the co-occurrence operators when you wish to select positions
where two or more words happen near to each other. Co-occurrence
operators always produce a list of positions in the text -- they can
never generate a list of words. There are three co-occurrence operators. To use, replace
"<item1>" and "<item2>" with a subordinate rule (such as
a regular expression). Items within the list can be a word from the vocabulary, a regular
expression, a category name, or many other basic selection rule
types. In addition, an item may be any further subordinate
co-occurrence selection criteria. In this case, the subordinate
criteria must be surrounded by brackets "(" and ")". Two simple examples: Use the FREQ selection operator when you want to select words
based on frequency of occurrence. When used as a source (e.g.
"FREQ 5"), FREQ selects words based on their frequency in the
entire text. When used as a refinement (e.g. "l.* ; FREQ 5",
words are selected according to their number of occurrences in the
given list. You give numbers to use as criteria for frequency selection. The
forms are: The following is a partial description of WHEN refinement syntax. For
more information, refer to the User's Guide for TACT.
An example of WHEN refinement in use is:
The selection list format can be:
Web design
Alex Stevens, content
Geoffrey Rockwell and
John Bradley. March 7, 1997The Basics
"when (use a single" to specify a query language reserved word like "when")
.*ent (displays words ending with "ent")
c.*ons (displays words beginning with "c", ending with "ons")
.*ite.* (displays words containing "ite")
my | (displays all words that immediately follow the word "my")
moon ~ star.* (displays all occurrences of "moon" that do not occur near a "star" word) ![]()
The TACTweb Query in Detail
<sources> ; <refinements>
Note that the refinement section is optional, but, if used, must
be preceded by a semicolon.
Selection Sources
The source can consist of several selection items separated
by commas:
source 1 , source 2 , ...
The following are legal sources:
Selection Refinements
<sources> ; <refinement> ; <refinement> ...
![]()
TACTweb Query: Regular Expressions
Regular Expression Examples
![]()
TACTweb Query: Co-occurrences
Co-occurance Examples
![]()
TACTweb Query: FREQ Selection
![]()
TACT-Web Query: WHEN refinement
The WHEN refinement allows you to select positions in the text where a
particular structural condition is true, for example, when the speaker is
Romeo.
lov.* ; when speaker = romeo
Simple WHEN Selection Format
The general format of the basic WHEN selection is:
choose from ; WHEN Ref ID = selection list
The elements are:
![]()