Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 6 of 6

Thread: java code to split text documents into paragraphs and sentences

  1. #1
    Junior Member
    Join Date
    Aug 2011
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Post java code to split text documents into paragraphs and sentences

    Hai, i have problem with the above, so could anyone provide it


  2. #2
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 287 Times in 225 Posts
    Blog Entries
    4

    Default Re: java code to split text documents into paragraphs and sentences

    Have you done any research into this or tried coding anything?
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

    Looking for a Java job? Visit - Java Programming Careers

  3. #3
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    SW Missouri
    Posts
    20,149
    Thanks
    48
    Thanked 2,158 Times in 2,131 Posts

    Default Re: java code to split text documents into paragraphs and sentences

    Do you have a definition for what is a paragraph and what is a sentence?
    Where Is the input? As text in a file?

  4. The Following User Says Thank You to Norm For This Useful Post:

    draksha (August 16th, 2011)

  5. #4
    Junior Member
    Join Date
    Aug 2011
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: java code to split text documents into paragraphs and sentences

    the input is no.of text files, out put is no.of documents, no.of paragraphs and sentences in each doc. for paragraph use \n for new line take it as paragraph and for sentence use . after any word except Mr., Dr., Prof.,Mrs.,Sri., etc. plz reply me for this.

  6. #5
    Grand Poobah
    Join Date
    Mar 2011
    Posts
    1,512
    My Mood
    Grumpy
    Thanks
    0
    Thanked 165 Times in 156 Posts

    Default Re: java code to split text documents into paragraphs and sentences

    Quote Originally Posted by draksha View Post
    could anyone provide it
    Yes they can.
    Improving the world one idiot at a time!

  7. #6
    Super Moderator Sean4u's Avatar
    Join Date
    Jul 2011
    Location
    Tavistock, UK
    Posts
    637
    Thanks
    5
    Thanked 103 Times in 93 Posts

    Default Re: java code to split text documents into paragraphs and sentences

    could anyone provide it
    Quote Originally Posted by Junky View Post
    Yes they can.
    I don't share your optimism

Similar Threads

  1. Java split problem..
    By arch in forum Java SE APIs
    Replies: 5
    Last Post: August 11th, 2011, 07:48 AM
  2. Appending to online documents
    By aussiemcgr in forum Java Theory & Questions
    Replies: 3
    Last Post: August 2nd, 2011, 08:44 AM
  3. MVC - Split the Java servlet(help needed)
    By kamweshi in forum Java Servlet
    Replies: 1
    Last Post: October 18th, 2010, 09:02 AM
  4. [SOLVED] Specific Text Extraction from PDF Research paper documents
    By user101 in forum Threads
    Replies: 1
    Last Post: September 8th, 2010, 11:30 AM
  5. Reading the size (height and width) of word documents
    By pradeep_das in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: May 7th, 2010, 09:58 AM

Tags for this Thread