From: Sunita Sarawagi <sunita@cs...>  20120321 17:58:41

Xu Chu wrote: > Hi > > Is there currently implementation of getting Topk segmentation of an address? > Yes, you can get that by calling: public Segmentation[] SegmentCRF.segmentSequences(CandSegDataSequence dataSeq, int numLabelSeqs, double scores[]) This will return the topk segmentations and will set the scores[] array to the probability of each segmentation. > And How can I get the probability of each segmentation? > If you need to estimate the probability of an arbitrary given segmentation, you will have to make two calls s = crf.getScore() l = crf.getLogZx(). The probabilty is then: exp(sl) > > Thanks > Xu > >  > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2dmsazure > _______________________________________________ > Crfusers mailing list > Crfusers@... > https://lists.sourceforge.net/lists/listinfo/crfusers > 