Commit dad1ea1
committed
Fix WordNet term extraction to strip brackets for microservice
- Revert regex to strip square brackets when sending terms to WordNet
- CNL file keeps brackets for proper syntax: 'Eukarya [Domain]'
- WordNet service receives clean terms: 'Eukarya'
- This allows WordNet to find definitions for the actual term names
The batching system is already working correctly:
- Frontend sends all terms in single batch request
- WordNet microservice processes all terms in one call
- Response contains array of results for all terms1 parent 47d71ee commit dad1ea1
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
141 | | - | |
142 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| |||
0 commit comments