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

invalid recognition on special Methyl-included compoud #13

Open
biotech7 opened this issue Jan 8, 2023 · 1 comment
Open

invalid recognition on special Methyl-included compoud #13

biotech7 opened this issue Jan 8, 2023 · 1 comment

Comments

@biotech7
Copy link

biotech7 commented Jan 8, 2023

for example:

String structStr= "Methyl (R)-1-(2-(ethoxycarbonyl)-1-phenylallyl)-6-oxo-1,6-dihydropyridine-3-carboxylate (3pa): the 
reaction was conducted.....";
Oscar oscar = new Oscar();
List<ResolvedNamedEntity> nameEntities = oscar.findResolvableEntities(structStr);
for (ResolvedNamedEntity ne : nameEntities) {
     String name = ne.getSurface();
     System.out.println(name);
}

expected name: Methyl (R)-1-(2-(ethoxycarbonyl)-1-phenylallyl)-6-oxo-1,6-dihydropyridine-3-carboxylate
actual name: (R)-1-(2-(ethoxycarbonyl)-1-phenylallyl)-6-oxo-1,6-dihydropyridine-3-carboxylate

Development Environment:
IDE: IDEA
JDK: 1.8
OSCAR: OSCAR4-5.2.0

@mjw99
Copy link
Collaborator

mjw99 commented Jan 8, 2023

I can reproduce this issue via the webapp demo

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

2 participants