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
4 1741
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.
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.
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 ..!
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.
Sign in to post your reply or Sign up for a free account.
Similar topics |
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:
|
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...
|
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
|
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...
|
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...
| |
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).
|
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.
...
|
by: Fred |
last post by:
Thanks for your recommandation.
|
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
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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,...
| |
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...
|
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,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |