Web APIs have gained increasing popularity in recent Web service technology development owing to its simplicity of technology stack and the proliferation of mashups. However, efficiently discovering Web APIs and the relevant documentations on the Web is still a challenging task even with the best resources available on the Web. In this paper we cast the problem of detecting the Web API documentations as a text classification problem of classifying a given Web page as Web API associated or not. We propose a supervised generative topic model called feature latent Dirichlet allocation (feaLDA) which offers a generic probabilistic framework for automatic detection of Web APIs. feaLDA not only captures the correspondence between data and the associated class labels, but also provides a mechanism for incorporating side information such as labelled features automatically learned from data that can effectively help improving classification performance. Extensive experiments on our Web APIs documentation dataset shows that the feaLDA model outperforms three strong supervised baselines including naive Bayes, support vector machines, and the maximum entropy model, by over 3% in classification accuracy. In addition, feaLDA also gives superior performance when compared against other existing supervised topic models.
|Title of host publication||The Semantic Web - ISWC 2012|
|Subtitle of host publication||11th International Semantic Web Conference Boston, MA, USA, November 11-15, 2012 Proceedings, Part I|
|Place of Publication||Berlin|
|Number of pages||16|
|Publication status||Published - 2012|
|Name||Lecture Notes in Computer Science|
Lin, C., He, Y., Pedrinaci, C., & Domingue, J. (2012). Feature LDA: A supervised topic model for automatic detection of web API documentations from the web. In The Semantic Web - ISWC 2012: 11th International Semantic Web Conference Boston, MA, USA, November 11-15, 2012 Proceedings, Part I (pp. 328-343). (Lecture Notes in Computer Science; Vol. 7649, No. -). Springer . https://doi.org/10.1007/978-3-642-35176-1_21