## crf-users

You can subscribe to this list here.

2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 Jan Feb Mar Apr May Jun Jul Aug (1) Sep Oct Nov (2) Dec Jan (4) Feb Mar Apr (3) May Jun (5) Jul (9) Aug Sep (3) Oct Nov (2) Dec Jan (6) Feb (5) Mar (3) Apr (7) May (3) Jun Jul Aug (7) Sep (8) Oct (6) Nov (1) Dec Jan Feb (3) Mar (9) Apr (2) May (2) Jun (2) Jul (10) Aug (4) Sep (12) Oct (7) Nov (29) Dec (35) Jan (10) Feb (16) Mar (17) Apr (20) May (42) Jun (19) Jul (32) Aug (8) Sep (2) Oct (2) Nov Dec (10) Jan (7) Feb (8) Mar (3) Apr May (5) Jun (1) Jul (2) Aug (2) Sep (1) Oct Nov (1) Dec Jan (1) Feb Mar Apr May Jun Jul (2) Aug Sep (2) Oct Nov Dec Jan Feb (1) Mar (10) Apr (1) May (3) Jun Jul (7) Aug Sep Oct Nov Dec (1) Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec (1) Jan Feb Mar Apr May (1) Jun Jul Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun (2) Jul (2) Aug Sep Oct Nov Dec Jan Feb Mar Apr May (3) Jun Jul Aug Sep Oct Nov Dec
S M T W T F S

1
(1)
2

3

4

5

6

7
(1)
8
(1)
9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28
(2)

Showing 5 results of 5

 [Crf-users] how to get the probability of each label at every position in the sequence? From: xiaofeng wu - 2007-02-28 07:02:10 Attachments: Message as HTML ```hi, Did some one have tried to get the probability of each label at every position in the sequence? I think the winningLabel[][] can get what I want,but should I use the forward viterbi togather with the backward viterbi(according to John Lafferty's paper, page 5 P(Yi=y|x)=...)? Hope some one can help me out of this ! Thanks in advance. Best xiaofeng wu 2007-02-28 ```
 [Crf-users] Can somebody help me ? From: xiaofeng wu - 2007-02-28 06:22:08 Attachments: Message as HTML ```hi, Did some one have tried to get the probability of each label at every position in the sequence? I think the winningLabel[][] can get what I want,but should I use the forward viterbi togather with the backward viterbi(according to John Lafferty's paper, page 5 P(Yi=y|x)=...)? Hope some one can help me out of this ! Thanks in advance. Best xiaofeng wu 2007-02-28 ______________________________ ```
 Re: [Crf-users] Some precisions about value role From: Amit Jaiswal - 2007-02-08 04:21:06 Attachments: Message as HTML ```Hi, I will take an example to explain the difference between feature label and value. Suppose, you have 4 labels (starting from 0) - NN, J, VB, DT for doing POS tagging. Now, a sequence can start from only some specific labels and you want to encode this fact as a feature. (Lets call it StartingLabelFeatureType) There will be in all four features for this feature type (one for each class) During training of this feature, you try to determine that which of the labels occur at pos = 0, by looking at the actual labels in training data. Suppose it turns out that only label 0 and 3 occur at the starting position (i.e. NN and DT) Now, while firing features, in startScanFeaturesAt(DataSequence dataSeq, int prev, int pos) if (pos != 0) then you will not fire any features, and will return false. Implicity, that means that all the feature values for pos != 0 will be 0. Now, for pos = 0, you will fire two features, one for label = 0 and one for label = 3 (and setting the feature value = 1) For the rest of the labels, no feature is fired so that implicity means that their feature value is 0. You can achieve the same by setting the feature values like this: i) yend = 0, val = 1, ystart = -1, id = 0 ii) yend = 1, val = 0, ystart = -1, id = 1 iii) yend = 2, val = 0, ystart = -1, id = 2 iv) yend = 3, val = 1, ystart = -1, id = 3 And just to clarify, the actual label of the data is seen only during the training. (And in a FeatureType, the actual label is seen only in the train() method, and not while firing the features) When you are firing features, you fire it for all possible labels for which the feature will hold true. If you search the previous posting on this mailing list, you will get some explanation on this. -amit ```
 [Crf-users] Some precisions about value role From: Laurent Goujon - 2007-02-07 02:02:49 ```Hi, First thing thanks for providing the crf library and some explanations on= it. I have some doubt about the role of the value field of Feature. To my understanding value is the result of the feature function and so de= pend of the token neighborhood, the label and possibly the label assigned to the previous token. So during training phase because label is know, value is also know. But v= alue is also checked during inference phase... Am I missing something ? Laurent -- ```
 Re: [Crf-users] Crf-users Digest, Vol 5, Issue 5 From: Amit Jaiswal - 2007-02-01 03:44:33 Attachments: Message as HTML ```Hi, Nested Models is a concept that is not defined for semiCRF. For semiCRF, the modelGraph parameter needs to be set to semi-markov. The documentation that you are referring to doesnt explain anything about semiCRF. You just need to set modelGraph=semi-markov, and MaxMemory=the maximum segment size (i.e. the maximum length of the classes in your dataset. Like for us50 dataset, MaxMemory=7 works, becaue the number of consecutive tokens belonging to the same class < 7). Please make sure that these two parameters are set correctly. Setting MaxMemory incorrectly might start giving you some warning. I guess, you will have other questions also when you start using semiCRF. We are working on documenting the package. In the meantime, you can send any of your specific questions to this mailing list for getting immediate reply. -amit On 2/1/07, crf-users-request@... < crf-users-request@...> wrote: > > Send Crf-users mailing list submissions to > crf-users@... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/crf-users > or, via email, send a message with subject or body 'help' to > crf-users-request@... > > You can reach the person managing the list at > crf-users-owner@... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Crf-users digest..." > > > Today's Topics: > > 1. a question about simiCRF (xiaofeng wu) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 31 Jan 2007 15:13:26 +0800 > From: xiaofeng wu > Subject: [Crf-users] a question about simiCRF > To: crf-users > Message-ID: <200701311416262034033@...> > Content-Type: text/plain; charset="gb2312" > > > > hello > > Sorry for the bothering. > > Recently I've beening working > > on Mrs. Sarawagi's CRF package.I think it's very interesting, but > > without detailed discriptive document,it's very frustrating for me to > > use it. > > I want to use semiCRF,the code below in src/iitb/segment/segment.java > > 's allocModel() routine: > > if (modelGraphType.equals("semi-markov")) { > > if (options.getInt("debugLvl") > 1) { > > Util.printDbg("Creating semi-markov model"); > > } > > > > NestedFeatureGenImpl nfgen = new NestedFeatureGenImpl(nlabels,options); > > featureGen = nfgen; > > crfModel = new NestedCRF(featureGen.numStates(),nfgen,options); > > } else ... > > the words ("semi-markov") doesn't seem appear in the introduction > > Model http://crf.sourceforge.net/introduction/models.html 's > > /modelGraph="naive,4-chain,2-parallel,boundary"/ > > can anyone give me a more detailed discription of how to use it? > > Thanks in advance! > > Best regards. > > ------------------------------------------------------------------------ > > xiaofeng wu > > 2007-01-31 > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://sourceforge.net/mailarchive/forum.php?forum=crf-users/attachments/20070131/0babab62/attachment.html > > ------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > ------------------------------ > > _______________________________________________ > Crf-users mailing list > Crf-users@... > https://lists.sourceforge.net/lists/listinfo/crf-users > > > End of Crf-users Digest, Vol 5, Issue 5 > *************************************** > ```

Showing 5 results of 5