PHP Text Processing
Free and open source PHP Text Processing Scripts. This category contains Text Encode, translation and so on.-
Porter Stemming Algorithm is a fairly faithful implementation of the Porter stemming algorithm that reduces English words to their stems.There is a deviation in the way compound words are stemmed, such as hyphenated words and words starting with certain prefixes. For instance, "international" should be reduced to "internation" and not "intern," but an unmodified version of the alorithm will do ...
-
Anagrams Class is a class to compute the pure anagrams of a given input words or by setting up preset rules. The class can be easlily included into your PHP projects.Anagrams Class ins compatible with all PHP versions.
-
Misc String can be use to perform several types of manipulation operations on UTF-8 encoded and unencoded strings.There are several classes:- One to compute the length and extract parts of a string encoded in UTF-8. It uses PCRE extension functions, so it does not rely on multi-byte string manipulation extension.- Another class to perform white space normalization functions like: mapping ...
-
convertor converts encodings using iconv extension. You can use it with streamed data (XML).To be honest, this is quite complex. If you need just general character set conversion, not streams, take a look at iconv or recode itself.The former version 1.1 does not depend on iconv and conversion is based on the hard coded conv tables. It supports unicode entities ...
-
BiBTeX Manager can be used to parse and manipulate BiBTeX entries for use in LaTeX authored publications.BiBTeX Manager can beautify a string for use in your BiBTeX files, clean out illegal characters, and extract some elements of a BiBTeX entry.
-
Guaranix Full Text can be used to index texts for full text searching.Guaranix Full Text can build indexes of documents with support for stemming words (in Spanish or English), document idiom categorization, phrase search, etc..Guaranix Full Text can use a database as repository to store the index. Currently it supports SQLite and MySQL.
-
Numeric TTS can be used to generate audio to spell numbers using different voices and idioms. It generates a audio files in the WAVE format by concatenation audio samples that spell the digits of a number.The digit audio samples are available for male and female voices in English and Arabic. The resulting audio sample can be stored in a file ...
-
Pictorus GIF Text is a simple class that can be used to render text as images.Pictorus GIF Text generates an image with the PHP GD library extension and renders a given text with configurable text font, foreground and background color and transparency.The resulting image is generated in the GIF format and is served as the current script output.
-
This class can be used to spell numeric values using Polish words.
-
MyLibSQLGen can build MySQL query statements of a list of parameter arrays. It can build SQL queries SELECT, INSERT, UPDATE and DELETE by specifying the tables and the fields involved.MyLibSQLGen can also build SQL conditions for the WHERE clause, search with the LIKE operator, using LEFT JOIN, and the columns for the ORDER clause.
-
JavaScript Compressor can be used to pack JavaScript code to reduce its size. It can remove comments, white space and convert the code to a more packed style.There is also a class that can cache several packed JavaScript code files until they are changed to avoid the overhead of packing the same JavaScript files.
-
SourceMap can be used to parse and extract a list of tokens from source code in one of several supported languages. It can parse source code in a given language and extract tokens according to the definitions of token delimiter character sequences for that language. The class supports PHP, Javascript and Python.SourceMap can extract several types of tokens: comments in ...
-
Source code highlighting can be used to highlight source code in several languages, as well some other text formats. It can highlight text strings or files. It generates XHTML as highlighted output.Currently Source code highlighting supports the following languages and text formats: C , CSS, DIFF, DTD, HTML, Java, JavaScript, MySQL, Perl, PHP, Python, Ruby, SQL and XML.Requirements: PEAR Text_Highlighter
-
Hangman classes can be used to pick words and check guessed letters to implement the hangman game.Hangman classes picks a random word from an array, checks whether a guessed letter is part of the word, and display the word with the correctly guessed letters.An usage example script is provided to demonstrate how to implement a Web based version of the ...
-
Automatic Keyword Generator can automatically suggest keywords from content text. It can be used for instance to suggest keywords for the META tags of a Web site page.Automatic Keyword Generator counts the number of occurrences of single or multiple word expressions within the given content text. The most frequent expressions are suggested as keywords. The class exclude a given list ...

