README 2.26 KB
Newer Older
priyank's avatar
priyank committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
						Malayalam MORPH 3.1.3 (MORPH ANALYZER)
						-------------------
Morph : 


Requirements:
------------
Operating System		:    LINUX/UNIX system

Compiler/Interpreter/Librarie(s):    gcc, glib-2.0 and SSF API's

For installation on Linux, please refer to the file INSTALL.


Directory Structure:
--------------------

morph
     |
     |---src (functional source code of the morph)
     |	    |---sl/morph/mal
     |	    	|---API (SSF API's)
     |    
     |---data_bin (data bin files)
     |     |
     |     |---sl/morph/mal
     |	  
     |---bin (bin files)
     |     |
     |     |---sl/morph/mal
     |	

     |---data_src
     |	    |---sl/morph/mal
     |      	|---c_data
     |      	|---pc_data
     |	    	|---dict
     |      	|---shell
     |
     |
     |---tests (contains the system input and output)
     |
     |
     |---reference_data (contains the referenece input and output)
     |
     |---docs 
     |     |
     |     |---doc (documentaion files of the morph)
     |
     |
     |---README (How to run/use the module)
     |
     |---INSTALL (How to install in sampark directory structure)
     |
     |---ChangeLog (version inforamation)
     |
     |---Makefile (first level make file for copying the module source in sampark system)
     |
     |---Makefile.stage2 (2nd level make file for actual installation/copying in the bin and data_bin directory)
     |
     |---addsentencetag.pl (include sentence tag)
     |
     |---modified_unicode_wx.pl (convertor program)
     |
     |---morph_run.sh (to run the morph module)
     |
     |---morph.sh (for the use of dashboard spec file)
     |
     |---morph.spec (individual morph module run with dashboard)


How to Use??
------------

1. $setu/bin/sl/morph/mal/morph.out --logfilepath morph.log --pdgmfilepath $setu/data_bin/sl/morph/mal/ --uwordpath $setu/data_bin/sl/morph/mal/dict_final --dictfilepath $setu/data_bin/sl/morph/mal/dict/  -ULDWH --inputfile morphinput2 --outputfile morphoutput

   
   *resource is the data_src/sl/morph/mal/* file 

   *sample input and output files are provided in the tests dir namely morphtest1.in morphtest1.out.

2. update the db file in case of any change in the data file.

  cd $setu/src/sl/morph/mal

  make


#################################
#################################