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
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/rubygem-whatlanguage | 2.1.0 |
| DragonFly | textproc/rubygem-whatlanguage | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.1.0 | 2.1.0 | 1.0.6 | 1.0.6 | 2.1.0 |
| FreeBSD:14:quarterly | 2.1.0 | 2.1.0 | n/a | 1.0.6 | 2.1.0 |
| FreeBSD:15:latest | 2.1.0 | 2.1.0 | n/a | 1.0.6 | 1.0.6 |
| FreeBSD:15:quarterly | 2.1.0 | 2.1.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.1.0 | 2.1.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
| File | Size | SHA256 |
|---|---|---|
| rubygem/whatlanguage-2.1.0.gem | 119808 | dd5d0f96dbea14b469ba3c0bedc9bc508ee28bfc6d947c70d3c8b512521ddb89 |
Master sites 1
- RG