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
3 answers

How do I install "Ruby Linguistics With Verb Conjugation"?

I downloaded the source code for "Ruby Linguistics With Verb Conjugation". How can I install it for usage? Do I need to compile it into some gem?
lkahtz
  • 4,706
  • 8
  • 46
  • 72
0
votes
1 answer

Treetools package - computational linguistics

How can I obtain the LCFRS grammar using treetools? I used the following terminal command treetools grammar wsj_0001.prd output leftright --dest-format rcg --markov v:1 h:2 where wsj_0001.prd is a tree and the output file I get is…
Bartek
  • 21
  • 3
0
votes
2 answers

Text Processing Tools for German and Spanish Languages

I'm trying to process text in German and Spanish languages. Working on English text is straight forward because of myriad NLP packages on this language. But it's not easy for other languages. I Found some packages for German text but I don't know…
SahelSoft
  • 615
  • 2
  • 9
  • 22
0
votes
0 answers

Identify snippets in different (real) languages in a text and apply certain rule

Could there be a way for me to identify which segments within a text are in a different language in order to format them distinctly? For example, say I create a text file, the dog chases the cat = der Hund jagt die Katze "the dog is chasing the cat"…
Vinícius Godim
  • 217
  • 1
  • 8
0
votes
2 answers

Efficient linguistic processing in R

I'm having the following problem: I have a set of words for which I need normative frequencies. The list counts 350 words. I have another list, let's call it frequency list, with over 5.5 million different words and their corresponding normative…
Fabian
  • 13
  • 1
  • 5
0
votes
2 answers

Finding which words are likely to occur with word X

What is the best way to find out which words are frequent near some word X? (note: NOT which words are most similar to word X) I have GloVe word vectors, so each vector represents a distribution of some word across different environments (each…
0
votes
1 answer

Fuzzy string matching for finding Synsets in German WordNet (GermaNet)

For my bachelor thesis project, I am developing the Natural Language Understanding Unit for a Chatbot. Right now I am facing the following problem: I have a word, let's say 'Auto', which is the German equivalent of car. Now the user might give…
drssdinblck
  • 260
  • 2
  • 11
0
votes
2 answers

Where can I get bilingual dictionary for my application?

I'm wondering if there is a place where I can get a bilingual dictionary in open format for my program. So far I'd like to have just few language pairs: eng-esp, eng-frn, ger-esp, let's say. I googled and lurked without success so far.
Puterdo Borato
  • 388
  • 4
  • 19
0
votes
1 answer

R - Counting Number of Documents Containing a Term

I am using R's tm library to look at term frequencies in a corpus. Ultimately I want to replicate a td-idf term-weighting scheme found on pg 42 of this paper. Here is my code so far: setwd("C:/Users/George/Google Drive/Agility") library(tm) cname…
user7317101
0
votes
0 answers

Non-left recursive grammar for math equations

I need some help with CS task. I have to make a grammar (for LL() top-down parser) that will take math equation with all operators (+-/*^ and relation) without using left recursion and "erese production" (by this, I think he means epsilon). After…
Dave
  • 1
  • 1
0
votes
1 answer

semantics of verb-attached preposition phrases Prolog

I am trying to implement a verb-attached preposition phrases in prolog. So I've got: VP -> Vbar Vbar -> v, PP PP -> Pbar Pbar -> prep,np the problem is when I try to phrase something like "Mary saw Tom with a telescope". There would be an…
0
votes
1 answer

Understanding conditions of NP-Pronoun non-coreference - Lappin & Leass (1992)

I am going through the Lappin and Leass "An algorithm of pronominal anapora resolution". I am particularly confused about some of the conditions for the syntactic filter. Background: (Section 2.1.1 of the above paper) The agreement features of an…
user4089193
0
votes
1 answer

Linguistic Analysis API authentication

Hello! Did anybody use Linguistic Analysis API (one of The Microsoft Cognitive Services) in your c# project? I have a problem with the authentication method, and there is not enough information in the net to solve my issue. A small example would be…
0
votes
2 answers

Subscription keys on Microsoft Cognitive Services

When subsribing to Linguistic Analysis in Microsoft Cognitive Services, 2 subscription keys were generated. I am using the first one to connect to the service, but here comes the error code: "Unspecified", which means "Invalid subscription Key or…
0
votes
0 answers

Building a Co-Occurrence List in R around Selected Terms

I am trying to build a co-occurrence matrix (i. e., upper-triangle) of selected terms that appear in sentences. My data is organized as: sent_id text 1 a b c d e f g h i k l m n o p q 2 a d f k m n q 3 a c e l n o p 4 …
AlanS
  • 13
  • 3