I need to pre-process a speech transcript for forced-alignment. However, I am having difficulty with replacing year with text representation. For example, 1984 needs to be replaced with "nineteen eighty four". I tried the replace_number function of the qdap package. The package is awesome, but it replaces 1984 with "one thousand nine hundred eighty four" instead. Are there other functions from any R packages that may I try? Thanks!
Replacing year with English words in R
106 Views Asked by Ninjadog At
1
There are 1 best solutions below
Related Questions in R
- in R, recovering strings that have been converted to factors with factor()
- How to reinstall pandoc after removing .cabal?
- How do I code a Mixed effects model for abalone growth in Aquaculture nutrition with nested individuals
- How to save t.test result in R to a txt file?
- how to call function from library in formula with R type provider
- geom_bar define border color with different fill colors
- Different outcome using model.matrix for a function in R
- Creating a combination data.table in R
- Force specific interactions in Package 'earth' in R
- Output from recursive function R
- Extract series of observations from dataframe for complete sets of data
- Retrieve path of supplementary data file of developed package
- r package development - own function not visible for opencpu
- Label a dataset according to bins of a histogram
- multiply each columns of a matrix by a vector
Related Questions in NLP
- command line parameter in word2vec
- Annotator dependencies: UIMA Type Capabilities?
- term frequency over time: how to plot +200 graphs in one plot with Python/pandas/matplotlib?
- Stanford Entity Recognizer (caseless) in Python Nltk
- How to interpret scikit's learn confusion matrix and classification report?
- Detect (predefined) topics in natural text
- Amazon Machine Learning for sentiment analysis
- How to Train an Input File containing lines of text in NLTK Python
- What exactly is the difference between AnalysisEngine and CAS Consumer?
- keywords in NEGATIVE Sentiment using sentiment Analysis(stanfordNLP)
- MaxEnt classifier implementation in java for linguistic features?
- Are word-vector orientations universal?
- Stanford Parser - Factored model and PCFG
- Training a Custom Model using Java Code - Stanford NER
- Topic or Tag suggestion algorithm
Related Questions in TEXT-TO-SPEECH
- determining user's preferred AVSpeechSynthesisVoice for a given language
- Android Vocalizer TTS - select voice variant
- How to detect Text to speech status (speaking/not speaking) from java code on android?
- android TextToSpeech; switching between male and female voices
- how to change Text to Speech voice and how to insert characters into char array
- unable to add reference to windows.media.speechsynthesis.dll
- How to turn on text to speech engine in Twilio?
- TextToSpeech using WakefulBroadcastReceiver
- Voice Interaction App [Android]
- is it possible to get python to write text in another program
- Android - stop code midway?
- Cannot create an URI file from text-to-speech audio on UWP
- Odd behaviour in Google Web Speech API
- What do the Android Voice names / codes mean?
- AVspeechSynthesizer iOS text speech
Related Questions in SPEECH-SYNTHESIS
- how to make a button to read the text of div
- javascript speechSynthesis no sound
- System.Speech.Synthesis how to change voice from en-US to en-GB?
- Speech does not exist under the namespace System: Even under Wine with .NET Framework
- Speech Synthesis API Supported Languages
- Can speech Synthesizer be programmed to read text more accurately
- How to do server side text to speech?
- C# Speech Synthesis
- Referencing Speech synthesis in page load but still getting NullReferenceException
- Change speechSynthesis voice with SpeechRecognition
- Is there a way to convert speech directly into SSML?
- how to synthesize audio in iPhone
- TTS - Text to Speech Synthesis System
- Google search (Voice Recognition) in C#
- SSML - Is it possible to remove automatic break pauses?
Related Questions in QDAP
- Extract and count common word-pairs from character vector
- agrep string matching in R
- Extract only words containing ASCII characters from vector of strings
- qdap ngram polarity dictionary
- R: match and replace string. mgsub does not work
- Is there a lookup function in R like vlookup in excel?
- R: How to prevent memory overflow when using mgsub in vector mode?
- gettin rJava to work for qdap? All 64bit I think?
- Keep special characters in a word-frequency matrix
- Convert written number to number in R
- R: Group Similar Addresses Together
- Count number of times a word appears in each row and store in new column (dplyr)
- Fill columns with NA for shorter strings when splitting to columns
- arrange some columns by name and then include all the others
- r lookup function returning negative dates
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
you can split each into two parts and separately convert each part to a character representation:
this would yield
nineteen eightyfour