Carlos-Francisco Méndez-Cruz

Conditional Random Fields

File mode changed
File mode changed
...@@ -83,6 +83,7 @@ def word2features(sent, i): ...@@ -83,6 +83,7 @@ def word2features(sent, i):
83 #'+1:lemma': lemma1, 83 #'+1:lemma': lemma1,
84 #'+1:postag': postag1, 84 #'+1:postag': postag1,
85 }) 85 })
86 + return features
86 87
87 88
88 def sent2features(sent): 89 def sent2features(sent):
......