Ticket #1 (new enhancement)

Opened 6 years ago

Last modified 6 years ago

bracketed output (new command line argument)

Reported by: kowey Owned by: somebody
Priority: minor Milestone:
Component: gui Version:
Keywords: Cc:

Description (last modified by kowey) (diff)

The bracketed output is a compromise between a full parse tree and a plain string.

Parse tree:

S(NP(somebody),VP(VP(V(saw),NP(something)),PP(somewhere)))

Bracketed output:

somebody ((saw something) somewhere)

Notice that we try very hard to avoid excess parentheses. The point is to make it easier for grammar hackers to understand (for example), why we get different instances of the same output. So we want to keep things as readable as possible

Change History

Changed 6 years ago by kowey

  • description modified (diff)
Note: See TracTickets for help on using tickets.