Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Jeff Higgins Newsgroups: comp.lang.java.programmer Subject: Re: Artificial Intelligence with Java Date: Sun, 15 Jun 2014 07:08:01 -0400 Organization: A noiseless patient Spider Lines: 23 Message-ID: References: <21b372c0-200e-4587-9fa1-953c8a3d080d@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 15 Jun 2014 11:12:51 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="6a6a291fa7e9c0bd872c1a9cbe2b371d"; logging-data="12558"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+sqeb5RklckeoiO+iofiihYF2x2Rr1LNU=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.5.0 In-Reply-To: Cancel-Lock: sha1:jSgWPKnjSM6m8An8uUR2kbbfj/w= Xref: csiph.com comp.lang.java.programmer:28748 On 06/15/2014 06:49 AM, Chris Uppal wrote: > Giovanni R. wrote: > >> I'd like to create an application using Java where users give a phrase in >> input and the application says if it's a /negative/ or /positive/ phrase. >> >> Where should I start? > > The phrase you want to feed into a search engine is "natural language > processing". > >> Has AI already solved this kind of problems? > > Probably (or to put it another way -- I doubt whether AI is necessary): > depending on what you mean by negative or positive: for instance is " name> is a " negative (because of the insult) or positive (because > it makes a positive statement) ? > > As an exercise, consider what part of the problem /wouldn't/ be solved by > testing whether the phrase contained the word "not" (including contractions). > Memento for me. "Contextual Valence Shifters"