Comments (3)
I added a test at the C++ level in the issue_22 branch (SHA: 39f08dd) that shows it correctly detecting Japanese given that text. The output in this issue shows code[3]
as 11
, which should reflect the number of bytes read. That would imply it's only processing 1/15 HR Div
, up to the first .
. My Python is really rusty but adding a test at the Python level fails (SHA: fbab0a8). I'll have to spend some more time with it to figure out what's up at the Python level, unless some Python user can lend a hand.
from cld.
I changed the Python test (SHA: a31a815) to call cld.detect
with isPlainText=True
and it passes. Can you try passing that argument and see if it works as expected?
from cld.
After passing the arguments "isPlainText=True", it worked.
Thanks mzsanford
from cld.
Related Issues (20)
- JNI: unable to compile self-contained library, or a wrapper that works in tandem with the C library HOT 10
- Compile on Ubuntu HOT 5
- Compile python HOT 2
- Fix python bindings compilation on Windows HOT 7
- OS X: configure: error: cannot find install-sh or install.sh in "." "./.." "./../.." HOT 4
- Import cld fails with missing symbol HOT 3
- Please update /ports/node for compat. with current version HOT 5
- /ports/node *.detectSync() fails too often / returns different results than *.detect() HOT 2
- Bad reference
- Cannot build with cygwin HOT 1
- Installation on OS 10.10 with Python 3.3 failed HOT 1
- cld.ENCONGINGS
- jni .so file doesn't work HOT 1
- Java test won't pass HOT 6
- Can't configure project HOT 1
- Negative integers cast to uint_8 in compact_lang_det_generated_ctjkvz.cc HOT 3
- brew install is broken
- broken on mac arm
- /ext/cld/lib/cld.so: cannot open shared object file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cld.