Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zrlhk opened this issue Nov 18, 2019 · 2 comments
Open

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

zrlhk opened this issue Nov 18, 2019 · 2 comments

Comments

@zrlhk
Copy link

zrlhk commented Nov 18, 2019

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
Copy link
Author

zrlhk commented Nov 19, 2019

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

@zrlhk
Copy link
Author

zrlhk commented Jan 27, 2022

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 zrlhk closed this as completed Jan 27, 2022
@zrlhk zrlhk reopened this Jan 27, 2022
@zrlhk zrlhk changed the title It's very fast.good! It's very fast.good! (and how to install) Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant