41c53cc6f322db0b37300d3aaeeb9e70b3024b34,pysbd/segmenter.py,Segmenter,segment,#Segmenter#Any#,33

Before Change


                             "languages other than English (`en`)")
        elif self.clean:
            if hasattr(self.language_module, "Cleaner"):
                text = self.language_module.Cleaner(text, self.language_module,
                        doc_type=self.doc_type).clean()
            else:
                text = Cleaner(text, self.language_module, doc_type=self.doc_type).clean()
        processor = Processor(text, lang=self.language_module, char_span=self.char_span)
        segments = processor.process()

After Change


            raise ValueError("char_span functionality not supported for "
                             "languages other than English (`en`)")
        elif self.clean:
            text = self.cleaner(text).clean()
        segments = self.processor(text).process()
        return segments
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: nipunsadvilkar/pySBD
Commit Name: 41c53cc6f322db0b37300d3aaeeb9e70b3024b34
Time: 2020-06-20
Author: nipunsadvilkar@gmail.com
File Name: pysbd/segmenter.py
Class Name: Segmenter
Method Name: segment


Project Name: nipunsadvilkar/pySBD
Commit Name: 6fc865f40c0b09b0c4284753e7a26cafbe184e03
Time: 2019-05-12
Author: nipunsadvilkar@gmail.com
File Name: pySBD/segmenter.py
Class Name: Segmenter
Method Name: __init__


Project Name: J535D165/recordlinkage
Commit Name: 472ebf9c88f2c21b94e0ec2b377957f1274d5fe7
Time: 2016-02-06
Author: jonathandebruinhome@gmail.com
File Name: tests/test_standardise.py
Class Name: TestStandardise
Method Name: test_clean_brackets


Project Name: J535D165/recordlinkage
Commit Name: 472ebf9c88f2c21b94e0ec2b377957f1274d5fe7
Time: 2016-02-06
Author: jonathandebruinhome@gmail.com
File Name: tests/test_standardise.py
Class Name: TestStandardise
Method Name: test_clean_lower