On Jun 16, 2009, at 6:07 AM, Dan Bron wrote:

> There has to be a decent solution for this.  How do other languages  
> do it?

A relatively easy way is to generate a KWOC (Key Word Out of Context)  
index out of all the existing J documentation.

The search tool then only has to sort entries by the number of  
matching query words, and you'll find a very convenient index across  
all the current (and future) documentation.

Further, if "trim" isn't already in the docs, then adding user- 
contributed tagging on top of the docs (say, with Diigo?) makes the  
search even better.

How to generate the KWOC index?  Use Swish-e.

--
Alan

References:

http://www.db.dk/bh/lifeboat_ko/SPECIFIC%20SYSTEMS/kwic__kwac__kwoc.htm

http://swish-e.org/


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

Reply via email to