 |
|
Innovation award
 Nominee: 23x
Winner: 5x |
This class can be used to guess the language of a given text.
The class reads data files that contain ranking information about characters that are most likely to be found in texts of several languages.
The text being analyzed is converted to Unicode to be compared with the language character ranking data.
The class returns an array of the language sorted by ranking .
Currently it support the language are: Arabic, Belarus, Chinese, Czech, Danish, Dutch, English, Esperanto, French, German, Greek, Hebrew, Italian, Japanese, Russian, and Spanish.
Have a lot of fun with this!
|
|
| Name: |
Text Cat |
| Base name: |
libtextcat |
| Description: |
Guess the language of a given text |
| Version: |
- |
| PHP version: |
3.0 |
| License: |
Public Domain |
| All time users: |
862 users |
| All time rank: |
3560 |
| Week users: |
0 users |
| Week rank: |
2036  |
| |
|
 June 2006
Number 5
Prize: One book of choice by SAMS |
A text can be written in many different idioms. Without a prior knowledge of the idiom on which a text is written, it is hard for a human to guess and eventually use an appropriate idiom translation tool.
This class can be used to guess the idiom of a text. It takes prebuilt data files that are used to give different weights to the presence of certain characters in a text that are more associated to an idiom.
This way the class can give a good idea of the idioms on which a given text is more likely to be written.
Manuel Lemos |
| Project record: |
libtextcat |
| Popularity score: |
56.66 |
| Vitality score: |
1.45 |
| There are not enough user ratings to display for this class. |
| Link |
Description |
| PHP: Guess the language of a given text |
There exist a open project called LibTextCat. I’ve used this class for many projects with greats results. What this project do is recieve a text as a parameter and return in what lang it is text written... |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|