Last year, we have published a very exciting research article. In this article, we have discussed if Wikipedia page titles can be used to represent topics that are talked about in Twitter and proposed an approach to do that.

In contrast to existing topic extraction methods that extracts topics from only one tweet, our approach extracts topics from multiple posts. We assume that, elements of topics that crowds talk about distribute to multiple tweets by multiple users.

Our approach also differs in representation of topics in contrast to approaches that represent topics as a set of words such as LDA, phrases, or representative tweets. Our approach represents topics using Wikipedia page titles.

We used a simple computation. We compared contents of the tweets with contents of the Wikipedia pages using cosine similarity. This computation is not easy as Wikipedia has over four million articles. You need distinguishness of words in tweets. To measure distinguishness of words, inverse document frequency (idf) of words have to be computed.



For the details on computation you can g see the published paper. But now I want to show interesting results here.

We have experimented our method on tweet sets gathered during 2012 US elections debates. Debate tweets are interesting because they span a  wide range of topics such as women issues, tax, unemployment, social services.

The following figure shows two scores of two topics over debate times. The first plot (a) is for the Wikipedia page "Big Bird", and the second plot is for "Christianity and Abortion".

Big bird received high scores around 28th minute of the first presidential debate. Mitt Romney (the former Republican party candidate for elections) said something like : I will cut subsidy to PBS even if I love big bird etc. It received a quick response from the twitter environment.

Abortion is a critical subject in the United States. Whoever the candidate is, he needs to say something about abortion. The moderator asked both vice presidential candidates about their opinion of abortion as they are Catholics. Since public is sensitive to this matter, it also received a quick response. It should be noticed that no one used "Christianity and abortion" phrase in tweets. But our approach revealed this topic by considering aggregation of what is talked about.

The following picture is a heat map of several topics over debate times.

Third debate was about foreign issues. Our approach gave high scores to related topics such as Foreign relations of china, Iran-United States relations, Israel-United States relations, and Foreign policy of the United States. It can be tracked from the darkness of the topics from the heat map that, in the second half of the third debate, in order, Israel-United states, Iran United States, Israel-United states again, Osama bin Laden, and China are talked about.

Other topics are also meaningful. For instance, obamacare (patient protection and affordable care act) was mostly the issue of the first presidential debate. This can be seen from the heat map.

We have also experimented the 2016 debates between Donald Trump and Hillary Clinton. The results will be published soon.

Stay tuned!! :)
I have just compiled xdAuto 1.1.6e for the head unit NR5002 in my car. I was having an error in the cold boot that stops the radio. No problem in manually opening the radio app.

If the car is shut down while the radio is running, in the boot, it starts by the radio automatically. I often experience "Radio stopped unexpectedly" error. I have opened a bug report in here. One of the guys out there came up with a simple fix.

Just by editing the file Radio/src/com/example/radio/RadioActivity.java

by changin the following lines in protected void onPause() {

stopScan();
unbindService(this);
to
if (radioService != null) {
stopScan();
unbindService(this);
}

and compiling the android system solved my problem. 

I compiled the whole android system after the change. The compilation instructions are as follows for the ones who are interested (I am running ubuntu12.04) :

sudo apt-get install gcc
sudo apt-get install bison
sudo apt-get install g++-multilib
sudo apt-get install git
sudo apt-get install gperf
sudo apt-get install libxml2-utils
sudo apt-get install make
sudo apt-get install python-networkx
sudo apt-get install zlib1g-dev:i386
sudo apt-get install zip
sudo apt-get install flex
sudo apt-get install libncurses5-dev
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java6-installer

mkdir ~/Nu3001
mkdir ~/Nu3001/bin
PATH=~/Nu3001/bin:$PATH
cd ~/Nu3001
curlhttps://storage.googleapis.com/git-repo-downloads/repo > /Nu3001/bin/repo
chmod a+x ~/Nu3001/bin/repo

git config --global user.email "nu3001@nu3001.com"
git config --global user.name "nu3001"
repo init -u https://github.com/Nu3001/platform_manifest.git -b master
repo sync

cd ~/Nu3001/kernel
export ARCH=arm
exportCROSS_COMPILE=../prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-
export UTS_RELEASE="3.0.36+"
make amplified_defconfig
make kernel.img
make modules
sudo make modules_install

cd ~/Nu3001
source build/envsetup.sh
lunch rk3188-eng
make otapackage

After these steps, a zip file is created in ~/Nu3001/out/target/product/rk3188. That zip file can be used to update the whole android system usin TWRP. In my case, I just needed BonovoRadio.apk. So I unzipped the zip file and took that file from there. I just replaced the apk in /system/app folder in my head unit and rebooted. The problem just went awayy!!

Here is a pic of my head unit: