Skip to content

grammar conversion #4

@nzarnaghi

Description

@nzarnaghi

Hi,

I want to use the following grammar which I have previously used in NLTK:

S -> L S | L
L -> 'A' F 'U' | 'A' | 'U' F 'A' | 'U' | 'C' F 'G' | 'C' | 'G' F 'C' | 'G'
F -> 'A' F 'U' | 'U' F 'A' | 'C' F 'G' | 'G' F 'C' | L S
Nothing -> None

But it shows an error for the sequence "ACCCUGGAU" that "The given sequence is not in the language produced by the grammar". How can I solve it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions