Solved

How to Manipulating nouns

Posted on 2006-10-25
3
324 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
nextBoolean(double p) for Random class 3 41
javap not working 8 58
Facing this issue for maven proxy setting 2 20
Eclipse for Java EE development 2 28
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

828 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