Creating Tokenizer using OpenNLP

Here is small snippet for tokenization using OpenNLP. Of course, you need to download tokenization model and place it in data folder under resources.


How to Configure Solr


Download the latest version of SOLR:

Or from the terminal by using wget in the terminal

Extract the shell script by executing the following command

Allow execute permission to the shell script by typing the following command

Now type the following command for running the solr service

Creating a New Core and Indexing Data:

You can create your own core by typing the following command in the terminal

Open the terminal and type the following command


collection_name = enter the name for the core

data_driven_schema_configs = name of the basic configuration file located in /opt/solr-6.6.0/server/solr/configsets/basic_configs

Now its time to index the data for the created collection. To add documents to the index, use bin/post. For example:

directory_name= Name for the directory which contain the data files. It will take time depend on your documents number so be patient.

E-Learning Landscape in Pakistan

Face to face interaction between student and teacher is an integral part of traditional education system. distance education – where there is no teacher-student interaction – has become a common practice for theoretical subjects. Distance education is a blessing for students in less developed regions and provides opportunities for busy professionals to learn new skills and improve their qualification with their jobs. There has been a paradigm shift recently in education in the form of online learning where students are provided all study material online. Such platforms provide forums where students may discuss topic and ask questions. The concept of e-learning offered low cost reach to massive audience. Today, many international universities are offering their courses online in order to reach a larger number of audience. Continue reading “E-Learning Landscape in Pakistan”

Relational Databases vs TripletStores

Both triplet stores and relational databases are used to store data but the nature of the data is different. Triplet stores are very useful to store complex type of data. Triplet stores are much more interesting than relational databases because of the flexibility they provide. The developer is not restricted to a particular schema and you can query multiple sources together in triplet stores.

Continue reading “Relational Databases vs TripletStores”

LaTeX Template for MS Thesis in UET

While I was working on my MS thesis, I defined a basic template for it using LaTeX. It can be a baseline for any student who needs to write his own thesis. In this post, I’m going to share this basic template and some tips about using it.

Continue reading “LaTeX Template for MS Thesis in UET”

Extract for Brackets – An Overview

Brackets has been around us for a while now and Adobe has been working on an extension for Brackets called Extract. Extract for Brackets is now available for preview and in this post I’m going to share my experience with this new extension.

Continue reading “Extract for Brackets – An Overview”