PHP Language Detector: Detect the idiom of a text automatically

Recommend this page to a friend!
  Info   View files View files (19)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,232 All time: 3,076 This week: 293Up
Version License PHP version Categories
php-lang-detector 0.1GNU General Publi...5.0PHP 5, Text processing, Artificial in...
Description Author

This package can detect the idiom of a text automatically.

It can take files with text in a given idiom and train the engine to recognize combinations of letters to be typical of those idioms.

The class can then take a given text string encoded in UTF-8 and returns an array with the list of idioms that the text is more likely to be.

Picture of Juanjo López
  Performance   Level  
Name: Juanjo López <contact>
Classes: 1 package by
Country: Spain Spain
Age: 45
All time rank: 206448 in Spain Spain
Week rank: 632 Up24 in Spain Spain Up

Details
Php Lang Detector
=================
Copyright 2011 Juan José López Mellado (juanjo.lopez.mellado@gmail.com)

What?
=====
This is a PHP-5 library for language detection.

Given a string, encoded in UTF-8, it decides in what known language the text is
written. It includes a trainer for adding new languages to the detection
database.

License
=======
This code is distributed under the Apache License, version 2.0. You should
have received a copy of the license in a file called 'LICENSE'
  Files folder image Files  
File Role Description
Files folder imagelib (5 files, 1 directory)
Accessible without login Plain text file CHANGES Doc. Documentation
Accessible without login Plain text file LICENSE Doc. Documentation
Accessible without login Plain text file README Doc. Documentation
Accessible without login Plain text file test.php Example Example script
Accessible without login Plain text file train.php Example Configuration script

  Files folder image Files  /  lib  
File Role Description
Files folder imagedata (2 directories)
  Plain text file Bigram.php Class Class source
  Plain text file LangDetector.php Class Class source
  Plain text file LangDetectorTrainer.php Class Class source
  Plain text file Model.php Class Class source
  Plain text file Ngram.php Class Class source

  Files folder image Files  /  lib  /  data  
File Role Description
Files folder imagemodel (8 files)
Files folder imagesrc (1 file)

  Files folder image Files  /  lib  /  data  /  model  
File Role Description
  Accessible without login Plain text file ca.php Aux. Auxiliary script
  Accessible without login Plain text file de.php Aux. Auxiliary script
  Accessible without login Plain text file en.php Aux. Auxiliary script
  Accessible without login Plain text file es.php Aux. Auxiliary script
  Accessible without login Plain text file fr.php Aux. Auxiliary script
  Accessible without login Plain text file it.php Aux. Auxiliary script
  Accessible without login Plain text file pt.php Aux. Auxiliary script
  Accessible without login Plain text file README Doc. Documentation

  Files folder image Files  /  lib  /  data  /  src  
File Role Description
  Accessible without login Plain text file README Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%
Total:1,232
This week:0
All time:3,076
This week:293Up

For more information send a message to info at phpclasses dot org.