- OfficeCoder 1 2 3 4 1,2,3,4 xingjiarong@mail.sdu.edu.cn 1 xuchongyang@mail.sdu.edu.cn 2 sun.mc@outlook.com 3 luoyuanhang@mail.sdu.edu.cn 4 Abstract. Microsoft Word 2013 Word 2013 Office Keywords:,, HTML5, Office,, XML 1 +
Office Office Office Microsoft Word Office Office Azure Office One Drive 2 app 3 : [5] 3, :, [6]; [5], ; [8], [1], ICTCLAS(Institute of Computing Technology, Chinese Lexical Analysis System) (HMM, Hidden MarKov Model)[9], ICTCLAS2002 973, 15,ICTCLAS2015 ICTCLAS2015 [10]
:,, [7] (PCFG) PCFG,, PCFG,, ICTCLAS2015 PCFG [2] 3 3.1 3.2 Microsoft Word Microsoft Word Microsoft Word Word : App App UI UI Word Word Word Word
Fig. 1. Fig. 2.
Fig. 3. XML App XML App Application Page XML Page C XML Page Page
Fig. 4. XML Fig. 5.
3.3 MICROSOFT AZURE IT IT Mirosoft Azure Azure Web Windows Azure + Azure Azure Azure APK APP APP XML APP 1) Word APP 2) XML XML 3) APP XML 4) XML XML XML HTML5 5) HTML5 APK 6) APK HTTP POST SOCKET POST XML JSON
Fig. 6. APP APP APP APP Azure Azure (SMB) SMB 2.1 SMB 3.0 Azure API Azure SMB Azure Azure Azure ; Azure SMB 5TB ; ;
, 1 TB; URL URL http : //samples.f ile.core.chinacloudapi.cn/logs/customlogs/log1.txt Fig. 7. URL xml APP XML XML Extensible Markup Language XML XML XML HTML XML XML ; XML XML ; XML XML XML HTML5 HTML5
APK ADT ADT HTML5 HTML5 HTML5 HTML5 HTML5 IOS Windows 4 ICTCLAS2015 [3] PCFG [2] [4] NLP 1 ; 2 ; 3 ; 1 ICTCLAS2015 2 Bayes [3] 3 PCFG [2] CFG 4.1 ICTCLAS2015 ICTCLAS 2015 ICTCLAS(Institute of Computing Technology, Chinese Lexical Analysis
System) 6 ICTCLAS3.0 ICTCLAS3.0 996KB/s 98.45% API 200KB 3M ICTCLAS2015 Algorithm 1 Require: String Ensure: 1: function ICTCLAS2015 (String) 2: result null 3: if String!= null then 4: 5: (String) 6: end if 7: return result 8: end function 9: 10: function (String) 11: if String then 12: String 13: else 14: 15: end if 16: end function 4.2 d X X (document space) C = c1, c2,, cj < d, c > < d, c > X C γ γ : X C
Algorithm 2 Require: C, D Ensure: 1: function Train(C,D) 2: V ExtractV ocabulary(d) 3: N CountT okens(d) 4: if c C then 5: Nc CountT okensinclass(d, c) 6: prior[c] Nc/N 7: textc ConcatenateT extofalldocs(d, c) 8: if t V then 9: T ct CountT okenoft erms(textc, t) 10: condprob[t][c] 11: end if 12: end if 13: end function 4.3 PCFG PCFG (Probabilistic Context free Grammar PCFG) (Stochastic Context-free Grammar SCFG) Booth(1969) {N, Σ, P, S} A β A β [p] {N, Σ, P, S, D}G D P A B P P (A β) P (A β A) A B 1 5 5.1 OfficeCoder App Microsoft Office Word OfficeCoder
Fig. 8. OfficeCoder Fig. 9.
Fig. 10. OfficeCoder
Fig. 11. Fig. 12. APP
Fig. 13.
5.2 使用 OfficeCoder 生成 App Fig. 14. 安装与使用 扫描 OfficeCoder 所生成的二维码 安装下载好的 App 打开安装的 APP 即可 开始使用 OfficeCoder 所生成的 App 6 结论与展望 我们的 OfficeCoder 最终完成了可以通过编辑 Office 文档上传至云端服务器进 行语义分析 从而使得用户可以定制自己的一款移动 app 的云应用架构 我们 搭建了一个完整的模板库和控件库使得使用 OfficeCoder 不仅可以生成应用 还 可以生成游戏 同时我们将 OfficeCoder 打造成一个跨平台应用生成系统 我 们的作品具有很大的突破性和创新性 在此之前 只有程序开发人员才能编写 App 而普通人只能使用别人开发的 App 这样显然不能满足每一个用户的需 求 但是自己又没有编程的技术 没有办法开发自己想要的 App 相信大部分使 用者都有过这样的想法 app 开发的技术要求将一大部分有软件开发热情的人
App Word Powerpoint Visio App office App App Office App office App App Word 2013 PowerPoint2013 Visio 2013 Word App PowerPoint App Visio App App App Windows Azure, App App App App 7 References [1] - : 2005 [2] - : (2006) [3] - : (2000) [4] - : (2013) [5] :. :, 2008: 103 146 [6],,, :., 2013, 34(5): 1802 1807 [7] Christopher D. Manning Hinrich Schutze: Foundations of Statistical Natural Language Processing[M]. The MIT Press Cambridge,Massachusetts London,England,1999. [8] : -, 2006-211.144.32.150 [9] : -, 2008 [10] : -,