Skip to content

Search fails on query like a:b #173

@eric-laporte

Description

@eric-laporte

A search query of the form a:b fails. The interface displays an error message suggesting the semicolon has been mistaken for a marker of subgraph call.

What steps will reproduce the problem?

  1. Open the French 80jours corpus with default configuration
  2. Launch Locate pattern with default configuration and a query of the form a:b, e.g. trois:sienne or jours:6, without spaces before or after the ':' character

What is the expected output?

A "Result info" dialog box should provide the number of occurrences found.

What do you see instead?

An error message is displayed in red: 'regexp: unexpected subgraph call in token_sequence_2_integer_sequence'. The search fails.

More info

  • Unitex/GramLab IDE version: 3.3.7
  • UnitexToolLogger version: 3.3.7

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions