Define Unity Lens provides user with mathamatical results and dictionary look from unity dash interface only. Suppose you are reading pdf and want to get meaning of some word just press +c and enter the word you want to lookup for
It's created and maintained by Saif Hasan at IIT Bombay.
Hack Night Competition - 2012, IIT Bombay
You can visit Web and Coding Club on WnCC Wiki
If you are IIT Bombay student then you can join WnCC Google Group
It depends on python-gobject, python-sympy and singlet module which is included along with the source code only.
To install dependecies run the following commands in terminal:
- sudo apt-get install python-dev
- sudo apt-get install python-gobject
- sudo apt-get install python-sympy
Clone the repository or download the zip file from Github Repository.
Install all the dependecies as mentioned above
To install :
- sudo ./install.sh
To uninstall :
- sudo ./uninstall.sh
If you are behind the proxy then you have to add the proper proxy inorder to get started with app. Dictionary lookup will work only when internet is enabled. You can use calculator only if internet is not there.
For IIT Bombay students, set following proxy in your .bashrc file and add www.aero.iitb.ac.in:8081 to network settings and apply systemwide :
Features and Getting Started With
You might have to logout and login back inorder to start using lens. After login press
<super> + c to open the Dash. In this you can directly enter whatever you want to Evaluate or Lookup
The features of application are:
- Evaluates mathematical expression and shows up results
- Might suggest you the speeling if you enter wrong spell
- Displays you the various dictionary meanings along with sample example usage. e.g. Noun, Adjective, Verb etc
- Shows the possible Web Definitions of your query (Try IIT Bombay)
Insights of Define Lens
This lens uses sympy library to evaluate the mathematical expressions.
Lens uses bing spell suggestion api to fetch the correct spelling of a query, and uses Google Dictionary API to fetch the Meanings and Web Definitions.
Saif Hasan Department of Computer Science and Engineering Indian Institute of Technology, Bombay
Copyright and license
Copyright 2012 Saif Hasan
This is opensource. Anybobdy can copy, use or distribute this software.