background preloader

LIB

Facebook Twitter

Demos. Kevin's Word List Page.

Online viewer

WordHoard - Utility Functions. Table of Contents Introduction WordHoard's scripting language includes access to many of the WordHoard built-in utility classes and methods. These include methods for formatting strings and numbers for display, and phonetic encoding, and word stemming. Formatting numbers and strings WordHoard provides methods for formatting individual numbers for display. WordHoard also provides a C-like sprintf facility for formatting arrays of objects. As an example, assume we have a Java object array the first element of which is a string, the second an integer, and the third a double precision floating point number.

The result is: The javadoc for PrintfFormat details all the different formatting options. You can add a minimum field width and, for floating point numbers, the number of decimal places. Specifing a negative field width such as "%-10i" left-justifies the formatted value within the output field. Phonetic Encoding The obtain the Soundex encoding of a string in WordHoard, use the soundex method.

Jquery

Full Text Search Tool. Introduction The code is capable of searching any "Office document", "*.txt", "*.htm", "*.html" files, etc.You have an option in the code to specify the file patterns you want to include during indexing. Included is the IndexManager namespace which is the core library of the project. The Search Documents project is basically a demo project which shows you how to use the index manager class. In this example, I have used the IndexManager class to build something like a desktop search, you may use the IndexManager to build an intranet search engine, etc.

We will begin by defining the data structures we would require to store the indexes for documents. We need to understand here that we would require storing a global index which represents a collection of unique words extracted from each of the documents which we intend to search. What follows is the definition of the Documents class which is a collection of documents. We will now look at a Word Breaker implementation. Steps to Use History.