Skip to content

In NoiseSensitivity, the . should be deleted as the split condition. #1626

@jiajunly

Description

@jiajunly

[ ] I checked the documentation and related resources and couldn't find an answer to my question.

Your Question
After the sentence is split, i think the . should no longer be used as a split condition. Many other languages ​​do not use . as a split condition. Just follow the result of sentence_segmenter.

Code Examples
https://github.com/explodinggradients/ragas/blob/main/src/ragas/metrics/_noise_sensitivity.py#L104C13-L104C46

Additional context
I will provide a pr.

Metadata

Metadata

Assignees

No one assigned

    Labels

    module-metricsthis is part of metrics modulequestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions