mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
update the nerc for the changes in the grammar
This commit is contained in:
@@ -52,9 +52,14 @@ public class NercLiteralCallback implements LiteralCallback {
|
||||
if ("PN".equals(cat)) {
|
||||
expr = new Expr(an.getLemma(), new Expr[0]);
|
||||
prob = an.getProb();
|
||||
} else if ("Language".equals(cat)) {
|
||||
} else if ("Weekday".equals(cat)) {
|
||||
expr = new Expr(an.getLemma(), new Expr[0]);
|
||||
expr = new Expr("languagePN", expr);
|
||||
expr = new Expr("weekdayPN", expr);
|
||||
} else if ("Month".equals(cat)) {
|
||||
expr = new Expr(an.getLemma(), new Expr[0]);
|
||||
expr = new Expr("monthPN", expr);
|
||||
} else if ("Language".equals(cat)) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user