> From: Alex Gian
> 
> Things are a little less clear when trying the full tacit
> implementation
> Why does (*/ @ (-i.)) not behave as a fork?

Before you look for trains, first you have to identify the component verbs in 
the phrase (i.e. resolve the adverbs and conjunctions).

  (-i.)   NB. is a verb formed by a two verb train (a hook)
  */      NB. is a verb formed by the adverb / and the verb to its left *
  @       NB. is a conjunction that takes the verbs to its left and right to 
form a new verb

So */@(-i.) is a single compound verb of the form f...@g and contains no fork.

The various display forms available can be useful in determining how the phrase 
is parsed.

   */@(-i.)
NB. Boxed:
+-----+-+------+
|+-+-+|@|+-+--+|
||*|/|| ||-|i.||
|+-+-+| |+-+--+|
+-----+-+------+

The boxed format doesn't help you determine whether you are looking at a 
compound verb or a train. The only way to tell is if you know that @ is a 
conjunction. The Tree form gives you more of a hint about how the parts of 
speech are affecting parsing (the displays are clearer using the box-drawing 
symbols but they aren't very reliable in email):

NB. Tree:
      +- / --- * 
      |          
-- @ -+     +- --
      +-----+- i.


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to