Skip to content

[QUESTION] How can I make the tregex method faster? #1507

@694040837

Description

@694040837

Hello, I have multiple Tregex patterns and want to use the CoreNLPClient.tregex()method to get matching results for sentences. Do I need to call tregex()multiple times for multiple patterns, or can I pass all patterns at once? Additionally, if I provide the trees parameter to the tregex()method, will it skip parsing to make the process faster?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions