Skip to content

Instantly share code, notes, and snippets.

@andreasvc
Created November 18, 2012 23:33
Show Gist options
  • Save andreasvc/4108151 to your computer and use it in GitHub Desktop.
Save andreasvc/4108151 to your computer and use it in GitHub Desktop.
TSG transforms
The D 1 D@1-1 1 D@0-1 1
dog N 0.5 N@0-2 1
cat N@1-2 1 N 0.5
barks V 0.5 V@0-4 1
meows V 0.5 V@1-4 1
loudly RB 1 RB@0-5 1 RB@1-5 1
0.08 S NP VP@1-3
0.08 S NP@1-0 VP
0.04 S NP VP
0.32 S NP@1-0 VP@1-3
0.08 S NP@0-0 VP
0.32 S NP@0-0 VP@0-3
0.08 S NP VP@0-3
0.125 NP D N@1-2
0.125 NP D@1-1 N
0.125 NP D@0-1 N
0.25 NP D N
0.125 NP D@1-1 N@1-2
0.125 NP D@0-1 N@0-2
0.125 NP D N@0-2
0.25 NP@0-0 D N
0.25 NP@0-0 D@0-1 N@0-2
0.25 NP@0-0 D@0-1 N
0.25 NP@0-0 D N@0-2
0.25 NP@1-0 D@1-1 N
0.25 NP@1-0 D@1-1 N@1-2
0.25 NP@1-0 D N@1-2
0.25 NP@1-0 D N
0.125 VP V@0-4 RB@0-5
0.25 VP V RB
0.125 VP V@1-4 RB
0.125 VP V RB@0-5
0.125 VP V@1-4 RB@1-5
0.125 VP V RB@1-5
0.125 VP V@0-4 RB
0.25 VP@0-3 V RB@0-5
0.25 VP@0-3 V@0-4 RB
0.25 VP@0-3 V@0-4 RB@0-5
0.25 VP@0-3 V RB
0.25 VP@1-3 V@1-4 RB
0.25 VP@1-3 V RB
0.25 VP@1-3 V@1-4 RB@1-5
0.25 VP@1-3 V RB@1-5
The D 1 D@2 1
dog N 1 N@3 1
cat N 1 N@9 1
barks V 1 V@5 1
meows V 1 V@11 1
loudly RB 1 RB@6 1
1 S NP@1 VP@4
1 S NP VP@4
1 S NP@1 VP
1 S NP VP
1 NP@1 D@2 N@3
1 NP@1 D N@3
1 NP@1 D@2 N
1 NP@1 D N
1 NP D@2 N@3
1 NP D N@3
1 NP D@2 N
1 NP D N@9
1 NP D N
1 VP@4 V@5 RB@6
1 VP@4 V RB@6
1 VP@4 V@5 RB
1 VP@4 V RB
1 VP V@5 RB@6
1 VP V RB@6
1 VP V@5 RB
1 VP V@11 RB
1 VP V@ RB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment