Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > J2EE
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
J2EE General J2EE (Java 2 Enterprise Edition) discussions. Questions not specific to EE will be redirected elsewhere.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the J2EE section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 8th, 2004, 10:36 AM
Registered User
Join Date: Dec 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help!! extracting information from an email

I'm from singapore , trying to do a project which involves sending a sms with information extract from emails, e.g phone number
Not sure how to do it , java or XML?
Can someone give me a hint

Reply With Quote
  #2 (permalink)  
Old February 28th, 2005, 10:13 AM
Authorized User
Join Date: Feb 2005
Location: Hyderabad, AP, India.
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Sandz

No idea dude,
But i think what you need is J2ME.
Try out sun pages,its freely downloadable

Reply With Quote
  #3 (permalink)  
Old March 1st, 2005, 04:19 AM
Registered User
Join Date: Mar 2005
Location: Shanghai, Shanghai, China.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jamestong

I think it's not important whether you will use java or c to do your project. It's a information extraction problem.

The first step will be tokenizing the source text, and what you need maybe JLex. If you don't like it, Java's String.matches() (maybe this name) can also do the job. XML you mentioned can store your patterns.

Step 2 will be anaylzing the token list(or you can say 'word list')you have got from the source text. Maybe you will need corpus and some patterns and they can also be stored in xml files.

Step 3 you need to extract the information you need (some merge work is needed) by some certain patterns. For example, [0-9]-[0-9] maybe a phone number. Again, you can store the patterns in an xml file.

if you only want to extract phone number, maybe you only need step 1.

Personal opinion.

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
extracting attribute value hag XSLT 1 March 3rd, 2008 03:16 AM
string extracting fraijo SQL Server 2000 4 October 25th, 2006 09:53 PM
Extracting Text Jeff Mason BOOK: Beginning Regular Expressions 1 October 24th, 2006 06:38 AM
extracting atributes - how to do this? zoreli XML 6 August 12th, 2006 03:46 AM

All times are GMT -4. The time now is 03:45 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.