Commit Graph
16 Commits
Author SHA1 Message Date
john 747287055f PGF web service: Return additional completion info with 'full' flag
BETA! The 'complete' command now has a new flag 'full' which when set
returns additional info about completions.

Without 'full' flag (default):

[
    {
        "from": "PhrasebookEng",
        "brackets": {
            "cat": "_",
            "fid": 0,
            "index": 0,
            "fun": "_",
            "children": [
                {
                    "token": "the"
                }
            ]
        },
        "text": "su",
        "completions": [
            "supermarket",
            "suspect"
        ]
    }
]

With full=true or full=yes:

[
    {
        "from": "PhrasebookEng",
        "brackets": {
            "cat": "_",
            "fid": 0,
            "index": 0,
            "fun": "_",
            "children": [
                {
                    "token": "the"
                }
            ]
        },
        "text": "su",
        "completions": [
            {
                "token": "supermarket",
                "funs": [
                    {
                        "fid": 421,
                        "fun": "Supermarket",
                        "hyps": [],
                        "cat": "PlaceKind"
                    }
                ]
            },
            {
                "token": "suspect",
                "funs": [
                    {
                        "fid": 445,
                        "fun": "Suspect",
                        "hyps": [],
                        "cat": "Property"
                    }
                ]
            }
        ]
    }
]
2014-07-11 09:25:26 +00:00
john ce9999c45d Maltese RG: small updates to dict 2014-07-06 23:23:58 +00:00
john ae193e6fb6 Maltese RG: simple change which makes things compilable again 2014-07-06 17:19:10 +00:00
john 60c981d414 Maltese RG: refactor participles, add Idiom.Self* lins 2013-12-23 09:16:11 +00:00
john e23cac8513 Maltese RG: add some missing lins for AdV in ConjunctionMlt 2013-08-30 08:00:25 +00:00
john 4f15fe390a Maltese RG: make pro-drop explicit. Other small fixes in Structural, Lexicon. 2013-08-30 07:40:42 +00:00
john e769d5db29 Add INSTALL file for python bindings. Add note about libtool to INSTALL of c runtime 2013-08-23 13:06:58 +00:00
john db3a099990 Update Maltese Foods grammar
In preparation for presentation at Maltese Linguistics conference next week.
2013-06-11 09:05:13 +00:00
john 7f952b5f8f Maltese RG: fix implementation of CountNP 2013-06-11 07:55:48 +00:00
john 1366c2a53e Maltese RG: first proper release
Of course some bugs remain and more testing is needed,
but all functions are complete and Maltese now builds as part
of the normal GF install.
2013-06-10 21:37:10 +00:00
john f86d0752b1 Maltese RG: sort out noun paradigms and grammar leaks 2013-06-06 10:54:50 +00:00
john 1b0f7609e8 Summer school page: add link to Google Group 2013-05-30 07:01:18 +00:00
john 5a86fd3cf3 Summer school page: udpate with directions from Hans 2013-05-30 06:56:55 +00:00
john ce053c4a98 Maltese RG: big improvements with clitics in VPs 2013-05-28 14:45:53 +00:00
john 6277bf04f9 Maltese: all functions implemented (though not necessarily correct)
Oh, and glad Valborg!
2013-04-30 14:23:17 +00:00
john 61649270a7 Update summer school page 2013-04-13 13:21:03 +00:00