%
% File acl2020.tex
%
%% Based on the style files for ACL 2020, which were
%% Based on the style files for ACL 2018, NAACL 2018/19, which were
%% Based on the style files for ACL-2015, with some improvements
%%  taken from the NAACL-2016 style
%% Based on the style files for ACL-2014, which were, in turn,
%% based on ACL-2013, ACL-2012, ACL-2011, ACL-2010, ACL-IJCNLP-2009,
%% EACL-2009, IJCNLP-2008...
%% Based on the style files for EACL 2006 by 
%%e.agirre@ehu.es or Sergi.Balari@uab.es
%% and that of ACL 08 by Joakim Nivre and Noah Smith

\documentclass[11pt,a4paper]{article}
\usepackage[hyperref]{acl2020}
\usepackage{times}
\usepackage{latexsym}
\usepackage{graphicx}
\renewcommand{\UrlFont}{\ttfamily\small}

% This is not strictly necessary, and may be commented out,
% but it will improve the layout of the manuscript,
% and will typically save some space.
\usepackage{microtype}

\aclfinalcopy % Uncomment this line for the final submission
%\def\aclpaperid{***} %  Enter the acl Paper ID here

%\setlength\titlebox{5cm}
% You can expand the titlebox if you need extra space
% to show all the authors. Please do not make the titlebox
% smaller than 5cm (the original size); we will check this
% in the camera-ready version and ask you to change it back.

\newcommand\BibTeX{B\textsc{ib}\TeX}

\title{A Sanskrit to Hindi Language Machine Translator using Rule Based Method}

\author{Prateek Agrawal \\
  Lovely Professional University, \\
  Punjab, India. \\
  Univeristy of Klagenfurt, Austria \\
  
  \texttt{prateek061186@gmail.com} \\\And
  
  Vishu Madaan \\
  Lovely Professional University, \\
  Punjab, India. \\
  \texttt{vishumadaan123@gmail.com} \\}

\date{09/12/2020}

\begin{document}
\maketitle
\section{Demonstration}
Hindi and Sanskrit both the languages are having the same script i.e. Devnagari Script which results in few basic similarities in their grammar rules. As we know that Hindi ranks fourth in terms of speaker’s size in the world and over 60 Million people in India are Hindi internet users~\footnote{http://www.business-standard.com/article/current-affairs/hindi-internet-users-estimated-at-60-million-in-india-survey-116020400922_1.html}. In India itself, there are approximately 120 languages and 240 mother tongues but hardly a few languages are recognized worldwide while the others are losing their existence in society day by day. Likewise, Sanskrit is one among those important languages that are being ignored in society. As per census report of India in 2001, less than 15000 citizens have returned Sanskrit as their Mother tongue or preferred medium of communication. A key reason behind poor acceptance of Sanskrit is due to language barrier among Indian masses and lack of knowledge about this language among people. Therefore, our attempt is just to connect a big crowd of Hindi users with Sanskrit language and make them familiar at least with the basics of Sanskrit. We developed a translation tool that parses Sanskrit words (prose) one by one and translate it into equivalent Hindi language in step by step manner:
\begin{itemize}
    \item We created a strong Hindi-Sanskrit corpus that can deal with Sanskrit words effectively and efficiently~\cite{agrawal2019}.
    \item We proposed an algorithm to stem Sanskrit word that chops off the starts / ends of words to find the root words in the form of nouns and verbs~\cite{jain2015}.
    \item After stemming, we developed an algorithm to search the equivalent Hindi meaning of stemmed words from the corpus based on semantic analysis~\cite{bhadwal2019}.
    \item We developed an algorithm to implement semantic analysis to translate words that helps the tool to identify required parameter details like gender, number, case etc.
    \item Next, we developed an algorithm for discourse integration to disjoin each translated sentence based on subject / noun dependency~\cite{bhadwal2020}.
    \item Next, we implemented pragmatic analysis algorithm that ensures the meaningful validation of these translated Hindi sentences syntactically and semantically~\cite{agrawal2019}.
    \item We further extended our work to summarize the translated text story and suggest the suitable heading / title. For this, we referred ripple down rule-based parts of speech (RDR-POS) Tagger~\cite{Dat2016} for word tagging in the POS tagger corpora.
    \item We proposed a title generation algorithm which suggests some suitable title of translated text~\cite{jain2018sheershak}. 
    \item Finally, we assembled all phases to one translation tool that takes a story of maximum one hundred words as input and translates it into equivalent Hindi language.
\end{itemize}


\begin{figure*}[h!]
    \centering
    \includegraphics[width=0.6\textwidth]{ac.png}
    \caption{Screenshot of Output Interface to translate Sanskrit sentence into Hindi Language}
    \label{fig:my_label}
\end{figure*} 


Figure~\ref{fig:my_label} shows the working demonstration of proposed translation tool in nine window panels and 18 widgets (objects) to describe each step. 
In the first window panel, 3 objects are highlighted and numbered as 1, 4 and 5. Users can type any Sanskrit sentence using a simple QWERTY keyboard in the text area (highlighted as Object 1). Help button (as Object 4), is added to help novice users to type Sanskrit sentence(s) in English. 
Simultaneously, transliterated sentence from English to Sanskrit is displayed in the second window panel as object 3. Sentences can also be typed using a virtual keyboard (highlighted as object 2) [6]. Next step is to stem Sanskrit words written in the 2nd window panel by pressing. Stem button (highlighted as object 5 in first window panel). Output of the same is displayed in the 4th window panel and highlighted as object 6. Next step is to press the button “Meaning” (Object 7) to get Hindi meaning of stemmed Sanskrit words (highlighted as Object 8 in window panel 5). 


Once we get raw or intermediate meaning of Sanskrit words into Hindi as object 8, we click on the Discourse button (as object 11) to get the translated results in discourse form (highlighted as object 12 in window panel 6). As an option for easy understanding, our system has been felicitated to explain the meaning of Sanskrit words into Hindi with complete explanation (highlighted as object 9 and 10). Once Discourse integration is done, the next step is to get the correct meaning of sentences (as object 14) by clicking on the pragmatic button (as object 13) in window panel 7. Final translated sentences are passed through RDR POS tagger for tagging purposes (as highlighted in window panel 8 using objects 15 and 16). Finally, the system implements an algorithm to generate appropriate title(s) of translated sentences in Hindi using object button 17 in Window panel 9 and displays the result as object 18.

%\end{abstract}



\bibliography{anthology,acl2020}
\bibliographystyle{acl_natbib}



\end{document}
