Hi, I added a tiny tool at org.languagetool.dev.XmlUsageCounter that counts elements and attributes used in our grammar.xml files. Here's what the result looks like. There's no immediate use for this, but it's interesting to see what features get adopted:
# element or element/attribute 33354 token 33284 example 33284 example/type 28997 marker 14864 suggestion 12335 rule 12335 message 12334 pattern 10414 token/regexp 8246 example/correction 6813 short 5573 exception 5536 token/postag 5337 rule/name 5242 rule/id 4598 match 4598 match/no 3747 token/postag_regexp 2900 exception/postag 2636 token/inflected 2274 rulegroup/id 2274 rulegroup 2267 rulegroup/name 2160 exception/postag_regexp 1842 pattern/case_sensitive 1732 exception/regexp 1648 token/skip 1209 exception/scope 1186 url 1185 match/postag 1160 match/regexp_match 1160 match/regexp_replace 912 match/postag_regexp 723 match/postag_replace 548 match/case_conversion 487 token/negate 449 token/spacebefore 427 exception/inflected 330 feature 330 feature/id 259 exception/negate_pos 256 category 256 category/name 141 and 132 unify 126 rule/default 120 rulegroup/default 118 antipattern 98 token/min 74 equivalence/type 74 equivalence 72 token/negate_pos 72 match/include_skipped 59 category/type 51 token/max 37 rules/lang 37 rules 33 unify/negate 24 phraseref 24 phraseref/idref 20 unification 20 unification/feature 18 match/setpos 18 token/chunk 17 or 17 example/reason 14 rule/type 12 type 12 type/id 11 rulegroup/type 11 category/default 11 exception/negate 9 match/suppress_misspelled 8 phrase 8 phrase/id 8 exception/spacebefore 6 suggestion/suppress_misspelled 4 antipattern/case_sensitive 3 unify-ignore 2 phrases 1 includephrases Regards Daniel ------------------------------------------------------------------------------ _______________________________________________ Languagetool-devel mailing list Languagetool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-devel