Skip to content

Commit a720859

Browse files
Merge branch 'replace-passivepy' of github.com:SuffolkLITLab/FormFyxer into replace-passivepy
2 parents f90822a + 9a7d5cd commit a720859

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

formfyxer/passive_voice_detection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def detect_passive_voice_segments(
264264
classification = content.strip().lower()
265265

266266
if classification == "passive":
267-
# If classified as passive, return the whole sentence as the fragment, to match behavior of passivepy
267+
# If classified as passive, return the whole sentence as the fragment, to match return type of passivepy
268268
# Note that when we had fragment detection in the prompt, performance dropped significantly
269269
fragments = [sentence]
270270
else:

0 commit comments

Comments
 (0)