nltk_tgrep icon indicating copy to clipboard operation
nltk_tgrep copied to clipboard

Checking for terminals?

Open erip opened this issue 8 years ago • 0 comments

Hi @wroberts, just wanted to say this tool is incredibly invaluable! Really a big time saver.

This question is more of a tgrep question, but I thought I might pose it here... I'm trying to develop a tregex for A with no children, or, in other words A as a leaf.

I've tried

"A < {}", "A !< *", and a few others...

Do you know how I can form this tregex or will I need to check the ParsedTree for subtrees of size 0?

erip avatar Jul 26 '17 14:07 erip