Internal server error

Issue #39 resolved
Giovanni Acerboni created an issue

No description provided.

Comments (3)

  1. Marco Fabbri

    C'era un bug nella regola IS. Ho corretto

    private boolean possessive(int position) {
            String pos = this.getTextProParserOutput().getPos().get(position);
            if (pos != null && (pos.matches("^P.*$") || pos.matches("^D.*$"))) {
                final String compMorpho = this.getTextProParserOutput().getComp_morpho().get(position);
                if (compMorpho != null
                        && compMorpho.contains("+poss")) {
                    return true;
                }
            }
            return false;
        }
    
  2. Log in to comment