Closed craigp-atw closed 1 month ago
do you have plans to do more in another, later PR?
Yes. There are hundreds of verbs, so I just want to chip away at them.
Latest commit: |
d1c13d3
|
Status: | ✅ Deploy successful! |
Preview URL: | https://8b144865.tabitha-editor.pages.dev |
Branch Preview URL: | https://add-more-verb-case-frames.tabitha-editor.pages.dev |
Verb Case Frames
Added case frame and sense selection rules for the following 25 verbs:
Lookup Rules
Removed lookup rules that are now handled via case-frame rules.
Head-Noun identification
Changed a couple transform rules to better handle neighboring Noun Phrases. This improves identifying the right Noun for Verb arguments.
API data structure
The data sent over the API regarding a word's case frame arguments was changed to include the token itself that is identified as that argument. This makes debugging case frames easier and I think is generally a good idea.
Before:![image](https://github.com/presciencelabs/tabitha-editor/assets/152427351/8a69ef97-bd9c-46f0-b41b-41788c91cec7)
After:![image](https://github.com/presciencelabs/tabitha-editor/assets/152427351/b4d26039-acf2-46a8-8db6-43fa9d9c2e9c)