?
Solved

How to Manipulating nouns

Posted on 2006-10-25
3
Medium Priority
?
327 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 6

Accepted Solution

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

String appendedNoun=prefix+noun;

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
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 …
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses
Course of the Month13 days, 4 hours left to enroll

777 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