Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baidu/Familia
/ functions
Functions
145 in github.com/baidu/Familia
⨍
Functions
145
◇
Types & classes
29
Method
l2_norm
计算向量的长度,传入的是embedding NOTE: 可用SSE进行向量运算加速,此处为了代码可读性不进行优化
include/familia/semantic_matching.h:84
Method
lda_infer
src/inference_engine.cpp:78
Method
likelihood_based_similarity
使用短文本到长文本之间的似然值表示之间的相似度
include/familia/semantic_matching.h:108
Method
load_emb
src/semantic_matching.cpp:36
Method
load_model
src/model.cpp:29
Method
load_topic_words
读取主题模型的每个主题下的展现结果
src/demo/topic_word_demo.cpp:63
Method
load_vocab
src/tokenizer.cpp:59
Method
load_word_topic
src/model.cpp:46
Function
main
src/demo/show_topic_demo.cpp:135
Function
main
src/demo/topic_word_demo.cpp:97
Function
main
src/demo/doc_distance_demo.cpp:81
Function
main
src/demo/query_doc_sim_demo.cpp:83
Function
main
src/demo/word_distance_demo.cpp:62
Function
main
src/demo/inference_demo.cpp:33
Function
nearest_words
返回与目标词最相关的K个词
python/cpp/familia_wrapper.cpp:327
Function
nearest_words_around_topic
返回对应主题下最邻近的词
python/cpp/familia_wrapper.cpp:361
Method
num_topics
include/familia/model.h:67
Method
operator()
src/demo/show_topic_demo.cpp:39
Method
operator<
topic probability
include/familia/document.h:20
Method
print_result
打印结果
src/demo/topic_word_demo.cpp:47
Method
print_result
打印结果
src/demo/word_distance_demo.cpp:46
Method
print_tokens
打印分词结果
src/demo/doc_distance_demo.cpp:66
Method
print_tokens
打印分词结果
src/demo/query_doc_sim_demo.cpp:66
Method
proportional_funtion
src/sampler.cpp:153
Method
propose
src/sampler.cpp:26
Method
sample_sentence
src/sampler.cpp:51
Method
sample_token
src/sampler.cpp:41
Method
size
返回文档句子数量
include/familia/document.h:113
Method
size
离散分布的维度
include/familia/vose_alias.h:28
Method
slda_infer
src/inference_engine.cpp:92
Function
tokenize
分词
python/cpp/familia_wrapper.cpp:135
Method
tolower
返回对应字符的小写字符,如无对应小写字符则返回原字符
include/familia/tokenizer.h:55
Method
twe_based_similarity
基于Topical Word Embedding (TWE) 计算短文本与长文本的相似度 输入短文本明文分词结果,长文本主题分布,TWE模型,返回长文本与短文本语义相似度
include/familia/semantic_matching.h:140
Method
word_proposal
src/sampler.cpp:115
Method
word_proposal_distribution
src/sampler.cpp:193
Method
~DocDistanceDemo
src/demo/doc_distance_demo.cpp:34
Method
~InferenceEngine
include/familia/inference_engine.h:31
Method
~QueryDocSimDemo
src/demo/query_doc_sim_demo.cpp:36
Method
~Sampler
include/familia/sampler.h:24
Method
~ShowTopicDemo
src/demo/show_topic_demo.cpp:111
Method
~SimpleTokenizer
include/familia/tokenizer.h:37
Method
~Tokenizer
include/familia/tokenizer.h:24
Method
~TopicWordDemo
src/demo/topic_word_demo.cpp:36
Method
~TopicalWordEmbedding
include/familia/semantic_matching.h:41
Method
~WordDistanceDemo
src/demo/word_distance_demo.cpp:30
← previous
101–145 of 145, ranked by callers