langid.c icon indicating copy to clipboard operation
langid.c copied to clipboard

It's very fast.good! (and how to install)

Open zrlhk opened this issue 6 years ago • 2 comments

Install tips:

git clone https://github.com/protobuf-c/protobuf-c apt install –y a utoconf automake libtool protobuf-compiler python3.5-dev ./autogen.sh && ./configure && make && make install

and langid.c: make all

use for file:

cat xxx.en |./langid -l > lan.txt

I use 64 cores CPU if use langid.py => 3 days now just less than half an hour

zrlhk avatar Nov 18 '19 03:11 zrlhk

apt install -y autoconf automake libtool protobuf-compiler python-dev python3.5-dev pkg-config protobuf-c-compiler

zrlhk avatar Nov 19 '19 03:11 zrlhk

don't forget use python2,and:

apt install -y langid autoconf automake libtool protobuf-compiler python-dev python3.5-dev pkg-config protobuf-c-compiler php;pip install protobuf

install protobuf-c:

git clone https://github.com/protobuf-c/protobuf-c ./configure --prefix=/usr/local&& make && make install ./autogen.sh && ./configure && make && make install

then: cd langid.c;make all

zrlhk avatar Jan 27 '22 06:01 zrlhk