Utility: utilities to aid Lextender - go here for R&D history
This com.lexikos.utility is in a limited 007 pre-release, central to '04 psi/lextend plans on Lextender

PSIFile's main job is to help the index.jsp in a psi-folder convert a named lexikon file into LTM

  1. This _release file, library administration, QA, usage
  2. PSIFile.java - maps a lexikon file into LTM via semi-bizarre, ad hoc rules
  3. TransformT - statics to expand *T* PSI-trees (with subkinds); also dumps topic LTM
  4. TransformAR - statics to expand *A* PSI-trees (with roles) - needs constraints?
  5. TransformZ - statics for *D* or *O* or *E* (not yet in CTM)  - also UNUSED findLTM version
The eventual goal is to upgrade the index.jsp iles in all lexikon folders to use concepts.htm, by way
of the new concepts.txt include file that extends machinery.txt PLUS reads a nearby lexikon file.
Note: when I run main() in PSIFile, it DOES work, due to special hack added in loadToFile()
And I confirm that the main() code DOES create ctm.ltm that 008 can turn into ctm.xtm
..

Known Bug  #1 learned that there is WP logic in AR's code, but not why - have EXTRA code

Known Bug
: #2 needs role scopes (per 007 rules) to add 'OF' or 'BY' to assoc names

A/O 8/22, we fixed a bug in makeTopicLTM() and noticed the need above, plus the fact that
main() could be used to create a full core.ltm file, at least for quick tests

A/O 7/5, we fixed a bug in loadFromFile() - it no longer adds ".txt" to a file name.  The caller must,
and so the main() logic was updated and it worked okay

The new concepts.txt include assumes that ".txt"  is needed and adds it unless some suffix exists
It also assumes the filename of "lexikon" unless one is provided under the "file" parameter

Recent changes