EnglishFrenchSpanish

Ad


OnWorks favicon

langidentp - Online in the Cloud

Run langidentp in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command langidentp that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


langident - identifies the language files are written in

SYNOPSIS


langident [OPTIONS] file1 [file2 ...]

DESCRIPTION


Identifies the language files are written in using Perl module Lingua::Identify.

OPTIONS
-a
Show all results (not just the most probable language).

-c
Show confidence level for most probable language (it will be the first value right after
the most probable language).

-d
Debug (development only).

-E ENCODING
Select an input encoding. Defaults to UTF-8.

# use ISO-8859-1 (latin1)
langident -E ISO-8859-1 file

-e METHODS
Select the method(s) to use. There are three ways of doing this:

# simply using a method
langident -e ngrams3 file

# using several methods (separate them with a comma)
langident -e prefixes3,suffixes3

# using several methods and assign different weights to each of them
langident -e smallwords=2,prefixes=1,ngrams3=1.3

The available methods are the following: smallwords, prefixes1, prefixes2, prefixes3,
prefixes4, suffixes1, suffixes2, suffixes3, suffixes4, ngrams1, ngrams2, ngrams3 and
ngrams4.

-h
Display help message and exit.

-l
List all available languages and exit.

-m NUMBER
Set maximum number of results (languages) to display (shows the N most probable languages,
by descending order of probability).

Overrides the -a switch.

-o LANGUAGES
Only work with specified languages.

# identify between Portuguese and English only
langident -o pt,en *

-p
Also show percentages.

-s SIZE
Maximum size to examine.

-v
Show version and exit.

EXAMPLES


Use methods ngrams2 and ngrams1, assigning the double of importance to ngrams2 (-e
switch); output will include the three most probable languages (-m switch) with its
percentages (-p switch) and also the confidence level (-c switch) of the first result.

$ langident -e ngrams2=2,ngrams1 -c -p -m 3 README
README:en 65.7209505939491 7.8971987481393 ga 4.11905889385895 tr 4.08487011400505
$

TO DO


· Add a switch to ignore HTML tags (and maybe other formats too)

Use langidentp online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    turkdevops
    turkdevops
    TurkDevOps aç?k kaynak yaz?l?m
    geli?tirici topluluklar? DevTurks-Team
    Taraf?ndan desteklenmektedir..
    Features:https://github.com/turkdevopshttps://turkdevops.g...
    Download turkdevops
  • 2
    Wine
    Wine
    Wine is an Open Source implementation
    of the Windows API on top of X and Unix.
    Wine provides both a development toolkit
    for porting Windows sources to Unix and...
    Download Wine
  • 3
    LAME (Lame Aint an MP3 Encoder)
    LAME (Lame Aint an MP3 Encoder)
    LAME is an educational tool to be used
    for learning about MP3 encoding. The
    goal of the LAME project is to improve
    the psycho acoustics, quality and speed
    of MP...
    Download LAME (Lame Aint an MP3 Encoder)
  • 4
    wxPython
    wxPython
    A set of Python extension modules that
    wrap the cross-platform GUI classes from
    wxWidgets.. Audience: Developers. User
    interface: X Window System (X11), Win32 ...
    Download wxPython
  • 5
    packfilemanager
    packfilemanager
    This is the Total War pack file manager
    project, starting from version 1.7. A
    short introduction into Warscape
    modding: ...
    Download packfilemanager
  • 6
    IPerf2
    IPerf2
    A network traffic tool for measuring
    TCP and UDP performance with metrics
    around both throughput and latency. The
    goals include maintaining an active
    iperf cod...
    Download IPerf2
  • 7
    fre:ac - free audio converter
    fre:ac - free audio converter
    fre:ac is a free audio converter and CD
    ripper for various formats and encoders.
    It features MP3, MP4/M4A, WMA, Ogg
    Vorbis, FLAC, AAC, and Bonk format
    support, ...
    Download fre:ac - free audio converter
  • More »

Linux commands

Ad