-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Quantifier in This rule:
- name: "what-query-1"
label: WhatQuery
priority: 2+
example: "Find ports near Hamburg with enough excess cargo capacity to handle shipments redirected from Hamburg."
pattern: |
trigger = [lemma=/^(find)$/]
topic:Entity? = (<<|>>)+ [incoming=nsubj]
need:Entity? = (<<|>>)*? [incoming=dobj]
#predicate:Verb? = (<<|>>)+ [outgoing=nsubj]
constraints:Constraint* = (<<|>>)+
causes this Error:
Caused by: org.clulab.odin.impl.OdinNamedCompileException: Error parsing rule 'what-query-1': string matching regex `\p{javaJavaIdentifierStart}\p{javaJavaIdentifierPart}*' expected but `?' found
Metadata
Metadata
Assignees
Labels
No labels