Comments (2)
I got it compiling and working with the following steps:
- Clone this repo
- Install the latest version of Cython (that's 0.29.32 when writing)
- Make this change:
diff --git a/src/dawg.pyx b/src/dawg.pyx
index 6dba921..66b9c58 100644
--- a/src/dawg.pyx
+++ b/src/dawg.pyx
@@ -569,7 +569,7 @@ cdef class BytesDAWG(CompletionDAWG):
self._completer.length(),
b64_decoder_storage
)
- results.push_back(string(b64_decoder_storage, key_len))
+ results.push_back(str(b64_decoder_storage, key_len))
return results
- Run the
update_cpp.sh
file - Run
sudo python3 setup.py install
from dawg.
fix in this PR #50
from dawg.
Related Issues (20)
- Cannot use dawg module compiled on windows. HOT 15
- Could len() be implemented HOT 3
- extra newlines in BytesDAWG
- Publish Windows wheels to PyPI HOT 2
- Cannot pickle
- struct.error: bad char in struct format HOT 8
- similar_keys limitation HOT 1
- how to increase the number of DAWG units (limit)?
- Python 3.7 / Cython 28.5 build fails HOT 2
- Build issue DAWG, build on win10 fails HOT 9
- Can't build DAWG Mac
- Extract all keys from IntDawg
- pip install fails on Ubuntu 18.04 under freshly installed Anaconda3 HOT 4
- Build fails on Pypy cannot convert ‘PyObject*’ {aka ‘_object*’} to ‘PyObject**’ {aka ‘_object**’}
- A corrupt file can cause the DAWG to allocate arbitrarily large amounts of memory
- 0.8.0 tag is missing
- Could not support dawgdic created file with russian strings(CP1251) HOT 2
- ⚠️ DAWG fork announcement ⚠️ HOT 2
- Incorrect output on Raspberry Pi
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 dawg.