Skip to content

Instantly share code, notes, and snippets.

@kendricktan
Created September 5, 2015 09:08
Show Gist options
  • Save kendricktan/ae0add7c6cc7e3746cf3 to your computer and use it in GitHub Desktop.
Save kendricktan/ae0add7c6cc7e3746cf3 to your computer and use it in GitHub Desktop.
NCSS 2015 CCG Parsing Test cases
Enter categories: PP (S\NP)/NP NP N conj N NP (S\NP)/NP NP/N N/N
+-----------+
| |
+-----------+-----------+
| | |
+-----------+-----------+-----------+
| | | |
+-----------+-----------+-----------+-----------+
| | | | |
+-----------+-----------+-----------+-----------+-----------+
| | | | | |
+-----------+-----------+-----------+-----------+-----------+-----------+
| | | | | | |
+-----------+-----------+-----------+-----------+-----------+-----------+-----------+
| | | | | | | |
+-----------+-----------+-----------+-----------+-----------+-----------+-----------+-----------+
| | | | N | | | | |
+-----------+-----------+-----------+-----------+-----------+-----------+-----------+-----------+-----------+
| | S\NP | | | N\N | | | | |
+-----------+-----------+-----------+-----------+-----------+-----------+-----------+-----------+-----------+-----------+
| PP | (S\NP)/NP | NP | N | conj | N | NP | (S\NP)/NP | NP/N | N/N |
+-----------+-----------+-----------+-----------+-----------+-----------+-----------+-----------+-----------+-----------+
Enter categories: NP (S\NP)\NP (S/NP)/NP NP S/NP NP
+-----------+
| |
+-----------+-----------+
| | |
+-----------+-----------+-----------+
| | | |
+-----------+-----------+-----------+-----------+
| | | | |
+-----------+-----------+-----------+-----------+-----------+
| S\NP | | S/NP | | S |
+-----------+-----------+-----------+-----------+-----------+-----------+
| NP | (S\NP)\NP | (S/NP)/NP | NP | S/NP | NP |
+-----------+-----------+-----------+-----------+-----------+-----------+
Enter categories: S S\NP conj S/NP NP
+---------------+
| |
+---------------+---------------+
| | |
+---------------+---------------+---------------+
| | | S\S |
+---------------+---------------+---------------+---------------+
| | | (S/NP)\(S/NP) | S |
+---------------+---------------+---------------+---------------+---------------+
| S | S\NP | conj | S/NP | NP |
+---------------+---------------+---------------+---------------+---------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment