Solved

How to Manipulating nouns

Posted on 2006-10-25
3
315 Views
Last Modified: 2010-03-31
Hi guys

I have this file. The purpose is to read the file and then put it in a vector. Now i have to read  from the vector and detremine whether a word is an adjective, a verb or a noun. if its a noun i have to append either "a" or "the"  in font of the noun. that where the prolem come.I've done most of the part ut the appending thing gives me a problem. I've alredy tokenized the file so that I'll be ale to know whether a word is a noun, verb or an adjective

Here is the file am working on

vanswer=repondre(v)
bag=sac(n,m)
bedroom=chambre(n,f)
blue=bleue(a)
boring=ennuyeuse(a)
car=voiture(n,f)
any help will e appreciated
0
Comment
Question by:pkeketso
3 Comments
 
LVL 6

Accepted Solution

by:
valipotor earned 125 total points
ID: 17802782
String noun=...
String prefix="a";

String appendedNoun=prefix+noun;

0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
triangle challenge 4 77
Updating Java 9 87
strDist challenge 35 84
Responding to Java JComponent extended classes's resize event 4 23
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now