Skip to content

Conversation

@NintenSAGA
Copy link
Contributor

@NintenSAGA NintenSAGA commented Apr 12, 2023

  • 优化了与命令行相关的使用界面,补充了测试
    • listenToStdIn
    • listenToCmd
  • 将 SentiStrength 单句计算逻辑抽象为一个方法,并暴露为 public.
  • 重新梳理了 SentiStrength 的分包结构。
  • 加入了 Guava 依赖,便于后续开发。
  • 抽象出了 WordList 抽象类,并使 BoosterWordsList, SentimentWords, IdiomList, EmoticonsList, CorrectSpellingsList, IronyList, NegatingWordList, QuestionWords 等类继承该抽象类。
  • 重构了 ClassificationResources 中资源初始化时的操作。

@NintenSAGA NintenSAGA changed the title feat refactor: 更多重构 Apr 12, 2023
@NintenSAGA NintenSAGA merged commit 941ed70 into development Apr 12, 2023
@NintenSAGA NintenSAGA deleted the feat/tanziyue/more-refactor branch April 12, 2023 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants