import org.languagetool.tagging.uk.PosTagHelper;
public class TokenAgreementRule extends Rule {
private static final String NO_VIDMINOK_SUBSTR = ":nv";
private static final String REQUIRE_VIDMINOK_SUBSTR = ":rv_";
private static final String VIDMINOK_SUBSTR = ":v_";
<BUG>private static final Pattern REQUIRE_VIDMINOK_REGEX = Pattern.compile(":r(v_[a-z]+)");
private static final Pattern VIDMINOK_REGEX = Pattern.compile(":(v_[a-z]+)");</BUG>
private static final String reqAnimInanimRegex = ":r(?:in)?anim";
private static final Pattern REQ_ANIM_INANIM_PATTERN = Pattern.compile(reqAnimInanimRegex);
private final Ukrainian ukrainian = new Ukrainian();

import org.languagetool.tagging.uk.PosTagHelper;
public class TokenAgreementRule extends Rule {
private static final String NO_VIDMINOK_SUBSTR = ":nv";
private static final String REQUIRE_VIDMINOK_SUBSTR = ":rv_";
private static final String VIDMINOK_SUBSTR = ":v_";
static final Pattern REQUIRE_VIDMINOK_REGEX = Pattern.compile(":r(v_[a-z]+)");
private static final Pattern VIDMINOK_REGEX = Pattern.compile(":(v_[a-z]+)");
private static final String reqAnimInanimRegex = ":r(?:in)?anim";
private static final Pattern REQ_ANIM_INANIM_PATTERN = Pattern.compile(reqAnimInanimRegex);
private final Ukrainian ukrainian = new Ukrainian();
