PHP Text Processing
Free and open source PHP Text Processing Scripts. This category contains Text Encode, translation and so on.-
QTool can be used to change the words to camel case.Key Features of QTool:- Replace white spaces with underscores- Convert an array of strings to a single string separated by underscores- Convert strings to names acceptable for class or namespace namesRequirements: PHP 5 or higher
-
FileReplace is a small class created to do signal's replacements, using a template file.
-
strob is a simple class that can obfuscate text that can be used in Web pages and can difficult harvesting by spammer Web crawling robots.strob works by converting text characters into equivalent HTML entities. It can also generate mailto: links replacing e-mail address and anchor text by equivalent representations that are obfuscated.
-
Chinese Text Conversion is meant to convert Chinese between different encoding types. Currently, the following encoding types are supported: GB-2312, Big5, Unicode (UTF-8).
-
Simple class for removing all punctuation and general stop words from any given search string. Stopwords and punctuation can be removed one at a time or all at once.
-
MySQL Parser is meant to parse boolean expressions like (item1 AND item2 AND NOT (item3 OR item4)) and converts them into MySQL full text search conditions like ( item1 item2 -(item3 item4)).
-
Add and strip slashes recursively class adds and strips slashes from strings in arrays recursively.
-
Strings is an expansion to the original PHP string functions. All functions was make to use special characters (192-223 and 224-255 in ascii table).Strings includes the functions: lowercase, strtolower, uppercase, strtoupper, ucfirst, lcfirst, ucwords, lcwords, normal, remove, chomp, php_quote, file_ext, file_noext, stripdouble, bar_quote
-
Replaces the UBB tags listed below with HTML tags, and vice versa. It also keeps the line feeds in the text and removes all HTML tags.UBB Tags:[b]...[/b] bold[i]...[/i] italic[code]...[/code] source code[img], [/img] images[quote]...[/quote] blockquote[url]http//www.link[/url] links[url=http//www.link]name[/url] links[email]me@home.de[/email] email link[email=me@home.de]name[/email] email linkAdditional Tags:[u]...[/u] underline[center]..[/center] center[color=name]...[/color] colorsFUNCTIONS of UBBCode:function encode($str)function decode($str)function strip($str)function listCodes()
-
JPEncodeClass can can encode and decode text strings according to a pattern that defines a sequence of actions to manipulate the strings.The supported actions are: revert the text order, invert the text characters case and encode or decode in base64 format. The pattern of sequence actions can be given as parameter or generated randomly.
-
Numero por extenso is meant to spell quantity numbers using brazilian portuguese words. The idea of the class is inspired in a similar class by another developer english that spells numbers using english words.Numero por extenso can optionally capitalize the initials and the portuguese words that represent the given number.Limitations:The comments and the documentation are in portuguese.
-
Alternate text is meant to extract a random text string from a string that defines a set of possible combinations of words. It is supposed to be used to generate variations of a message that can be refreshed dynamically.Just try this combination definition "(hello|bye(world|(sweet|)home|moon)" to see the multiple variations of text strings that the script generates.
-
MP Chinese Word Segmentation can segment Chinese text using the maximum probability (MP) approach. Some ambiguity mistakes can be avoided. It can also provides simple support for segmenting English within Chinese text.
-
TxtCrypt can encrypt a file and insert the encrypted data into a regular text file in such way that it does not change the way the text file appears. The encrypt algorithm is simple but it can be replaced by another more robust algorithm.To hide the encrypted data within a text file without changing how it appears, the data is ...
-
Use html2word to get words from HTML (and text) pages and counts each word. This class can be used in search section of sites or to write search engines.

