Solved

How to Manipulating nouns

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
advertisement module in core php 4 162
stackato and cloud 4 85
Custom Java Application connects to database: Which one of the 20? 4 28
printf performancy 11 41
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…
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…
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:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

773 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