Feature LDA: a supervised topic model for automatic detection of web API documentations from the web

Chenghua Lin, Yulan He, Carlos Pedrinaci, John Domingue

Research output: Chapter in Book/Published conference outputConference publication


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.
Original languageEnglish
Title of host publicationThe semantic web – ISWC 2012
Subtitle of host publication11th international semantic web conference, Boston, MA, USA, November 11-15, 2012, proceedings, part 1
EditorsPhilippe Cudré-Mauroux, Jeff Heflin, Evren Sirin, et al.
Place of PublicationHeildelberg (DE)
Number of pages16
ISBN (Electronic)978-3-642-35176-1
ISBN (Print)978-3-642-35175-4
Publication statusPublished - 2012
Event11th international semantic web conference - Boston, MA, United States
Duration: 11 Nov 201215 Nov 2012

Publication series

NameLecture notes in computer science
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349


Conference11th international semantic web conference
Country/TerritoryUnited States
CityBoston, MA


Dive into the research topics of 'Feature LDA: a supervised topic model for automatic detection of web API documentations from the web'. Together they form a unique fingerprint.

Cite this