# literature_topic_recognization_v2 **Repository Path**: yuntiy/literature_topic_recognization_v2 ## Basic Information - **Project Name**: literature_topic_recognization_v2 - **Description**: 使用streamlit对literature_topic_recognization进行的重构。 - **Primary Language**: Python - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2024-11-21 - **Last Updated**: 2024-11-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Literature Topic Recognition V2 #### 项目介绍 基于 Streamlit 框架开发的文献主题识别系统,是对原 literature_topic_recognition 项目的重构版本。本项目提供了友好的 Web 界面,用于进行文献主题的自动识别与分类。 #### 背景 ![背景](image/README/background.png) #### 软件效果 ![软件效果](image/README/software_effect.png) #### 方法路线 ![方法路线](image/README/method_route.png) #### 技术架构 - 前端框架:Streamlit - 后端语言:Python - 主要功能:文献主题识别、文本分类 #### 安装步骤 1. 克隆项目到本地 ```bash git clone https://gitee.com/liyan24/literature_topic_recognization_v2.git cd literature-topic-recognition-v2 ``` 2. 安装依赖(python3.12) ```bash pip install -r requirements.txt ``` 或者: ```bash pip install streamlit pip install streamlit-echarts pip install langchain pip install langchain_openai pip install networkx pip install scikit-learn ``` 建议使用国内镜像源安装,以提高安装速度。如: ```bash pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ -r requirements.txt ``` 以及 ```bash pip install streamlit -i https://pypi.tuna.tsinghua.edu.cn/simple/ pip install streamlit-echarts -i https://pypi.tuna.tsinghua.edu.cn/simple/ pip install langchain -i https://pypi.tuna.tsinghua.edu.cn/simple/ pip install langchain_openai -i https://pypi.tuna.tsinghua.edu.cn/simple/ pip install networkx -i https://pypi.tuna.tsinghua.edu.cn/simple/ pip install scikit-learn -i https://pypi.tuna.tsinghua.edu.cn/simple/ ``` 3. 运行项目 ```bash streamlit run app.py ``` 4. 在浏览器中访问 `http://localhost:8501`