Questions tagged [computational-linguistics]

A branch of science that uses computers and mathematical methods to construct and investigate linguistic theory. Its technological and algorithmic implementation is called NLP.

Filter by
Sorted by
Tagged with
0
votes
1answer
112 views

Can someone explain to me the Zipf–Mandelbrot law?

I really can't understand. It's about linguistics and I can't understand anything because there are mathematical formulas in it that I can't understand at all. Can anyone explain this with ...
3
votes
2answers
403 views

I am looking for an Arabic ngram corpus

I am working in a project where i need to use an ngram model. So, i want to know if an Arabic ngram corpus exist. I have tried to find a corpus but all my researches failed. I know that for languages ...
0
votes
0answers
37 views

What would be a good way to train a machine learning algorithm to format a glossary? [closed]

I would like to train a neural network to take in the terms of a glossary and output edits of those terms based on some formatting principles. For example, if a common noun is capitalized, it should ...
2
votes
1answer
125 views

Non-projective tree sentences

I'm trying to generate the non-projective tree of the sentence: "A hearing is scheduled on the issue today." But with the Stanford Core NLP tool (https://corenlp.run/), I obtain a projective ...
1
vote
0answers
14 views

Which syntactic dependency parsers perform best on search query phrases?

Lots of NLP libraries contain syntactic dependencies parsers (e.g. spaCy, NLTK, Stanford NLP, Spark NLP...). As I understand it (please correct me if I'm wrong), these are mostly designed to parse ...
2
votes
0answers
28 views

Bilingual corpora work from the late 1980s

Does anyone know if the paper by Warwick and Russell (often cited as below) exists? I have looked on the EURALEX website and the authors are not listed as speakers in the 4th Conference. Maybe the ...
3
votes
1answer
246 views

VerbNet semantic roles and preposition groups - how to determine matches

Using verbnet to test whether a sentence matches a frame, how does one determine whether the semantic role specified in the verbnet frame is appearing in the sentence or not? e.g. on this verbnet ...
1
vote
1answer
55 views

Are there any set guidelines for the lifespan of a (spoken) corpus?

Are there any set guidelines on how long a (spoken) corpus stays relevant / is reliable to use? The only major Dutch spoken corpus is from 2004, and I was wondering if using this corpus would cause a ...
5
votes
1answer
197 views

How to extract grammar rules from a language (grammar induction?) using a neural network like a LSTM

I have a simple artificial language. It has about 200 words and it has a grammar. I am trying to figure out how to learn that grammar, which I think is called grammar induction, then print those rules....
0
votes
1answer
2k views

Add-1 laplace smoothing for bigram implementation8

I am doing an exercise where I am determining the most likely corpus from a number of corpora when given a test sentence. I am trying to test an and-1 (laplace) smoothing model for this exercise. I ...
1
vote
1answer
51 views

Book suggestions for a concise introduction to computational linguistics?

I am fairly new to the field of linguistics and am looking for a book as a fairly concise basic introduction to computational linguistics (I already have some computer science background). What is a ...
2
votes
1answer
314 views

Jiang & Conrath when two words are the same

I would like to normalize the result of Jiang & Conrath similarity measure by dividing it by the maximum value(normally should be when both synsets are the same). I am using the implementation of ...
4
votes
1answer
14k views

How to calculate the co-occurrence between two words in a window of text?

I want to build a keyword extractor based on the TextRank model as explained in RMPT04. But I don't understand how to calculate the co-occurrence between two words in a window of text explained in the ...
1
vote
1answer
35 views

Large parallel corpus of English and Farsi text

hope you are doing well. I am looking for a large parallel corpus of English and Farsi text, professionally written or edited. I would be more than happy to have your suggestions. Thank you all.
0
votes
3answers
73 views

Can I simply check the unicode or UTF-8 mapping of character to infer the language?

I am given a language detection problem. I was wondering if it could be solved just by looking at the encoding map of characters used and decide which language it is. Is there too much overlap of ...
7
votes
1answer
398 views

Representing knowledge extracted from output of dependency parsing

I am working on a problem to represent knowledge extracted from a paragraph and rank it to produce abstractive summaries. I have implemented dependency parsing using Stanford NLP, which gives dot ...
2
votes
1answer
2k views

Split a sentence using nltk and python

I am working on a task which involves information extraction, for which I require splitting a complex sentence into a bunch of simple sentences. For instance, In optics a ray is an idealized model ...
-1
votes
4answers
689 views

Is the way words are used the biggest obstacle in understanding science and technology? [closed]

Do I have a point to say that, in the area of science, people have difficulties understanding it mostly due to the way words are used to describe whatever it may be? One may understand the words ...
3
votes
0answers
36 views

Computer analysis of ESL learners' mistakes

This is a very broad question; I'm trying to get a sense of the current state of this subfield of NLP and what relevant resources may already exist, so even tangential answers will be welcome. To what ...
3
votes
1answer
66 views

Combinatory categorial grammar for English

I am working on theoretical NLP things, in particular to do with combinatory categorial grammar (CCG). I don't have much knowledge of CCG, or of grammar in general. I was wondering how much of English ...
0
votes
1answer
31 views

Looking for a test that produces data similar to Eye-Tracking tests

I was conducting a study about Shell Nouns and how they affect the brain. The issue was that corona came up and the university is still shut down and everything is only online. For my study I worked ...
1
vote
1answer
97 views

How to determine grammatical complexity using quantitative features?

I'm doing a research on defining the complexity of language used in technical documentations for technologies (libraries and modules) used in data science and machine learning engineering. And I'm ...
1
vote
1answer
32 views

SubCategorization Frame of a verb

I am working on verbal clustering. And to train my model, I need features like SCF of the verbs. To understand what it is, I read that an SCF is a structure which gives the syntactic nature of the ...
1
vote
0answers
50 views

How to determine structure of answer for a wh- question

Consider a wh-question (in english language) such as "Who closed the door?". Personally, I can determine that an answer will look like "NP closed the door.", where NP would be a ...
1
vote
0answers
36 views

*Compact* Context-Free Grammar for English

I have seen that similar questions have been asked here, but the common answer is to look at Generalized Phrase Structure Grammar. Then, on the internet I just find slides from computational ...
2
votes
1answer
173 views

How do I draw CCG derivations in LaTeX?

I have been trying to find an easy way to draw CCG derivations in Latex but nothing seems to work. I am working on a presentation, and I found this github repo but it for some reason when I try it it ...
1
vote
1answer
41 views

Is there any method to summarize and gain the big picture from an article?

Background Recently I just develop a method to summarize and find the big picture of an article, especially the ones that are so abstract and introduce too many new terms. The method is as follow: ...
1
vote
0answers
30 views

NLP methods specific to a language?

What NLP methods / algorithms depend on the features existing only in some languages? For example, does French has any NLP algorithms that English NLP and Spanish NLP do not have?
2
votes
1answer
131 views

Indo-European cognate calculator

There are Indo-European cognate pairs that are phonetically exact and regular in the sense that their phonematic make-up is completely explained by systematic application of the relevant sound rules ...
3
votes
3answers
263 views

Given both a word and the corresponding IPA, how to match/map the letters together?

Given both the word and the corresponding IPA equivalent, is there any stable algorithm for mapping the letter of each word to the IPA letter? For example, given close-quote and IPA kloʊzkwoʊt -- I'd ...
1
vote
1answer
117 views

How to extract Subject-Verb-Object from a sentence?

Given a corpus of sentences, is there a way to extract subject-verb-object triplets? What is the state-of-art in detecting SVO triplets?
4
votes
1answer
2k views

Why are functional/logic programming languages like Prolog or Haskell popular with computational linguistics and AI?

This may be the wrong place to be asking this question, but I'm not entirely sure what kind of advantage using a language like Prolog gives you over an object-oriented language like Python. Is there a ...
10
votes
6answers
463 views

Does the P versus NP conjecture in computer science have any direct relevance to linguistics?

From Wikipedia: The P versus NP problem is a major unsolved problem in computer science. Informally, it asks whether every problem whose solution can be quickly verified by a computer can also be ...
1
vote
0answers
60 views

Is there a basis set of words for a language? [duplicate]

We define a word in a language using a set of other, agreed-upon words. In linear algebra, the set of basis vectors for a space are the minimum number of vectors needed to describe any other vector in ...
1
vote
2answers
151 views

How to extract specific data from a TextGrid file?

I'm new here. Just found that there is a linguistics community on stack exchange! I have a TextGrid file that has been output from a forced aligner, webMAUS and I mainly want to understand how to ...
11
votes
2answers
595 views

How to best clean a large historical corpus ridden with OCR errors

Overview: I have a very large corpus of historical news papers (17th-20th cent.). The word count is about 20 bln. It's raw OCR-ed data in txt-files of about 150 GB. One newspaper issue per file (some ...
0
votes
0answers
31 views

Automating the identification of a language grammar based on samples -- is this something that is done, and what is it called?

I'm trying (not very successfully) to find research papers to help with a project. Suppose you had a relatively small sample of a target language (e.g. a bible translation) and you would like to write ...
15
votes
6answers
12k views

Convert audio recording of word to IPA representation

Are the any open source tools/software libraries to convert an audio clip to its IPA representation? If so, are they accurate? If not, why not? Here is a Gaelic word I wish to convert: Ogg format: ...
0
votes
1answer
61 views

What is the more natural parsing, the one that leads to the preferred reading of the sentence

I have those rules: and those two possible parse trees: I am asked for the next question: What is the more natural parsing, the one that leads to the preferred reading of the sentence? Can anyone ...
0
votes
0answers
72 views

Are there any theoretical properties of punctuation marks that allow to identify them without understanding the text?

Imaging that you have discovered a stone with written text in an ancient (or alien!) language that doesn't resemble any known language. Is there a way to show that some of the symbols are likely ...
3
votes
0answers
47 views

How to incorporate sentence end marker in POS tagging with viterbi algorithm?

I am self-reading the NLP book by Dan Jurafsky. In the book, the following equation is given for incorporating the sentence end marker in the Viterbi algorithm for POS tagging. I am confused why the ...
1
vote
2answers
96 views

What is the percentage of words that are phonemically regular in english?

I know that English has a deep orthography. I am wondering whether someone could tell me what the percentage of English words are governed by regular letter-sound rules? Thank you
1
vote
1answer
48 views

how to interpret probabilities of sequences given by ngram language modelling?

Question about ngram models, might be a stupid question: With ngram models, the probability of a sequence is the product of the conditional probabilities of the n-grams into which the sequence can be ...
1
vote
1answer
45 views

Is there any tool where I can effectively find some examples of a specific sound change in world's languages?

For example, I have once read about an example of the sound change g > dʐ. I need it now but I cannot find it. Is there anything like "sound change corpus" where I can effectively find ...
0
votes
0answers
1k views

ValueError: Can not squeeze dim[1], expected a dimension of 1

I want to buil a sequential LSTM model that predicts binary classification at every time step. More exactly, I want to predict an output for every paragraph in my texts (48 is the number of paragraphs)...
1
vote
0answers
36 views

Corpus of Taboo card game?

Has anyone constructed a corpus of people playing the card game Taboo, in a purely text-based setting, like a computer chat, rather than face-to-face with audio or video? The closest I've found are ...
-1
votes
1answer
102 views

Is the word "Language" in "Natural Language Processing" plural or singular, count or mass? [closed]

I want to translate the word language in the term NLP to the Arabic language. so I wonder, In Natural Language Processing, if the word language is countable or uncountable? whether it is plural or ...
0
votes
1answer
54 views

What algorithms can associate words together from texts?

What algorithms can associate words together from texts? I was wondering how this can be achieved. Thanks.
0
votes
0answers
20 views

Method in deep learning with domain specific corpus for a text classification

I'm searching a method to classify a text (5 classes) with a little corpus and which is domain specific (in pharmaceutical area). I tried some models on python like random forest or multinomial naive ...
4
votes
1answer
131 views

Is it possible to produce a list of syntactic rules for a language?

I recently started a new job as an applied linguist engineer and one of the first tasks I was ask to do was to provide a list of syntactic rules that can produce French sentences (for an ...

1
2 3 4 5
13