From 83b7d92a029c7129c250ae6700d4b17091f54c9e Mon Sep 17 00:00:00 2001 From: Adam Radziszewski <adam.radziszewski@pwr.wroc.pl> Date: Thu, 14 Jul 2011 15:02:34 +0200 Subject: [PATCH] fix tagset-tool not recognising attr_idx==0 --- corpus2tools/tagset-tool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/corpus2tools/tagset-tool.cpp b/corpus2tools/tagset-tool.cpp index e283d40..f20389e 100644 --- a/corpus2tools/tagset-tool.cpp +++ b/corpus2tools/tagset-tool.cpp @@ -126,7 +126,7 @@ void tagset_query_cb(const Corpus2::Tagset& tagset, const std::string& s, } } std::cout << "\n"; - } else if (atr > 0) { + } else if (atr >= 0) { if (internals) { std::cout << tagset.get_attribute_mask(atr) << " (" << (int)atr << ")\n"; } -- GitLab