simstring
simstring copied to clipboard
SimString
Currently, it is impossible to install simstring Python bindings directly from `pip` (e.g. via a `pip-requirements.txt` file in a project). It is currently necessary to manually clone the repository, run...
### Justification The SimString paper ([link](http://www.aclweb.org/anthology/C10-1096)) defines the conditions for each similarity measure as follows:  The denominator in the min_size formula for Dice measure reads `(2-alpha)`, not `(2-|X|)`.
Just in case anyone needs this, this is how I compiled and installed simstring on Ubuntu 20.10. I am sure the pull request #26 is solving the same thing, but...
I cannot use simstring with unicode string. Followings are what I executed. ``` shell: $ ./sample_unicode libc++abi.dylib: terminate called throwing an exception Abort trap: 6 ``` It also fails simstring...
If you pass a `Unicode` object to SimString the SWIG wrapper will raise a `TypeError` which to some may be a bit opaque. After reading up on the issues with...
Error messages are as follows, --- creating Makefile compiling export.cpp In file included from /opt/services/nlp/local/include/simstring/memory_mapped_file.h:62:0, from /opt/services/nlp/local/include/simstring/simstring.h:52, from export.cpp:8: /opt/services/nlp/local/include/simstring/memory_mapped_file_posix.h: In member function ‘void memory_mapped_file_posix::open(const string&, std::ios_base::openmode)’: /opt/services/nlp/local/include/simstring/memory_mapped_file_posix.h:91:17: error: ‘::close’...
Thanks for a great string retrieval package! Been using it with C++ and am setting it up to work with Python. However, I was unable to build simstring for use...
System environment: OS: OS X Lioon 10.7.5 RVM: rvm 1.22.18 Ruby: ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64_darwin11] --- I tried to use ruby extension of SimString. It was successfully compiled,...
I've installed by ruby, but I've got an error below. LoadError (dlopen(/Users/Macmini/Projects/Pubdictionaries/pubdictionaries/PubDictionaries/lib/simstring/swig/ruby/simstring.bundle, 9): Symbol not found: __ZTIN10__cxxabiv115__forced_unwindE Referenced from: /Users/Macmini/Projects/Pubdictionaries/pubdictionaries/PubDictionaries/lib/simstring/swig/ruby/simstring.bundle Expected in: flat namespace in /Users/Macmini/Projects/Pubdictionaries/pubdictionaries/PubDictionaries/lib/simstring/swig/ruby/simstring.bundle - /Users/Macmini/Projects/Pubdictionaries/pubdictionaries/PubDictionaries/lib/simstring/swig/ruby/simstring.bundle): Any ideas?
Same issue mentioned earlier, I just want to point out it also happens on Yosemite. Fixed by adding the include below to `export_wrap.cpp`: ``` #include ```