Pravat Chandra Patra

Translation in Indic languages

Monday Jul 21, 2008

India is a multi-lingual nation with 17 recognized official languages. These languages are: Hindi,Assamese, Tamil, Malayalam, Gujarati, Telugu, Odiya, Urdu, Bengali, Sanskrit, Kashmiri, Sindhi,Punjabi, Konkani, Marathi, Manipuri, Kannada and Nepali. Many literatures and scriptures are written in the local languages. All these are rich treasures which will be useful if it's converted to English or some common language. As more than 90% of India's population use their local language as their medium of communicational, the need of intra translation among indic languages is very much essential.
Sanskrit is considered to be the oldest language in human history. Sanskrit is the progenitor and inspiration for virtually every language spoken in India. It is based on very rich grammatical base and dictionary words. Many literatures and scientific works done were preserved in this form.
Most of the Indic languages follow most of the grammatical syntaxes of Sanskrit. Many words are also derived from Sanskrit. So for inter conversion of Indic languages, Sanskrit can take place as an intermediate language. Hence Sanskrit to indic language conversion and vice versa has a present day requirement.

Example: 
English: 
Samskrit: बालकः ग्रामं  गछति (The boy is going to village )
Hindi: बालक्   गाँव  जाता है । 
Odiya:ବାଳକ  ଗାଁକୁ  ଯାଏ  । 



Works done on Indic language 

http://sanskrit.uohyd.ernet.in  (For Sanskrit related work)
http://sanskrit.inria.fr/~anusaaraka (Mirror site, slightly older one)
http://ltrc.iiit.net/~anusaaraka  (For English-Hindi anusaaraka)


Some work has been done by CDAC and  IISC as well. You may be interested to visit following site to have some more info on this.

http://www.cfilt.iitb.ac.in/machine-translation/eng-hindi-mt/
http://www.cfilt.iitb.ac.in/wordnet/webhwn/index.php
http://bharani.dli.ernet.in/ebmt/

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

My first Blogging in Mother Tongue Oriya "ଓଡ଼ିଆ"

Thursday Jun 26, 2008

ମୁ ପ୍ରଭାତ କହୁଛି

[2] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

Setup DSEE zip installation on Suse

Tuesday Jul 31, 2007

DSEE is not officially supported for SUSE YET !!

[Read More]

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

Removing Buggy JES patch 125310-04 on HPUX

Tuesday Jul 24, 2007

Failed to uninstall using "swremove"


Try - 1)
- I cleaned up JES5.
- removed productregistry
- deleted the patch directory from product location.
- Rebooted the m/c
Nothing worked.


Try -2)Based on another suggestion

created tar ball of another HPsystem where 125310-04 patch is installed and untared in in /var/adm/sw/products/
This also failed

But patching corrupted the other HPbox  aswell


Solution:
-Remove all the sun packages
-Delete /opt/sun, /var/opt/sun directory.
-Remove entry of 125310-04 from /var/adm/sw/products/INDEX file. 


This worked.
ERROR:#swremove 125310-04
      * Software selections:
             125310-04,r=6.2,a=HP-UX_B.11.11_32/64,v=SUN
             125310-04-sun-ldap-directory-man.sun-ldap-directory-man,l=/opt/sun,r=6.2,v=SUN
       * Selection succeeded.
                       * Beginning Analysis
       * Session selections have been saved in the file
         "/.sw/sessions/swremove.last".
ERROR:   "i18nhp1:/": Could not allocate memory on this remote host
         during task initialization, analysis or execution --  malloc()
         failed.
       * The analysis phase failed for "i18nhp1:/".
       * Analysis had errors.
                NOTE:    More information may be found in the agent logfile using the
         command "swjob -a log i18nhp1-6850 @ i18nhp1:/".

=======  07/24/07 13:31:56 IST  END swremove SESSION (non-interactive)
         (jobid=i18nhp1-6850)

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

Directory Editor Setup

Thursday Oct 12, 2006

Directory Editor Setup

DE build is not yet publicly available, and customers who want to join the beta program should get in touch with their sales representative  

[Read More]

[1] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

Setting up Locale after installation

Tuesday Sep 05, 2006

Locale issue after the installation[Read More]

[1] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

SMDC configuration for x2100 (for N1SM)

Wednesday Aug 02, 2006

Configure x2100 for N1SM[Read More]

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

Configure ALOM(N1SM) for v210/v240

Tuesday Jul 18, 2006

http://sunsolve2.central.sun.com/search/document.do?assetkey=1-9-72110-1&searchclause=ALOM%2420configuration%2420v210[Read More]

[1] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

Continued on N1SM OS Loading issue

Thursday Jun 29, 2006


As it was pointed out the problem is certainly with the managed switch.

As I mentioned earlier it was working for OS loading solaris OS and Linux but it  needed manual intervantion.
That made me think,  something else is problem rather than the switch.

But it failed to respond the DHCP after I install the second master server in the same net.
After this  even though I uninstalled and rebooted still no improvement happened.
I created a DHCP server on the net but even that also unable to respond the DHCP request.

Rebooting the switch, disabling spantree and  all other effort mentioned earlier didn't help the Master server to respond DHCP packet by the client. On the other way round it responded to nge0 port which was connected to swan.
Though it was working fine for normal network activity,(TCP/UDP packets) it failed  to get/deliver/parse DHCP and TFTP packets.

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

Next answer.

Thursday Jun 29, 2006


> 1) I(probably not just me..) could not understand the connectivity
>     in your environment. Could you explain it by a figure or the like?
>     I would like to know which port connects to which port?

The eth1 port of the client, can be connected to swan. At this point not conmnected.
 





>
> 2) Could you provide the configuration info?
>     n1smconfig command outputs it.
>
bash-3.00# ifconfig -a
lo0: flags=2001000849 mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
bge0: flags=1000843 mtu 1500 index 2
        inet 192.168.250.160 netmask ffffff00 broadcast 192.168.250.255
        ether 0:e0:81:5b:e1:d9
nge0: flags=1000843 mtu 1500 index 3
        inet 10.12.162.160 netmask ffffff00 broadcast 10.12.162.255
        ether 0:e0:81:5b:e1:d8
bash-3.00# uname -a
SunOS iecg11n-60 5.10 Generic_118844-26 i86pc i386 i86pc
bash-3.00# n1smconfig

- - - - - - CURRENT CONFIGURATION - - - - - - -

Provisioning Interface = bge0 : 192.168.250.160
DHCP starting IP = 192.168.250.12
DHCP ending IP = 192.168.250.30
Management Interface = bge0 : 192.168.250.160

Logging values:
        job.plan-timeout = 1440
        job.step-timeout = 120
        filter.topic = all
        filter.severity = 0
        Days before deleting log entries = 365

DNS settings:
        nameserver:  129.158.227.31
        no searchlist entry.

Web console auto login enabled = yes
Serial console with SSHv1 enabled = yes

Current SSH policy:
  accept CHANGED host keys for Management IP address = yes
  accept CHANGED host keys for Platform IP address = yes
  accept UNKNOWN host keys for Management IP address = yes
  accept UNKNOWN host keys for Platform IP address = yes

External ALOM Email Alert settings:
        Email Alert Mail Folder = Inbox
        Email Alert IP = 192.168.79.254
        Email Alert Mail Address = emailuser1@n1lab.sfbay.sun.com
        Email Alert Password = password1
        Email Alert Protocol = pop3
        Email Alert User Name = emailuser1

DHCP server = ISC

Discover servers by the OS IP addresses = yes

CURRENT RIS Servers:


- - - - - - - - - - - - - - - - - - - - - - - -
This program configures the N1SM Management Server.
Only options that can be changed will be displayed.
Would you like to continue? ([n]/y)

> 3) My question is, everytime you run n1smconfig, do you need to run
>     as_dhcp_config.pl?


Initially  while debugging   I had run this script to check if at all it is listening  on  nge0.
Then to revert back  to  the original position run the script again to point the DHCP to bge0.
This has no connection with  running n1smconfig.

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

OS Loading issue for N1SM due to managed switch

Thursday Jun 29, 2006

Here is the summary of OS Loading issue.


With 1.3.1 build 03 OS loading was happened but after booting up it was
unable to pick the configuration file. So always it needed manual
intervantion. It asks all the questions like locale,IP and all the other
setting needed for.

Initially I tried with all the probable modification.
- Finally upgrade the BIOS and SP to latest version and it stared
working for Solaris but failed for Linux OS.


In the meantime I tried with all the below modification and set up
another hotdog server.
- Removed the JDK 1.5.0_06 and replaced JDK1.5.0_02
- Worked with clean new OS installation.

Then the OS discovery worked fine but OS loading completely failed. The
target m/c tries to reboot after OS loading but unable to get DHCP
request serverd by the master server. Here start the real debugiing.

- The snoop out put does n't contain any DHCP/TFTP packets.
/usr/sbin/snoop -d nge0
/usr/sbin/snoop -d bge0
*
*- * disabled the spanning tree option (on switch #disable spantree all)

*Even after* *disabling the spanning tree option on the switch it failed
to load OS. It signify either Network is unable to serve DHCP request or
could be problem with hotdog server. Tried to isolate the issue further.

When we connceted the eth0 of v20z (client) to swan network, static and
providion Ip of that network found some DHCP packets at nge0 while
snooping. For the hotdog server nge0 is connected to swan and bge0 is
provisioning IP.
This gave some clue regarding the issue of network and finally after
doing following modification OS loading happened successfully.

disabled the dhcp server on bge0 interface:
/opt/SUNWscs/sbin/as_dhcp_config.pl -d

re-enable it on the other nge0 interface
/opt/SUNWscs/sbin/as_dhcp_config.pl -e -I nge0

(Changed the IP address to 10.12.162.164 (SWAN network)to the load
server command.)



Now the current setup:
- Connected an unmanaged switch and modified the DHCP port to bge0 again
/opt/SUNWscs/sbin/as_dhcp_config.pl -d
/opt/SUNWscs/sbin/as_dhcp_config.pl -e -I bge0

Hotdog server: x2100, Client: v20z
bash-3.00# snoop -d bge0 | grep -i DHCP
Using device /dev/bge0 (promiscuous mode)
OLD-BROADCAST -> BROADCAST DHCP/BOOTP DHCPDISCOVER
192.168.250.160 -> BROADCAST DHCP/BOOTP DHCPOFFER
OLD-BROADCAST -> BROADCAST DHCP/BOOTP DHCPREQUEST
192.168.250.160 -> BROADCAST DHCP/BOOTP DHCPACK

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

Xserver not coming of after booting

Monday Apr 03, 2006

After  booting X server doesn't come up. giving folowing error:

Xserver cannot be started on display:0

> Tried to  to configure the /dev/fd, fbconfig for various display and nothing worked out.

While doing fresh installation:
Following Error after the machine boots :

ok> boot cdrom  //// ok> boot net

ddxSUNWmouse: ioctl failed on /dev/mouse
VUIDGFORMAT : invalid argument

Fatal Server error:
Failed to initialize core devices


XIO: fatal IO error 146 (connection refused) on Xserver ":0.0"
after o  requests(o known processed) with o events remaining


Resolutions:

Replaced the  mouse and it work fine.

/

            	

Like this post? del.icio.us | furl | slashdot | technorati | digg

How the browser read Oriya/Hindi fonts in Windows

Friday Mar 31, 2006

Fonts Installation.

   1. From the Control Panel open the Fonts folder.
   2. On the File menu, click Install New Font...
   3. Click the drive and folder that contain the fonts you have downdownloaded.
 
For Example:  the Font for this is "DVW-TTSurekh Normal(True type)"
   4. Verify if the font is present in  the same Fonts Folder

   5.  Go to "charecter encoding" part of your browser and select "user Defined"
   6.  Go to fonts on properties/preferences and select fonts(on Apperance)
       Modify as below:-

       Fonts for   :" User defined"
       Proportional: Serif
       Serif       : DVW-TTSurekh
       Cursive     : DVW-TTSurekh

       Fantasy     : DVW-TTSurekh
       Monospace   : DVW-TTSurekh


[2] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

VNC server starting up issues due to font errors

Wednesday Mar 22, 2006

Problem: VNCSERVER had following issues on the logfile while starting "vncserver"

1) Install the packages in SOLARIS COMPANION CD for x86
2) Copy the below files from a working machine to the desired location.

Workingmachine> cd /usr/openwin/lib/X11/fonts/

"tar following files "

Workingmachine> tar -cvf fonts.tar ./100dpi/fonts.dir ./75dpi/fonts.dir ./misc/fonts.dir ./100dpi/fonts.alias ./75dpi/fonts.alias ./misc/fonts.alias

Workingmachine> tar -tvf fonts.tar -rw-r--r-- 0/2 15900 Aug 5 23:27 2005 ./100dpi/fonts.dir -rw-r--r-- 0/2 15396 Aug 5 23:27 2005 ./75dpi/fonts.dir -rw-r--r-- 0/2 6623 Aug 5 22:33 2005 ./misc/fonts.dir -rw-r--r-- 0/1 10508 Aug 5 23:27 2005 ./100dpi/fonts.alias -rw-r--r-- 0/1 10108 Aug 5 23:27 2005 ./75dpi/fonts.alias -rw-r--r-- 0/1 11469 Aug 5 22:14 2005 ./misc/fonts.alias

-COPY fonts.tar to "/usr/openwin/lib/X11/fonts/" directory of current machine mymachine> cd /usr/openwin/lib/X11/fonts/ mymachine> tar -xvf fonts.tar

Modify /.vnc/xstartup file to start gnome session -------------------------------------------------- # vi .vnc/xstartup #!/bin/sh [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & #twm & /usr/bin/gnome-session

Put a vnc script in /etc/rc3.d directory to startup VNC at BOOT bash-3.00# cd /etc/rc3.d bash-3.00# cat S99vnc #!/sbin/sh PATH=$PATH:/usr/openwin/bin:/opt/sfw/bin export PATH case "$1" in 'start') if [ -f /.vnc/xstartup ]; then echo 'VNC SERVER is starting at port 1' # /opt/sfw/bin/vncserver :1 /opt/sfw/bin/vncserver :1 >/dev/msglog 2>&1 & fi ;; 'stop') /usr/bin/pkill vnc ;; *) echo "Usage: $0 { start | stop }" exit 1 ;; esac exit 0 bash-3.00# Setting up the password: bash-3.00# /opt/sfw/bin/vncpasswd Password: Verify:

To check which port it's listening: (In this case HTTP listening on 5801, VNC connection on 5901 ) Refer logfile. bash-3.00# tail -20 /.vnc/iecg11n-5:1.log 31/08/06 05:28:53 See http://www.realvnc.com for information on VNC 31/08/06 05:28:53 Desktop name 'X' (iecg11n-5:1) 31/08/06 05:28:53 Protocol version supported 3.3 31/08/06 05:28:53 Listening for VNC connections on TCP port 5901 31/08/06 05:28:53 Listening for HTTP connections on TCP port 5801 31/08/06 05:28:53 URL http://iecg11n-5:5801

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

"/lib/svc/method/boot-archive" failed after booting

Monday Mar 06, 2006

After installing Solaris 10 recommended patch cluster on a new x64( Sunfire 2100) the system fails to boot with the following:

Rebooting with command: boot

Boot device: disk0:a File and args:

SunOS Release 5.10 Version Generic 64-bit

Copyright 1983-2005 Sun Microsystems, Inc. All rights reserved.

Use is subject to license terms.

Hardware watchdog enabled

Hostname: pravat

Mar 1 16:09:55 svc.startd[7]: svc:/system/boot-archive:default: Method "/lib/svc/method/boot-archive" failed with exit status 1.

Mar 1 16:09:55 svc.startd[7]: svc:/system/boot-archive:default: Method "/lib/svc/method/boot-archive" failed with exit status 1. /

Mar 1 16:09:55 svc.startd[7]: svc:/system/boot-archive:default: Method

"/lib/svc/method/boot-archive" failed with exit status 1.

[ system/boot-archive:default failed (see 'svcs -x' for details) ]

Requesting System Maintenance Mode (See /lib/svc/share/README for more information.) Console login service(s) cannot run

RESOLUTION: (Ref: Radiance Case Number: 37569295 ...on sunsolve.central)

# ls -l /lib/svc/method -r-xr-xr-x 1 root bin 1686 Jan 21 2005 fs-local -r-xr-xr-x 1 root bin 1172 Jan 21 2005 fs-minimal -r-xr-xr-x 1 root bin 3963 Jan 21 2005 fs-root -r-xr-xr-x 1 root bin 2289 Jan 21 2005 fs-usr

# cd /lib/svc/method # fs-root # fs-usr # fs-local # cp 118822-30/SUNWcsr/reloc/lib/svc/method/boot-archive /lib/svc/method/boot-archive # reboot

If booting fails and gives error for "system/boot-archive"

Run the following command

#svcadm clear system/boot-archive

[2] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg