473,803 Members | 3,166 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Natural Language Processing

3 New Member
hi all i have a homework but am not so good in java so i need some help !!
i have to do a text box and put in it a pattern and there is a big text box under it so when i put a pattern in the first box and text in the second one and i push a button (find) the words that matches the pattern must be highlighted !! this is half of the H.W the other half on the same interface i have to inter the date it must be in this form (dd/mm/yy or dd-mm-yy) and email (blabla@bla.bla ) and country there is a list with country names in it and mobile number in thes form (07xxxxxxxx) and there is a button (subit under them) they all must be in the right syntax other wise the form won't accept them !! all these things must be in one box(interface) the first half on the left vertically and the other on the right. this course is natural language processing and this home work must be done in java !
soo please if any one can help i'll be very thankfull
bbyee
Mar 12 '07 #1
4 1740
r035198x
13,262 MVP
hi all i have a homework but am not so good in java so i need some help !!
i have to do a text box and put in it a pattern and there is a big text box under it so when i put a pattern in the first box and text in the second one and i push a button (find) the words that matches the pattern must be highlighted !! this is half of the H.W the other half on the same interface i have to inter the date it must be in this form (dd/mm/yy or dd-mm-yy) and email (blabla@bla.bla ) and country there is a list with country names in it and mobile number in thes form (07xxxxxxxx) and there is a button (subit under them) they all must be in the right syntax other wise the form won't accept them !! all these things must be in one box(interface) the first half on the left vertically and the other on the right. this course is natural language processing and this home work must be done in java !
soo please if any one can help i'll be very thankfull
bbyee
We wont do the assignment for you (see here). We can only assist.

You need to learn how to use the following swing components/containers

JFrame
JPanel
JButton
JTextField
JTextArea
JLabel

Then you need to know how to use ActionEvent, and ActionListener.

Finally you should know how to use the java.util.regex package to manipulate text using regular expressions.


P.S I will now change the thread title to the more appropiriate Natural Language Processing.
Mar 12 '07 #2
hirak1984
316 Contributor
how much java have you done?

do you know swing or SWT at all?
else it will be difficult to use the functions
stated by r0.
So read from a standard book first,else r0 has some very nice and easy to understand tutorials though I am not sure if he has covered swing or not.

We wont do the assignment for you (see here). We can only assist.

You need to learn how to use the following swing components/containers

JFrame
JPanel
JButton
JTextField
JTextArea
JLabel

Then you need to know how to use ActionEvent, and ActionListener.

Finally you should know how to use the java.util.regex package to manipulate text using regular expressions.


P.S I will now change the thread title to the more appropiriate Natural Language Processing.
Mar 13 '07 #3
snipes2002
3 New Member
hi again...guys am not a java programmer.. and i don't use java actually..but this assignment must be done in java !! thats why i asked for help !! so please if any one can do it for me i'll be more than thankfull ..!
Mar 14 '07 #4
r035198x
13,262 MVP
hi again...guys am not a java programmer.. and i don't use java actually..but this assignment must be done in java !! thats why i asked for help !! so please if any one can do it for me i'll be more than thankfull ..!
The rules don't allow that kind of a thing.
You'll have to be writting the code yourself in order for you to get help.
Mar 14 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

4
2194
by: Andrew E | last post by:
Hi all I've written a python program that adds orders into our order routing simulation system. It works well, and has a syntax along these lines: ./neworder --instrument NOKIA --size 23 --price MARKET --repeats 20 etc However, I'd like to add a mode that will handle, say:
6
2896
by: Garmt de Vries | last post by:
On some of my English language webpages, I have images of Dutch books. In the alt text for this image, I give the title of the book, for example: <img src="maan.jpg" alt="Cover of De reis naar de maan" /> Now I would like to indicate that the phrase 'De reis naar de maan' is Dutch, for the profit of users with a screen reader and others who may benefit from it. Unfortunately I can't use a <span lang="nl"> inside the alt attribute. I...
2
1543
by: sachin | last post by:
Hello Everybody I need some help regarding Natural Language Processing. I am designing a MT system from a SOV language to a SOV language. I need a parser which can find the root word corresponding to each word and can generate some info. Gender, Number, Person with the help of implementing Grammatical rules. Since It is between SOV lnguages so I have no need a LWG. I am new t this field so not getting any idea how to kick off the
9
2671
by: Andrew Gwozdziewycz | last post by:
I've been looking recently for date processing modules that can parse dates in forms such as "next week" or "6 days from next sunday". PHP has a function that will do this called 'strtotime', but I have not found a Python implementation. I've check the standard date, datetime and time modules and also mx.Date* modules. Am I overlooking something here or does it not exist? Anyone know of an implementation? Also, I realize that this is...
0
1344
by: smonroe | last post by:
Hi All, I thought our technology might interest the group. Cypher is one of the first software program available which generates the RDF graph and SeRQL query representations of a natural language input. The Cypher framework provides a set of robust definition languages, which can be used to extend and create grammars and lexicons. The Cypher specifications are designed to allow a novice to quickly and easily build transcoders for...
78
3909
by: Frederick Gotham | last post by:
On modern 32-Bit PC's, the following setup is common: char: 8-Bit short: 16-Bit int: 32-Bit long: 32-Bit "char" is commonly used to store text characters. "short" is commonly used to store large arrays of numbers, or perhaps wide text characters (via wchar_t).
1
2636
by: Steven Bird | last post by:
NLTK — the Natural Language Toolkit — is a suite of open source Python modules, data sets and tutorials supporting research and development in natural language processing. It comes with 50k lines of code, 300Mb of datasets, and a 360 page book which teaches both Python and Natural Language Processing. NLTK has been adopted in at least 40 university courses. NLTK is hosted on sourceforge, and is ranked in the top 200 projects. ...
1
3452
by: Xah Lee | last post by:
Text Processing with Emacs Lisp Xah Lee, 2007-10-29 This page gives a outline of how to use emacs lisp to do text processing, using a specific real-world problem as example. If you don't know elisp, first take a gander at Emacs Lisp Basics. HTML version with links and colors is at: http://xahlee.org/emacs/elisp_text_processing.html
0
9565
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10550
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10317
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10295
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9125
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6844
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5501
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4275
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2972
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.