Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
external:tectomt:tutorial [2009/01/22 10:33] kravalova |
external:tectomt:tutorial [2009/01/22 10:40] kravalova |
||
---|---|---|---|
Line 20: | Line 20: | ||
* Your shell is bash | * Your shell is bash | ||
* You have basic experience with bash and can read basic Perl | * You have basic experience with bash and can read basic Perl | ||
+ | |||
Line 52: | Line 53: | ||
source ~/ | source ~/ | ||
</ | </ | ||
+ | |||
+ | * In your '' | ||
+ | |||
+ | <code bash> | ||
+ | source .bashrc | ||
+ | </ | ||
+ | |||
+ | |||
Line 307: | Line 316: | ||
==== Task ==== | ==== Task ==== | ||
A block which, given an analytical tree ('' | A block which, given an analytical tree ('' | ||
+ | |||
Line 356: | Line 366: | ||
//Note//: '' | //Note//: '' | ||
+ | ==== Advanced version ==== | ||
- | + | The output of our block might still be incorrect in special cases - we don't solve coordination (see the second sentence in sample.txt) and subordinate conjunctions. | |
- | //Advanced version//: | + | |
===== Your turn: more tasks ===== | ===== Your turn: more tasks ===== | ||
+ | |||
+ | |||
Line 387: | Line 399: | ||
* Once you have node '' | * Once you have node '' | ||
- | //Advanced version//: This solution shifts object (or more objects) of a verb just in front of that verb node. So f.e.: //Mr. Brown has urged MPs.// changes to: //Mr. Brown has MPs urged.// You can try to change this solution, so the final sentence would be: //Mr. Brown MPs has urged.// You may need a method '' | + | **Advanced version**: This solution shifts object (or more objects) of a verb just in front of that verb node. So f.e.: //Mr. Brown has urged MPs.// changes to: //Mr. Brown has MPs urged.// You can try to change this solution, so the final sentence would be: //Mr. Brown MPs has urged.// You may need a method '' |
- | Subjects should have attribute ''' | + | |
Line 441: | Line 453: | ||
* To see the results, you can again use TrEd ('' | * To see the results, you can again use TrEd ('' | ||
- | + | **Advanced version**: What happens in case of multiword prepositions? | |
- | //Advanced version//: What happens in case of multiword prepositions? | + | |