<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://okapiframework.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Glossary</id>
	<title>Glossary - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://okapiframework.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Glossary"/>
	<link rel="alternate" type="text/html" href="http://okapiframework.org/wiki/index.php?title=Glossary&amp;action=history"/>
	<updated>2026-05-22T15:15:40Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>http://okapiframework.org/wiki/index.php?title=Glossary&amp;diff=501&amp;oldid=prev</id>
		<title>Ysavourel: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://okapiframework.org/wiki/index.php?title=Glossary&amp;diff=501&amp;oldid=prev"/>
		<updated>2016-06-04T23:26:47Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:26, 4 June 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Ysavourel</name></author>
	</entry>
	<entry>
		<id>http://okapiframework.org/wiki/index.php?title=Glossary&amp;diff=500&amp;oldid=prev</id>
		<title>Ysavourel: /* Text Unit */</title>
		<link rel="alternate" type="text/html" href="http://okapiframework.org/wiki/index.php?title=Glossary&amp;diff=500&amp;oldid=prev"/>
		<updated>2011-07-08T14:20:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Text Unit&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
This page defines the main term and concepts used across the documentation and help of the Okapi Framework.&lt;br /&gt;
&lt;br /&gt;
==Coded Text==&lt;br /&gt;
&lt;br /&gt;
A coded text is a text content where [[#Inline Code|inline codes]] have been pre-parsed and separated from the text, replaced with place-holders.&lt;br /&gt;
&lt;br /&gt;
==Event==&lt;br /&gt;
&lt;br /&gt;
An event is an unit of information that is carried through the [[#Pipeline|pipeline]]. Many events are associated with corresponding physical data: the [[#Resource|resources]]. For example, the &amp;lt;code&amp;gt;TEXT_UNIT&amp;lt;/code&amp;gt; event carries a [[#Text Unit|text unit]] resource.&lt;br /&gt;
&lt;br /&gt;
Most events are created when using a [[#Filter|filter]] on an input document. In a pipeline this is done by using the [[Raw Document to Filter Events Step]].&lt;br /&gt;
&lt;br /&gt;
==Filter==&lt;br /&gt;
&lt;br /&gt;
A filter is a component that separate an input document into different parts, some of which are translatable text or other localizable data. The filter generates a set of [[#Event|events]] that can be processed by other components.&lt;br /&gt;
&lt;br /&gt;
See the &amp;quot;[[Filters]]&amp;quot; page for a list of filters available in the framework, and the formats supported.&lt;br /&gt;
&lt;br /&gt;
==Inline Code==&lt;br /&gt;
&lt;br /&gt;
An inline code is some type of markup inside a run of text. For example, &amp;quot;&amp;lt;code&amp;gt;&amp;amp;lt;b&amp;gt;&amp;lt;/code&amp;gt;&amp;quot; and &amp;quot;&amp;lt;code&amp;gt;&amp;amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&amp;quot; are two inline codes in the text &amp;quot;&amp;lt;code&amp;gt;This is &amp;amp;lt;b&amp;gt;bold&amp;amp;lt;/b&amp;gt;.&amp;lt;/code&amp;gt;&amp;quot; Inline codes are often used to apply formatting, but they can be used for other things. What is an inline code and what is not depends on each filter and sometimes on its parameters.&lt;br /&gt;
&lt;br /&gt;
==Pipeline==&lt;br /&gt;
&lt;br /&gt;
A pipeline is a set of steps that carry out a specific process for a given list of input documents. The most common pipelines start with a step that uses a filter to parse the input document and ends with step that uses a filter writer to create the output.&lt;br /&gt;
&lt;br /&gt;
In this documentation, pipeline are usually represented like this:&lt;br /&gt;
&lt;br /&gt;
: = [[Raw Document to Filter Events Step]]&lt;br /&gt;
: + [[Leveraging Step]]&lt;br /&gt;
: + [[Filter Events to Raw Document Step]]&lt;br /&gt;
&lt;br /&gt;
==Property==&lt;br /&gt;
&lt;br /&gt;
A property, in a resource generated from a [[#Filter|filter]], is a piece of information associated with a specific name. Properties are used to give access to simple data that is not text content. There are two types of properties:&lt;br /&gt;
&lt;br /&gt;
* Read-only properties: Their values are extracted and accessible, but cannot be modified when the document is re-generated with the filter writer.&lt;br /&gt;
&lt;br /&gt;
* Modifiable properties: Their values can be changed and it is the modified values that are output by the filter writer. For example, the [[HTML Filter]] extracts &amp;lt;code&amp;gt;href&amp;lt;/code&amp;gt; attributes values to link modifiable properties.&lt;br /&gt;
&lt;br /&gt;
==Resource==&lt;br /&gt;
&lt;br /&gt;
A resource is an object associated with an [[#Event|event]]. It contains all the pre-parsed information the event comes with. Most events have a dedicated type of resource, but a few use the same type of resource, and some may have no corresponding resource at all.&lt;br /&gt;
&lt;br /&gt;
All resources share a same minimal interface: &amp;lt;code&amp;gt;IResource&amp;lt;/code&amp;gt;. Some resources also implement the &amp;lt;code&amp;gt;INameable&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;IReferenceable&amp;lt;/code&amp;gt; interfaces.&lt;br /&gt;
&lt;br /&gt;
==Segment==&lt;br /&gt;
&lt;br /&gt;
A segment, in the context of the framework, is the result of a segmentation processed applied to a extracted content, generally a [[#Text Unit|text unit]]. For example, it can be a single sentence, in a text unit that is the content of an HTML &amp;lt;code&amp;gt;&amp;amp;lt;p&amp;gt;&amp;lt;/code&amp;gt; element. Segmentation services are provided through the &amp;lt;code&amp;gt;ISegmenter&amp;lt;/code&amp;gt; interface.&lt;br /&gt;
&lt;br /&gt;
==Skeleton==&lt;br /&gt;
&lt;br /&gt;
The skeleton is the non-textual part of a document. A [[#Filter|filter]] has for function to separate text content from skeleton parts. The skeleton parts are sent along with the filter [[#Event|events]] and can be used by the filter writers to construct an output in the format of the original input document.&lt;br /&gt;
&lt;br /&gt;
Skeleton parts are usually left alone and simply carried through the [[#Pipeline|pipeline]], but the are accessible with the &amp;lt;code&amp;gt;IResource.getSkeleton()&amp;lt;/code&amp;gt; method.&lt;br /&gt;
&lt;br /&gt;
==Step==&lt;br /&gt;
&lt;br /&gt;
A small component that perform one specific task. Steps are chained together in [[#Pipeline|pipelines]]. See the &amp;quot;[[Steps]]&amp;quot; page for a list of steps.&lt;br /&gt;
&lt;br /&gt;
==Text Unit==&lt;br /&gt;
&lt;br /&gt;
The text unit is the basic item used by a filter to store extracted text and its associated information. It is at the center of the text extraction mechanism. Usually it corresponds to something like a paragraph. For example: the content of a &amp;lt;code&amp;gt;&amp;amp;lt;p&amp;gt;&amp;lt;/code&amp;gt; element in HTML, or the text of the value of a key/value pair in a properties file. In corresponds roughly to a &amp;lt;code&amp;gt;&amp;amp;lt;trans-unit&amp;gt;&amp;lt;/code&amp;gt; in XLIFF 1.2.&lt;br /&gt;
&lt;br /&gt;
Often, the content of a text unit needs to be broken down into smaller parts, for example sentences. This is the segmentation process, and each resulting part is a [[#Segment|segment]].&lt;br /&gt;
&lt;br /&gt;
The text unit is accessible through the &amp;lt;code&amp;gt;ITextUnit&amp;lt;/code&amp;gt; interface, which is the [[#Resource|resource]] associated with the &amp;lt;code&amp;gt;TEXT_UNIT&amp;lt;/code&amp;gt; [[#Event|event]].&lt;/div&gt;</summary>
		<author><name>Ysavourel</name></author>
	</entry>
</feed>