baidu / AnyQ

FAQ-based Question Answering System
Apache License 2.0
2.59k stars 672 forks source link

AnyQ的配置文件是如何起作用的 #243

Open laorenyuhai opened 3 years ago

laorenyuhai commented 3 years ago

首先读取AnyQ.conf,里面配置了"analysis.conf" "retrieval.conf" "rank.conf“,再查看cat ./example/conf/analysis.conf ,其中包含下面内容,那这两部分是同时起效果么,或者是有怎样的优先级?(从上到下?),望各位大牛回复,感谢。 name: "analysis_conf"

analysis_method { name: "method_wordseg" type: "AnalysisWordseg" using_dict_name: "lac" }

analysis_method { name: "method_simnet_emb" type: "AnalysisSimNetEmb" using_dict_name: "fluid_simnet" dim: 128 query_feed_name: "left" cand_feed_name: "right" embedding_fetch_name: "tanh.tmp" }