<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="static/style.xsl"?><OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd"><responseDate>2026-11-30T12:54:27Z</responseDate><request verb="GetRecord" identifier="oai:repository.rice.edu:1911/105464" metadataPrefix="dim">https://repository.rice.edu/server/oai/request</request><GetRecord><record><header><identifier>oai:repository.rice.edu:1911/105464</identifier><datestamp>2024-01-11T21:02:08Z</datestamp><setSpec>com_1911_8299</setSpec><setSpec>col_1911_13110</setSpec></header><metadata><dim:dim xmlns:dim="http://www.dspace.org/xmlns/dspace/dim" xmlns:doc="http://www.lyncode.com/xoai" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.dspace.org/xmlns/dspace/dim http://www.dspace.org/schema/dim.xsd">
   <dim:field mdschema="dc" element="contributor" qualifier="advisor">Jermaine, Christopher</dim:field>
   <dim:field mdschema="dc" element="creator">Mukherjee, Rohan</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="accessioned">2019-05-16T20:01:03Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="available">2019-05-16T20:01:03Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="created">2017-08</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="issued">2017-10-26</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="submitted">August 2017</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="updated">2019-05-16T20:01:03Z</dim:field>
   <dim:field mdschema="dc" element="identifier" qualifier="citation">Mukherjee, Rohan. &amp;quot;Mining Natural APIs from Large Code Corpora using a Mixture of Hidden Markov Models.&amp;quot; (2017) Master’s Thesis,  Rice University.  &amp;lt;a href=&amp;quot;https://hdl.handle.net/1911/105464&amp;quot;&amp;gt;https://hdl.handle.net/1911/105464&amp;lt;/a&amp;gt;.</dim:field>
   <dim:field mdschema="dc" element="identifier" qualifier="uri">https://hdl.handle.net/1911/105464</dim:field>
   <dim:field mdschema="dc" element="description" qualifier="abstract">A Natural API is a collection of API methods that tend to be used following
certain discernible statistical patterns in real-world code. In this thesis, I present a method for learning an interpretable statistical model for such natural APIs. My model is trained on sequences of API calls produced from large software repositories through program analysis. Once trained, the model is able to recognize complex
temporal dependences between methods, including methods that technically belong to different APIs, and can be used as a proxy for formal correctness specifications.
Our experiments train the model on sequences of method calls generated from over 150 million lines of Android code. We evaluate the learned model by measuring accuracy in learnt specifications from the corpus, completing code with missing API
calls, and searching for code that uses APIs in a way that matches a query. Our encouraging results indicate that statistical models of API calls learned from large code corpora can have broad value in software engineering.</dim:field>
   <dim:field mdschema="dc" element="format" qualifier="mimetype">application/pdf</dim:field>
   <dim:field mdschema="dc" element="language" qualifier="iso">eng</dim:field>
   <dim:field mdschema="dc" element="rights">Copyright is held by the author, unless otherwise indicated. Permission to reuse, publish, or reproduce the work beyond the bounds of fair use or other exemptions to copyright law must be obtained from the copyright holder.</dim:field>
   <dim:field mdschema="dc" element="subject">Hidden Markov Model</dim:field>
   <dim:field mdschema="dc" element="subject">Topic Model</dim:field>
   <dim:field mdschema="dc" element="subject">Specification Mining</dim:field>
   <dim:field mdschema="dc" element="subject">API Prediction</dim:field>
   <dim:field mdschema="dc" element="subject">Data Mining</dim:field>
   <dim:field mdschema="dc" element="subject">Software Engineering</dim:field>
   <dim:field mdschema="dc" element="title">Mining Natural APIs from Large Code Corpora using a Mixture of Hidden Markov Models</dim:field>
   <dim:field mdschema="dc" element="type">Thesis</dim:field>
   <dim:field mdschema="dc" element="type" qualifier="material">Text</dim:field>
   <dim:field mdschema="thesis" element="degree" qualifier="department">Computer Science</dim:field>
   <dim:field mdschema="thesis" element="degree" qualifier="discipline">Engineering</dim:field>
   <dim:field mdschema="thesis" element="degree" qualifier="grantor">Rice University</dim:field>
   <dim:field mdschema="thesis" element="degree" qualifier="level">Masters</dim:field>
   <dim:field mdschema="thesis" element="degree" qualifier="name">Master of Science</dim:field>
   <dim:field mdschema="others" element="access-status">open.access</dim:field>
</dim:dim>
</metadata></record></GetRecord></OAI-PMH>