baidu / baidu/AnyQ

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

Open
#243 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.6k
Forks
657
PR merge metrics
No merged PRs in 30d

Description

首先读取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"
}

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading AnyQ.conf and ./example/conf/analysis.conf, then trace how the analysis.conf, retrieval.conf, and rank.conf entries are loaded. Document whether the analysis_method blocks apply together and what ordering or precedence rules govern them.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.