From 0380f565d27b40397665385659c2c0188ea892fe Mon Sep 17 00:00:00 2001 From: Al Date: Sun, 29 Jan 2017 22:10:28 -0500 Subject: [PATCH] [parser] shorter first word feature --- src/address_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/address_parser.c b/src/address_parser.c index 0b9b4d7c..46bfc9bb 100644 --- a/src/address_parser.c +++ b/src/address_parser.c @@ -1078,7 +1078,7 @@ bool address_parser_features(void *self, void *ctx, tokenized_string_t *tokenize if (idx == 0) { //feature_array_add(features, 1, "prev tag=START"); - feature_array_add(features, 2, "idx-1 tag=START+word", word); + feature_array_add(features, 2, "first word", word); //feature_array_add(features, 3, "prev tag=START+word+next word", word, next_word); }