<prompt> Andika programu ya Java inayotumia API ya Twitter kutiririsha tweets zilizo na maneno muhimu mahususi, hufanya uchanganuzi wa hisia kwenye maandishi ya tweet kwa kutumia modeli ya kujifunza ya mashine iliyofunzwa mapema, na kuhifadhi matokeo katika hifadhidata ya PostgreSQL.PLINFORMAT  <response>: kuagiza edu.stanford.nlp.ling.Maelezo ya Msingi;kuagiza edu.stanford.nlp.neural.rnn.RNNCoreMaelezo;kuagiza edu.stanford.nlp.pipeline.Annotation;kuagiza edu.stanford.nlp.pipeline.StanfordCoreNLP;import edu.stanford.nlp.sentiment.SentimentCoreAnnotations;kuagiza edu.stanford.nlp.trees.Tree;agiza edu.stanford.nlp.util.CoreMap;kuagiza twitter4j.;agiza twitter4j.conf.ConfigurationBuilder;kuagiza java.sql.Connection;agiza java.sql.DriverManager;agiza java.sql.PreparedStatement;agiza java.sql.SQLException;agiza java.util.Properties;darasa la umma la TwitterSentimentAnalysis bomba la kibinafsi la StanfordCoreNLP; utupu tuli wa umma String args Anzisha bomba la uchambuzi wa hisia Props za mali Sifa mpya; props.setPropertyvidokezo, tokenize, mgawanyiko, uchanganuzi, hisia; bomba StanfordCoreNLP mpya props; Sanidi kitambulisho cha API ya Twitter ConfigurationBuilder cb new ConfigurationBuilder; cb.setDebugEnabledkweli .setOAuthConsumerKeyYOUR_CONSUMER_KEY .setOAuthConsumerSecretYOUR_CONSUMER_SECRET .setOAuthAccessTokenYOUR_ACCESS_TOKEN .setOAuthAccessTokenSecretYOUR_ACCESS_TOKEN_SECRET; Unda mtiririko wa Twitter na usikilize tweets zilizo na maneno muhimu maalum TwitterStream twitterStream Kiwanda kipya cha TwitterStreamcb.build.getInstance; Msikilizaji wa StatusListener Adapta mpya ya Status Batilisha utupu wa umma kwenyeHaliHali ya Hali Mfuatano wa tweetText status.getText; int sentimentScore analyzeSentimenttweetText; System.out.printlnTweet: tweetText nAlama ya hisia: sentimentScore; jaribu storeInDatabasestatus.getUser.getScreenName, tweetText, sentimentScore; catch SQLException e e.printStackTrace; ; twitterStream.addListenermsikilizaji; FilterQuery filterQuery FilterQuery mpya; filterQuery.trackString mpyakeyword1, keyword2; Badilisha na maneno yako muhimu twitterStream.filterfilterQuery; private static int analyzeSentimentString text Ufafanuzi wa ufafanuzi pipeline.processtext; kwa sentensi ya CoreMap : annotation.getCoreAnnotations.SentencesAnnotation.class Mti wa mti sentensi.getSentimentCoreAnnotations.SentimentAnnotatedTree.class; rudisha RNNCoreAnnotations.getPredictedClassmti; kurudi -1; storeInDatabase ya utupu ya kibinafsijina la mtumiaji la kamba, tweetText ya Kamba, int sentimentScore hutupa SQLException Url ya kamba jdbc:postgresql:localhost:5432database_yako; Mtumiaji wa kamba mtumiaji_wako; Nenosiri la kamba nenosiri_lako; jaribu Muunganisho wa muunganisho DriverManager.getConnectionurl, mtumiaji, nenosiri Hoja ya mfuatano INGIZA KWENYE tweetsjina la mtumiaji, maandishi_ya_matini, maoni_alama THAMANI ?, ?, ?; PreparedStatement preparedTaarifa connection.prepareStatementhoja; preparedStatement.setString1, jina la mtumiaji; preparedStatement.setString2, tweetText; preparedStatement.setInt3, sentimentScore; readyStatement.executeUpdate; 