|
|
| (4 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| | <pre> | | <pre> |
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 863
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 864
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 589
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 589
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 241
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 242
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 241
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 242
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
| − | grep "fram" $ice # finds any instance where "fram" occurs | + | grep "fram" $ice # finds every instance where "fram" occurs |
| | | | |
| | Example of results: | | Example of results: |
| Line 24: |
Line 24: |
| | (PP (RP fram-fram) | | (PP (RP fram-fram) |
| | (PP (RP fram-fram) | | (PP (RP fram-fram) |
| | + | </pre> |
| | + | |
| | + | <pre> |
| | + | grep -C3 "fram" $ice # finds every instance of "fram" + the 3 phrases/tags before and after it (you can use any number you want instead of 3, e.g. C2, C10, C16 ...) |
| | + | |
| | + | Example: |
| | + | (NP-SBJ *con*) |
| | + | (VBDI brá-bregða) |
| | + | (NP-OB1 (N-D hend$-hönd) (D-D $inni-hinn)) |
| | + | (ADVP-DIR (ADV framan-framan)) |
| | + | (PP (P á-á) |
| | + | (NP (NS-A nasir-nös) |
| | + | (NP-COM (NPR-D ÁSBIRNI-ÁSBJÖRN)))) |
| | + | </pre> |
| | + | |
| | + | <pre> |
| | + | grep -C3 "-hefram" $ice # when grep is used, the directory is also indicated, but sometimes it is useful to be able to copy the examples from it. So instead of getting the results below ... |
| | + | |
| | + | /home/einar/Dropbox/treebanking/finished/piltur4.nonfinal.29apr.psd- (NP-SBJ *con*) |
| | + | /home/einar/Dropbox/treebanking/finished/piltur4.nonfinal.29apr.psd- (VBDI brá-bregða) |
| | + | /home/einar/Dropbox/treebanking/finished/piltur4.nonfinal.29apr.psd- (NP-OB1 (N-D hend$-hönd) (D-D $inni-hinn)) |
| | + | /home/einar/Dropbox/treebanking/finished/piltur4.nonfinal.29apr.psd: (ADVP-DIR (ADV framan-framan)) |
| | + | /home/einar/Dropbox/treebanking/finished/piltur4.nonfinal.29apr.psd- (PP (P á-á) |
| | + | /home/einar/Dropbox/treebanking/finished/piltur4.nonfinal.29apr.psd- (NP (NS-A nasir-nös) |
| | + | /home/einar/Dropbox/treebanking/finished/piltur4.nonfinal.29apr.psd- (NP-COM (NPR-D ÁSBIRNI-ÁSBJÖRN)))) |
| | + | |
| | + | ... we get this when we use "-he" in front of "fram": |
| | + | |
| | + | (NP-SBJ *con*) |
| | + | (VBDI brá-bregða) |
| | + | (NP-OB1 (N-D hend$-hönd) (D-D $inni-hinn)) |
| | + | (ADVP-DIR (ADV framan-framan)) |
| | + | (PP (P á-á) |
| | + | (NP (NS-A nasir-nös) |
| | + | (NP-COM (NPR-D ÁSBIRNI-ÁSBJÖRN)))) |
| | </pre> | | </pre> |
Latest revision as of 15:54, 9 June 2010
grep "fram" $ice # finds every instance where "fram" occurs
Example of results:
(RP fram-fram)
(ADVP (ADVR framar-framar)
(ADVP (ADVR framar-framar)
(ADVP (ADVR framar-framar)
(NP-MSR (ADJS framast-framar))))
(NP-MSR (PRO-D því-það) (ADJR framar-framar))
(ADJR framar-framar)
(ADVP (ADV jafnframarla-jafnframarlega))
(RP fram-fram))))))
(RP fram-fram)
(RP fram-fram)
(RP fram-fram)
(NP-MSR (ADJR framar-framar)))
(NP-MSR (ADJR framar-framar)
(P fram-fram))
(RP fram-fram)
( (IP-MAT (PP (RP Fram-fram)
(ADJP (ADJ framgjarn-framgjarn)
(ADVP-DIR (ADV framan-framan))
(PP (RP fram-fram)
(PP (RP fram-fram)
grep -C3 "fram" $ice # finds every instance of "fram" + the 3 phrases/tags before and after it (you can use any number you want instead of 3, e.g. C2, C10, C16 ...)
Example:
(NP-SBJ *con*)
(VBDI brá-bregða)
(NP-OB1 (N-D hend$-hönd) (D-D $inni-hinn))
(ADVP-DIR (ADV framan-framan))
(PP (P á-á)
(NP (NS-A nasir-nös)
(NP-COM (NPR-D ÁSBIRNI-ÁSBJÖRN))))
grep -C3 "-hefram" $ice # when grep is used, the directory is also indicated, but sometimes it is useful to be able to copy the examples from it. So instead of getting the results below ...
/home/einar/Dropbox/treebanking/finished/piltur4.nonfinal.29apr.psd- (NP-SBJ *con*)
/home/einar/Dropbox/treebanking/finished/piltur4.nonfinal.29apr.psd- (VBDI brá-bregða)
/home/einar/Dropbox/treebanking/finished/piltur4.nonfinal.29apr.psd- (NP-OB1 (N-D hend$-hönd) (D-D $inni-hinn))
/home/einar/Dropbox/treebanking/finished/piltur4.nonfinal.29apr.psd: (ADVP-DIR (ADV framan-framan))
/home/einar/Dropbox/treebanking/finished/piltur4.nonfinal.29apr.psd- (PP (P á-á)
/home/einar/Dropbox/treebanking/finished/piltur4.nonfinal.29apr.psd- (NP (NS-A nasir-nös)
/home/einar/Dropbox/treebanking/finished/piltur4.nonfinal.29apr.psd- (NP-COM (NPR-D ÁSBIRNI-ÁSBJÖRN))))
... we get this when we use "-he" in front of "fram":
(NP-SBJ *con*)
(VBDI brá-bregða)
(NP-OB1 (N-D hend$-hönd) (D-D $inni-hinn))
(ADVP-DIR (ADV framan-framan))
(PP (P á-á)
(NP (NS-A nasir-nös)
(NP-COM (NPR-D ÁSBIRNI-ÁSBJÖRN))))