• English
    • svenska
  • svenska 
    • English
    • svenska
  • Logga in
Redigera dokument 
  •   Startsida
  • Student essays / Studentuppsatser
  • Department of Computer Science and Engineering / Institutionen för data- och informationsteknik
  • Masteruppsatser
  • Redigera dokument
  •   Startsida
  • Student essays / Studentuppsatser
  • Department of Computer Science and Engineering / Institutionen för data- och informationsteknik
  • Masteruppsatser
  • Redigera dokument
JavaScript is disabled for your browser. Some features of this site may not work without it.

Grammar-based suggestion engine with keyword search

Sammanfattning
In this thesis we investigate how we can develop an application which can translate sentences formulated in natural languages (English and Swedish) into a query language. We also build a suggestion engine which offers suggestions to a user based on a partial or invalid sentence. The purpose of the suggestion engine is to help the user to find valid sentences that the application can translate. We implement the translation by using a computational grammar. The grammar is developed by using Grammatical Framework (GF), which is a development platform for building natural language grammars. We take two approaches on building the natural language parts of the grammar. The first is concatenation of strings and the second is by using the GF Resource Grammar Library. The query part is implemented with concatenation of strings. The results show that it is more suitable to develop the natural language parts of the grammar by concatenating strings but only if the developer has good knowledge of the natural language. By concatenating strings, we can map all sorts of ungrammatical sentences to a grammatical sentence which is not possible with the GF Resource grammar library. This mapping makes the suggestion engine more powerful.
Examinationsnivå
Student essay
URL:
http://hdl.handle.net/2077/36977
Samlingar
  • Masteruppsatser
Fil(er)
gupea_2077_36977_1.pdf (661.4Kb)
Datum
2014-09-19
Författare
Agfjord, Martin
Nyckelord
Grammar, Grammatical Framework, GF, Natural language, Query language, Translation, Suggestion engine, Apache, Solr, Lucene, Tomcat, Maven,Java EE, Functional programming
Språk
eng
Metadata
Visa fullständig post

DSpace software copyright © 2002-2016  DuraSpace
gup@ub.gu.se | Teknisk hjälp
Theme by 
Atmire NV
 

 

Visa

VisaSamlingarI datumordningFörfattareTitlarNyckelordDenna samlingI datumordningFörfattareTitlarNyckelord

Mitt konto

Logga inRegistrera dig

DSpace software copyright © 2002-2016  DuraSpace
gup@ub.gu.se | Teknisk hjälp
Theme by 
Atmire NV