[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lojban] to-do list (was Re: New Members, Board of Directors, other LogFest results)



The Draft dictionary, 

    01436 Lojban     gismu list  9/26/94     01436 Draft dictionary

implicitly provides a dictionary spec for input, with output depending
on your output format.

As I understood it at the time, the input spec was:

        English meaning                          [mandatory]

        explication                              [optional]

        place structure                          [mandatory]

        comment                                  [optional]

        rafsi                                    [optional]

        gismu                                    [mandatory]

This input spec enabled me to write a function that produced this
output, automatically from the draft dictionary file:

  *hazard (shallow water hazard), 
      x1 is a shoal [shallow hazard]/reef of material x2 in body of water x3 
      /:/ [rapids (= ri'erjmifa, ri'ercaxno)]
      /=/ jmifa

A similar output spec could produce:

  <english_meaning>
    hazard 
  </english_meaning>

  <explication>
    shallow water hazard
  </explication>

  <place_structure>
    x1 is a shoal [shallow hazard]/reef of material x2 in body of water x3 
  </place_structure>

  <comment>
    rapids  (= ri'erjmifa, ri'ercaxno)
  </comment>

  <rafsi>
    [none]
  </rafsi>

  <gismu>
    jmifa
  </gismu>


An entry following either output spec could be converted back to an
entry in the original input format.

-- 
    Robert J. Chassell                  bob@rattlesnake.com
    Rattlesnake Enterprises             http://www.rattlesnake.com