Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JasmineAIGC/ArXiv_CV_Papers_Daily
/ functions
Functions
65 in github.com/JasmineAIGC/ArXiv_CV_Papers_Daily
⨍
Functions
65
◇
Types & classes
14
↓ 19 callers
Method
create
创建对话完成请求(兼容 chat/completions 接口)
scripts/doubao_client.py:88
↓ 8 callers
Function
preprocess_text
对文本进行预处理,包括小写转换、分词、去停用词、词干提取和词形还原 Args: text: 原始文本 Returns: str: 预处理后的文本
scripts/get_cv_papers.py:310
↓ 8 callers
Function
preprocess_text
对文本进行预处理,包括小写转换、分词、去停用词、词干提取和词形还原 Args: text: 原始文本 Returns: str: 预处理后的文本
scripts/bak/get_cv_papers.py:363
↓ 5 callers
Function
get_subcategory
在确定主类别后,进一步确定子类别 Args: title: 论文标题 abstract: 论文摘要 main_category: 主类别 main_score: 主类别得分 Retu
scripts/get_cv_papers.py:856
↓ 3 callers
Method
clean_json_string
清理并提取JSON字符串
scripts/chatglm_helper.py:105
↓ 3 callers
Function
setup_logger
配置并返回日志记录器 Args: name: 记录器名称 level: 日志级别 log_dir: 日志文件目录,None则仅控制台输出 simple_format: 启用简化格式(仅消息内容)
scripts/bak/logger_config.py:21
↓ 2 callers
Method
clean_json_string
清理并提取JSON字符串
scripts/bak/chatglm_helper.py:107
↓ 2 callers
Method
decide_category
使用ChatGLM从候选类别中决定最终分类 Args: title: 论文标题 abstract: 论文摘要 candidate_categories: 候选类别列表,每个元素是(categor
scripts/chatglm_helper.py:669
↓ 2 callers
Function
get_category_by_keywords
执行基于关键词匹配和优先级规则的层次化论文分类,带有增强的文本处理和置信度评分。 Args: title (str): 论文标题,用于主要上下文分析 abstract (str): 论文摘要,用于全面内容分析 categor
scripts/bak/get_cv_papers.py:421
↓ 2 callers
Method
get_category_by_keywords
通过关键词匹配进行分类 Args: title: 论文标题 abstract: 论文摘要 Returns: List[Tuple[str, float]
scripts/chatglm_helper.py:136
↓ 2 callers
Method
get_category_by_keywords
通过关键词匹配进行分类 Args: title: 论文标题 abstract: 论文摘要 Returns: List[Tuple[str, float]
scripts/bak/chatglm_helper.py:138
↓ 2 callers
Method
get_category_by_semantic
使用语义分析进行分类
scripts/chatglm_helper.py:255
↓ 2 callers
Method
get_category_by_semantic
使用语义分析进行分类
scripts/bak/chatglm_helper.py:257
↓ 2 callers
Function
get_related_category_pairs
根据最新的类别定义生成相关类别对 这些对在计算类别相似度时使用 Returns: List[Tuple[str, str]]: 相关类别对列表
scripts/bak/get_cv_papers.py:41
↓ 2 callers
Function
get_subcategory
在确定主类别后,进一步确定子类别 Args: title: 论文标题 abstract: 论文摘要 main_category: 主类别 main_score: 主类别得分 Retu
scripts/bak/get_cv_papers.py:1044
↓ 2 callers
Function
summarize_contribution
(core_contribution)
scripts/get_cv_papers.py:177
↓ 2 callers
Function
summarize_contribution
(core_contribution)
scripts/bak/get_cv_papers.py:230
↓ 1 callers
Method
combine_results
Synthesize classification results from keyword matching and semantic analysis. Implementation Details: 1. Scorin
scripts/chatglm_helper.py:309
↓ 1 callers
Method
combine_results
Synthesize classification results from keyword matching and semantic analysis. Implementation Details: 1. Scorin
scripts/bak/chatglm_helper.py:311
↓ 1 callers
Method
confirm_category
对分类结果进行二次确认
scripts/chatglm_helper.py:615
↓ 1 callers
Method
confirm_category
Confirm the classification result
scripts/bak/chatglm_helper.py:584
↓ 1 callers
Method
decide_category
Use ChatGLM to decide the final category from candidate categories Args: title: Paper title abstract: Paper abstr
scripts/bak/chatglm_helper.py:638
↓ 1 callers
Function
df_to_markdown_detailed
生成详细格式的Markdown内容,支持两级类别标题
scripts/get_cv_papers.py:214
↓ 1 callers
Function
df_to_markdown_detailed
生成详细格式的Markdown内容,支持两级类别标题
scripts/bak/get_cv_papers.py:267
↓ 1 callers
Function
df_to_markdown_table
生成表格形式的Markdown内容,支持两级类别标题
scripts/get_cv_papers.py:140
↓ 1 callers
Function
df_to_markdown_table
生成表格形式的Markdown内容,支持两级类别标题
scripts/bak/get_cv_papers.py:193
↓ 1 callers
Method
from_api_response
从 API 响应数据创建 DoubaoResponse 对象
scripts/doubao_client.py:27
↓ 1 callers
Method
from_api_response
从 API 响应数据创建 ChatGLMResponse 对象
scripts/chatglm_client.py:24
↓ 1 callers
Function
get_category_by_keywords
执行基于关键词匹配和优先级规则的层次化论文分类,带有增强的文本处理和置信度评分。 Args: title (str): 论文标题,用于主要上下文分析 abstract (str): 论文摘要,用于全面内容分析 categor
scripts/get_cv_papers.py:368
↓ 1 callers
Function
get_cv_papers
获取CV领域论文并保存为Markdown
scripts/get_cv_papers.py:1156
↓ 1 callers
Function
get_cv_papers
获取并分类 CV 论文的主函数
scripts/bak/get_cv_papers.py:1336
↓ 1 callers
Function
save_papers_to_markdown
保存论文信息到Markdown文件
scripts/get_cv_papers.py:1377
↓ 1 callers
Function
save_papers_to_markdown
保存论文信息到Markdown文件
scripts/bak/get_cv_papers.py:1561
Method
__init__
根据配置初始化对应的LLM客户端
scripts/chatglm_helper.py:16
Method
__init__
(self, client: "DoubaoClient")
scripts/doubao_client.py:85
Method
__init__
(self, client: "DoubaoClient")
scripts/doubao_client.py:152
Method
__init__
初始化豆包客户端 Args: api_key: API 密钥 model: 模型名称,默认为 doubao-seed-1-6-flash-250828 base_url: API 基础 URL
scripts/doubao_client.py:172
Method
__init__
(self, client: "ChatGLMClient")
scripts/chatglm_client.py:41
Method
__init__
(self, client: "ChatGLMClient")
scripts/chatglm_client.py:116
Method
__init__
初始化 ChatGLM 客户端 Args: api_key: API 密钥 model: 模型名称,默认为 glm-4.7 base_url: API 基础 URL
scripts/chatglm_client.py:137
Method
__init__
初始化ChatGLM客户端
scripts/bak/chatglm_helper.py:33
Method
_call_chatglm_api
调用ChatGLM API Args: messages: 消息列表 model: 模型名称 temperature: 采样温度 max_tokens:
scripts/bak/chatglm_helper.py:895
Method
_extract_json_field
从文本中提取 JSON 字段值 Args: text: 可能包含 JSON 的文本 field: 要提取的字段名 Returns: str: 字段值,如
scripts/chatglm_helper.py:590
Method
analyze_paper_contribution
分析论文的核心贡献,以单句话总结的形式返回 Args: title: 论文标题 abstract: 论文摘要 Returns: dict: 包含分析结果的字典,只有一个键"核心
scripts/chatglm_helper.py:546
Method
analyze_paper_contribution
Analyze the paper's core contribution and return a summary in one sentence Args: title: Paper title abstract: Pap
scripts/bak/chatglm_helper.py:500
Function
calculate_category_relation
计算两个类别之间的相关性 Args: category1: 第一个类别名称 category2: 第二个类别名称 categories_config: 类别配置字典 Returns:
scripts/get_cv_papers.py:799
Function
calculate_category_relation
计算两个类别之间的相关性 Args: category1: 第一个类别名称 category2: 第二个类别名称 categories_config: 类别配置字典 Returns:
scripts/bak/get_cv_papers.py:871
Method
categorize_paper
使用ChatGLM对论文进行分类 Args: title: 论文标题 abstract: 论文摘要 Returns: str: 论文类别
scripts/chatglm_helper.py:396
Method
categorize_paper
使用ChatGLM对论文进行分类 Args: title: 论文标题 abstract: 论文摘要 Returns: str: 论文类别
scripts/bak/chatglm_helper.py:398
Method
classify_paper
改进的论文分类方法
scripts/chatglm_helper.py:374
Method
classify_paper
改进的论文分类方法
scripts/bak/chatglm_helper.py:376
Method
collect_from_content
(content_items, target_parts)
scripts/doubao_client.py:54
Method
create
创建对话完成请求(兼容 chat/completions 接口)
scripts/chatglm_client.py:44
Method
determine_subcategory
确定论文的子类别 Args: title: 论文标题 abstract: 论文摘要 main_category: 主类别 Returns:
scripts/chatglm_helper.py:764
Method
determine_subcategory
Determine the paper's subcategory Args: title: Paper title abstract: Paper abstract main_category: Ma
scripts/bak/chatglm_helper.py:745
Function
extract_arxiv_id
从ArXiv URL中提取论文ID Args: url: ArXiv论文URL Returns: str: 论文ID
scripts/get_cv_papers.py:117
Function
extract_arxiv_id
从ArXiv URL中提取论文ID Args: url: ArXiv论文URL Returns: str: 论文ID
scripts/bak/get_cv_papers.py:170
Function
extract_github_link
从文本中提取GitHub链接 Args: text: 论文摘要文本 paper_url: 论文URL title: 论文标题 authors: 作者列表 pdf_url: PDF文件URL Retur
scripts/get_cv_papers.py:77
Function
extract_github_link
从文本中提取GitHub链接 Args: text: 论文摘要文本 paper_url: 论文URL title: 论文标题 authors: 作者列表 pdf_url: PDF文件URL Retur
scripts/bak/get_cv_papers.py:130
Function
generate_statistics_markdown
生成统计信息的Markdown格式文本 Args: papers_by_category: 按类别组织的论文字典 Returns: str: Markdown格式的统计信息
scripts/get_cv_papers.py:1422
Function
generate_statistics_markdown
生成统计信息的Markdown格式文本 Args: papers_by_category: 按类别组织的论文字典 Returns: str: Markdown格式的统计信息
scripts/bak/get_cv_papers.py:1606
Function
process_paper
处理单篇论文的所有分析任务 Args: paper: ArXiv论文对象 glm_helper: ChatGLM助手实例 target_date: 目标日期 Returns: Dict: 包含论文信息的字典,如果论文
scripts/get_cv_papers.py:1032
Function
process_paper
处理单篇论文的所有分析任务 Args: paper: ArXiv论文对象 glm_helper: ChatGLM助手实例 target_date: 目标日期 Returns: Dict: 包含论文信息的字典,如果论文
scripts/bak/get_cv_papers.py:921
Method
translate_title
使用ChatGLM翻译论文标题,增强的提示词和错误处理 Args: title: 论文英文标题 abstract: 论文摘要,用于提供上下文(可选) Returns: str:
scripts/chatglm_helper.py:40
Method
translate_title
使用ChatGLM翻译论文标题,增强的提示词和错误处理 Args: title: 论文英文标题 abstract: 论文摘要,用于提供上下文(可选) Returns: str:
scripts/bak/chatglm_helper.py:43