Skip to content

Commit

Permalink
SpanishLexer: correctly analyze 'ir' + clitic pronoun (edge case)
Browse files Browse the repository at this point in the history
  • Loading branch information
hans authored and Stanford NLP committed Sep 20, 2016
1 parent 2b0c701 commit 2775e63
Show file tree
Hide file tree
Showing 3 changed files with 8,901 additions and 8,894 deletions.
Expand Up @@ -473,7 +473,7 @@ COMPOUND = {WORD}({HYPHEN}{WORD})+
OS = os(l[oa]s?)?
ATTACHED_PRON = ((me|te|se|nos|les?)(l[oa]s?)?)|l[oa]s?
VB_IRREG = d[]|h[]z|v[]|p[]n|s[]l||t[]n|v[]n
VB_REG = {WORD}([aeiáéí]r|[áé]ndo|[aeáé]n?|[aeáé]mos?)
VB_REG = ir|{WORD}([aeiáéí]r|[áé]ndo|[aeáé]n?|[aeáé]mos?)
VB_PREF = {VB_IRREG}|({VB_REG})

/* Handles second person plural imperatives:
Expand Down

0 comments on commit 2775e63

Please sign in to comment.