This repository has been archived by the owner on Nov 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ashley Jeffs
committed
Apr 24, 2014
1 parent
79231de
commit 383cac1
Showing
2 changed files
with
64 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
Compact Language Detector 2 | ||
=========================== | ||
|
||
This is a fork of https://code.google.com/p/cld2/, with added features for enabling a more liberal approach to language detection, where weaker answers are less likely to be discarded. This fork may be more suitable for smaller input samples where a potentiallly weak answer is more useful than no answer at all. | ||
|
||
To enable the new behaviour call using the new kCLDFlagLiberal flag. | ||
|
||
Origin | ||
------ | ||
|
||
This fork was created using the git-svn plugin: | ||
|
||
``` sh | ||
git svn clone https://cld2.googlecode.com/svn -s | ||
git checkout -b develop | ||
``` | ||
|
||
Changes from the subversion origin should be pulled into the master branch, you can then either rebase or merge the develop branch: | ||
|
||
``` sh | ||
git checkout master | ||
git svn init http://cld2.googlecode.com/svn/trunk | ||
git svn fetch | ||
|
||
git checkout develop | ||
git merge master | ||
``` | ||
|
||
Installation | ||
------------ | ||
|
||
By default lib(64) and include files will be installed to /usr, you can change the install prefix by setting PREFIX. | ||
|
||
``` | ||
make | ||
make check | ||
sudo make install PREFIX=/opt/cld2 | ||
``` |