TexNet32 - Scripts

To run a script, select "Run script..." from the "Other" menu. The script should be stored in a plain text file, one command to a line. Currently, only commands for weighting, parameters, and extraction and a few file functions are available, as follows:

INCPAR Increments weight of current paragraph.
DECPAR Decrements weight of current paragraph.
POSSEL Increments weights for keywords in current selection.
NEGSEL Decrements weights for keywords in current selection.
POSCUE Increments weights for positive cues.
NEGCUE Decrements weights for negative cues.
FREWOR Increments weights for frequent keywords.
POSCON Increments weights for concepts in current selection.
NEGCON Decrements weights for concepts in current selection.
FRECON Increments weights for frequent concepts.

MINLEN n Minimum length of extract in characters.
MINPER n Minimum length of extract as percent of full text.
MINFRE n Minimum occurrence of a "frequent" word.
STEDEC n Weight subtracted for stem in selected text.
STEINC n Weight added for stem in selected text.
CUEDEC n Weight subtracted for negative cue.
CUEINC n Weight added for positive cue.
SELDEC n Weight subtracted from selected paragraph.
SELINC n Weight added to selected paragraph.
FREINC n Weight added for frequent keyword.
UNUMIN n Minimum percentage of "unusual" words.
UNUMAX n Maximum percentage of "unusual" words.

File Operations
OPEFUL f Opens file f in full text window.
SAVEXT f Saves extract in file f
RUNSCR f Runs script from file f

EXTWEI Weighted
EXTSIZ Sized by weight
EXTSTE Stem matches (from first paragraph)
EXTBOO s Boolean (where s is a Boolean query)
EXTFRE Frequent keywords
EXTUNU "Unusual" words
EXTPHR Phrases
EXTPAS Passages
EXTREP Repeats
EXTSEN Sentences

When TexNet32 is run, it automatically executes any script file texnconf.txt in its installation directory plus any texnconf.txt in the current directory.

You can create scripts automatically for setting parameters from the "Parameters" window and for weighting from the "Weight" menu.

Last updated February 5, 2008, by Tim Craven