Computer Science ›› 2017, Vol. 44 ›› Issue (11): 98-103.doi: 10.11896/j.issn.1002-137X.2017.11.015

Previous Articles     Next Articles

Document Based Matching Method for Mobile UI Components

XU Tong-tong, LIU Qu-tao, ZHENG Xiao-mei, PAN Min-xue and ZHANG Tian   

  • Online:2018-12-01 Published:2018-12-01

Abstract: Development for multi-platform is an important requirement of developing mobile applications.At the same time,the developments should be flexible for short cycle and rapid evolution.These are challenges for mobile developments.Fortunately,most mobile platforms are designed as MVC-based and event/UI-driven.Hence the UI components are similar between different platforms,which is very helpful when developing Apps from one platform to another.This paper provided a document based matching method for uncovering the similarities of UI components between different platforms.The iOS and Android are selected,and the documentations for their UI components are extracted from the official websites.Then the NLP techniques are used to build the vector space model so as to compute the similarities of UI components between two platforms.To increase the accuracy,the sets of synonymous words were presented according to the UI features of components.The experiments were performed on a set of typical iOS and Android UI components.The results illustrate that the accuracy of the method is acceptable for the most UI components especially for those of one-one-matching.

Key words: NLP,Mobile development,UI components

[1] lucence.https://lucene.apache.org.
[2] stanford corenlp.http://nlp.stanford.edu.
[3] PorterStemer.https://tartarus.org/martin/PorterStem-mer.
[4] wordnet.http://wordnet.princeton.edu.
[5] ios_kit.https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/UIKitUICatalog/index.html.
[6] android_kit.http://www.android-doc.com/guide/topics/ui.
[7] HUANG C H,SUN Y S.A Text Similarity Measurement Combining Word Semantic Information with TF-IDF Method[J].Chinese Journal of Computers,2011,4(5):856-864.
[8] HARMAN M,JIA Y,ZHANG Y Y.App Store Mining and Analysis:MSR for App[C]∥Working Conference on Mining Software Repositories.2015:123-133.
[9] MILIOS E,ZHANG Y,HE B,et al.Automatic Term Extraction and Document Similarity in Special Text Corpora[C]∥Procee-dings of the sixth Conference of the Pacific Association for Computational Linguistics.2003:275-284.
[10] LAKKARAJU P,GAUCH S,SPERETTA M.Document Similarity Based on Concept Tree Distance[C]∥Nineteenth ACM Conference on Hypertext & Hypermedia.2008:127-132.
[11] DUMITRU H,GIBIEC M,HARIRI N,et al.On-demand Feature Recommendations Derived from Mining Public Product Descriptions[J].International Conference on Software Enginee-ring,2011,1(2):181-190.
[12] TIAN Y,LO D,LAWALL J.SEWordSim:Software-SpecificWord Similarity Database[C]∥ICSE Companion 2014 Compani-on Proceedings of the 36th International Conference on Software Engineering.2014:568-571.
[13] ZHONG H,THUMMALAPENTA S,XIE T,et al.Mining API Mapping for Language[C]∥Proceedings of the 32nd ACM/IEEE International Conference on Software Engineering(ICSE’10).2010:195-204.
[14] NGUYEN A T,NGUYEN H A,NGUYEN T T,et al.Statistical Learning Approach for Mining API Usage Mappings for Code Migration[C]∥Proceedings of the 29th ACM/IEEE international conference on Automated software engineering(ASE’14).2014:457-468.
[15] CHOW K,NOTKIN D.Semi-automatic update of applications in response to library changes.Software Maintenance[C]∥International Conference on Date of Conference.1996:359-368.

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!