Overview
Lingua::Lid is a Perl extension implementing an interface to Lingua-Systems language and character encoding identifier lid. It allows you to use lid's functionality from within any Perl application or library, thus empowering you and your customers to benefit from its robust language and character encoding identification features.
Have a look at lid's product information to get detailed information on lid, its features and benefits.
Features
As this software is an interface to the C/C++ library lid, all the benefits of lid are the same for Lingua::Lid - language and character encoding are identified fast and accurately, many character encodings and all common Unicode Transformation Formats (UTF) are supported, even transliterated texts can be identified and a short text of about five words is a sufficient amount of textual data in most cases.
As of version 0.02 Lingua::Lid is thread-safe if compiled with a lid version of 3.0.0 or higher. It is then possible to call Lingua::Lid's functions simultaneously in more than one thread.
In addition to the features provided by the underlying lid library, Lingua::Lid is...
- easy to use
Lingua::Lid's API has been designed to allow easy integration and usage - by utilizing either lid_fstr() or lid_ffile() you are able to determine the language and character encoding of a string or file.
- easy to integrate
The interface as well as the underlying library lid have almost no software dependencies. Therefore they are easy to integrate in your own software projects.
- well documented
To enable you to easily use and integrate Lingua::Lid, a detailed man page is provided and lid's manual supports a better understanding.
Besides that, Lingua::Lid is both open source and free software, released under the terms of the liberal zlib license.
Supported Platforms
| Operating System | Distribution/Version | Architecture |
|---|---|---|
| Linux | Debian Etch (4.0) | x86/IA-32 |
| Linux | Debian Lenny (5.0) | x86/IA-32 |
| Linux | Ubuntu LTS (10.04) | x86/IA-32 |
| Solaris | 10 | Sparc |
| FreeBSD | 6 | x86/IA-32 |
| FreeBSD | 7 | x86/IA-32 |
| FreeBSD | 8 | x86/IA-32 |
If you need the software for another operating system or distribution do not hesitate to contact us.
Requirements
There are very little requirements as neither Lingua::Lid nor lid need much resources or other software than an Perl installation and the native C and thread library of the respective operating system.
- Perl 5.8.0 or higher
- A build environment (gcc recommended)
- Lingua-Systems' lid version 2.0.2 or higher
- about 100 KiB disk space

