diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 749c1a8..a30111f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -37,7 +37,7 @@ jobs: build_wheels_macos: name: Build wheels on MacOS # Otherwise people with older Macs are out of luck - runs-on: macos-12 + runs-on: macOS-latest # Uncomment for testing # if: false diff --git a/bindings.cpp b/bindings.cpp index f5f4607..fcef53d 100644 --- a/bindings.cpp +++ b/bindings.cpp @@ -27,7 +27,7 @@ using namespace nb::literals; */ const std::string wrap_analyze(NLP_ENGINE &engine, const std::string &parser, - const std::string &input, const bool develop=false) { + const std::string &input, const bool develop) { _TCHAR *_parser = _tcsdup(parser.c_str()); std::istringstream instream(input); std::ostringstream outstream; @@ -42,7 +42,7 @@ NB_MODULE(bindings, m) { "workingFolder"_a = ".", "silent"_a = true) .def("analyze", &wrap_analyze, - "parser"_a, "input"_a, "develop"_a, + "parser"_a, "input"_a, "develop"_a = false, "Analyze `input` with `parser`.\n" "The `parser` argument refers to an analyzer contained in the\n" "`analyzers` folder inside the workingFolder used to create\n" diff --git a/nlp-engine b/nlp-engine index 0ea5b3a..09ff51b 160000 --- a/nlp-engine +++ b/nlp-engine @@ -1 +1 @@ -Subproject commit 0ea5b3a3d362c124dbdfbea93f3c36111986889f +Subproject commit 09ff51bef3f86015151b01d1ef4a338a552bbafe