Helsinki-NLP / opus-fast-mosestokenizer

c++ mosestokenizer (OPUS fork)
GNU Lesser General Public License v2.1
3 stars 5 forks source link

FIX instalation problem due to absl changes #2

Closed convergence-lab closed 11 months ago

convergence-lab commented 1 year ago

need to fix Tokenizer.cpp:655 as follows.

-            std::string pfxs(pfx.as_string());
+            std::string pfxs(pfx);
svirpioj commented 11 months ago

Fixed in https://github.com/Helsinki-NLP/opus-fast-mosestokenizer/pull/3 / v0.0.8.4