3

I am working on textual analysis of reports in English language. The documents are official records. I requires the sentence level segmentation of text. One way is through regular expression. Other way is through classifier trained on tagged data-set and then predict whether a period is sentence boundary or not? But for that i will require tagged data-set. Is there any sentence boundary tagged data-set freely available?

2 Answers 2

3

Some Corpora in the NLTK have a method sents() that returns each sentence as a list of words, for example the Brown corpus:

import nltk
nltk.download() # this opens a GUI to download all corpora needed
from nltk.corpus import brown
sentences = brown.sents()
3

The British National Corpus, "a 100 million word collection of samples of written and spoken language from a wide range of sources", is free of charge and segmented, but i never used it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.