Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy this code don't work correctly in notepad++
    primarykey
    data
    text
    <p>3 days ago a friend give me a code to keep some sentences and delete other sentences that they were not need in notepad ++. Today My teacher told me that this code don't work for all of sentences and it cleans most of the tags that we need. please help me and correct this code. It's s important for me to present my Corpus for tomorrow.please.</p> <p>I want to find some special strings in my text and then delete other strings.</p> <p>For example in this sentence:</p> <pre><code>( (IP-MAT (CONJ vnnd) (NP-NOM (D das) (N wort)) (BED war) (PP (P bey) (CODE [2]) (NP-DAT (NPR Gott))) (. ,)) </code></pre> <p>I want to regularly keep: <code>CONJ D N BED P NPR</code>. and delete other strings in this text.</p> <p>Second example:</p> <pre><code>( (IP-MAT-SPE (NP-NOM-LFD (D diser) (NPR Jhesus) (, ,) (CP-REL-SPE (WNP-1 (WPRO wilcher)) (C 0) (IP-SUB-SPE (NP-NOM T-1) (PP (P von) (NP-DAT (PRO euch))) (BEPI ist) (RP auff) (VAN genomen) (PP (P gen) (NP-ACC-XXX (NPR hymel)))))) (, ,) (NP-NOM-RSP (D der)) (RDPI wirt) (VB komen) (PP (P wie) (CP-ADV-SPE (C 0) (IP-SUB-SPE (NP-NOM (PRO yhr)) (NP-ACC-2 (PRO yhn)) (VBN gesehen) (HVPI habt) (IP-INF-SPE (NP-ACC-SBJ ICH-2) (PP (P gen) (NP-ACC-XXX (NPR hymel))) (VB faren))))) (. .)) </code></pre> <p>and I want to change them to this :</p> <pre><code>D NPR , WPRO C NP-NOM P PRO BEPI RP VAN P NPR , D RDPI VB , P C PRO PRO VBN HVPI NP-ACC-SBJ P NPR VB . – </code></pre> <p>and that code is: Find:</p> <pre><code>(?:(?!\n\n).(?&lt;!\n\n))*?\(([\w,.-]+)\s+[\w,.-]+\)+|(?:(?!\n\n).(?&lt;!\n\n))+$ </code></pre> <p>Replace with:</p> <pre><code>$1 </code></pre> <p>[Dollar, then "1", then space]</p> <p><strong>But it don't work for the sentences like:</strong></p> <pre><code> (IP-MAT (CODE [4]) (CONJ vnd) (NP-NOM *con*) (RDD wurden) (Q alle) (ADJP (ADJ voll) (NP-GEN (D des) (ADJ heyligen) (NPR geysts))) (. ,)) (ID SEPTEMBERTESTAMENT-ACTS,.45)) </code></pre> <p>it must be shown: CONJ NP-NOM RDD Q ADJP D ADJ D ADJ NPR .</p> <p><strong>or don't work in this code:</strong></p> <pre><code>( (IP-MAT (CODE [7]) (NP-NOM (PRO sie)) (VBD entsatzten) (NP-ACC-RFL (PRO sich)) (ADVP (ADV aber)) (Q alle) (. ,) (IP-MAT (NP-NOM *con*) (VBD verwunderten) (NP-ACC-RFL (PRO sich))) (IP-MAT (CONJ vnnd) (NP-NOM *con*) (VBD sprachen) (PP (P+D+ADJ vnternander)) (, ,) </code></pre> <p>It must be shown: NP-NOM VBD PRO ADV Q . NP-NOM VBD PRO CONJ NP-NOM VBD P+D+ADJ ,</p> <p><strong>or about this example :</strong></p> <pre><code> (IP-MAT-SPE (CODE [8]) (CP-QUE-SPE (WADVP (WADV wie)) (IP-SUB-SPE (VBPI horen) (NP-NOM (PRO wyr) (NP-NOM-PRN *ICH*-1)) (ADVP (ADV denn)) (, ,) (NP-NOM-PRN-1 (D eyn) (ADJ iglicher)) (NP-ACC (PRO$ seyne) (N sprach) (, ,) (CP-REL-SPE (WPP-2 (WADV $dar) (P $ynnen)) (C 0) (IP-SUB-SPE (PP *T*-2) (CODE {TEXT:darynnen}) (NP-NOM (PRO wyr)) (VAN geporn) (BEPI sind)))))) (. ?)) (ID SEPTEMBERTESTAMENT-ACTS,.52)) </code></pre> <p>it must be shown: WADV VBPI PRO NP-NOM-PRN ADV , D ADJ POR$ N , WADV P C PP PRO VAN BEPI .</p> <p>that code unfortunately delete PRO$ or NP-NOM or PP or Q+N etc.</p> <p>Excuse me that I can't edit this post. I hope my codes will be appear to all. If they weren't I can upload the Corpus text file.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload