Skip to content

Commit ea3f7ff

Browse files
authored
Merge pull request #17 from ddehilster/PYTHON-PACKAGE-007
PYTHON-PACKAGE-007 updating NLP engine
2 parents d9f69af + a8e43dc commit ea3f7ff

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
build_wheels_macos:
3838
name: Build wheels on MacOS
3939
# Otherwise people with older Macs are out of luck
40-
runs-on: macos-12
40+
runs-on: macOS-latest
4141
# Uncomment for testing
4242
# if: false
4343

bindings.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ using namespace nb::literals;
2727
*/
2828
const std::string
2929
wrap_analyze(NLP_ENGINE &engine, const std::string &parser,
30-
const std::string &input, const bool develop=false) {
30+
const std::string &input, const bool develop) {
3131
_TCHAR *_parser = _tcsdup(parser.c_str());
3232
std::istringstream instream(input);
3333
std::ostringstream outstream;
@@ -42,7 +42,7 @@ NB_MODULE(bindings, m) {
4242
"workingFolder"_a = ".",
4343
"silent"_a = true)
4444
.def("analyze", &wrap_analyze,
45-
"parser"_a, "input"_a, "develop"_a,
45+
"parser"_a, "input"_a, "develop"_a = false,
4646
"Analyze `input` with `parser`.\n"
4747
"The `parser` argument refers to an analyzer contained in the\n"
4848
"`analyzers` folder inside the workingFolder used to create\n"

0 commit comments

Comments
 (0)