Abstract
This paper describes the implementation of a generalized query language on Google Ngram database. This language allows for very expressive queries that exploit semantic similarity acquired both from corpora (e.g. LSA) and from WordNet, and phonetic similarity available from the CMU Pronouncing Dictionary. It contains a large number of new operators, which combined in a proper query can help users to extract n-grams having similarly close syntactic and semantic relational properties. We also characterize the operators with respect to their corpus affiliation and their functionality. The query syntax is considered next given in terms of Backus-Naur rules followed by a few interesting examples of how the tool can be used. We also describe the command-line arguments the user could input comparing them with the ones for retrieving n-grams through the interface of Google Ngram database. Finally we discuss possible improvements on the extraction process and some relevant query completeness issues.- Anthology ID:
- L12-1429
- Volume:
- Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC'12)
- Month:
- May
- Year:
- 2012
- Address:
- Istanbul, Turkey
- Editors:
- Nicoletta Calzolari, Khalid Choukri, Thierry Declerck, Mehmet Uğur Doğan, Bente Maegaard, Joseph Mariani, Asuncion Moreno, Jan Odijk, Stelios Piperidis
- Venue:
- LREC
- SIG:
- Publisher:
- European Language Resources Association (ELRA)
- Note:
- Pages:
- 563–568
- Language:
- URL:
- http://www.lrec-conf.org/proceedings/lrec2012/pdf/735_Paper.pdf
- DOI:
- Cite (ACL):
- Martin Aleksandrov and Carlo Strapparava. 2012. NgramQuery - Smart Information Extraction from Google N-gram using External Resources. In Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC'12), pages 563–568, Istanbul, Turkey. European Language Resources Association (ELRA).
- Cite (Informal):
- NgramQuery - Smart Information Extraction from Google N-gram using External Resources (Aleksandrov & Strapparava, LREC 2012)
- PDF:
- http://www.lrec-conf.org/proceedings/lrec2012/pdf/735_Paper.pdf