From 663adf906b61f0804761ac0ccc2ced74f72f3700 Mon Sep 17 00:00:00 2001 From: Oneplus Date: Fri, 22 May 2015 12:51:27 +0800 Subject: [PATCH] Fix typo in ltp_server --- src/server/ltp_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/ltp_server.cpp b/src/server/ltp_server.cpp index e5fecb745..af119b3df 100644 --- a/src/server/ltp_server.cpp +++ b/src/server/ltp_server.cpp @@ -131,7 +131,7 @@ int main(int argc, char *argv[]) { std::string postagger_model = "ltp_data/pos.model"; if (vm.count("postagger-model")) { - postagger_model= vm["segmentor-model"].as(); + postagger_model= vm["postagger-model"].as(); } std::string postagger_lexcion = "";