nepalese_words_to_number: This function allows you to translate to integer numerical...

Description Usage Arguments Value Author(s) Examples

View source: R/nepalese-words-to-number.R

Description

This function allows you to translate to integer numerical words spelled in Nepali. Text must be previously cleaned & removed extraneous words or symbols. Below is the list of nepalese words used in this function;

"aath", "arba", "athara", "athchaalees", "aththais", "athtis", "baais", "barha", "battis", "bayalees", "bis", "chalees", "char", "chaubis", "chaudha", "chauntis", "chawaalees", "chha", "chhabbis", "chhattis", "chhayaalees", "das", "dui", "eghaara", "ek", "ekchalees", "ekkais", "ekkattis", "hajaar", "karod", "kharaba", "lakh", "nau", "nil", "paanch", "pachas", "pachchis", "padhna", "paintis", "paitaalees", "pandhra", "sacchaalees", "saitis", "sat", "satra", "sattais", "saya", "shankha", "soonya", "sorha", "teis", "terha", "tettis", "tin", "tis", "triyalees", "unanchas", "unantis", "unnais", "unnanchaalis"

Usage

1

Arguments

x

x is an input string

Value

An integer value

Author(s)

Som Bohora

Examples

1
2
x = "ek karod paanch hajaar paanch saya paanch"  # 10005505
nepalese_words_to_number(x)

sbohora/Somya documentation built on May 14, 2019, 7:35 a.m.