PHP Text Processing
Free and open source PHP Text Processing Scripts. This category contains Text Encode, translation and so on.-
Spell Checker is meant to check the spelling of texts using only base PHP commands, thus not using any special purpose extension. It uses a dictionary text file named as its spelling knowledge base. For greater performance the class uses the dictionary words (currently almost 40,000) to build a dynamic hashed lookup table. Spell Checker classes can also provide suggestions ...
-
uuencode/uudecode class is to uuencode and uudecode data. Uses strlen(), so it is not binary-safe.So, we recommend uuencode/uudecode to you to make sure the security of your system.
-
The script ArAutoSummarize can be used to automatically extract key phrases to summarize an given Arabic text. ArAutoSummarize can also parse a long Arabic text and use stemming and ranking algorithms to identify which can the be the most important keywords than can be used to summarize the text. To mark the text to highlight the keywords along the given ...
-
TNumber is several types of operations with numeric values, such as conversion from and to string values, rounding, padding and appending characters to the string representation, can be performed. Requirements: PHP 5.0 or higher
-
If a site uses narrow tables Wrappedtext is a great tool because words that are longer as the width of a table would enlarge the table and deface the site layout. Using php's wordwrap function has the disadvantage that the whole text is wrapped which means that short words might also get cut at a certain position of the line. ...
-
bencoding can take a variable value and encode it as a string that describes its type and value in the bencode format. It supports encoding strings integers and arrays. The script bencoding can also restore an original value from a bencode formatted string. Requirements: PHP 5.0 or higher
-
Text Parse can analyze a given text string and get the total length, the number of non-whitespace characters, number of letters, number of spaces and tabs, number of symbol characters, number of words and number of sentences. The script can also beautify text by removing characters, exceeding spaces, punctuation and line breaks. Requirements: PHP 4 or higher
-
Words Filter is the code uses regular expressions to find one or more words, while replacing them with the given replacement text. Requirements: PHP 4 or higher
-
D3Css will parse a CSS file with special style inheritance syntax and generate a new CSS that evaluates the inherited styles based on parent class definitions. The outputted CSS can be loaded and cached in server files and be served in compressed format to the users. Requirements: PHP 5 or higher
-
HTML Purifier is an HTML filtering solution that uses a unique combination of robust whitelists and agressive parsing to ensure that not only are XSS attacks thwarted, but the resulting HTML is standards compliant.HTML Purifier is oriented towards richly formatted documents from untrusted sources that require CSS and a full tag-set. This library can be configured to accept a more ...
-
PHP Encrypt/Decrypt Text! includes an encrypt and decrypt function that will change normal text into an encrypted version using PHP's strtr(); function. It basically changes every known character in the arrays to a different character, ex: a=>9, b=>é, c=>r, etc. Note: This script uses a very easy algorithm, if it could even be considered that, and isn't recommended for extremely ...
-
Tokenizer can take a text string and split it in tokens separated by text strings or one or more characters. Tokenizer supports marker strings that define the beginning and end of a token that may have separator strings inside. Operators which can be used to combine multiple tokens are also supported. Requirements: PHP 5.0 or higher
-
Janitor can validate strings with several types of values like text with only letters, with letters and digits, e-mail addresses, floating point or integer numbers, IP addresses and text within a given length range. E-mail addresses, URLs and text strings can also be sanitized. Requirements: PHP 5.2.0 or higher
-
TextToImage is the foreground and background color, as well as the font size can be specified.The generated image can be saved to file in GIF, JPEG and PNG formats.Requirements: PHP 5.0 or higher
-
String Tokenizer takes a string and a list of characters and splits the string when it finds the given separator characters.The parts of the split string are returned one at a time.Requirements: PHP 5.0 or higher



