Environment
TinyMCE, also known as the Tiny Moxiecode
Content Editor, is a platform-independent web-based JavaScript/HTML
WYSIWYG editor control, released as open source software under the LGPL
by Moxiecode Systems AB. It has the ability to convert HTML textarea
fields or other HTML elements to editor instances. TinyMCE is designed
to easily integrate with content management systems.
TinyMCE
integrates with many different open source systems, such as Mambo,
Joomla!, Drupal, Plone, WordPress, b2evolution, e107, phpWebSite and
Freedomeditor.
What it does
This
paragraph focuses on the different steps of the OKKAMization process.
In particular, we will analyze how OKKAM moves and processes data, in
order to better understand the OKKAM Empowered tool functionality.
The
following picture describes the three main steps of this workflow:

- The
user starts writing the post
- The TinyMCEOKKAM empowered tool
takes the post’s body and sends it to the OKKAM System.
ATTENTION: In order to perform the annotation process, the content of your email is sent to the OKKAM annotation pipeline! However, your email IS NOT STORED by OKKAM.
To recognize the named entities inside the email it is fundamental to analyze the email using the OKKAM technology. This technology is very complex, based on a semantic approach and is impossible to use on the client side, so using a server side approach is needed. Before starting, the process requires you to view and accept the OKKAM privacy statement. Otherwise you can of course abort the process and no data is sent to OKKAM. - OKKAM starts to analyze the plain text coming from the tool. The first step is the Entities extraction. It is clear that every tool analyzes different kinds of information. Depending on the situation, the gathering of data (ACQUISITION) can be carried out in various ways. After acquisition, the first processing step is the parsing and analysis of a text for entities extraction. In particular, the system contains three different approaches:
- Keyword based
- Shallow
linguistics
- Semantic Analysis
The main module is the semantic analysis based on COGITO® Discover semantic capabilities, which provides Semantic Analysis for texts in English and Italian. A query is created for each identified named entity (e.g. people, location). It contains the main features useful to better identify the potential entity in a unique way. The query is sent to the OKKAM Engine. The Entity Matching stage generates an OKKAM ID for entities, where this is required. This process is based on the following steps:
- Query processing
The OKKAM Engine analyzes the query, searches the repository and returns, if present, the correct OKKAM ID for the named entity.- The correct OKKAM ID identification
The OKKAM ID resulting from matching is a value ready to be included as a new field in the document.
The use of this module is the basis for building a Web of Entities, where information about the same entity is consolidated in such a way that aggregation, integration and mash up become easier and faster.
The result you have is your email will be tagged with the OKKAMids.
Features
This
tool allows to find and highlight entities inside your text in many
different ways.
There are some different functions:
- RDFa
This function will write RDF fragment around words representing an entity. - Okkamize
text
Selecting this your email will be enhanced with a little report showing, for each entity inside your text, their Okkam identifier. - Search
Links to Okkam webpage where to search for entities. - Add entity
Links to Okkam webpage where to add an entity. It requires registration. http://api.okkam.org/EnsWebToolKit - Homepage
Keeps links to OKKAM homepage and the pages where to search for and add entities. - Help
If you need additional help, here you will find user's manual.
Technology
This
Rich Internet Application is created using:
- Javascript
JavaScript is an object-oriented scripting language used to enable programmatic access to objects within both the client application and other applications. It is primarily used in the form of client-side JavaScript, implemented as an integrated component of the web browser, allowing the development of enhanced user interfaces and dynamic websites. JavaScript is a dialect of the ECMAScript standard and is characterized as a dynamic, weakly typed, prototype-based language with first-class functions. JavaScript was influenced by many languages and was designed to look like Java, but to be easier for non-programmers to work with.
- jQuery
jQuery is a lightweight cross-browser JavaScript library that emphasizes interaction between JavaScript and HTML. It was released in January 2006 at BarCamp NYC by John Resig. Used by over 27% of the 10,000 most visited websites, jQuery is the most popular JavaScript library in use today. jQuery is free, open source software, dual-licensed under the MIT License and the GNU General Public License, Version 2.[2] jQuery's syntax is designed to make it easier to navigate a document, select DOM elements, create animations, handle events, and develop Ajax applications. jQuery also provides capabilities for developers to create plugins on top of the JavaScript library. Providing this option, developers are able to create abstractions for low-level interaction and animation, advanced effects and high-level, theme-able widgets. This contributes to the creation of powerful and dynamic web pages.
Installation
This
tool is available for Tiny MCE editor.
This distribution
provides you just the plugin folder. All you have to do is to copy this
folder in the tinyMCE plugin directory on your server and properly
configure the tinyMCE instance as explained below.
- Make sure you have installed Tiny MCE on your server. If not you can find it here: http://tinymce.moxiecode.com/download.php along with all the explanations about how to install and configure the editor.
- Download the plug-in from the following link http://community.okkam.org/index.php/Downloads/
- Copy the entire folder in the ‘plugins’ folder which probably looks like “tinymce/jscripts/tiny_mce/plugins”.
- Then all you have to do is to integrate the editor in your web page. There just a few lines of code to write: here is a basic example which shows a blank page with just one editor loading only the okkam plugin.
- In the head
section load the TinyMCE main script and initialize it. The “advanced”
theme is the only one that allows custom plugin, the textareas mode
converts all the textarea HTML tags into editor instances, then are
specified the plugin name and the button name:
<script type="text/javascript" src="/{path to tiny_mce.js}"></script>
<script type="text/javascript">tinyMCE.init({ theme : "advanced", mode : "textareas", plugins : "okkam", theme_advanced_buttons3 : "okkambutton"});</script> - Insert an editor instance in
your page writing something like:
<textarea rows="15" cols="50" name="content">This is some content that will be editable with TinyMCE.</textarea>
DOWNLOAD
- Download the User manual





