Implement Text Summarization using a simple extraction-based approach. **Example:** Given a text "This is a sample text. This text is just a sample.", the summary is "This is a sample text.". **Constraints:** The text is a string and the summary is a string.
Test Cases
Test Case 1
Input:
["This is a sample text. This text is just a sample."]Expected:
"This is a sample text."Test Case 2
Input:
["This is another sample text. This text is just another sample."]Expected:
"This is another sample text."+ 3 hidden test cases