The Lexiraptor
![]()
The Lexiraptor is a tool for converting plain text files into Word Banks or Sentences.
To open the Lexiraptor window
View > Lexiraptor (or press F6)
To select the file you wish to process
![]()
Press the 'browse' button or type in a filename. The file should be in ASCII plain text (.txt) format.
Determine how the file will be divided up
![]()
The following options are available:
Make each line of file a single item - The input file will be read line by line, each line becoming an item in either a Word Bank or Sentence. In the case of Sentences, the items are created as text items.
Make each word from file a single item - The input file will be broken up into its individual words, meaning that anything with a space either side will be taken as an item. Hyphenated words stay together if the hyphen is directly connecting words in the file.
Make each sentence from file a single item - The input file will be broken up into its individual sentences, using the full-stop character, the exclamation mark and the question mark as points of seperation.
Search Pattern - This allows you to only select particular words from the file (it does not work on options 1 and 3 above) by searching each word for a pattern using the standard 'wildcard' system.
Examples:
*pen -would find all words ending in 'pen' and itself.
*pen* -would find all word containing the word 'pen', ending in 'pen' and itself.
???pen -would find all six-letter words ending in 'pen'.
[A-Z]*pen -would find all capitalised wordz ending in 'pen'.This is very useful for doing things like extracting capitalised proper names from a list, or grouping words by some similarity of spelling.
Put items in Word Bank.
If you select this, the drop-down list will show the names of all the Word Banks in the current file. Items from the Lexiraptor will be added to that Word Bank. If the item is in the Word Bank already, it will be added again anyway.
Put items in Sentence as text items.
If you select this, the drop-down list will show the names of all the Sentences in the current file. Items from the Lexiraptor will be added to that Sentence. If the item is in the Sentence, it will be added again anyway.
New Word Bank / Sentence. - Click on this button to create a new Word Bank or Sentence.
Go - Starts the Lexiraptor.
Close - Closes the Lexiraptor window.