Solved

How to Manipulating nouns

Posted on 2006-10-25
3
325 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 125 total points
ID: 17802782
String noun=...
String prefix="a";

String appendedNoun=prefix+noun;

0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

730 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