Skip to content

Instantly share code, notes, and snippets.

View Ineedlearn's full-sized avatar
🏠
Working from home

Henry Qi Ineedlearn

🏠
Working from home
  • 04:32 (UTC -12:00)
View GitHub Profile
import streamlit as st
import pandas as pd
import re
from collections import Counter
import altair as alt
# ==========================================
# 1. 核心处理模块 (后端逻辑)
# ==========================================
import pandas as pd
import re
from collections import Counter
class GameCommentAnalyzer:
def __init__(self):
# 2. 分类 (Classification) - 定义核心关键词库
# 在实际生产中,这里会接入 LLM 进行语义判断,MVP阶段我们用精准关键词匹配
self.keywords = {