4
votes
Finding phonetic similarity of names in different languages
A disclaimer is required, that linguistic reality is different from what your spelling-to-IPA guide gives you, so you could spend forever in disputes over the phonetic outputs of Somali, Quechua, ...
3
votes
Accepted
How to make a Corpus? (selecting a good structure)
Well, there are several considerations:
1 What is your research question?
You always make a corpus with a purpose. So you design a corpus that is useful with respect to your research question. When ...
3
votes
Accepted
P2G Alignment Algorithm in Python (OS X)
I figured I'd post an answer in case it helped anyone else in the future. I wound up installing Jiampojamarn's m2m-aligner, callable via the terminal, and it works great. I used this to preprocess all ...
3
votes
Accepted
Libs or APIs for removing background noise from voice input?
Take a look at 2Hz Noise Suppression API.
It's language-agnostic and is a REST API so you can use it from any programming language.
Currently the API isn't designed for real time however this will ...
3
votes
Accepted
Differences in Naive Bayes Classifier NLTK, same code, different answers?
In the first case, you're training with the entire data set, then testing on different chunks of it.
In the second case, you're training with chunks of the data set, then testing on the whole thing.
...
2
votes
Libs or APIs for removing background noise from voice input?
Removing noise usually corrupts the speech and harms the performance. It is frequently more accurate to decode noisy speech than noise-cleaned speech, in particular because recognizer does noise ...
2
votes
Accepted
Python's treetaggerwrapper does not recognize numbers
The number is preserved in the word attribute, so it's easy enough to swap it back in. But as mentioned in the comments, Tag is an immutable type. So I propose a fairly straightforward list ...
2
votes
For each word in a corpus, find how many senses it has according to WordNet
Given your tags, I assume you're using the nltk library?
First you'll want the Reuters and Wordnet corpora:
from nltk.corpus import reuters, wordnet
Then, get your words from the Reuters corpus ...
1
vote
Where to find English POS words?
Your question is somewhat unclear, but for getting a list of words having the same (pos,tag,dep) values you need a corpus where all these exist as annotations. Than you can query the corpus and get ...
1
vote
Finding phonetic similarity of names in different languages
I've been wanting to do something similar myself. I don't have an “ideal” solution yet, but feel free to use any of my ideas thus far.
Phoneme similarity function
You'll need to define some function ...
1
vote
How to extract specific data from a TextGrid file?
I don't know how homogenous is TextGrid across different tools that use it, but there is a Python package, pympi which can be used to read Praat TextGrid files.
In particular, pympi.Praat.TextGrid ...
1
vote
How to extract specific data from a TextGrid file?
Xmin and xmax are the starting times in seconds, within the file (which goes from 0 to 4.360703 seconds), and ORT-MAU tells you the same thing (in this instance), but then tells you the time periods ...
1
vote
Seq2seq translation model. ValueError: An operation has `None` for gradient
This error means that an operation in your graph is not differentiable. In this case, it's one of the operations within the embedding layers. For this reason, it's generally said that embedding layers ...
1
vote
Python list to Parse tree
The standard way to make a parse tree using the CYK algorithm is to build a new tree node every time you would be storing "true" in the CYK table, and store that node in the table instead. The node ...
1
vote
How to extract rows with only meaningful text in a column
Define “meaningful”. Implement that definition by means of a filter that will accept meaningful text, i.e., text that can be understood under such rules.
A modern way to solve this problem would be ...
1
vote
Representing knowledge extracted from output of dependency parsing
Since you are using CoreNLP to generate dependency trees, a very nice way to tackle your problem would be to use the Tsurgeon library used to manipulate parse trees.
Tsurgeon is a (parse) tree ...
1
vote
Add-1 laplace smoothing for bigram implementation8
The overall implementation looks good. I have few suggestions here. First of all, the equation of Bigram (with add-1) is not correct in the question. In Laplace smoothing (add-1), we have to add 1 in ...
1
vote
Automated wh movement for turning an answer into the form of a question
I suggest you look at the account of English wh-expressions given in Generalized Phrase Structure Grammar by Gazdar, Klein, Pullum and Sag. It's very thorough going and explicit. It takes the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
python × 21computational-linguistics × 15
parsing × 3
nltk × 3
phonetics × 2
corpora × 2
syntax-trees × 2
phonemes × 2
machine-translation × 2
computer-science × 2
wordnet × 2
syntax × 1
phonology × 1
grammar × 1
ipa × 1
lexical-semantics × 1
spoken-language × 1
ambiguity × 1
speech-recognition × 1
compounds × 1
tools × 1
n-grams × 1
lexical-relations × 1
notation × 1
classifiers × 1