Skip to main content

All Questions

Filter by
Sorted by
Tagged with
2 votes
1 answer
72 views

How to write a program that lists out all the grammar patterns used in a given sentence?

Disclaimer, I have no formal background in linguistics so I'm really asking in the dark here. Problem: I'm trying to write a program that, given a grammatically correct (this is assumed) sentence, ...
minmax19's user avatar
-3 votes
1 answer
95 views

Is there a formal system in Linguistics like Boolean algebra to reduce the grammar rules of a language to minimum items ignoring semantics? [closed]

To get the grammar rules down to the minimum necessary for teaching. Semantics not included. This is example what what I am thinking about. Grammar with all the semantics cut out, means it is easy to ...
Aseku Vena's user avatar
2 votes
0 answers
35 views

What are the practical differences between type-logical/categorial and context-free based approaches to semantic parsing?

I am currently reading Bob Carpenter's Type-Logical Semantics, which goes over the Type-Logical approach to natural language semantics. I understand that categorial grammar is technically different ...
Nathan BeDell's user avatar
4 votes
1 answer
130 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 ...
mayfly's user avatar
  • 41
1 vote
1 answer
166 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 ...
Arka-cell's user avatar
  • 143
2 votes
1 answer
295 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 tree:...
pairon's user avatar
  • 121
1 vote
0 answers
59 views

Determining the semantic "complexity" of a grammar computationally from text

I'm working on a computational text analysis project which uses ngram data from journal articles, and I'm trying to find a way to measure some aspect of the semantic "complexity" of the grammar in one ...
kjakeb's user avatar
  • 111
6 votes
1 answer
365 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....
Robi Sen's user avatar
-1 votes
1 answer
65 views

Is there specific grammar used in Newspaper headlines?

I need to find some general rules used in Newspaper headlines. I will use computational linguistics (nltk python library) to develop classification algorithm to distinguish news and not news by ...
Oleg Dats's user avatar
2 votes
2 answers
215 views

Context-Free grammars and Language

As someone trained in neither, how could you explain the analogies between context free grammars / languages and certain programming languages in computer science? Have I misunderstood whether there ...
user54963's user avatar
-5 votes
3 answers
276 views

What is the 'best' language, and by what metrics, why those metrics...? [closed]

This is sort of the old question that you'd see whispered about a lot in Western academia, and shouted out by linguists of the past, who had their own circumstances, own canons, own less-connected (?) ...
CorrectCrackpot's user avatar
-1 votes
1 answer
428 views

Can anyone explain me the structure of the FCFG grammar

I was not able to understand the grammar rules explain in discourse.fcfg file. Can any one help me understanding SEM means in S[SEM = <app(?subj,?vp)>] -> NP[NUM=?n,SEM=?subj] VP[NUM=?n,SEM=...
Aman Dalmia's user avatar
3 votes
0 answers
44 views

Grammar induction from grammaticality rules

Let's have formalisation of grammaticality judgments in some deduction system. Is it possible to learn/induce grammar from rules that govern grammaticality judgments? Is there theory, that connects ...
TomR's user avatar
  • 499
3 votes
2 answers
219 views

Understanding Feature Grammar syntax

Background: I am a software dev who doesn't really know much about linguistics but I am trying to learn some of it for an application I'm making I am trying to understand Feature Grammar syntax, and ...
Andrew Alexander's user avatar
1 vote
1 answer
229 views

How can I identify Grammatical Categories in a sentence?

Please excuse the fact that I'm not an academically trained Linguist. I am working on a computer program with example sentences and their equivalents in different languages. The idea I am trying to ...
talkingtoaj's user avatar

15 30 50 per page