Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grammar conversion #4

Open
nzarnaghi opened this issue Jun 29, 2021 · 0 comments
Open

grammar conversion #4

nzarnaghi opened this issue Jun 29, 2021 · 0 comments

Comments

@nzarnaghi
Copy link

nzarnaghi commented Jun 29, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant