-- "There is a table with a glass of wine and a spoon. I can see the glass on the table. There was only a spoon on that table. The glass just fall from the table, pouring wine everywhere. I wish the glass did not contain wine."
metrics_text::Text
metrics_text=T.intercalate" "metrics_sentences
-- | Sentences
-- | Sentences
-- Let be a list of Texts: ['Data.Text.Text']. Each text in this example is a sentence.
--
--
-- >>> metrics_sentences
-- >>> ex_sentences
-- ["There is a table with a glass of wine and a spoon.","I can see the glass on the table.","There was only a spoon on that table.","The glass just fall from the table, pouring wine everywhere.","I wish the glass did not contain wine."]
-- ["There is a table with a glass of wine and a spoon.","I can see the glass on the table.","There was only a spoon on that table.","The glass just fall from the table, pouring wine everywhere.","I wish the glass did not contain wine."]
metrics_sentences::[Text]
ex_sentences::[Text]
metrics_sentences=["There is a table with a glass of wine and a spoon."
ex_sentences=["There is a table with a glass of wine and a spoon."
,"I can see the glass on the table."
,"I can see the glass on the table."
,"There was only a spoon on that table."
,"There was only a spoon on that table."
,"The glass just fall from the table, pouring wine everywhere."
,"The glass just fall from the table, pouring wine everywhere."
,"I wish the glass did not contain wine."
,"I wish the glass did not contain wine."
]
]
-- | From list to simple text as paragraph.
-- Let 'Data.Text.intercalate' each sentence with a space. Result is a paragraph.
--
-- >>> T.intercalate (T.pack " ") ex_sentences
-- "There is a table with a glass of wine and a spoon. I can see the glass on the table. There was only a spoon on that table. The glass just fall from the table, pouring wine everywhere. I wish the glass did not contain wine."