Answers.Body: <p>Strictly speaking, this is impossible. Changing the form of a sentence also changes its meaning. Even active-passive can be important, as you would use it to emphasise what is important: was it relevant what the cat was doing, or was it more relevant what happened to the mouse? True, the purely propositional meaning is not affected by this, but that is only one component of a sentence's meaning.</p>
  
  <p>There has been a lot of work in traditional linguistics about sentence form. You could look at one of the seminal works, <a href="https://en.wikipedia.org/wiki/Syntactic_Structures" rel="nofollow noreferrer">Syntactic Structures</a> by <a href="https://en.wikipedia.org/wiki/Noam_Chomsky" rel="nofollow noreferrer">Noam Chomsky</a>, where he introduces the concept which later lead to <a href="https://en.wikipedia.org/wiki/Transformational_grammar" rel="nofollow noreferrer">transformational grammar</a>. This influenced a lot of subsequent linguistic approaches, but as far as I am aware transformations are not really that much in the linguistic focus anymore.</p>
  
  <p>For your second question, stylistic consistency, you could look at the work of Douglas Biber. His book <em><a href="https://www.cambridge.org/core/books/variation-across-speech-and-writing/A546CF5ED8F8E62F1432CB2F369CF356" rel="nofollow noreferrer">Variation across speech and writing</a></em> introduces a number of (easily extractable) linguistic features that you could use to quantify consistency.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-18T12:56:35.477Z
Answers.LastActivityDate: 2019-08-18T12:56:35.477Z
Answers.UserDisplayName: Oliver Mason
Body: <p>I'm looking for NLP techniques to transform sentences without affecting their meaning.</p>
  <p>For example, techniques that could transform active voice into passive voice, such as</p>
  <blockquote>
  <p>The cat was chasing the mouse.</p>
  </blockquote>
  <p>to</p>
  <blockquote>
  <p>The mouse was being chased by the cat.</p>
  </blockquote>
  <p>I can think of a number of heuristics one could implement to make this happen for specific cases, but would assume that there is existing research on this in the field of linguistics or NLP. My searches for &quot;sentence transformation&quot; and similar terms didn't bring up anything though, and I'm wondering if I simply have the wrong search terms.</p>
  <p>Related to this, I'm also looking for measures of text consistency, e.g., an approach that could detect that most sentences in a corpus are written in active voice and detect outliers written in passive voice. I'm using active vs. passive voice as an example here and would be interested in more general approaches.</p>
  
Tags: <natural-language-processing><reference-request><computational-linguistics>
Title: Which NLP techniques can be used to transform sentences (e.g. from passive to active voice) without affecting their meaning?
UserDisplayName: user28018
ThreadText: # Which NLP techniques can be used to transform sentences (e.g. from passive to active voice) without affecting their meaning?
  
  (Asked by: username_0 on 2019-08-17)
  
  I'm looking for NLP techniques to transform sentences without affecting their meaning.
  
  For example, techniques that could transform active voice into passive voice, such as
  
  > The cat was chasing the mouse.
  
  to
  
  > The mouse was being chased by the cat.
  
  I can think of a number of heuristics one could implement to make this happen for specific cases, but would assume that there is existing research on this in the field of linguistics or NLP. My searches for "sentence transformation" and similar terms didn't bring up anything though, and I'm wondering if I simply have the wrong search terms.
  
  Related to this, I'm also looking for measures of text consistency, e.g., an approach that could detect that most sentences in a corpus are written in active voice and detect outliers written in passive voice. I'm using active vs. passive voice as an example here and would be interested in more general approaches.
  
  **Tags:** natural-language-processing, reference-request, computational-linguistics
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-08-18. Score: 0 | Accepted answer
  
  Strictly speaking, this is impossible. Changing the form of a sentence also changes its meaning. Even active-passive can be important, as you would use it to emphasise what is important: was it relevant what the cat was doing, or was it more relevant what happened to the mouse? True, the purely propositional meaning is not affected by this, but that is only one component of a sentence's meaning.
  
  There has been a lot of work in traditional linguistics about sentence form. You could look at one of the seminal works, [Syntactic Structures](https://en.wikipedia.org/wiki/Syntactic_Structures) by [Noam Chomsky](https://en.wikipedia.org/wiki/Noam_Chomsky), where he introduces the concept which later lead to [transformational grammar](https://en.wikipedia.org/wiki/Transformational_grammar). This influenced a lot of subsequent linguistic approaches, but as far as I am aware transformations are not really that much in the linguistic focus anymore.
  
  For your second question, stylistic consistency, you could look at the work of Douglas Biber. His book *[Variation across speech and writing](https://www.cambridge.org/core/books/variation-across-speech-and-writing/A546CF5ED8F8E62F1432CB2F369CF356)* introduces a number of (easily extractable) linguistic features that you could use to quantify consistency.
  
  
  ---
  
  