Questions tagged [linguistics]

Linguistics is the scientific study of language and its structure, including the study of morphology, syntax, phonetics, and semantics.

Linguistics is the scientific study of language and its structure, including the study of morphology, syntax, phonetics, and semantics.

Specific branches of linguistics include sociolinguistics, dialectology, psycholinguistics, computational linguistics, historical-comparative linguistics, and applied linguistics.

323 questions
0
votes
1 answer

R function to find which of 3 variables correlates most with another value?

I am conducting a study that analyzes speakers' production and measures their average F2 values. What I need is an R function that allows me to find a relationship for these F2 values with 3 other variables, and if there is, which one is the most…
thatstea
  • 1
  • 1
0
votes
1 answer

How to install correctly Stanford Parser in Ubuntu? (without nltk)

I'm trying to install Stanford Parser on Ubuntu 18.04.3, purely without installing the NLTK package, but I am not sure how it's installed to be able to use it with Java or Python. I have already downloaded the complete package and the languages I…
XOREZ
  • 23
  • 6
0
votes
5 answers

machine-learning, artificial-intelligence and computational-linguistics

I would love to talk to people who have experience in machine-learning, computational-linguistics or artificial-intelligence in general but by the following example: • Which existing software would you apply for a manageable attempt building…
0
votes
2 answers

How do I get the base of a synonym/plural of a word in python?

I would like to use python to convert all synonyms and plural forms of words to the base version of the word. e.g. Babies would become baby and so would infant and infants. I tried creating a naive version of plural to root code but it has the issue…
Dan Harmon
  • 313
  • 1
  • 13
0
votes
2 answers

Praat - Error when processing Pitch of .wav file: "minimum pitch must not be less than..."

I've been Praat scripting for only a few weeks now, so bear with me. I'm trying to extract the pitch contours of each spoken word in a corpus of annotated speech data. I can extract the pitch contours of the whole long sound file no problem, and I…
0
votes
1 answer

Negativity score for sentences

I am working on a dataset of airline customer complaints. Since it is "complaints" the general consensus is all the sentence are "negative" sentiment. So I am think of an approach to quantize the negativity score. For example: Less Negative review: …
data_person
  • 4,194
  • 7
  • 40
  • 75
0
votes
1 answer

Is there a mechanism to filter common nouns from a bag of nouns?

"the bride and the groom got married at the church." Applying a simple POS-tagger on the above sentence yields: "the bride(NOUN) and the groom(NOUN) got married at the church(NOUN)." I am interested in filtering out bride, groom. I have tried using…
akskuchi
  • 11
  • 2
0
votes
1 answer

How to extract multiple elements of a HTML site using XSLT?

I want to extract multiple elements out of a XHTML-Site. I manage to identify and tag one element, but as soon there are two the seconds is not visible in the output. XHTML-Site-Example
0
votes
1 answer

XSLT: how to tag post-content of an online-forum

I'm a beginner of XML. I try to extract informations like post-content, post-author and post-date from the thread-sites like this using a XSLT-Stylesheet. I will auto-download multiple HTML-Sites from that forum, convert them to XHTML using Tidy and…
0
votes
1 answer

Interpreting output in generalized linear mixed model

I'm trying to compare the effect of instruction to different groups at different testing times. I have the following variables: Independent Variables (Learner_Type: 3 conditions-LING, NOEX, TRAD; Testing_Time: 3 conditions-T0, T1, T2) Dependent…
Dakota J.
  • 1
  • 1
0
votes
2 answers

How to control the author’s point of view in natural language generation models?

I am new to Natural Language Generation and I am currently in the experimentation phase. The motivating use-case is to generate one-sentence captions for images, but my question/problem is not unique to my current NLG use-case alone. The first…
0
votes
1 answer

how to find maximal matching pattern in data in python

I have a format in a file called file.txt which has lines like: babies:n:baby flies:n:fly ladies:n:lady sheep:n:sheep furniture:n:furniture luggages:n:luggage etc. Now,i need to extract only the common pattern between f1 and f3 and want to write in…
0
votes
2 answers

Is there a function/WinAPI to tell if one string starts with another string in a case-insensitive linguistic way?

The best way to illustrate my question is with this example (that doesn't work if I use the strstr CRT function): const wchar_t* s1 = L"Hauptstraße ist die längste"; const wchar_t* s2 = L"Hauptstrasse"; bool b_s1_starts_with_s2 = !!wcsstr(s1,…
c00000fd
  • 20,994
  • 29
  • 177
  • 400
0
votes
1 answer

Remove duplicate letters from each word in string

I'm preparing for a job interview. So let's say I want to remove duplicate letters from a string, I came up with two functions to accomplish this: # option 1: def checkDuplicates(string): postCheck = "" previousChar = None for…
o-az
  • 397
  • 2
  • 10
0
votes
0 answers

Using csv files to generate if conditions in python code?

I am working on a NLP problem where I am given a sentence and I have to print some parts of sentence according to a specific rule (for example for "a truck is big" I have to print Nouns and adjective so output will be "truck big") Till now I have…
Utsav Shukla
  • 47
  • 2
  • 8