BSD Ports

textproc/rubygem-whatlanguage 2.1.0 FreeBSD

Natural language detection for text samples

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
7b7946df6d
License
MIT
Categories
textproc, rubygems
Package size
108.4 KiB, 246.4 KiB installed

Description

WhatLanguage, written in pure-Ruby, detects the human language of supplied text. It uses Bloom filters, so it is fast and memory efficient. It works well on text of over 10 words in length (e.g. blog posts or comments) and very poorly on short or Twitter-esque text.

It works with Arabic, Dutch, English, Farsi, Finnish, French, German, Greek, Hebrew, Hungarian, Italian, Korean, Norwegian, Pinyin, Polish, Portuguese, Russian, Spanish, and Swedish out of the box.

In the other systems

SystemPortVersion
FreeBSDtextproc/rubygem-whatlanguage2.1.0
DragonFlytextproc/rubygem-whatlanguage1.0.6

Install

Binary package:

pkg install rubygem-whatlanguage

From the ports tree:

cd /usr/ports/textproc/rubygem-whatlanguage/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	rubygem-whatlanguage>0:textproc/rubygem-whatlanguage

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.1.02.1.01.0.61.0.62.1.0
FreeBSD:14:quarterly2.1.02.1.0n/a1.0.62.1.0
FreeBSD:15:latest2.1.02.1.0n/a1.0.61.0.6
FreeBSD:15:quarterly2.1.02.1.0n/an/an/a
FreeBSD:16:latest2.1.02.1.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 6

No port depends on this one.

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/whatlanguage-2.1.0.gem119808dd5d0f96dbea14b469ba3c0bedc9bc508ee28bfc6d947c70d3c8b512521ddb89
Master sites 1
  • RG

Commit history 3

DateCommitCreditsLog message
7b7946df6d Po-Chuan Hsieh textproc/rubygem-whatlanguage: Update to 2.1.0
Changes: https://github.com/peterc/whatlanguage/releases
b6a47bcdfa Po-Chuan Hsieh textproc/rubygem-whatlanguage: Update to 2.0.1
Changes: https://github.com/peterc/whatlanguage/releases
63f62541a2 Po-Chuan Hsieh textproc/rubygem-whatlanguage: Update to 2.0.0
Changes: https://github.com/peterc/whatlanguage/releases