Free to reuse library of text processing functions
Posted: Mon Nov 27, 2006 1:42 pm
A library of text processing functions is available at
lib_textprocessing (text)
How these functions can be used from anywhere within a stack
lib_textprocessing -- testsuite (text)
Examples of the format used to store the dictionary and categorisation data
list formats (gif)
In the testsuite, this call is often made "put api_ascii() into tAPIascii". For it to work from anywhere within your application, you also need to add this, within the script of your top stack.
Ah, yes, the datatype_validation calls are handle via the functions there:
lib_datatype_validation
which are set to be available from anywhere in the stack (either pasted in the script of the topstack, either inserted via a "start using" construct).
lib_textprocessing (text)
How these functions can be used from anywhere within a stack
lib_textprocessing -- testsuite (text)
Examples of the format used to store the dictionary and categorisation data
list formats (gif)
In the testsuite, this call is often made "put api_ascii() into tAPIascii". For it to work from anywhere within your application, you also need to add this, within the script of your top stack.
Code: Select all
function api_ascii
return the long id of group "api_ascii" of card 1 of stack "xxx_library"
-- I store all my libraries within groups, so that they can easily be
-- drag and dropped into new projects/applications. For instance the
-- text of the file lib_textprocessing is stored in the script of a group
-- named "api_ascii" found on the first card of my library stack.
-- Replace with whatever is appropriate in your environment.
end api_ascii
lib_datatype_validation
which are set to be available from anywhere in the stack (either pasted in the script of the topstack, either inserted via a "start using" construct).