0

How can I obtain the LCFRS grammar using treetools? I used the following terminal command

treetools grammar wsj_0001.prd output leftright --dest-format rcg --markov v:1 h:2 

where wsj_0001.prd is a tree and the output file I get is empty.

https://pypi.python.org/pypi/treetools/0.1.0 - I used the last command form the ones listed. Thanks.

Narendra
  • 1,511
  • 1
  • 10
  • 20
Bartek
  • 21
  • 3

1 Answers1

0

I would suggest using a sentence from the Clark paper