Jump to content


Photo

How to parse a word document

parsing resume asp.net c#

  • Please log in to reply
4 replies to this topic

#1 roshgorg

roshgorg

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 04 July 2013 - 02:04 AM

How can we parse a word document using asp.net and c#.

The question I have is with respect to parsing a word document, say a resume, to read the contents like name and email address. For this, I have an idea, but not sure of how to implement it. Can someone help me on this?My idea is:

-Take the first line, if there are two or more words (other than curriculum vitae)separated by a single space or using a period(.) followed by a space, it is a name.

-Take the second line, if there are two or more words separated by a single space or using a period(.) followed by a space, it is a name.

-Consider the last line, if there are two or more words separated by a single space or using a period(.) followed by a space, it is a name.

-Consider the second last line, if there are two or more words separated by a single space or using a period(.) followed by a space, it is a name.

 

I know how to read tellno and email using patters, but, I dont know how to implement finding out the name. Is there any idea ?



#2 justsomeguy

justsomeguy

    More Human Than Human

  • Moderator
  • PipPipPipPipPipPipPip
  • 29,654 posts
  • Gender:Male
  • Location:Phoenix
  • Languages:Focusing on PHP and JavaScript

Posted 08 July 2013 - 04:29 PM

Which part do you need help with?  Are you already able to open the file and read the contents of it?


Know your history: Babbage | Lovelace | Turing | Hopper | Ritchie
ConTEXT Sublime Text Opera PHP MySQL phpMyAdmin
Use a debugger: Firefox, IE, Chrome, Safari, or Opera
Know the foundations of computer science: algorithms, machine architectures, data structures, etc. Don't just blindly copy techniques from application to application. Know what you are doing, that it works, and why it works. Don't think you know what the industry will be in five years time or what you'll be doing then, so gather a portfolio of general and useful skills. Try to write better, more principled code. Work to make "programming" more of a professional activity and less of a low-level "hacking" activity (programming is also a craft, but not just a craft). Learn from the classics in the field and the better advanced textbooks; don't be satisfied with the easily digested "how to" guides and online documentation - it's shallow.
-- Bjarne Stroustrup

He that teaches himself has a fool for a master.
-- Benjamin Franklin (paraphrased)


#3 gutpe.rakesh@gmail.com

gutpe.rakesh@gmail.com

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 09 December 2014 - 03:09 PM

How can we parse a word document using asp.net and c# .

I too got the same requirement. Once we upload resume to the site, our portal should fetch common fields like Name, eMail, designation.. in to the form.

Can anyone explain how to impliment this functionality in asp.net website with c# language.

 

 

 



#4 justsomeguy

justsomeguy

    More Human Than Human

  • Moderator
  • PipPipPipPipPipPipPip
  • 29,654 posts
  • Gender:Male
  • Location:Phoenix
  • Languages:Focusing on PHP and JavaScript

Posted 09 December 2014 - 06:13 PM

What have you tried so far? A basic search shows a lot of libraries that will read Word documents.

Know your history: Babbage | Lovelace | Turing | Hopper | Ritchie
ConTEXT Sublime Text Opera PHP MySQL phpMyAdmin
Use a debugger: Firefox, IE, Chrome, Safari, or Opera
Know the foundations of computer science: algorithms, machine architectures, data structures, etc. Don't just blindly copy techniques from application to application. Know what you are doing, that it works, and why it works. Don't think you know what the industry will be in five years time or what you'll be doing then, so gather a portfolio of general and useful skills. Try to write better, more principled code. Work to make "programming" more of a professional activity and less of a low-level "hacking" activity (programming is also a craft, but not just a craft). Learn from the classics in the field and the better advanced textbooks; don't be satisfied with the easily digested "how to" guides and online documentation - it's shallow.
-- Bjarne Stroustrup

He that teaches himself has a fool for a master.
-- Benjamin Franklin (paraphrased)


#5 justsomeguy

justsomeguy

    More Human Than Human

  • Moderator
  • PipPipPipPipPipPipPip
  • 29,654 posts
  • Gender:Male
  • Location:Phoenix
  • Languages:Focusing on PHP and JavaScript

Posted 06 February 2017 - 07:06 PM

Is this the right topic for that question? Why not start a new topic?

Know your history: Babbage | Lovelace | Turing | Hopper | Ritchie
ConTEXT Sublime Text Opera PHP MySQL phpMyAdmin
Use a debugger: Firefox, IE, Chrome, Safari, or Opera
Know the foundations of computer science: algorithms, machine architectures, data structures, etc. Don't just blindly copy techniques from application to application. Know what you are doing, that it works, and why it works. Don't think you know what the industry will be in five years time or what you'll be doing then, so gather a portfolio of general and useful skills. Try to write better, more principled code. Work to make "programming" more of a professional activity and less of a low-level "hacking" activity (programming is also a craft, but not just a craft). Learn from the classics in the field and the better advanced textbooks; don't be satisfied with the easily digested "how to" guides and online documentation - it's shallow.
-- Bjarne Stroustrup

He that teaches himself has a fool for a master.
-- Benjamin Franklin (paraphrased)






Also tagged with one or more of these keywords: parsing, resume, asp.net, c#

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users