Commit Graph
7 Commits
Author SHA1 Message Date
john 9b49608451 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 7c98267193 Add INSTALL file for python bindings. Add note about libtool to INSTALL of c runtime 2013-08-23 13:06:58 +00:00
john 3bf505d375 Update Maltese Foods grammar
In preparation for presentation at Maltese Linguistics conference next week.
2013-06-11 09:05:13 +00:00
john dafc992b7e 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 12424fe1f2 Summer school page: add link to Google Group 2013-05-30 07:01:18 +00:00
john 261594cc5a Summer school page: udpate with directions from Hans 2013-05-30 06:56:55 +00:00
john b9f530a805 Update summer school page 2013-04-13 13:21:03 +00:00