Text Analyzer:
========================================
Text analyzer is a console utility which can query ASCII files and
associated meta-data files. It accepts various file patterns,source folder 
path and various options from command line and returns the results of a query.
It also supports the creation of meta-data of a specified text file.
It consists of following two executables:

	A) Composite Text Analyzer:
		For text and meta-data queries
	B) Meta-Data generator:
		For the generation of XML file.

Current version supports the text search in .doc and .docx files also.
		
Installation
========================================
open visual studio 2012 developer command prompt
and run follwing file
	- compile.bat
	
Usage
========================================
1) To run composite text analyzer, type following command:
	- CompositeTextAnalyzer.exe <file_pattern> <folder_path> [Options]
	
	Here file_pattern is mendatory field and it can be any file pattern.
	In current version , only ASCII file formats are suported.
	
	folder_path is the path where the search will be performed and its
	a mandatory field.
	
	Options can be between 0 to more from any of the following :
		- /T"string"
		- /M"string"
		- /A
		- /O
		- /R
	
2) To run, meta data generator , type following command:
	- MetaDataGenerator.exe <file_name> <swithces>
	
	here file_name is mandatory field and its the name of the text file
	
	swithces are also mandatory and it may contain 1 or more parameters from
	the following swithces:
		- /T"String"
		- /D"Dependency"
		- /K"Keywords"
	
Example
========================================
To check the list of examples, run following file on command line
	- run.bat
	
Composite Text Analyzer Rules
========================================
There are following rules which are used while implementing the system.
	- A meta-file is mapped to a text file using "file" tag in the meta - file.
	  So the "file" tag in meta file should contain the relative path of the text file.
	  If the "file" tag value is not relative from the test folder or tag is not present,
	  XML file will be skipped from the execution.
	  
	- If more than one meta file cotain reference to a single text file,
	  only first encountered XML file is shown in the results and other
	  XML files will be skipped from the execution.

	- If /A or /O switch is not present in a Text Search query,
	  default switch will be /A.

Author
========================================
Prateek Sharma
MS in computer Engineering
Syracuse University - Fall 2013
email: psharm08@syr.edu