Pattern
2017-03-27 23:15:07 8 举报
pattern-based software development coursework
作者其他创作
大纲/内容
TextAnalyst
- attributeA- attributeB
- methodA()- methodB()
PersonalityAnalyst (strategy)
- personality: String[]
- PersonalityAnalyst(): 得到每条post的textMiningResult,根据权重得到personality- 数据库查() :得到textMiningResult
Post(factory)
- image: String- caption: String- tag: String- searchingResult: String- text: String- textMiningResult: String
ImageAnalyst
GUI
+ attribute1:type = defaultValue+ attribute2:type- attribute3:type
+ operation1(params):returnType- operation2(params)- operation3()
DatabaseProcessor
ImageCatcher
- account: String- post: Post[]- personality: String[]
- Target(): contruct方法,singleton- crawl(): new一个爬虫器爬虫- analysingPersonality(): new一个PersonalityAnalyst,得到personality- 数据库增(): 新建一个表- 数据库查(): 得到textMiningResult
User
- account: String- password: String
- login()
0 条评论
下一页