<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">

<html>

<!--(==============================================================)-->
<!--(Document created with RoboEditor. )============================-->
<!--(==============================================================)-->

<head>

<title>Adding passes files</title>

<!--(Meta)==========================================================-->

<meta name=generator content="RoboHELP by eHelp Corporation - www.ehelp.com">
<meta name=generator-major-version content=0.1>
<meta name=generator-minor-version content=1>
<meta name=filetype content=kadov>
<meta name=filetype-version content=1>
<meta name=page-count content=1>
<meta name=layout-height content=1612>
<meta name=layout-width content=461>
<meta name=date content="08 20, 2001 3:44:11 PM">


<!--(Links)=========================================================-->

<link REL=StyleSheet HREF="../../../default.css">



</head>

<!--(Body)==========================================================-->


<body>

<h1>Adding Passes</h1>

<p>When you add a pass to the analyzer sequence you are also creating the 
 pass file that is associated with the pass. You can associate existing 
 pass files from another analyzer project with a new pass in the analyzer 
 sequence. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}--></p>

<p>VisualText also comes with a set of <span style="font-weight: bold;">library 
 passes</span> that can be added to the analyzer sequence. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->Library 
 passes are pre-built passes that contain code to recognize telephone numbers, 
 email addresses, dates, money and other common patterns. Some library 
 passes are available as VisualText analyzer templates. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}--></p>

<p><span style="font-weight: bold;"><a name=new_pass></a>To add a new pass 
 to the analyzer sequence</span>:</p>

<ol>
	
	<li class=kadov-p><p>In the <span style="font-weight: bold;">Ana Tab</span>, 
 click on the pass in the sequence where you want to insert the pass. The 
 new pass will be added AFTER the pass you select.</p></li>
	
	<li class=kadov-p><p>With the mouse in the Ana Tab, right-click and 
 select <span style="font-weight: bold;">Add</span> &gt; <span style="font-weight: bold;">New 
 Pass</span>.</p></li>
	
	<li class=kadov-p><p>In the <span style="font-weight: bold;">Pass Properties</span> 
 dialog box, give the pass file a <span style="font-weight: bold;">name</span><span 
 style="font-weight: normal;">. (For pass names with multiple words, we 
 recommend using an underscore between the words.) <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->For 
 </span><span style="font-weight: bold;">Type</span><span style="font-weight: normal;">, 
 select Pattern for a pattern based pass or Recursive for a recursive one. 
 By default the pass is set with the </span><span style="font-weight: bold;">Active</span><span 
 style="font-weight: normal;"> flag, meaning the pass will be processed 
 the next time the analyzer is run. (To inactivate the pass, see <a HREF="../../Hand_Building_Pass_Files/Inactivating_a_pass.htm">Inactivating 
 a pass</a>.)</span></p></li>
	
	<li class=kadov-p><p>Click <span style="font-weight: bold;">OK</span><span 
 style="font-weight: normal;"> to finish creating the pass. The newly pass 
 is added to analyzer sequence.</span></p></li>
</ol>

<p><span style="font-weight: bold;"><a name=exist_pass></a>To associate 
 an existing pass file with a pass in the analyzer sequence</span>:</p>

<ol>
	
	<li class=kadov-p><p>In the <span style="font-weight: bold;">Ana Tab</span>, 
 click on the pass in the sequence where you want to insert the pass. The 
 new pass will be added AFTER the pass you select.</p></li>
	
	<li class=kadov-p><p>Right-click and select <span style="font-weight: bold;">Add</span> 
 &gt; <span style="font-weight: bold;">Pass from File</span>.</p></li>
	
	<li class=kadov-p><p>Navigate to the directory where the pass file 
 exists. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->(For 
 example, c:\apps\myAnalyzer\spec.)</p></li>
	
	<li class=kadov-p><p>Select the <span style="font-weight: bold;">pass 
 file</span> and click <span style="font-weight: bold;">Open</span>. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->The 
 pass is added to the analyzer sequence. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->The 
 name of the pass defaults to the name of the existing pass file. </p></li>
</ol>

<p><span style="font-weight: bold;"><a name=add_lib_pass></a>To add a library 
 pass to the analyzer sequence</span>:</p>

<ol>
	
	<li class=kadov-p><p>In the <span style="font-weight: bold;">Ana Tab</span>, 
 click on the pass in the sequence where you want to insert the pass. The 
 new pass will be added AFTER the pass you select. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->If 
 a library pass contains more than one pass in the sequence, all passes 
 are added to the Ana Tab. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->The 
 number following the library pass name indicates the total number of passes 
 in the sequence.</p></li>
	
	<li class=kadov-p><p>Right-click and select <span style="font-weight: bold;">Add</span> 
 &gt; <span style="font-weight: bold;">Library Pass</span>.</p></li>
	
	<li class=kadov-p><p style="margin-top: 0px; margin-bottom: 0px;">Select 
 the <span style="font-weight: bold;">pass</span> from the menu.</p></li>
</ol>

<!--(Table)=========================================================-->
<table x-use-null-cells
		wrapperparagraphselector=P
		style="border-spacing: 0px;
				margin-top: 14pt;
				width: 98.03%;"
		width=98.03%
		cellspacing=0>
<col style="width: 100%;">

<tr style="height: 223px;">
<td style="background-color: #FFFFD5;
			x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top
	bgcolor=#FFFFD5
	width=100%>
<p style="margin-top: 0px; margin-bottom: 0px;"><span style="font-weight: bold;">Note</span>: 
 <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->You must 
 change the Pass Properties on some library passes in order for them to 
 work correctly. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->By 
 default, the Pass Property Type is set to Pattern. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->Pattern 
 should be changed to <span style="font-weight: bold;">Recursive</span> 
 for the following:</p>
<p style="margin-top: 0px; margin-bottom: 0px;">&nbsp;</p>
<!--(Table)=========================================================-->
<table x-use-null-cells
		style="x-cell-content-align: top;
				width: 100%;
				border-spacing: 0px;"
		cellspacing=0
		width=100%>
<col style="width: 41.011%;">
<col style="width: 58.989%;">

<tr style="height: 20px;"
	valign=top>
<td colspan=1
	rowspan=1
	style="padding-right: 10px;
			padding-left: 10px;
			border-right-color: #000000;
			border-right-width: 1px;
			border-right-style: Solid;
			border-left-color: #000000;
			border-left-width: 1px;
			border-left-style: Solid;
			border-top-color: #000000;
			border-top-width: 1px;
			border-top-style: Solid;
			border-bottom-color: #000000;
			border-bottom-width: 1px;
			border-bottom-style: Solid;"
	width=41.011%>
<p><span style="font-weight: bold;">Library Pass</span></td>
<td colspan=1
	rowspan=1
	style="padding-right: 10px;
			padding-left: 10px;
			border-top-color: #000000;
			border-top-width: 1px;
			border-top-style: Solid;
			border-bottom-color: #000000;
			border-bottom-width: 1px;
			border-bottom-style: Solid;
			border-right-color: #000000;
			border-right-width: 1px;
			border-right-style: Solid;"
	width=58.989%>
<p style="font-weight: bold;">Pass Name</td></tr>

<tr style="height: 35px;"
	valign=top>
<td style="padding-right: 10px;
			padding-left: 10px;
			border-left-color: #000000;
			border-left-width: 1px;
			border-left-style: Solid;
			border-right-color: #000000;
			border-right-width: 1px;
			border-right-style: Solid;
			border-bottom-color: #000000;
			border-bottom-width: 1px;
			border-bottom-style: Solid;"
	width=41.011%>
<p style="font-weight: bold;">Date Plus Numerics</td>
<td style="padding-right: 10px;
			padding-left: 10px;
			border-right-color: #000000;
			border-right-width: 1px;
			border-right-style: Solid;
			border-bottom-color: #000000;
			border-bottom-width: 1px;
			border-bottom-style: Solid;"
	width=58.989%>
<p style="margin-top: 0pt; margin-bottom: 0pt;">RecursiveCharPatterns</p>
<p style="margin-top: 0pt; margin-bottom: 0pt;">NumericLists</td></tr>

<tr style="height: 19px;"
	valign=top>
<td style="padding-right: 10px;
			padding-left: 10px;
			border-bottom-color: #000000;
			border-bottom-width: 1px;
			border-bottom-style: Solid;
			border-right-color: #000000;
			border-right-width: 1px;
			border-right-style: Solid;
			border-left-color: #000000;
			border-left-width: 1px;
			border-left-style: Solid;"
	width=41.011%>
<p style="font-weight: bold;">HTML</td>
<td style="padding-right: 10px;
			padding-left: 10px;
			border-bottom-color: #000000;
			border-bottom-width: 1px;
			border-bottom-style: Solid;
			border-right-color: #000000;
			border-right-width: 1px;
			border-right-style: Solid;"
	width=58.989%>
<p>HTML_TagStructure</td></tr>

<tr style="height: 35px;"
	valign=top>
<td style="padding-right: 10px;
			padding-left: 10px;
			border-bottom-color: #000000;
			border-bottom-width: 1px;
			border-bottom-style: Solid;
			border-right-color: #000000;
			border-right-width: 1px;
			border-right-style: Solid;
			border-left-color: #000000;
			border-left-width: 1px;
			border-left-style: Solid;"
	width=41.011%>
<p style="font-weight: bold;">Xml</td>
<td style="padding-right: 10px;
			padding-left: 10px;
			border-bottom-color: #000000;
			border-bottom-width: 1px;
			border-bottom-style: Solid;
			border-right-color: #000000;
			border-right-width: 1px;
			border-right-style: Solid;"
	width=58.989%>
<p style="margin-top: 0pt; margin-bottom: 0px;">XML_DeclarationConstructors2</p>
<p style="margin-top: 0pt; margin-bottom: 0px;">XML_TagStructure</td></tr>

<tr style="height: 23px;"
	valign=top>
<td style="padding-right: 10px;
			padding-left: 10px;
			border-right-color: #000000;
			border-right-width: 1px;
			border-right-style: Solid;
			border-left-color: #000000;
			border-left-width: 1px;
			border-left-style: Solid;
			border-bottom-color: #000000;
			border-bottom-width: 1px;
			border-bottom-style: Solid;"
	width=41.011%>
<p style="font-weight: bold;">XML DTD</td>
<td style="padding-right: 10px;
			padding-left: 10px;
			border-bottom-color: #000000;
			border-bottom-width: 1px;
			border-bottom-style: Solid;
			border-right-color: #000000;
			border-right-width: 1px;
			border-right-style: Solid;"
	width=58.989%>
<p>XML_DTD_DeclarationConstructors2</td></tr>
</table></td></tr>

<tr style="height: 22px;">
<td colspan=1
	rowspan=1
	style="background-color: #FFFFD5;
			x-cell-content-align: TOP;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top
	bgcolor=#FFFFD5
	width=100%>
<p style="margin-bottom: 0;">&nbsp;</td></tr>
</table>

<p style="margin-top: 0px; margin-bottom: 0px;">&nbsp;</p>

<p style="margin-top: 0px; margin-bottom: 0px;">&nbsp;</p>

<!--(Table)=========================================================-->
<table x-use-null-cells
		wrapperparagraphselector=P
		style="width: 90%; border-spacing: 0px;"
		cellspacing=0
		width=90%>

<tr>
<td style="background-color: #C4FFFF;
			x-cell-content-align: TOP;
			width: 100%;
			padding-left: 2px;
			padding-top: 2px;
			padding-right: 2px;
			padding-bottom: 2px;"
	valign=top
	bgcolor=#C4FFFF>
<p style="margin-bottom: 0; color: #0000ff;"><span style="font-weight: bold;">Tip</span>: 
 You can add pass files to TextAI\VisualText\data\spec directory located 
 in the install directory to create your own set of library of passes. 
 </td></tr>
</table>

<p style="margin-top: 0px; margin-bottom: 0px;">&nbsp;</p>

<h2>See Also</h2>

<p style="margin-top: 0pt; margin-bottom: 0pt;"><a HREF="Editing_pass_files.htm">Editing 
 Pass Files</a></p>

<p style="margin-top: 0pt; margin-bottom: 0pt;"><a href="Moving_passes.htm">Moving 
 Passes</a></p>

<p style="margin-top: 0pt; margin-bottom: 0pt;"><a href="../../../Analyzer_Templates.htm">Analyzer 
 Templates</a></p>

<p>&nbsp;</p>

<p style="margin-bottom: 0;">&nbsp; </p>

</body>

</html>
