Skip to content

fix: typo in CandidateGenerator error and which_look_like Hearst pattern#608

Open
Chessing234 wants to merge 1 commit into
allenai:mainfrom
Chessing234:fix/601-595-typo-hearst-pattern
Open

fix: typo in CandidateGenerator error and which_look_like Hearst pattern#608
Chessing234 wants to merge 1 commit into
allenai:mainfrom
Chessing234:fix/601-595-typo-hearst-pattern

Conversation

@Chessing234

Copy link
Copy Markdown

Summary

Test plan

  • CandidateGenerator raises ValueError with correct spelling when both name and other constructor args are passed
  • which_look_like pattern matches phrases like "cells which look like fibroblasts" with correct hypernym/hyponym roles

Made with Cursor

 allenai#601, allenai#595)

Correct 'constuctor' -> 'constructor' in the ValueError message and use
hypernym instead of hyponym in the which_look_like Hearst pattern so the
final noun phrase is tagged with the correct role.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant