Skip to content

Conversation

@NintenSAGA
Copy link
Contributor

  • 抽象了文件流获取接口,避免在代码中直接出现 BufferedReader
  • 更名 WordListResource
  • 将 Lemmatiser 合入 Resource 子类
  • 增加 ResourceFactory 用以生成 Resource
    • 其中 CachedResourceFactory 会缓存已有资源
  • 再次重构目录
  • 增加了 SentiProperties,用来处理全局的属性设置
  • 重构了 EvaluativeTerms 的初始化逻辑
  • SentiStrengthFactory 也设计了缓存工厂,但是性能在有 Resource 缓存的情况下并没有提升(反而下降),所以弃用
  • 增加了测试的计时器工具类

@NintenSAGA NintenSAGA merged commit 5942776 into development Apr 16, 2023
@NintenSAGA NintenSAGA deleted the refactor/tanziyue/more-refactor+ branch April 16, 2023 03:00
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