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
-
This _release file, library administration, QA, usage
-
PSIFile.java - maps a lexikon file into LTM
via semi-bizarre, ad hoc rules
-
Concepts.java - ako PSIFile - index.jsp can use this to emulate concepts [][][]
- TransformT - statics to expand *T* PSI-trees (with subkinds); also dumps topic LTM
- TransformAR - statics to expand *A* PSI-trees (with roles) - needs constraints?
- 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.
- 05/22/05 - TransformT will now use :spec, not doc for Words output
- 05/22/05 - MOVE this and all source to Root007 project, and local 007 folder
- immediately made the JSP)s worl for view=LTM (sic)
- considrable cleanup of top-level links to specs
- 05/17/05 - update TransformT to use :sid, but it does not help view=ltm!?
- 05/15/05 - Refactor (and relearni) all code above - marked NYC and CTM AOK
- comment out PSIFile code now moved, except for findLTM(char)=why??
- constraints are now marked with the tree-type of their source; WP "works"
- restore unmarker makeTopicLTM and add new version under a test flag
- 05/14/05 - Notes: both main() routines DO work today in Eclipse - ROOT project
- other Concepts methods seem NEVER called except first, once from context.txt
- PSIFile.PSIrow Vector gets one Parts object when file loads from lexikon file
- PSIFile.getTransform for each Parts object: needs TransformZ, by type
- for each new treeType - driver logic - calls the below or MakeTopicLTM
- for setAspectParts(treetype, parts) - called by driver only
- PSIFile.makeTopicLTM(parts,null) - called by driver, or next routine?
- PSIFIle.findLTM() just looks it up for T, A ,X, R parts
- PSIFIle.findConstraints() just looks it up
- 02/17/05- Concepts gets main(), and creates baseline ltm for a CTM release!!
- 02/17/05 - PSIFile gets required fix on psidBase - will not "break" concepts.txt
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
- 08/22/04 fix PSIFile.java to add "doc" occurrence to every typing topic
- 07/06/04 updated this to note PSIFile changes documented above and in code
- 07/05/04 start by testing Concepts code in Eclipse with the main() logic
- 07/01/04 start getting this to final work, by tracking down (only) the
".txt" bug
- 04/18/04 last effort, done with the psi/words plans got me going again
- 01/xx/04 original effort done in csdemo for Miles, who
turned up Known bugs: