spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SK <skrishna...@gmail.com>
Subject Re: filtering out non English tweets using TwitterUtils
Date Tue, 11 Nov 2014 20:42:41 GMT
Thanks for the response. I tried the following :

   tweets.filter(_.getLang()="en")

I get a compilation error:
   value getLang is not a member of twitter4j.Status

But getLang() is one of the methods of twitter4j.Status since version 3.0.6
according to the doc at:
   http://twitter4j.org/javadoc/twitter4j/Status.html#getLang--

What version of twitter4j does Spark Streaming use?

thanks



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/filtering-out-non-English-tweets-using-TwitterUtils-tp18614p18621.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Mime
View raw message