Publication Type

Journal Article

Publication Date

11-2017

Abstract

Chinese developers often cannot effectively search questions in English, because they may have difficulties in translating technical words from Chinese to English and formulating proper English queries. For the purpose of helping Chinese developers take advantage of the rich knowledge base of Stack Overflow and simplify the question retrieval process, we propose an automated cross-language relevant question retrieval (CLRQR) system to retrieve relevant English questions for a given Chinese question. CLRQR first extracts essential information (both Chinese and English) from the title and description of the input Chinese question, then performs domain-specific translation of the essential Chinese information into English, and finally formulates an English query for retrieving relevant questions in a repository of English questions from Stack Overflow. We propose three different retrieval algorithms (word-embedding, word-matching, and vector-space-model based methods) that exploit different document representations and similarity metrics for question retrieval. To evaluate the performance of our approach and investigate the effectiveness of different retrieval algorithms, we propose four baseline approaches based on the combination of different sources of query words, query formulation mechanisms and search engines. We randomly select 80 Java, 20 Python and 20 .NET questions in SegmentFault and V2EX (two Chinese Q&A websites for computer programming) as the query Chinese questions. We conduct a user study to evaluate the relevance of the retrieved English questions using CLRQR with different retrieval algorithms and the four baseline approaches. The experiment results show that CLRQR with word-embedding based retrieval achieves the best performance.

Keywords

Cross-language question retrieval, Domain-specific translation, Computer programming, Knowledge based systems, Linguistics, Search engines, Vector spaces, Cross-language question, Document Representation, Domain-specific translation, Query formulation, Retrieval algorithms, Retrieval process, Similarity metrics, Vector space models, Translation (languages)

Discipline

Programming Languages and Compilers | Software Engineering

Publication

Empirical Software Engineering

First Page

1

Last Page

39

ISSN

1382-3256

Identifier

10.1007/s10664-017-9568-3

Publisher

Springer Verlag (Germany)

Creative Commons License

Creative Commons Attribution-Noncommercial-No Derivative Works 4.0 License
This work is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 4.0 License.

Additional URL

https://doi.org/10.1007/s10664-017-9568-3

Share

COinS