Re: Arrange terms[i]

2010-05-25 Thread manjula wijewickrema
reqs[i], but the problem is > while > > I am printing terms[i], output (array elements) comes according to the > > English alphabetic order (as above) and freqs[i] also arrange according > that > > particular order. Is there a way to arrange terms[i] according to the > > a

Re: Arrange terms[i]

2010-05-24 Thread Grant Ingersoll
at > particular order. Is there a way to arrange terms[i] according to the > ascending/descending order of their frequencies? Yes, have a look at the TermVectorMapper. You will need to implement a variation of this to build up the data structures you need. -Grant --

Arrange terms[i]

2010-05-20 Thread manjula wijewickrema
problem is while I am printing terms[i], output (array elements) comes according to the English alphabetic order (as above) and freqs[i] also arrange according that particular order. Is there a way to arrange terms[i] according to the ascending/descending order of their frequencies? Thanx in advance