Difference between revisions of "Ideas for Google Summer of Code/Integration and debugging tools for Grammatical Framework"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
** Input: |
** Input: |
||
** Output: Full form list with surface forms and lexical forms |
** Output: Full form list with surface forms and lexical forms |
||
+ | * Lexical selection |
||
+ | ** Input: ? |
||
+ | ** Output: ? |
||
==Coding challenge== |
==Coding challenge== |
Revision as of 15:00, 23 February 2015
The objective of this task is to create a suite of tools for Grammatical Framework (GF) to facilitate interoperability with Apertium and other tools. Grammatical Framework has a ton of resources, but people familiar with Apertium may find the way of using them a bit alien. The idea of this task is to make some tools for GF to make it more easily pick-uppable for Apertium developers and users.
Tools
- Morphological analyser
- Input: Text stream, PGF grammar file
- Output: Tokenised and morphologically analysed text
- Disambiguator
- Input: Morphologically analysed text, PGF grammar file
- Output: The analysed text without the analyses not found in the parse trees below a certain probability threshold (n-best). e.g. 1-best would have only the morphological analyses which are found in the 1-best parse tree.
- Lexicon expander
- Input:
- Output: Full form list with surface forms and lexical forms
- Lexical selection
- Input: ?
- Output: ?
Coding challenge
- Install Grammatical Framework
- Install Apertium
- Write a program using Haskell or C to retrieve the morphological analysis of a word from the PGF library and print it out in Apertium format. (Note that the gf package in cabal has dependency errors, as of 18/02/2015. To install it, run "cabal get gf", and edit the gf.cabal file. Add "network-uri" to the build-depends in the Executable and Library sections)