Actually, you can do almost exactly that.

There is a class called Dictionary that may help in converting row names to
indexes.  The intern() method takes a string and gives back the integer.
 Just read each row and use the inner loop in the sample code I posted to
convert the vectors that represent rows.

On Thu, Aug 18, 2011 at 7:53 AM, Jeff Hansen <[email protected]> wrote:

>  I suppose I can't just treat a file of named vectors
> as a matrix -- instead I imagine I need another utility to convert that
> vector file into a matrix file (with a dictionary file translating row
> numbers to vector names).
>

Reply via email to