[nltk] 02/07: Imported Upstream version 3.0.0
Daniel Stender
danstender-guest at moszumanska.debian.org
Fri Oct 10 17:04:42 UTC 2014
This is an automated email from the git hooks/post-receive script.
danstender-guest pushed a commit to branch master
in repository nltk.
commit 90e49ced75b97d23199dab01899b1d9e000713a3
Author: Daniel Stender <daniel at danielstender.com>
Date: Fri Oct 10 14:46:46 2014 +0200
Imported Upstream version 3.0.0
---
.gitattributes | 1 -
.gitignore | 24 -
ChangeLog | 981 ---
Makefile | 62 -
PKG-INFO | 33 +
README.md | 164 -
RELEASE-HOWTO | 69 -
emacs/doctest-mode.el | 1078 ---
emacs/psvn.el | 6225 ---------------
emacs/pycomplete.el | 36 -
emacs/pycomplete.py | 97 -
emacs/python-mode.el | 3922 ----------
emacs/rst-mode.el | 698 --
emacs/rst.el | 3431 ---------
examples/grammars/Makefile | 38 -
examples/grammars/basque_grammars/basque1.cfg | 11 -
examples/grammars/basque_grammars/basque1.fcfg | 22 -
examples/grammars/basque_grammars/basque1.pcfg | 21 -
examples/grammars/basque_grammars/basque1.regexp | 1 -
examples/grammars/basque_grammars/basque2.cfg | 10 -
examples/grammars/basque_grammars/basque2.fcfg | 26 -
examples/grammars/basque_grammars/basque2.pcfg | 4 -
examples/grammars/basque_grammars/basque2.regexp | 2 -
examples/grammars/basque_grammars/basque3.cfg | 4 -
examples/grammars/basque_grammars/basque3.fcfg | 36 -
examples/grammars/basque_grammars/basque3.regexp | 3 -
examples/grammars/basque_grammars/basque4.regexp | 3 -
examples/grammars/basque_grammars/basque5.regexp | 5 -
examples/grammars/book_grammars/background.fol | 22 -
examples/grammars/book_grammars/discourse.fcfg | 125 -
examples/grammars/book_grammars/drt.fcfg | 82 -
examples/grammars/book_grammars/feat0.fcfg | 49 -
examples/grammars/book_grammars/feat1.fcfg | 55 -
examples/grammars/book_grammars/german.fcfg | 86 -
examples/grammars/book_grammars/simple-sem.fcfg | 65 -
examples/grammars/book_grammars/sql0.fcfg | 32 -
examples/grammars/book_grammars/sql1.fcfg | 44 -
examples/grammars/book_grammars/storage.fcfg | 54 -
examples/grammars/sample_grammars/background0.fol | 19 -
examples/grammars/sample_grammars/bindop.fcfg | 42 -
examples/grammars/sample_grammars/chat80.fcfg | 95 -
examples/grammars/sample_grammars/chat_pnames.fcfg | 545 --
examples/grammars/sample_grammars/dep_test2.dep | 4 -
examples/grammars/sample_grammars/drt_glue.semtype | 61 -
.../sample_grammars/drt_glue_event.semtype | 62 -
examples/grammars/sample_grammars/event.fcfg | 72 -
examples/grammars/sample_grammars/glue.semtype | 59 -
.../grammars/sample_grammars/glue_event.semtype | 66 -
examples/grammars/sample_grammars/glue_train.conll | 27 -
.../grammars/sample_grammars/gluesemantics.fcfg | 131 -
examples/grammars/sample_grammars/hole.fcfg | 23 -
examples/grammars/sample_grammars/np.fcfg | 12 -
examples/grammars/sample_grammars/sem0.fcfg | 14 -
examples/grammars/sample_grammars/sem1.fcfg | 19 -
examples/grammars/sample_grammars/sem2.fcfg | 68 -
examples/grammars/sample_grammars/sql.fcfg | 27 -
examples/grammars/sample_grammars/toy.cfg | 9 -
examples/grammars/sample_grammars/valuation1.val | 15 -
examples/grammars/spanish_grammars/spanish1.cfg | 10 -
examples/grammars/spanish_grammars/spanish1.fcfg | 32 -
examples/grammars/spanish_grammars/spanish1.pcfg | 9 -
examples/grammars/spanish_grammars/spanish1.regexp | 2 -
examples/grammars/spanish_grammars/spanish2.cfg | 8 -
examples/grammars/spanish_grammars/spanish2.fcfg | 17 -
examples/grammars/spanish_grammars/spanish2.pcfg | 4 -
examples/grammars/spanish_grammars/spanish2.regexp | 4 -
examples/grammars/spanish_grammars/spanish3.cfg | 4 -
examples/grammars/spanish_grammars/spanish3.regexp | 4 -
examples/grammars/spanish_grammars/spanish4.regexp | 5 -
examples/grammars/spanish_grammars/spanish5.regexp | 6 -
examples/school/README | 3 -
examples/school/categories.py | 222 -
examples/school/count.py | 16 -
examples/school/generate.py | 14 -
examples/school/parse1.py | 14 -
examples/school/parse2.py | 17 -
examples/school/parse3.py | 22 -
examples/school/parser.py | 18 -
examples/school/search.py | 6 -
examples/school/words.py | 105 -
examples/semantics/chat.db | Bin 274432 -> 0 bytes
examples/semantics/chat80.cfg | 96 -
examples/semantics/chat_pnames.cfg | 545 --
examples/semantics/chat_sentences | 17 -
examples/semantics/demo_sentences | 14 -
examples/semantics/model0.py | 44 -
examples/semantics/model1.py | 27 -
examples/semantics/sem0.cfg | 14 -
examples/semantics/sem1.cfg | 18 -
examples/semantics/sem2.cfg | 68 -
examples/semantics/sem3.cfg | 17 -
examples/semantics/syn2sem.py | 118 -
jenkins-job-config.xml | 342 -
jenkins.sh | 48 -
nltk.egg-info/PKG-INFO | 33 +
nltk.egg-info/SOURCES.txt | 310 +
nltk.egg-info/dependency_links.txt | 1 +
nltk.egg-info/not-zip-safe | 1 +
nltk.egg-info/top_level.txt | 1 +
nltk/VERSION | 2 +-
nltk/align/bleu.py | 199 +-
nltk/align/gdfa.py | 135 +
nltk/align/phrase_based.py | 187 +
nltk/app/wordfreq_app.py | 2 +-
nltk/classify/megam.py | 2 +-
nltk/classify/tadm.py | 2 +-
nltk/cluster/kmeans.py | 2 +-
nltk/compat.py | 5 +-
nltk/corpus/reader/indian.py | 2 -
nltk/corpus/reader/string_category.py | 2 -
nltk/corpus/reader/util.py | 8 +-
nltk/corpus/reader/wordnet.py | 79 +-
nltk/data.py | 26 +-
nltk/draw/tree.py | 8 +-
nltk/examples/__init__.py | 0
nltk/examples/pt.py | 49 -
nltk/featstruct.py | 4 +-
nltk/grammar.py | 3 +-
nltk/inference/discourse.py | 2 +-
nltk/inference/prover9.py | 4 +-
nltk/internals.py | 6 +-
nltk/metrics/__init__.py | 1 +
nltk/metrics/artstein_poesio_example.txt | 200 -
nltk/metrics/paice.py | 381 +
nltk/parse/broker_test.cfg | 10 -
nltk/parse/malt.py | 2 +-
nltk/parse/stanford.py | 2 +-
nltk/parse/test.cfg | 10 -
nltk/parse/util.py | 2 +-
nltk/probability.py | 19 +-
nltk/sem/__init__.py | 6 +-
nltk/sem/boxer.py | 48 +-
nltk/sem/drt.py | 12 +-
nltk/sem/evaluate.py | 72 +
nltk/sem/linearlogic.py | 10 +-
nltk/sem/logic.py | 60 +-
nltk/sem/util.py | 76 +-
nltk/tag/hunpos.py | 4 +-
nltk/tag/mapping.py | 6 +-
nltk/test/FX8.xml | 17 -
nltk/test/Makefile | 23 -
nltk/test/data.doctest | 15 +-
nltk/test/dependency.doctest | 9 +-
nltk/test/discourse.doctest | 12 +-
nltk/test/drt.doctest | 6 +-
nltk/test/floresta.txt | 7924 --------------------
nltk/test/gluesemantics.doctest | 36 +-
nltk/test/inference.doctest | 55 +-
nltk/test/logic.doctest | 424 +-
nltk/test/nonmonotonic.doctest | 120 +-
nltk/test/onto1.fol | 6 -
nltk/test/paice.doctest | 36 +
nltk/test/parse.doctest | 8 +-
nltk/test/portuguese.doctest_latin1 | 300 -
nltk/test/resolution.doctest | 90 +-
nltk/test/sem3.cfg | 14 -
nltk/test/semantics.doctest | 2 +-
nltk/test/toy.cfg | 9 -
nltk/text.py | 24 +-
nltk/tree.py | 4 +-
nltk/util.py | 33 +
papers/acl-02/.cvsignore | 7 -
papers/acl-02/Makefile | 62 -
papers/acl-02/acl-02.tex | 705 --
papers/acl-02/acl.bst | 1322 ----
papers/acl-02/acl2002.sty | 340 -
papers/acl-02/chartparse.eps.gz | Bin 26079 -> 0 bytes
papers/acl-02/contest.ps.gz | Bin 7096 -> 0 bytes
papers/acl-02/nltk.bib | 154 -
papers/acl-04/.cvsignore | 12 -
papers/acl-04/Makefile | 45 -
papers/acl-04/acl-04.tex | 508 --
papers/acl-04/acl.bst | 1323 ----
papers/acl-04/acl04.sty | 361 -
papers/acl-04/chart-matrix.gif | Bin 12520 -> 0 bytes
papers/acl-04/chart.eps.gz | Bin 46621 -> 0 bytes
papers/acl-04/nltk.bib | 50 -
papers/acl-06/acl-06.tex | 405 -
papers/acl-06/acl.bst | 1322 ----
papers/acl-06/colacl06.sty | 368 -
papers/acl-06/rdparser.eps.gz | Bin 17440 -> 0 bytes
papers/acl-06/srparser.eps.gz | Bin 23349 -> 0 bytes
papers/acl-08/acl-08.bib | 204 -
papers/acl-08/acl-08.tex | 749 --
papers/acl-08/acl08.sty | 344 -
papers/acl-08/grammar1.py | 22 -
papers/acl-08/grammar2.py | 22 -
papers/acl-08/police.py | 19 -
papers/altw-06/acl.bst | 1322 ----
papers/altw-06/altw-06.bib | 53 -
papers/altw-06/altw-06.tex | 864 ---
papers/altw-06/colacl06.sty | 368 -
papers/icon-05/acl.bst | 1322 ----
papers/icon-05/acl2005.sty | 338 -
papers/icon-05/icon-05.tex | 657 --
papers/iwcs-08/drs.png | Bin 9656 -> 0 bytes
papers/iwcs-08/garrette-klein.tar.gz | Bin 54079 -> 0 bytes
papers/iwcs-08/iwcs.doctest | 169 -
papers/iwcs-08/lingmacros.sty | 262 -
papers/iwcs-08/modules.graffle | Bin 2680 -> 0 bytes
papers/iwcs-08/modules.pdf | Bin 39925 -> 0 bytes
papers/iwcs-08/nltk_iwcs_09.bib | 72 -
papers/iwcs-08/nltk_iwcs_09.tex | 708 --
pip-req.txt | 8 -
setup.cfg | 5 +
tools/find_deprecated.py | 226 -
tools/global_replace.py | 53 -
tools/nltk_term_index.py | 102 -
tools/nltk_term_index.stoplist | 106 -
tools/run_doctests.py | 16 -
tools/svnmime.py | 50 -
tox.ini | 101 -
web/Makefile | 161 -
web/api/nltk.rst | 142 -
web/conf.py | 246 -
web/contribute.rst | 37 -
web/data.rst | 49 -
web/dev/jenkins.rst | 113 -
web/dev/local_testing.rst | 167 -
web/dev/python3porting.rst | 269 -
web/images/book.gif | Bin 7170 -> 0 bytes
web/images/tree.gif | Bin 14369 -> 0 bytes
web/index.rst | 88 -
web/install.rst | 27 -
web/news.rst | 236 -
225 files changed, 1946 insertions(+), 46799 deletions(-)
diff --git a/.gitattributes b/.gitattributes
deleted file mode 100644
index 176a458..0000000
--- a/.gitattributes
+++ /dev/null
@@ -1 +0,0 @@
-* text=auto
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 1572169..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,24 +0,0 @@
-*.pyc
-*.pyo
-.tox
-
-*.class
-*.jar
-
-*.egg
-build/
-dist/
-nltk.egg-info/
-web/_build
-
-# generated by tests
-*.errs
-.noseids
-.coverage
-
-# editor temporary files
-*.*.sw[op]
-.idea
-
-# git mergetools backups
-*.orig
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index 84c98ae..0000000
--- a/ChangeLog
+++ /dev/null
@@ -1,981 +0,0 @@
-Version 3.0b1 2013-07-11
-* Added SentiWordNet corpus and corpus reader
-* Fixed support for 10-column dependency file format
-* Changed Tree initialization to use fromstring
-
-Thanks to the following contributors to 3.0b1: Mark Amery, Ivan
-Barria, Ingolf Becker, Francis Bond, Lars Buitinck, Arthur Darcet,
-Michelle Fullwood, Dan Garrette, Dougal Graham, Dan Garrette, Dougal
-Graham, Tyler Hartley, Ofer Helman, Bruce Hill, Marcus Huderle, Nancy
-Ide, Nick Johnson, Angelos Katharopoulos, Ewan Klein, Mikhail Korobov,
-Chris Liechti, Peter Ljunglof, Joseph Lynch, Haejoong Lee, Peter
-Ljunglöf, Dean Malmgren, Rob Malouf, Thorsten Marek, Dmitrijs
-Milajevs, Shari A’aidil Nasruddin, Lance Nathan, Joel Nothman, Alireza
-Nourian, Alexander Oleynikov, Ted Pedersen, Jacob Perkins, Will
-Roberts, Alex Rudnick, Nathan Schneider, Geraldine Sim Wei Ying, Lynn
-Soe, Liling Tan, Louis Tiao, Marcus Uneson, Yu Usami, Steven Xu, Zhe
-Wang, Chuck Wooters, isnowfy, onesandzeros, pquentin, wvanlint
-
-Version 3.0a4 2013-05-25
-* IBM Models 1-3, BLEU, Gale-Church aligner
-* Lesk algorithm for WSD
-* Open Multilingual WordNet
-* New implementation of Brill Tagger
-* Extend BNCCorpusReader to parse the whole BNC
-* MASC Tagged Corpus and corpus reader
-* Interface to Stanford Parser
-* Code speed-ups and clean-ups
-* API standardisation, including fromstring method for many objects
-* Improved regression testing setup
-* Removed PyYAML dependency
-
-Thanks to the following contributors to 3.0a4:
-Ivan Barria, Ingolf Becker, Francis Bond, Arthur Darcet, Dan Garrette,
-Ofer Helman, Dougal Graham, Nancy Ide, Ewan Klein, Mikhail Korobov,
-Chris Liechti, Peter Ljunglof, Joseph Lynch, Rob Malouf, Thorsten Marek,
-Dmitrijs Milajevs, Shari A’aidil Nasruddin, Lance Nathan, Joel Nothman,
-Jacob Perkins, Lynn Soe, Liling Tan, Louis Tiao, Marcus Uneson, Steven Xu,
-Geraldine Sim Wei Ying
-
-Version 3.0a3 2013-11-02
-* support for FrameNet contributed by Chuck Wooters
-* support for Universal Declaration of Human Rights Corpus (udhr2)
-* major API changes:
- - Tree.node -> Tree.label() / Tree.set_label()
- - Chunk parser: top_node -> root_label; chunk_node -> chunk_label
- - WordNet properties are now access methods, e.g. Synset.definition -> Synset.definition()
- - relextract: show_raw_rtuple() -> rtuple(), show_clause() -> clause()
-* bugfix in texttiling
-* replaced simplify_tags with support for universal tagset (simplify_tags=True -> tagset='universal')
-* Punkt default behavior changed to realign sentence boundaries after trailing parenthesis and quotes
-* deprecated classify.svm (use scikit-learn instead)
-* various efficiency improvements
-
-Thanks to the following contributors to 3.0a3:
-Lars Buitinck, Marcus Huderle, Nick Johnson, Dougal Graham, Ewan Klein,
-Mikhail Korobov, Haejoong Lee, Peter Ljunglöf, Dean Malmgren, Lance Nathan,
-Alexander Oleynikov, Nathan Schneider, Chuck Wooters, Yu Usami, Steven Xu,
-pquentin, wvanlint
-
-Version 3.0a2 2013-07-12
-* speed improvements in word_tokenize, GAAClusterer, TnT tagger, Baum Welch, HMM tagger
-* small improvements in collocation finders, probability, modelling, Porter Stemmer
-* bugfix in lowest common hypernyn calculation (used in path similarity measures)
-* code cleanups, docstring cleanups, demo fixes
-
-Thanks to the following contributors to 3.0a2:
-Mark Amery, Lars Buitinck, Michelle Fullwood, Dan Garrette, Dougal Graham,
-Tyler Hartley, Bruce Hill, Angelos Katharopoulos, Mikhail Korobov,
-Rob Malouf, Joel Nothman, Ted Pedersen, Will Roberts, Alex Rudnick,
-Steven Xu, isnowfy, onesandzeros
-
-Version 3.0a1 2013-02-14
-* reinstated tkinter support (Haejoong Lee)
-
-Version 3.0a0 2013-01-14
-* alpha release of first version to support Python 2.6, 2.7, and 3.
-
-Version 2.0.4 2012-11-07
-* minor bugfix (removed numpy dependency)
-
-Version 2.0.3 2012-09-24
-
-* fixed corpus/reader/util.py to support Python 2.5
-* make MaltParser safe to use in parallel
-* fixed bug in inter-annotator agreement
-* updates to various doctests (nltk/test)
-* minor bugfixes
-
-Thanks to the following contributors to 2.0.3:
-Robin Cooper, Pablo Duboue, Christian Federmann, Dan Garrette, Ewan Klein,
-Pierre-François Laquerre, Max Leonov, Peter Ljunglöf, Nitin Madnani, Ceri Stagg
-
-Version 2.0.2 2012-07-05
-
-* improvements to PropBank, NomBank, and SemCor corpus readers
-* interface to full Penn Treebank Corpus V3 (corpus.ptb)
-* made wordnet.lemmas case-insensitive
-* more flexible padding in model.ngram
-* minor bugfixes and documentation enhancements
-* better support for automated testing
-
-Thanks to the following contributors to 2.0.2:
-Daniel Blanchard, Mikhail Korobov, Nitin Madnani, Duncan McGreggor,
-Morten Neergaard, Nathan Schneider, Rico Sennrich.
-
-Version 2.0.1 2012-05-15
-
-* moved NLTK to GitHub: http://github.com/nltk
-* set up integration testing: https://jenkins.shiningpanda.com/nltk/ (Morten Neergaard)
-* converted documentation to Sphinx format: http://nltk.github.com/api/nltk.html
-* dozens of minor enhancements and bugfixes: https://github.com/nltk/nltk/commits/
-* dozens of fixes for conformance with PEP-8
-* dozens of fixes to ensure operation with Python 2.5
-* added interface to Lin's Dependency Thesaurus (Dan Blanchard)
-* added interface to scikit-learn classifiers (Lars Buitinck)
-* added segmentation evaluation measures (David Doukhan)
-
-Thanks to the following contributors to 2.0.1 (since 2.0b9, July 2010):
-Rami Al-Rfou', Yonatan Becker, Steven Bethard, Daniel Blanchard, Lars
-Buitinck, David Coles, Lucas Cooper, David Doukhan, Dan Garrette,
-Masato Hagiwara, Michael Hansen, Michael Heilman, Rebecca Ingram,
-Sudharshan Kaushik, Mikhail Korobov, Peter Ljunglof, Nitin Madnani,
-Rob Malouf, Tomonori Nagano, Morten Neergaard, David Nemeskey,
-Joel Nothman, Jacob Perkins, Alessandro Presta, Alex Rudnick,
-Nathan Schneider, Stefano Lattarini, Peter Stahl, Jason Yoder
-
-Version 2.0.1 (rc1) 2011-04-11
-
-NLTK:
-* added interface to the Stanford POS Tagger
-* updates to sem.Boxer, sem.drt.DRS
-* allow unicode strings in grammars
-* allow non-string features in classifiers
-* modifications to HunposTagger
-* issues with DRS printing
-* fixed bigram collocation finder for window_size > 2
-* doctest paths no longer presume unix-style pathname separators
-* fixed issue with NLTK's tokenize module colliding with the Python tokenize module
-* fixed issue with stemming Unicode strings
-* changed ViterbiParser.nbest_parse to parse
-* ChaSen and KNBC Japanese corpus readers
-* preserve case in concordance display
-* fixed bug in simplification of Brown tags
-* a version of IBM Model 1 as described in Koehn 2010
-* new class AlignedSent for aligned sentence data and evaluation metrics
-* new nltk.util.set_proxy to allow easy configuration of HTTP proxy
-* improvements to downloader user interface to catch URL and HTTP errors
-* added CHILDES corpus reader
-* created special exception hierarchy for Prover9 errors
-* significant changes to the underlying code of the boxer interface
-* path-based wordnet similarity metrics use a fake root node for verbs, following the Perl version
-* added ability to handle multi-sentence discourses in Boxer
-* added the 'english' Snowball stemmer
-* simplifications and corrections of Earley Chart Parser rules
-* several changes to the feature chart parsers for correct unification
-* bugfixes: FreqDist.plot, FreqDist.max, NgramModel.entropy, CategorizedCorpusReader, DecisionTreeClassifier
-* removal of Python >2.4 language features for 2.4 compatibility
-* removal of deprecated functions and associated warnings
-* added semantic domains to wordnet corpus reader
-* changed wordnet similarity functions to include instance hyponyms
-* updated to use latest version of Boxer
-
-Data:
-* JEITA Public Morphologically Tagged Corpus (in ChaSen format)
-* KNB Annotated corpus of Japanese blog posts
-* Fixed some minor bugs in alvey.fcfg, and added number of parse trees in alvey_sentences.txt
-* added more comtrans data
-
-Documentation:
-* minor fixes to documentation
-* NLTK Japanese book (chapter 12) by Masato Hagiwara
-
-NLTK-Contrib:
-* Viethen and Dale referring expression algorithms
-
-
-Version 2.0b9 2010-07-25
-
-NLTK:
-* many code and documentation cleanups
-* Added port of Snowball stemmers
-* Fixed loading of pickled tokenizers (issue 556)
-* DecisionTreeClassifier now handles unknown features (issue 570)
-* Added error messages to LogicParser
-* Replaced max_models with end_size to prevent Mace from hanging
-* Added interface to Boxer
-* Added nltk.corpus.semcor to give access to SemCor 3.0 corpus (issue 530)
-* Added support for integer- and float-valued features in maxent classifiers
-* Permit NgramModels to be pickled
-* Added Sourced Strings (see test/sourcedstring.doctest for details)
-* Fixed bugs in with Good-Turing and Simple Good-Turing Estimation (issue 26)
-* Add support for span tokenization, aka standoff annotation of segmentation (incl Punkt)
-* allow unicode nodes in Tree.productions()
-* Fixed WordNet's morphy to be consistent with the original implementation,
- taking the shortest returned form instead of an arbitrary one (issues 427, 487)
-* Fixed bug in MaxentClassifier
-* Accepted bugfixes for YCOE corpus reader (issue 435)
-* Added test to _cumulative_frequencies() to correctly handle the case when no arguments are supplied
-* Added a TaggerI interface to the HunPos open-source tagger
-* Return 0, not None, when no count is present for a lemma in WordNet
-* fixed pretty-printing of unicode leaves
-* More efficient calculation of the leftcorner relation for left corner parsers
-* Added two functions for graph calculations: transitive closure and inversion.
-* FreqDist.pop() and FreqDist.popitems() now invalidate the caches (issue 511)
-
-Data:
-* Added SemCor 3.0 corpus (Brown Corpus tagged with WordNet synsets)
-* Added LanguageID corpus (trigram counts for 451 languages)
-* Added grammar for a^n b^n c^n
-
-NLTK-Contrib:
-* minor updates
-
-Thanks to the following contributors to 2.0b9:
-
-Steven Bethard, Francis Bond, Dmitry Chichkov, Liang Dong, Dan Garrette,
-Simon Greenhill, Bjorn Maeland, Rob Malouf, Joel Nothman, Jacob Perkins,
-Alberto Planas, Alex Rudnick, Geoffrey Sampson, Kevin Scannell, Richard Sproat
-
-
-Version 2.0b8 2010-02-05
-
-NLTK:
-* fixed copyright and license statements
-* removed PyYAML, and added dependency to installers and download instructions
-* updated to LogicParser, DRT (Dan Garrette)
-* WordNet similarity metrics return None instead of -1 when
- they fail to find a path (Steve Bethard)
-* shortest_path_distance uses instance hypernyms (Jordan Boyd-Graber)
-* clean_html improved (Bjorn Maeland)
-* batch_parse, batch_interpret and batch_evaluate functions allow
- grammar or grammar filename as argument
-* more Portuguese examples (portuguese_en.doctest, examples/pt.py)
-
-NLTK-Contrib:
-* Aligner implementations (Christopher Crowner, Torsten Marek)
-* ScriptTranscriber package (Richard Sproat and Kristy Hollingshead)
-
-Book:
-* updates for second printing, correcting errata
- http://nltk.googlecode.com/svn/trunk/nltk/doc/book/errata.txt
-
-Data:
-* added Europarl sample, with 10 docs for each of 11 langs (Nitin Madnani)
-* added SMULTRON sample corpus (Torsten Marek, Martin Volk)
-
-
-Version 2.0b7 2009-11-09
-
-NLTK:
-* minor bugfixes and enhancements: data loader, inference package, FreqDist, Punkt
-* added Portuguese example module, similar to nltk.book for English (examples/pt.py)
-* added all_lemma_names() method to WordNet corpus reader
-* added update() and __add__() extensions to FreqDist (enhances alignment with Python 3.0 counters)
-* reimplemented clean_html
-* added test-suite runner for automatic/manual regression testing
-
-NLTK-Data:
-* updated Punkt models for sentence segmentation
-* added corpus of the works of Machado de Assis (Brazilian Portuguese)
-
-Book:
-* Added translation of preface into Portuguese, contributed by Tiago Tresoldi.
-
-Version 2.0b6 2009-09-20
-
-NLTK:
-* minor fixes for Python 2.4 compatibility
-* added words() method to XML corpus reader
-* minor bugfixes and code clean-ups
-* fixed downloader to put data in %APPDATA% on Windows
-
-Data:
-* Updated Punkt models
-* Fixed utf8 encoding issues with UDHR and Stopwords Corpora
-* Renamed CoNLL "cat" files to "esp" (different language)
-* Added Alvey NLT feature-based grammar
-* Added Polish PL196x corpus
-
-Version 2.0b5 2009-07-19
-
-NLTK:
-* minor bugfixes (incl FreqDist, Python eggs)
-* added reader for Europarl Corpora (contributed by Nitin Madnani)
-* added reader for IPI PAN Polish Corpus (contributed by Konrad Goluchowski)
-* fixed data.py so that it doesn't generate a warning for Windows Python 2.6
-
-NLTK-Contrib:
-* updated Praat reader (contributed by Margaret Mitchell)
-
-Version 2.0b4 2009-07-10
-
-NLTK:
-* switched to Apache License, Version 2.0
-* minor bugfixes in semantics and inference packages
-* support for Python eggs
-* fixed stale regression tests
-
-Data:
-* added NomBank 1.0
-* uppercased feature names in some grammars
-
-Version 2.0b3 2009-06-25
-
-NLTK:
-* several bugfixes
-* added nombank corpus reader (Paul Bedaride)
-
-Version 2.0b2 2009-06-15
-
-NLTK:
-* minor bugfixes and optimizations for parsers, updated some doctests
-* added bottom-up filtered left corner parsers,
- LeftCornerChartParser and IncrementalLeftCornerChartParser.
-* fixed dispersion plot bug which prevented empty plots
-
-Version 2.0b1 2009-06-09
-
-NLTK:
-* major refactor of chart parser code and improved API (Peter Ljungl喃)
-* added new bottom-up left-corner chart parser strategy
-* misc bugfixes (ChunkScore, chart rules, chatbots, jcn-similarity)
-* improved efficiency of "import nltk" using lazy module imports
-* moved CCG package and ISRI Arabic stemmer from NLTK-Contrib into core NLTK
-* misc code cleanups
-
-Contrib:
-* moved out of the main NLTK distribution into a separate distribution
-
-Book:
-* Ongoing polishing ahead of print publication
-
-Version 0.9.9 2009-05-06
-
-NLTK:
-* Finalized API for NLTK 2.0 and the book, incl dozens of small fixes
-* Names of the form nltk.foo.Bar now available as nltk.Bar
- for significant functionality; in some cases the name was modified
- (using old names will produce a deprecation warning)
-* Bugfixes in downloader, WordNet
-* Expanded functionality in DecisionTree
-* Bigram collocations extended for discontiguous bigrams
-* Translation toy nltk.misc.babelfish
-* New module nltk.help giving access to tagset documentation
-* Fix imports so that NLTK builds without Tkinter (Bjorn Maeland)
-
-Data:
-* new maxent NE chunker model
-* updated grammar packages for the book
-* data for new tagsets collection, documenting several tagsets
-* added lolcat translation to the Genesis collection
-
-Contrib (work in progress):
-* Updates to coreference package (Joseph Frazee)
-* New ISRI Arabic stemmer (Hosam Algasaier)
-* Updates to Toolbox package (Greg Aumann)
-
-Book:
-* Substantial editorial corrections ahead of final submission
-
-Version 0.9.8 2009-02-18
-
-NLTK:
-* New off-the-shelf tokenizer, POS tagger, and named-entity tagger
-* New metrics package with inter-annotator agreement scores,
- distance metrics, rank correlation
-* New collocations package (Joel Nothman)
-* Many clean-ups to WordNet package (Steven Bethard, Jordan Boyd-Graber)
-* Moved old pywordnet-based WordNet package to nltk_contrib
-* WordNet browser (Paul Bone)
-* New interface to dependency treebank corpora
-* Moved MinimalSet class into nltk.misc package
-* Put NLTK applications in new nltk.app package
-* Many other improvements incl semantics package, toolbox, MaltParser
-* Misc changes to many API names in preparation for 1.0, old names deprecated
-* Most classes now available in the top-level namespace
-* Work on Python egg distribution (Brandon Rhodes)
-* Removed deprecated code remaining from 0.8.* versions
-* Fixes for Python 2.4 compatibility
-
-Data:
-* Corrected identifiers in Dependency Treebank corpus
-* Basque and Catalan Dependency Treebanks (CoNLL 2007)
-* PE08 Parser Evalution data
-* New models for POS tagger and named-entity tagger
-
-Book:
-* Substantial editorial corrections
-
-Version 0.9.7 2008-12-19
-
-NLTK:
-* fixed problems with accessing zipped corpora
-* improved design and efficiency of grammars and chart parsers
- including new bottom-up combine strategy and a redesigned
- Earley strategy (Peter Ljunglof)
-* fixed bugs in smoothed probability distributions and added
- regression tests (Peter Ljunglof)
-* improvements to Punkt (Joel Nothman)
-* improvements to text classifiers
-* simple word-overlap RTE classifier
-
-Data:
-* A new package of large grammars (Peter Ljunglof)
-* A small gazetteer corpus and corpus reader
-* Organized example grammars into separate packages
-* Childrens' stories added to gutenberg package
-
-Contrib (work in progress):
-* fixes and demonstration for named-entity feature extractors in nltk_contrib.coref
-
-Book:
-* extensive changes throughout, including new chapter 5 on classification
- and substantially revised chapter 11 on managing linguistic data
-
-Version 0.9.6 2008-12-07
-
-NLTK:
-* new WordNet corpus reader (contributed by Steven Bethard)
-* incorporated dependency parsers into NLTK (was NLTK-Contrib) (contributed by Jason Narad)
-* moved nltk/cfg.py to nltk/grammar.py and incorporated dependency grammars
-* improved efficiency of unification algorithm
-* various enhancements to the semantics package
-* added plot() and tabulate() methods to FreqDist and ConditionalFreqDist
-* FreqDist.keys() and list(FreqDist) provide keys reverse-sorted by value,
- to avoid the confusion caused by FreqDist.sorted()
-* new downloader module to support interactive data download: nltk.download()
- run using "python -m nltk.downloader all"
-* fixed WordNet bug that caused min_depth() to sometimes give incorrect result
-* added nltk.util.Index as a wrapper around defaultdict(list) plus
- a functional-style initializer
-* fixed bug in Earley chart parser that caused it to break
-* added basic TnT tagger nltk.tag.tnt
-* new corpus reader for CoNLL dependency format (contributed by Kepa Sarasola and Iker Manterola)
-* misc other bugfixes
-
-Contrib (work in progress):
-* TIGERSearch implementation by Torsten Marek
-* extensions to hole and glue semantics modules by Dan Garrette
-* new coreference package by Joseph Frazee
-* MapReduce interface by Xinfan Meng
-
-Data:
-* Corpora are stored in compressed format if this will not compromise speed of access
-* Swadesh Corpus of comparative wordlists in 23 languages
-* Split grammar collection into separate packages
-* New Basque and Spanish grammar samples (contributed by Kepa Sarasola and Iker Manterola)
-* Brown Corpus sections now have meaningful names (e.g. 'a' is now 'news')
-* Fixed bug that forced users to manually unzip the WordNet corpus
-* New dependency-parsed version of Treebank corpus sample
-* Added movie script "Monty Python and the Holy Grail" to webtext corpus
-* Replaced words corpus data with a much larger list of English words
-* New URL for list of available NLTK corpora
- http://nltk.googlecode.com/svn/trunk/nltk_data/index.xml
-
-Book:
-* complete rewrite of first three chapters to make the book accessible
- to a wider audience
-* new chapter on data-intensive language processing
-* extensive reworking of most chapters
-* Dropped subsection numbering; moved exercises to end of chapters
-
-Distributions:
-* created Portfile to support Mac installation
-
-
-Version 0.9.5 2008-08-27
-
-NLTK:
-* text module with support for concordancing, text generation, plotting
-* book module
-* Major reworking of the automated theorem proving modules (Dan Garrette)
-* draw.dispersion now uses pylab
-* draw.concordance GUI tool
-* nltk.data supports for reading corpora and other data files from within zipfiles
-* trees can be constructed from strings with Tree(s) (cf Tree.parse(s))
-
-Contrib (work in progress):
-* many updates to student projects
- - nltk_contrib.agreement (Thomas Lippincott)
- - nltk_contrib.coref (Joseph Frazee)
- - nltk_contrib.depparser (Jason Narad)
- - nltk_contrib.fuf (Petro Verkhogliad)
- - nltk_contrib.hadoop (Xinfan Meng)
-* clean-ups: deleted stale files; moved some packages to misc
-
-Data
-* Cleaned up Gutenberg text corpora
-* added Moby Dick; removed redundant copy of Blake songs.
-* more tagger models
-* renamed to nltk_data to facilitate installation
-* stored each corpus as a zip file for quicker installation
- and access, and to solve a problem with the Propbank
- corpus including a file with an illegal name for MSWindows
- (con.xml).
-
-Book:
-* changed filenames to chNN format
-* reworked opening chapters (work in progress)
-
-Distributions:
-* fixed problem with mac installer that arose when Python binary
- couldn't be found
-* removed dependency of NLTK on nltk_data so that NLTK code can be
- installed before the data
-
-Version 0.9.4 2008-08-01
-
-NLTK:
-- Expanded semantics package for first order logic, linear logic,
- glue semantics, DRT, LFG (Dan Garrette)
-- new WordSense class in wordnet.synset supporting access to synsets
- from sense keys and accessing sense counts (Joel Nothman)
-- interface to Mallet's linear chain CRF implementation (nltk.tag.crf)
-- misc bugfixes incl Punkt, synsets, maxent
-- improved support for chunkers incl flexible chunk corpus reader,
- new rule type: ChunkRuleWithContext
-- new GUI for pos-tagged concordancing nltk.draw.pos_concordance
-- new GUI for developing regexp chunkers nltk.draw.rechunkparser
-- added bio_sents() and bio_words() methods to ConllChunkCorpusReader in conll.py
- to allow reading (word, tag, chunk_typ) tuples off of CoNLL-2000 corpus. Also
- modified ConllChunkCorpusView to support these changes.
-- feature structures support values with custom unification methods
-- new flag on tagged corpus readers to use simplified tagsets
-- new package for ngram language modeling with Katz backoff nltk.model
-- added classes for single-parented and multi-parented trees that
- automatically maintain parent pointers (nltk.tree.ParentedTree and
- nltk.tree.MultiParentedTree)
-- new WordNet browser GUI (Jussi Salmela, Paul Bone)
-- improved support for lazy sequences
-- added generate() method to probability distributions
-- more flexible parser for converting bracketed strings to trees
-- made fixes to docstrings to improve API documentation
-
-Contrib (work in progress)
-- new NLG package, FUF/SURGE (Petro Verkhogliad)
-- new dependency parser package (Jason Narad)
-- new Coreference package, incl support for
- ACE-2, MUC-6 and MUC-7 corpora (Joseph Frazee)
-- CCG Parser (Graeme Gange)
-- first order resolution theorem prover (Dan Garrette)
-
-Data:
-- Nnw NPS Chat Corpus and corpus reader (nltk.corpus.nps_chat)
-- ConllCorpusReader can now be used to read CoNLL 2004 and 2005 corpora.
-- Implemented HMM-based Treebank POS tagger and phrase chunker for
- nltk_contrib.coref in api.py. Pickled versions of these objects are checked
- in in data/taggers and data/chunkers.
-
-Book:
-- misc corrections in response to feedback from readers
-
-Version 0.9.3 2008-06-03
-
-NLTK:
-- modified WordNet similarity code to use pre-built information content files
-- new classifier-based tagger, BNC corpus reader
-- improved unicode support for corpus readers
-- improved interfaces to Weka, Prover9/Mace4
-- new support for using MEGAM and SciPy to train maxent classifiers
-- rewrite of Punkt sentence segmenter (Joel Nothman)
-- bugfixes for WordNet information content module (Jordan Boyd-Graber)
-- code clean-ups throughout
-
-Book:
-- miscellaneous fixes in response to feedback from readers
-
-Contrib:
-- implementation of incremental algorithm for generating
- referring expressions (contributed by Margaret Mitchell)
-- refactoring WordNet browser (Paul Bone)
-
-Corpora:
-- included WordNet information content files
-
-Version 0.9.2 2008-03-04
-
-NLTK:
-- new theorem-prover and model-checker module nltk.inference,
- including interface to Prover9/Mace4 (Dan Garrette, Ewan Klein)
-- bugfix in Reuters corpus reader that causes Python
- to complain about too many open files
-- VerbNet and PropBank corpus readers
-
-Data:
-- VerbNet Corpus version 2.1: hierarchical, verb lexicon linked to WordNet
-- PropBank Corpus: predicate-argument structures, as stand-off annotation of Penn Treebank
-
-Contrib:
-- New work on WordNet browser, incorporating a client-server model (Jussi Salmela)
-
-Distributions:
-- Mac OS 10.5 distribution
-
-Version 0.9.1 2008-01-24
-
-NLTK:
-- new interface for text categorization corpora
-- new corpus readers: RTE, Movie Reviews, Question Classification, Brown Corpus
-- bugfix in ConcatenatedCorpusView that caused iteration to fail if it didn't start from the beginning of the corpus
-
-Data:
-- Question classification data, included with permission of Li & Roth
-- Reuters 21578 Corpus, ApteMod version, from CPAN
-- Movie Reviews corpus (sentiment polarity), included with permission of Lillian Lee
-- Corpus for Recognising Textual Entailment (RTE) Challenges 1, 2 and 3
-- Brown Corpus (reverted to original file structure: ca01-cr09)
-- Penn Treebank corpus sample (simplified implementation, new readers treebank_raw and treebank_chunk)
-- Minor redesign of corpus readers, to use filenames instead of "items" to identify parts of a corpus
-
-Contrib:
-- theorem_prover: Prover9, tableau, MaltParser, Mace4, glue semantics, docs (Dan Garrette, Ewan Klein)
-- drt: improved drawing, conversion to FOL (Dan Garrette)
-- gluesemantics: GUI demonstration, abstracted LFG code, documentation (Dan Garrette)
-- readability: various text readability scores (Thomas Jakobsen, Thomas Skardal)
-- toolbox: code to normalize toolbox databases (Greg Aumann)
-
-Book:
-- many improvements in early chapters in response to reader feedback
-- updates for revised corpus readers
-- moved unicode section to chapter 3
-- work on engineering.txt (not included in 0.9.1)
-
-Distributions:
-- Fixed installation for Mac OS 10.5 (Joshua Ritterman)
-- Generalize doctest_driver to work with doc_contrib
-
-Version 0.9 2007-10-12
-
-NLTK:
-- New naming of packages and modules, and more functions imported into
- top-level nltk namespace, e.g. nltk.chunk.Regexp -> nltk.RegexpParser,
- nltk.tokenize.Line -> nltk.LineTokenizer, nltk.stem.Porter -> nltk.PorterStemmer,
- nltk.parse.ShiftReduce -> nltk.ShiftReduceParser
-- processing class names changed from verbs to nouns, e.g.
- StemI -> StemmerI, ParseI -> ParserI, ChunkParseI -> ChunkParserI, ClassifyI -> ClassifierI
-- all tokenizers are now available as subclasses of TokenizeI,
- selected tokenizers are also available as functions, e.g. wordpunct_tokenize()
-- rewritten ngram tagger code, collapsed lookup tagger with unigram tagger
-- improved tagger API, permitting training in the initializer
-- new system for deprecating code so that users are notified of name changes.
-- support for reading feature cfgs to parallel reading cfgs (parse_featcfg())
-- text classifier package, maxent (GIS, IIS), naive Bayes, decision trees, weka support
-- more consistent tree printing
-- wordnet's morphy stemmer now accessible via stemmer package
-- RSLP Portuguese stemmer (originally developed by Viviane Moreira Orengo, reimplemented by Tiago Tresoldi)
-- promoted ieer_rels.py to the sem package
-- improvements to WordNet package (Jussi Salmela)
-- more regression tests, and support for checking coverage of tests
-- miscellaneous bugfixes
-- remove numpy dependency
-
-Data:
-- new corpus reader implementation, refactored syntax corpus readers
-- new data package: corpora, grammars, tokenizers, stemmers, samples
-- CESS-ESP Spanish Treebank and corpus reader
-- CESS-CAT Catalan Treebank and corpus reader
-- Alpino Dutch Treebank and corpus reader
-- MacMorpho POS-tagged Brazilian Portuguese news text and corpus reader
-- trained model for Portuguese sentence segmenter
-- Floresta Portuguese Treebank version 7.4 and corpus reader
-- TIMIT player audio support
-
-Contrib:
-- BioReader (contributed by Carlos Rodriguez)
-- TnT tagger (contributed by Sam Huston)
-- wordnet browser (contributed by Jussi Salmela, requires wxpython)
-- lpath interpreter (contributed by Haejoong Lee)
-- timex -- regular expression-based temporal expression tagger
-
-Book:
-- polishing of early chapters
-- introductions to parts 1, 2, 3
-- improvements in book processing software (xrefs, avm & gloss formatting, javascript clipboard)
-- updates to book organization, chapter contents
-- corrections throughout suggested by readers (acknowledged in preface)
-- more consistent use of US spelling throughout
-- all examples redone to work with single import statement: "import nltk"
-- reordered chapters: 5->7->8->9->11->12->5
- * language engineering in part 1 to broaden the appeal
- of the earlier part of the book and to talk more about
- evaluation and baselines at an earlier stage
- * concentrate the partial and full parsing material in part 2,
- and remove the specialized feature-grammar material into part 3
-
-Distributions:
-- streamlined mac installation (Joshua Ritterman)
-- included mac distribution with ISO image
-
-Version 0.8 2007-07-01
-
-Code:
-- changed nltk.__init__ imports to explicitly import names from top-level modules
-- changed corpus.util to use the 'rb' flag for opening files, to fix problems
- reading corpora under MSWindows
-- updated stale examples in engineering.txt
-- extended feature stucture interface to permit chained features, e.g. fs['F','G']
-- further misc improvements to test code plus some bugfixes
-Tutorials:
-- rewritten opening section of tagging chapter
-- reorganized some exercises
-
-Version 0.8b2 2007-06-26
-
-Code (major):
-- new corpus package, obsoleting old corpora package
- - supports caching, slicing, corpus search path
- - more flexible API
- - global updates so all NLTK modules use new corpus package
-- moved nltk/contrib to separate top-level package nltk_contrib
-- changed wordpunct tokenizer to use \w instead of a-zA-Z0-9
- as this will be more robust for languages other than English,
- with implications for many corpus readers that use it
-- known bug: certain re-entrant structures in featstruct
-- known bug: when the LHS of an edge contains an ApplicationExpression,
- variable values in the RHS bindings aren't copied over when the
- fundamental rule applies
-- known bug: HMM tagger is broken
-Tutorials:
-- global updates to NLTK and docs
-- ongoing polishing
-Corpora:
-- treebank sample reverted to published multi-file structure
-Contrib:
-- DRT and Glue Semantics code (nltk_contrib.drt, nltk_contrib.gluesemantics, by Dan Garrette)
-
-Version 0.8b1 2007-06-18
-
-Code (major):
-- changed package name to nltk
-- import all top-level modules into nltk, reducing need for import statements
-- reorganization of sub-package structures to simplify imports
-- new featstruct module, unifying old featurelite and featurestructure modules
-- FreqDist now inherits from dict, fd.count(sample) becomes fd[sample]
-- FreqDist initializer permits: fd = FreqDist(len(token) for token in text)
-- made numpy optional
-Code (minor):
-- changed GrammarFile initializer to accept filename
-- consistent tree display format
-- fixed loading process for WordNet and TIMIT that prevented code installation if data not installed
-- taken more care with unicode types
-- incorporated pcfg code into cfg module
-- moved cfg, tree, featstruct to top level
-- new filebroker module to make handling of example grammar files more transparent
-- more corpus readers (webtext, abc)
-- added cfg.covers() to check that a grammar covers a sentence
-- simple text-based wordnet browser
-- known bug: parse/featurechart.py uses incorrect apply() function
-Corpora:
-- csv data file to document NLTK corpora
-Contrib:
-- added Glue semantics code (contrib.glue, by Dan Garrette)
-- Punkt sentence segmenter port (contrib.punkt, by Willy)
-- added LPath interpreter (contrib.lpath, by Haejoong Lee)
-- extensive work on classifiers (contrib.classifier*, Sumukh Ghodke)
-Tutorials:
-- polishing on parts I, II
-- more illustrations, data plots, summaries, exercises
-- continuing to make prose more accessible to non-linguistic audience
-- new default import that all chapters presume: from nltk.book import *
-Distributions:
-- updated to latest version of numpy
-- removed WordNet installation instructions as WordNet is now included in corpus distribution
-- added pylab (matplotlib)
-
-Version 0.7.5 2007-05-16
-
-Code:
-- improved WordNet and WordNet-Similarity interface
-- the Lancaster Stemmer (contributed by Steven Tomcavage)
-Corpora:
-- Web text samples
-- BioCreAtIvE-PPI - a corpus for protein-protein interactions
-- Switchboard Telephone Speech Corpus Sample (via Talkbank)
-- CMU Problem Reports Corpus sample
-- CONLL2002 POS+NER data
-- Patient Information Leaflet corpus
-- WordNet 3.0 data files
-- English wordlists: basic English, frequent words
-Tutorials:
-- more improvements to text and images
-
-Version 0.7.4 2007-05-01
-
-Code:
-- Indian POS tagged corpus reader: corpora.indian
-- Sinica Treebank corpus reader: corpora.sinica_treebank
-- new web corpus reader corpora.web
-- tag package now supports pickling
-- added function to utilities.py to guess character encoding
-Corpora:
-- Rotokas texts from Stuart Robinson
-- POS-tagged corpora for several Indian languages (Bangla, Hindi, Marathi, Telugu) from A Kumaran
-Tutorials:
-- Substantial work on Part II of book on structured programming, parsing and grammar
-- More bibliographic citations
-- Improvements in typesetting, cross references
-- Redimensioned images and tables for better use of page space
-- Moved project list to wiki
-Contrib:
-- validation of toolbox entries using chunking
-- improved classifiers
-Distribution:
-- updated for Python 2.5.1, Numpy 1.0.2
-
-Version 0.7.3 2007-04-02
-
-* Code:
- - made chunk.Regexp.parse() more flexible about its input
- - developed new syntax for PCFG grammars, e.g. A -> B C [0.3] | D [0.7]
- - fixed CFG parser to support grammars with slash categories
- - moved beta classify package from main NLTK to contrib
- - Brill taggers loaded correctly
- - misc bugfixes
-* Corpora:
- - Shakespeare XML corpus sample and corpus reader
-* Tutorials:
- - improvements to prose, exercises, plots, images
- - expanded and reorganized tutorial on structured programming
- - formatting improvements for Python listings
- - improved plots (using pylab)
- - categorization of problems by difficulty
-Contrib:
- - more work on kimmo lexicon and grammar
- - more work on classifiers
-
-Version 0.7.2 2007-03-01
-
-* Code:
- - simple feature detectors (detect module)
- - fixed problem when token generators are passed to a parser (parse package)
- - fixed bug in Grammar.productions() (identified by Lucas Champollion and Mitch Marcus)
- - fixed import bug in category.GrammarFile.earley_parser
- - added utilities.OrderedDict
- - initial port of old NLTK classifier package (by Sam Huston)
- - UDHR corpus reader
-* Corpora:
- - added UDHR corpus (Universal Declaration of Human Rights)
- with 10k text samples in 300+ languages
-* Tutorials:
- - improved images
- - improved book formatting, including new support for:
- - javascript to copy program examples to clipboard in HTML version,
- - bibliography, chapter cross-references, colorization, index, table-of-contents
-
-* Contrib:
- - new Kimmo system: contrib.mit.six863.kimmo (Rob Speer)
- - fixes for: contrib.fsa (Rob Speer)
- - demonstration of text classifiers trained on UDHR corpus for
- language identification: contrib.langid (Sam Huston)
- - new Lambek calculus system: contrib.lambek
- - new tree implementation based on elementtree: contrib.tree
-
-Version 0.7.1 2007-01-14
-
-* Code:
- - bugfixes (HMM, WordNet)
-
-Version 0.7 2006-12-22
-
-* Code:
- - bugfixes, including fixed bug in Brown corpus reader
- - cleaned up wordnet 2.1 interface code and similarity measures
- - support for full Penn treebank format contributed by Yoav Goldberg
-* Tutorials:
- - expanded tutorials on advanced parsing and structured programming
- - checked all doctest code
- - improved images for chart parsing
-
-Version 0.7b1 2006-12-06
-
-* Code:
- - expanded semantic interpretation package
- - new high-level chunking interface, with cascaded chunking
- - split chunking code into new chunk package
- - updated wordnet package to support version 2.1 of Wordnet.
- - prototyped basic wordnet similarity measures
- (path distance, Wu + Palmer and Leacock + Chodorow, Resnik similarity measures.)
- - bugfixes (tag.Window, tag.ngram)
- - more doctests
-* Contrib:
- - toolbox language settings module
-* Tutorials:
- - rewrite of chunking chapter, switched from Treebank to CoNLL format as main focus,
- simplified evaluation framework, added ngram chunking section
- - substantial updates throughout (esp programming and semantics chapters)
-* Corpora:
- - Chat-80 Prolog data files provided as corpora, plus corpus reader
-
-Version 0.7a2 2006-11-13
-
-* Code:
- - more doctest
- - code to read Chat-80 data
- - HMM bugfix
-* Tutorials:
- - continued updates and polishing
-* Corpora:
- - toolbox MDF sample data
-
-Version 0.7a1 2006-10-29
-
-* Code:
- - new toolbox module (Greg Aumann)
- - new semantics package (Ewan Klein)
- - bugfixes
-* Tutorials
- - substantial revision, especially in preface, introduction, words,
- and semantics chapters.
-
-Version 0.6.6 2006-10-06
-
-* Code:
- - bugfixes (probability, shoebox, draw)
-* Contrib:
- - new work on shoebox package (Stuart Robinson)
-* Tutorials:
- - continual expansion and revision, especially on introduction to
- programming, advanced programming and the feature-based grammar chapters.
-
-Version 0.6.5 2006-07-09
-
-* Code:
- - improvements to shoebox module (Stuart Robinson, Greg Aumann)
- - incorporated feature-based parsing into core NLTK-Lite
- - corpus reader for Sinica treebank sample
- - new stemmer package
-* Contrib:
- - hole semantics implementation (Peter Wang)
- - Incorporating yaml
- - new work on feature structures, unification, lambda calculus
- - new work on shoebox package (Stuart Robinson, Greg Aumann)
-* Corpora:
- - Sinica treebank sample
-* Tutorials:
- - expanded discussion throughout, incl: left-recursion, trees, grammars,
- feature-based grammar, agreement, unification, PCFGs,
- baseline performance, exercises, improved display of trees
-
-Version 0.6.4 2006-04-20
-
-* Code:
- - corpus readers for Senseval 2 and TIMIT
- - clusterer (ported from old NLTK)
- - support for cascaded chunkers
- - bugfix suggested by Brent Payne
- - new SortedDict class for regression testing
-* Contrib:
- - CombinedTagger tagger and marshalling taggers, contributed by Tiago Tresoldi
-* Corpora:
- - new: Senseval 2, TIMIT sample
-* Tutorials:
- - major revisions to programming, words, tagging, chunking, and parsing tutorials
- - many new exercises
- - formatting improvements, including colorized program examples
- - fixed problem with testing on training data, reported by Jason Baldridge
-
-Version 0.6.3 2006-03-09
-
-* switch to new style classes
-* repair FSA model sufficiently for Kimmo module to work
-* port of MIT Kimmo morphological analyzer; still needs lots of code clean-up and inline docs
-* expanded support for shoebox format, developed with Stuart Robinson
-* fixed bug in indexing CFG productions, for empty right-hand-sides
-* efficiency improvements, suggested by Martin Ranang
-* replaced classeq with isinstance, for efficiency improvement, as suggested by Martin Ranang
-* bugfixes in chunk eval
-* simplified call to draw_trees
-* names, stopwords corpora
-
-Version 0.6.2 2006-01-29
-
-* Peter Spiller's concordancer
-* Will Hardy's implementation of Penton's paradigm visualization system
-* corpus readers for presidential speeches
-* removed NLTK dependency
-* generalized CFG terminals to permit full range of characters
-* used fully qualified names in demo code, for portability
-* bugfixes from Yoav Goldberg, Eduardo Pereira Habkost
-* fixed obscure quoting bug in tree displays and conversions
-* simplified demo code, fixed import bug
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 51a712a..0000000
--- a/Makefile
+++ /dev/null
@@ -1,62 +0,0 @@
-# Natural Language Toolkit: source Makefile
-#
-# Copyright (C) 2001-2014 NLTK Project
-# Author: Steven Bird <stevenbird1 at gmail.com>
-# Edward Loper <edloper at gmail.com>
-# URL: <http://nltk.org/>
-# For license information, see LICENSE.TXT
-
-PYTHON = python
-VERSION = $(shell $(PYTHON) -c 'import nltk; print(nltk.__version__)' | sed '/^Warning: */d')
-NLTK_URL = $(shell $(PYTHON) -c 'import nltk; print(nltk.__url__)' | sed '/^Warning: */d')
-
-.PHONY: all clean clean_code
-
-all: dist
-
-########################################################################
-# TESTING
-########################################################################
-
-DOCTEST_DRIVER = nltk/test/doctest_driver.py
-DOCTEST_FLAGS = --ellipsis --normalize_whitespace
-DOCTEST_FILES = nltk/test/*.doctest
-DOCTEST_CODE_FILES = nltk/*.py nltk/*/*.py
-
-doctest:
- $(PYTHON) $(DOCTEST_DRIVER) $(DOCTEST_FLAGS) $(DOCTEST_FILES)
-
-doctest_code:
- $(PYTHON) $(DOCTEST_DRIVER) $(DOCTEST_FLAGS) $(DOCTEST_CODE_FILES)
-
-demotest:
- find nltk -name "*.py"\
- -and -not -path *misc* \
- -and -not -name brown_ic.py \
- -exec echo ==== '{}' ==== \; -exec python '{}' \;
-
-########################################################################
-# DISTRIBUTIONS
-########################################################################
-
-dist: zipdist gztardist windist
-
-gztardist: clean_code
- $(PYTHON) setup.py -q sdist --format=gztar
-zipdist: clean_code
- $(PYTHON) setup.py -q sdist --format=zip
-windist: clean_code
- $(PYTHON) setup.py -q bdist --format=wininst --plat-name=win32
-
-########################################################################
-# CLEAN
-########################################################################
-
-clean: clean_code
- rm -rf build iso dist api MANIFEST nltk-$(VERSION) nltk.egg-info
-
-clean_code:
- rm -f `find nltk -name '*.pyc'`
- rm -f `find nltk -name '*.pyo'`
- rm -f `find . -name '*~'`
- rm -f MANIFEST # regenerate manifest from MANIFEST.in
diff --git a/PKG-INFO b/PKG-INFO
new file mode 100644
index 0000000..f55bd18
--- /dev/null
+++ b/PKG-INFO
@@ -0,0 +1,33 @@
+Metadata-Version: 1.1
+Name: nltk
+Version: 3.0.0
+Summary: Natural Language Toolkit
+Home-page: http://nltk.org/
+Author: Steven Bird
+Author-email: stevenbird1 at gmail.com
+License: Apache License, Version 2.0
+Description: The Natural Language Toolkit (NLTK) is a Python package for
+ natural language processing. NLTK requires Python 2.6, 2.7, or 3.2+.
+Keywords: NLP,CL,natural language processing,computational linguistics,parsing,tagging,tokenizing,syntax,linguistics,language,natural language,text analytics
+Platform: UNKNOWN
+Classifier: Development Status :: 5 - Production/Stable
+Classifier: Intended Audience :: Developers
+Classifier: Intended Audience :: Education
+Classifier: Intended Audience :: Information Technology
+Classifier: Intended Audience :: Science/Research
+Classifier: License :: OSI Approved :: Apache Software License
+Classifier: Operating System :: OS Independent
+Classifier: Programming Language :: Python :: 2.6
+Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3.2
+Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Topic :: Scientific/Engineering
+Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
+Classifier: Topic :: Scientific/Engineering :: Human Machine Interfaces
+Classifier: Topic :: Scientific/Engineering :: Information Analysis
+Classifier: Topic :: Text Processing
+Classifier: Topic :: Text Processing :: Filters
+Classifier: Topic :: Text Processing :: General
+Classifier: Topic :: Text Processing :: Indexing
+Classifier: Topic :: Text Processing :: Linguistic
diff --git a/README.md b/README.md
deleted file mode 100644
index 6ab9cbb..0000000
--- a/README.md
+++ /dev/null
@@ -1,164 +0,0 @@
-Natural Language Toolkit (NLTK) nltk.org
-====================================
-
-NLTK -- the Natural Language Toolkit -- is a suite of open source
-Python modules, data sets and tutorials supporting research and
-development in Natural Language Processing.
-
-Copyright (C) 2001-2014 NLTK Project
-
-For license information, see LICENSE.txt
-
-For documentation, please visit http://nltk.org/
-
-Redistributing
-----------------------
-NLTK source code is distributed under the Apache 2.0 License.
-NLTK documentation is distributed under the Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States license.
-NLTK corpora are provided under the terms given in the README file for each corpus; all are redistributable, and available for non-commercial use.
-NLTK may be freely redistributed, subject to the provisions of these licenses.
-
-Testing
--------
-
-The CI test suite previously running at [Shining Panda](http://shiningpanda.com)
-is down due to them having taken their Clap de Fin. There have been some
-investigations into moving to other CI, but no official build is running right
-now. This may change in the near future.
-
-nltk/test/runtests.py is a good starting point for running tests locally, but
-note that the suite is currently failing.
-
-Contributing
-------------
-
-[How to contribute to NLTK](http://www.nltk.org/contribute.html).
-
-The following people have contributed to NLTK:
-
-Rami Al-Rfou',
-Mark Amery,
-Greg Aumann,
-Yonatan Becker,
-Paul Bedaride,
-Steven Bethard,
-Robert Berwick,
-Dan Blanchard,
-Nathan Bodenstab,
-Francis Bond,
-Paul Bone,
-Jordan Boyd-Graber,
-Daniel Blanchard,
-Phil Blunsom,
-Lars Buitinck,
-Steve Cassidy,
-Chen-Fu Chiang,
-Dmitry Chichkov,
-Jinyoung Choi,
-Andrew Clausen,
-Lucas Champollion,
-Trevor Cohn,
-David Coles,
-Lucas Cooper,
-Robin Cooper,
-Chris Crowner,
-James Curran,
-Dariel Dato-on,
-Selina Dennis,
-Leon Derczynski,
-Alexis Dimitriadis,
-Nikhil Dinesh,
-Liang Dong,
-David Doukhan,
-Rebecca Dridan,
-Pablo Duboue,
-Christian Federmann,
-Michelle Fullwood,
-Dan Garrette,
-Jean Mark Gawron,
-Sumukh Ghodke,
-Yoav Goldberg,
-Dougal Graham,
-Brent Gray,
-Simon Greenhill,
-Eduardo Pereira Habkost,
-Masato Hagiwara,
-Michael Hansen,
-Yurie Hara,
-Will Hardy,
-Tyler Hartley,
-Peter Hawkins,
-Michael Heilman,
-Bruce Hill,
-Amy Holland,
-Kristy Hollingshead,
-Baden Hughes,
-Rebecca Ingram,
-Edward Ivanovic,
-Thomas Jakobsen,
-Piotr Kasprzyk,
-Angelos Katharopoulos,
-Sudharshan Kaushik,
-Chris Koenig,
-Mikhail Korobov,
-Stefano Lattarini,
-Pierre-François Laquerre,
-Stefano Lattarini,
-Haejoong Lee,
-Max Leonov,
-Tom Lippincott,
-Peter Ljunglöf,
-Nitin Madnani,
-Bjørn Mæland,
-Christopher Maloof,
-Rob Malouf,
-Iker Manterola,
-Carl de Marcken,
-Mitch Marcus,
-Torsten Marek,
-Robert Marshall,
-Duncan McGreggor,
-Xinfan Meng,
-Margaret Mitchell,
-Tomonori Nagano,
-Jason Narad,
-Morten Neergaard,
-David Nemeskey,
-Eric Nichols,
-Joel Nothman,
-Ted Pedersen,
-Jacob Perkins,
-Alberto Planas,
-Alessandro Presta,
-Martin Thorsen Ranang,
-Brandon Rhodes,
-Joshua Ritterman,
-Will Roberts,
-Stuart Robinson,
-Carlos Rodriguez,
-Alex Rudnick,
-Jussi Salmela,
-Geoffrey Sampson,
-Kepa Sarasola,
-Kevin Scannell,
-Nathan Schneider,
-Rico Sennrich,
-Thomas Skardal,
-Eric Smith,
-Rob Speer,
-Peter Spiller,
-Richard Sproat,
-Ceri Stagg,
-Peter Stahl,
-Oliver Steele,
-Jan Strunk,
-Claire Taylor,
-Steven Tomcavage,
-Tiago Tresoldi,
-Petro Verkhogliad,
-Peter Wang,
-Charlotte Wilson,
-Steven Xu,
-Beracah Yankama,
-Patrick Ye,
-Jason Yoder.
diff --git a/RELEASE-HOWTO b/RELEASE-HOWTO
deleted file mode 100644
index 4b55b67..0000000
--- a/RELEASE-HOWTO
+++ /dev/null
@@ -1,69 +0,0 @@
-Building an NLTK distribution
-----------------------------------
-
-@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-@@@ BUILD
-@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-
-A. PREPARATION
-
- 1. Check that installation instructions are up-to-date
- 2. Update the data index (make data_index) and commit
- 3. Update the ChangeLog (for nltk, nltk_data)
- git log --since=20XX-YY-ZZ
- 4. install the new version, since its the installed code that is checked
- 5. cd nltk/test; make (run the tests in nltk.test)
- 6. make demotest (run the demonstration code included in many modules)
-
-B. BUILD
-
- 1. Modify nltk/VERSION with the version number and commit
- 2. Make dist
- ?. (cd ../nltk_contrib; make dist???)
-
-D. RELEASE
-
- 1. Update the news page in nltk/web/news.rst
- 2. git tag -a 3.X.Y -m "version 3.X.Y"
- git push --tags
- 3. Put up the release on github
- https://github.com/nltk/nltk/releases
- 4. sudo python setup.py register
- 5. Log in to http://pypi.python.org/pypi and upload distributions
- 6. post announcement to NLTK the mailing lists:
- nltk-dev (for beta releases)
- nltk (for final releases)
- 7. post announcement to external mailing lists, for major N.N releases only
- CORPORA at uib.no, linguist at linguistlist.org,
- PythonSIL at lists.sil.org, edu-sig at python.org
- mailing lists for any local courses using NLTK
-
-
-
-
-@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-@@@ BOOK BUILD
-@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-
-The build requires docutils, pdflatex, python imaging library, epydoc,
- cdrtools, ImageMagick
-
- 1. Check out a clean copy of the subversion repository (or make clean)
- and install locally with sudo python setup.py install; make clean
- 2. make doc (slow; see doc/ for the results) and commit
-
-@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-@@@ INSTALL
-@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-
-D. INSTALLATION
-
- 1. download and install new version on all machines
- 2. contact relevant sysads to install new version
- 3. copy dist directory to memory stick
-
-E. NEW VERSION NUMBER (optional)
-
- 1. update the version numbers in the repository so that builds
- off the repository don't have the same version as the release,
- e.g. after release 0.9.6, update repository version to 0.9.7a (alpha)
diff --git a/emacs/doctest-mode.el b/emacs/doctest-mode.el
deleted file mode 100644
index 65ee728..0000000
--- a/emacs/doctest-mode.el
+++ /dev/null
@@ -1,1078 +0,0 @@
-;;; doctest-mode.el --- Major mode for editing Python doctest files
-
-;; Copyright (C) 2004 Edward Loper
-
-;; Author: Edward Loper
-;; Maintainer: edloper at alum.mit.edu
-;; Created: Aug 2004
-;; Keywords: python doctest unittest test docstring
-
-(defconst doctest-version "0.3"
- "`doctest-mode' version number.")
-
-;; This software is provided as-is, without express or implied
-;; warranty. Permission to use, copy, modify, distribute or sell this
-;; software, without fee, for any purpose and by any individual or
-;; organization, is hereby granted, provided that the above copyright
-;; notice and this paragraph appear in all copies.
-
-;; This is a major mode for editing text files that contain Python
-;; doctest examples. Doctest is a testing framework for Python that
-;; emulates an interactive session, and checks the result of each
-;; command. For more information, see the Python library reference:
-;; <http://docs.python.org/lib/module-doctest.html>
-
-;; Known bugs:
-;; - Some places assume prompts are 4 chars (but they can be 3
-;; if they're bare).
-;; - String literals are not colored correctly. (We need to color
-;; string literals on source lines, but *not* output lines or
-;; text lines; this is hard to do.)
-;; - Output lines starting with "..." are mistakenly interpreted
-;; as (continuation) source lines.
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Customizable Constants
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
-(defgroup doctest nil
- "Support for the Python doctest framework"
- :group 'languages
- :prefix "doctest-")
-
-(defcustom doctest-default-margin 4
- "The default pre-prompt margin for doctest examples."
- :type 'integer
- :group 'doctest)
-
-(defcustom doctest-avoid-trailing-whitespace t
- "If true, then delete trailing whitespace when inserting a newline."
- :type 'boolean
- :group 'doctest)
-
-(defcustom doctest-temp-directory
- (let ((ok '(lambda (x)
- (and x
- (setq x (expand-file-name x)) ; always true
- (file-directory-p x)
- (file-writable-p x)
- x))))
- (or (funcall ok (getenv "TMPDIR"))
- (funcall ok "/usr/tmp")
- (funcall ok "/tmp")
- (funcall ok "/var/tmp")
- (funcall ok ".")
- (error (concat "Couldn't find a usable temp directory -- "
- "set `doctest-temp-directory'"))))
-
- "*Directory used for temporary files created when running doctest.
-By default, the first directory from this list that exists and that you
-can write into: the value (if any) of the environment variable TMPDIR,
-/usr/tmp, /tmp, /var/tmp, or the current directory."
- :type 'string
- :group 'doctest)
-
-(defcustom hide-example-source t
- "If true, then don't display the example source code for each
-failure in the results buffer."
- :type 'boolean
- :group 'doctest)
-
-(defcustom doctest-python-command "python"
- "Shell command used to start the python interpreter"
- :type 'string
- :group 'doctest)
-
-(defcustom doctest-results-buffer-name "*doctest-output*"
- "The name of the buffer used to store the output of the doctest
-command."
- :type 'string
- :group 'doctest)
-
-(defcustom doctest-optionflags '()
- "Option flags for doctest"
- :group 'doctest
- :type '(repeat (choice (const :tag "Select an option..." "")
- (const :tag "Normalize whitespace"
- "NORMALIZE_WHITESPACE")
- (const :tag "Ellipsis"
- "ELLIPSIS")
- (const :tag "Don't accept True for 1"
- DONT_ACCEPT_TRUE_FOR_1)
- (const :tag "Don't accept <BLANKLINE>"
- DONT_ACCEPT_BLANKLINE)
- (const :tag "Ignore Exception detail"
- IGNORE_EXCEPTION_DETAIL)
- (const :tag "Report only first failure"
- REPORT_ONLY_FIRST_FAILURE)
- )))
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Fonts
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
-(defface doctest-prompt-face
- '((((class color) (background dark))
- (:foreground "#68f"))
- (t (:foreground "#226")))
- "Face for Python prompts in doctest examples."
- :group 'doctest)
-
-(defface doctest-output-face
- '((((class color) (background dark))
- (:foreground "#afd"))
- (t (:foreground "#262")))
- "Face for the output of doctest examples."
- :group 'doctest)
-
-(defface doctest-output-marker-face
- '((((class color) (background dark))
- (:foreground "#0f0"))
- (t (:foreground "#080")))
- "Face for markers in the output of doctest examples."
- :group 'doctest)
-
-(defface doctest-output-traceback-face
- '((((class color) (background dark))
- (:foreground "#f88"))
- (t (:foreground "#622")))
- "Face for traceback headers in the output of doctest examples."
- :group 'doctest)
-
-(defface doctest-results-divider-face
- '((((class color) (background dark))
- (:foreground "#08f"))
- (t (:foreground "#00f")))
- "Face for dividers in the doctest results window."
- :group 'doctest)
-
-(defface doctest-results-loc-face
- '((((class color) (background dark))
- (:foreground "#0f8"))
- (t (:foreground "#084")))
- "Face for location headers in the doctest results window."
- :group 'doctest)
-
-(defface doctest-results-header-face
- '((((class color) (background dark))
- (:foreground "#8ff"))
- (t (:foreground "#088")))
- "Face for sub-headers in the doctest results window."
- :group 'doctest)
-
-(defface doctest-results-selection-face
- '((((class color) (background dark))
- (:foreground "#ff0" :background "#008"))
- (t (:background "#088" :foreground "#fff")))
- "Face for selected failure's location header in the results window."
- :group 'doctest)
-
-(defface doctest-selection-face
- '((((class color) (background dark))
- (:foreground "#ff0" :background "#00f" :bold t))
- (t (:foreground "#f00")))
- "Face for selected example's prompt"
- :group 'doctest)
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Constants
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
-(defconst doctest-prompt-re
- "^\\([ \t]*\\)\\(>>> ?\\|[.][.][.] ?\\)\\([ \t]*\\)"
- "Regular expression for doctest prompts. It defines three groups:
-the pre-prompt margin; the prompt; and the post-prompt indentation.")
-
-(defconst doctest-open-block-re
- "[^\n]+:[ \t]*\\(#.*\\)?$"
- "Regular expression for a line that opens a block")
-
-(defconst doctest-close-block-re
- "\\(return\\|raise\\|break\\|continue\\|pass\\)\\b"
- "Regular expression for a line that closes a block")
-
-(defconst doctest-outdent-re
- (concat "\\(" (mapconcat 'identity
- '("else:"
- "except\\(\\s +.*\\)?:"
- "finally:"
- "elif\\s +.*:")
- "\\|")
- "\\)")
- "Regular expression for a line that should be outdented. Any line
-that matches `doctest-outdent-re', but does not follow a line matching
-`doctest-no-outdent-re', will be outdented.")
-
-(defconst doctest-no-outdent-re
- (concat
- "\\("
- (mapconcat 'identity
- (list "try:"
- "except\\(\\s +.*\\)?:"
- "while\\s +.*:"
- "for\\s +.*:"
- "if\\s +.*:"
- "elif\\s +.*:"
- "\\(return\\|raise\\|break\\|continue\\|pass\\)[ \t\n]"
- )
- "\\|")
- "\\)")
- "Regular expression matching lines not to outdent after. Any line
-that matches `doctest-outdent-re', but does not follow a line matching
-`doctest-no-outdent-re', will be outdented.")
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Colorization support (font-lock mode)
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
-;; Define the font-lock keyword table.
-(defconst doctest-font-lock-keywords
- (let ((prompt "^[ \t]*\\(>>>\\|\\.\\.\\.\\)")
- (kw1 (mapconcat 'identity
- '("and" "assert" "break" "class"
- "continue" "def" "del" "elif"
- "else" "except" "exec" "for"
- "from" "global" "if" "import"
- "in" "is" "lambda" "not"
- "or" "pass" "print" "raise"
- "return" "while" "yield"
- )
- "\\|"))
- (kw2 (mapconcat 'identity
- '("else:" "except:" "finally:" "try:")
- "\\|"))
- (kw3 (mapconcat 'identity
- '("ArithmeticError" "AssertionError"
- "AttributeError" "DeprecationWarning" "EOFError"
- "Ellipsis" "EnvironmentError" "Exception" "False"
- "FloatingPointError" "FutureWarning" "IOError"
- "ImportError" "IndentationError" "IndexError"
- "KeyError" "KeyboardInterrupt" "LookupError"
- "MemoryError" "NameError" "None" "NotImplemented"
- "NotImplementedError" "OSError" "OverflowError"
- "OverflowWarning" "PendingDeprecationWarning"
- "ReferenceError" "RuntimeError" "RuntimeWarning"
- "StandardError" "StopIteration" "SyntaxError"
- "SyntaxWarning" "SystemError" "SystemExit"
- "TabError" "True" "TypeError" "UnboundLocalError"
- "UnicodeDecodeError" "UnicodeEncodeError"
- "UnicodeError" "UnicodeTranslateError"
- "UserWarning" "ValueError" "Warning"
- "ZeroDivisionError" "__debug__"
- "__import__" "__name__" "abs" "apply" "basestring"
- "bool" "buffer" "callable" "chr" "classmethod"
- "cmp" "coerce" "compile" "complex" "copyright"
- "delattr" "dict" "dir" "divmod"
- "enumerate" "eval" "execfile" "exit" "file"
- "filter" "float" "getattr" "globals" "hasattr"
- "hash" "hex" "id" "input" "int" "intern"
- "isinstance" "issubclass" "iter" "len" "license"
- "list" "locals" "long" "map" "max" "min" "object"
- "oct" "open" "ord" "pow" "property" "range"
- "raw_input" "reduce" "reload" "repr" "round"
- "setattr" "slice" "staticmethod" "str" "sum"
- "super" "tuple" "type" "unichr" "unicode" "vars"
- "xrange" "zip")
- "\\|"))
- (pseudokw (mapconcat 'identity
- '("self" "None" "True" "False" "Ellipsis")
- "\\|"))
- (brk "\\([ \t(]\\|$\\)")
- )
- `(
- ;; The following pattern colorizes source lines. In particular,
- ;; it first matches prompts, and then looks for any of the
- ;; following matches *on the same line* as the prompt. It uses
- ;; the form:
- ;;
- ;; (MATCHER MATCH-HIGHLIGHT
- ;; (ANCHOR-MATCHER nil nil MATCH-HIGHLIGHT)
- ;; ...
- ;; (ANCHOR-MATCHER nil nil MATCH-HIGHLIGHT))
- ;;
- ;; See the variable documentation for font-lock-keywords for a
- ;; description of what each of those means.
- (,prompt (1 'doctest-prompt-face)
- ;; classes
- ("\\b\\(class\\)[ \t]+\\([a-zA-Z_]+[a-zA-Z0-9_]*\\)"
- nil nil (1 'font-lock-keyword-face)
- (2 'font-lock-type-face))
- ;; functions
- ("\\b\\(def\\)[ \t]+\\([a-zA-Z_]+[a-zA-Z0-9_]*\\)"
- nil nil (1 'font-lock-keyword-face) (2 'font-lock-type-face))
- ;; keywords
- (,(concat "\\b\\(" kw1 "\\)" brk)
- nil nil (1 'font-lock-keyword-face))
- ;; builtins when they don't appear as object attributes
- (,(concat "\\(\\b\\|[.]\\)\\(" kw3 "\\)" brk)
- nil nil (2 'font-lock-keyword-face))
- ;; block introducing keywords with immediately
- ;; following colons. Yes "except" is in both lists.
- (,(concat "\\b\\(" kw2 "\\)" brk)
- nil nil (1 'font-lock-keyword-face))
- ;; `as' but only in "import foo as bar"
- ("[ \t]*\\(\\bfrom\\b.*\\)?\\bimport\\b.*\\b\\(as\\)\\b"
- nil nil (2 'font-lock-keyword-face))
- ;; pseudo-keywords
- (,(concat "\\b\\(" pseudokw "\\)" brk)
- nil nil (1 'font-lock-keyword-face))
- ;; comments
- ("\\(#.*\\)"
- nil nil (1 'font-lock-comment-face)))
-
- ;; The following pattern colorizes output lines. In particular,
- ;; it uses doctest-output-line-matcher to check if this is an
- ;; output line, and if so, it colorizes it, and any special
- ;; markers it contains.
- (doctest-output-line-matcher
- (0 'doctest-output-face t)
- ("\\.\\.\\." (beginning-of-line) (end-of-line)
- (0 'doctest-output-marker-face t))
- ("<BLANKLINE>" (beginning-of-line) (end-of-line)
- (0 'doctest-output-marker-face t))
- ("^Traceback (most recent call last):" (beginning-of-line) (end-of-line)
- (0 'doctest-output-traceback-face t))
- ("^Traceback (innermost last):" (beginning-of-line) (end-of-line)
- (0 'doctest-output-traceback-face t))
- )
-
- ;; A PS1 prompt followed by a non-space is an error.
- ("^[ \t]*\\(>>>[^ \t\n][^\n]*\\)" (1 'font-lock-warning-face t))
-
- ;; Selected example (to highlight selected failure)
- (doctest-selection-matcher (0 'doctest-selection-face t))
- ))
- "Expressions to highlight in Doctest mode.")
-
-(defun doctest-output-line-matcher (limit)
- "A `font-lock-keyword' MATCHER that returns t if the current
-line is the expected output for a doctest example, and if so,
-sets `match-data' so that group 0 spans the current line."
- ;; The real work is done by find-doctest-output-line.
- (when (find-doctest-output-line limit)
- ;; If we found one, then mark the entire line.
- (beginning-of-line)
- (search-forward-regexp "[^\n]*" limit)))
-
-;; [XX] Under construction.
-(defun doctest-selection-matcher (limit)
- (let (found-it)
- (while (and (not found-it)
- (search-forward-regexp "^[ \t]*\\(>>>\\|[.][.][.]\\)"
- limit t))
- (if (get-text-property (point) 'doctest-selected)
- (setq found-it t)))
- found-it))
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Source line indentation
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
-(defun doctest-indent-source-line (&optional dedent-only)
- "Re-indent the current line, as doctest source code. I.e., add a
-prompt to the current line if it doesn't have one, and re-indent the
-source code (to the right of the prompt). If `dedent-only' is true,
-then don't increase the indentation level any."
- (interactive "*")
- (let ((indent-end nil))
- (save-excursion
- (beginning-of-line)
- (let ((new-indent (doctest-current-source-line-indentation dedent-only))
- (new-margin (doctest-current-source-line-margin))
- (line-had-prompt (looking-at doctest-prompt-re)))
- ;; Delete the old prompt (if any).
- (when line-had-prompt
- (goto-char (match-end 1))
- (delete-char 4))
- ;; Delete the old indentation.
- (delete-backward-char (skip-chars-forward " \t"))
- ;; If it's a continuation line, or a new PS1 prompt,
- ;; then copy the margin.
- (when (or new-indent (not line-had-prompt))
- (beginning-of-line)
- (delete-backward-char (skip-chars-forward " \t"))
- (insert-char ?\ new-margin))
- ;; Add the new prompt.
- (insert-string (if new-indent "... " ">>> "))
- ;; Add the new indentation
- (if new-indent (insert-char ?\ new-indent))
- (setq indent-end (point))))
- ;; If we're left of the indentation end, then move up to the
- ;; indentation end.
- (if (< (point) indent-end) (goto-char indent-end))))
-
-(defun doctest-current-source-line-indentation (&optional dedent-only)
- "Return the post-prompt indent to use for this line. This is an
-integer for a continuation lines, and nil for non-continuation lines."
- (save-excursion
- (let ((prev-line-indent 0)
- (curr-line-indent 0)
- (prev-line-opens-block nil)
- (prev-line-closes-block nil)
- (curr-line-outdented nil))
- ;; Examine this doctest line.
- (beginning-of-line)
- (when (looking-at doctest-prompt-re)
- (setq curr-line-indent (- (match-end 3) (match-beginning 3)))
- (goto-char (match-end 3)))
- (setq curr-line-outdented (looking-at doctest-outdent-re))
- ;; Examine the previous line.
- (when (= (forward-line -1) 0) ; move up a line
- (when (looking-at doctest-prompt-re) ; is it a source line?
- (let ((indent-beg (column-at-char (match-beginning 3)))
- (indent-end (column-at-char (match-end 3))))
- (setq prev-line-indent (- indent-end indent-beg))
- (goto-char (match-end 3))
- (if (looking-at doctest-open-block-re)
- (setq prev-line-opens-block t))
- (if (looking-at doctest-close-block-re)
- (setq prev-line-closes-block t))
- (if (looking-at doctest-no-outdent-re)
- (setq curr-line-outdented nil))
- )))
- (let ((indent (+ prev-line-indent
- (if curr-line-outdented -4 0)
- (if prev-line-opens-block 4 0)
- (if prev-line-closes-block -4 0))))
- ;; If dedent-only is true, then make sure we don't indent.
- (when dedent-only
- (setq indent (min indent curr-line-indent)))
- ;; If indent=0 and we're not outdented, then set indent to
- ;; nil (to signify the start of a new source example).
- (when (and (= indent 0) (not curr-line-outdented))
- (setq indent nil))
- ;; Return the indentation.
- indent))))
-
-(defun doctest-current-source-line-margin ()
- "Return the pre-prompt margin to use for this source line. This is
-copied from the most recent source line, or set to
-`doctest-default-margin' if there are no preceeding source lines."
- (save-excursion
- (beginning-of-line)
- (if (search-backward-regexp doctest-prompt-re nil t)
- (let ((margin-beg (column-at-char (match-beginning 1)))
- (margin-end (column-at-char (match-end 1))))
- (- margin-end margin-beg))
- doctest-default-margin)))
-
-(defun doctest-electric-backspace ()
- "Delete the preceeding character, level of indentation, or
-prompt.
-
-If point is at the leftmost column, delete the preceding newline.
-
-Otherwise, if point is at the first non-whitespace character
-following an indented source line's prompt, then reduce the
-indentation to the next multiple of 4; and update the source line's
-prompt, when necessary.
-
-Otherwise, if point is at the first non-whitespace character
-following an unindented source line's prompt, then remove the
-prompt (converting the line to an output line or text line).
-
-Otherwise, if point is at the first non-whitespace character of a
-line, the delete the line's indentation.
-
-Otherwise, delete the preceeding character.
-"
- (interactive "*")
- (cond
- ;; Beginning of line: delete preceeding newline.
- ((bolp) (backward-delete-char 1))
-
- ;; First non-ws char following prompt: dedent or remove prompt.
- ((and (looking-at "[^ \t\n]\\|$") (doctest-looking-back doctest-prompt-re))
- (let* ((prompt-beg (match-beginning 2))
- (indent-beg (match-beginning 3)) (indent-end (match-end 3))
- (old-indent (- indent-end indent-beg))
- (new-indent (* (/ (- old-indent 1) 4) 4)))
- (cond
- ;; Indented source line: dedent it.
- ((> old-indent 0)
- (goto-char indent-beg)
- (delete-region indent-beg indent-end)
- (insert-char ?\ new-indent)
- ;; Change prompt to PS1, when appropriate.
- (when (and (= new-indent 0) (not (looking-at doctest-outdent-re)))
- (delete-backward-char 4)
- (insert-string ">>> ")))
- ;; Non-indented source line: remove prompt.
- (t
- (goto-char indent-end)
- (delete-region prompt-beg indent-end)))))
-
- ;; First non-ws char of a line: delete all indentation.
- ((and (looking-at "[^ \n\t]\\|$") (doctest-looking-back "^[ \t]+"))
- (delete-region (match-beginning 0) (match-end 0)))
-
- ;; Otherwise: delete a character.
- (t
- (backward-delete-char 1))))
-
-(defun doctest-newline-and-indent ()
- "Insert a newline, and indent the new line appropriately.
-
-If the current line is a source line containing a bare prompt,
-then clear the current line, and insert a newline.
-
-Otherwise, if the current line is a source line, then insert a
-newline, and add an appropriately indented prompt to the new
-line.
-
-Otherwise, if the current line is an output line, then insert a
-newline and indent the new line to match the example's margin.
-
-Otherwise, insert a newline.
-
-If `doctest-avoid-trailing-whitespace' is true, then clear any
-whitespace to the left of the point before inserting a newline.
-"
- (interactive "*")
- ;; If we're avoiding trailing spaces, then delete WS before point.
- (if doctest-avoid-trailing-whitespace
- (delete-char (- (skip-chars-backward " \t"))))
- (cond
- ;; If we're on an empty prompt, delete it.
- ((on-empty-doctest-source-line)
- (delete-region (match-beginning 0) (match-end 0))
- (insert-char ?\n 1))
- ;; If we're on a doctest line, add a new prompt.
- ((on-doctest-source-line)
- (insert-char ?\n 1)
- (doctest-indent-source-line))
- ;; If we're in doctest output, indent to the margin.
- ((on-doctest-output-line)
- (insert-char ?\n 1)
- (insert-char ?\ (doctest-current-source-line-margin)))
- ;; Otherwise, just add a newline.
- (t (insert-char ?\n 1))))
-
-(defun doctest-electric-colon ()
- "Insert a colon, and dedent the line when appropriate."
- (interactive "*")
- (insert-char ?: 1)
- (when (on-doctest-source-line)
- (doctest-indent-source-line t)))
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Code Execution
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
-(defun doctest-execute-buffer (&optional diff)
- "Run doctest on the current buffer, and display the results in the
-*doctest-output* buffer."
- (interactive "*")
- (setq doctest-results-buffer (get-buffer-create doctest-results-buffer-name))
- (let* ((temp (concat (doctest-temp-name) ".py"))
- (tempfile (expand-file-name temp doctest-temp-directory))
- (cur-buf (current-buffer))
- (in-buf (get-buffer-create "*doctest-input*"))
- (beg (point-min)) (end (point-max))
- (flags (reduce (lambda (a b) (if (equal b "") a (concat a "|" b)))
- doctest-optionflags))
- (script (concat "from doctest import *\n"
- "doc = open('" tempfile "').read()\n"
- "test = DocTestParser().get_doctest("
- "doc, {}, '" (buffer-name) "', '"
- (buffer-file-name) "', 0)\n"
- "r = DocTestRunner(optionflags=" flags
- (if diff "+REPORT_UDIFF" "")
- ")\n"
- "r.run(test)\n"
- "print\n" ;; <- so the buffer won't be empty
- ))
- (cmd (concat doctest-python-command " -c \"" script "\"")))
- ;; Write buffer to a file.
- (save-excursion
- (set-buffer in-buf)
- (insert-buffer-substring cur-buf beg end)
- (write-file tempfile))
- ;; Run doctest
- (shell-command cmd doctest-results-buffer)
- ;; Delete the temp file
- (delete-file tempfile)
- ;; Delete the input buffer.
- (if (buffer-live-p in-buf)
- (kill-buffer in-buf))
- ;; Set mode on output buffer.
- (save-excursion
- (set-buffer doctest-results-buffer)
- (doctest-results-mode))
- ;; If any tests failed, display them.
- (cond ((> (buffer-size doctest-results-buffer) 1)
- (display-buffer doctest-results-buffer)
- (doctest-postprocess-results)
- (message "Test failed!"))
- (t
- (display-buffer doctest-results-buffer)
- (if (get-buffer-window doctest-results-buffer)
- (delete-window (get-buffer-window doctest-results-buffer)))
- (message "Test passed!")
- ))))
-
-(defun doctest-execute-buffer-with-diff ()
- "Run doctest on the current buffer, and display the results in the
-*doctest-output* buffer, using the diff format."
- (interactive "*")
- (doctest-execute-buffer t))
-
-(defun doctest-postprocess-results ()
- (doctest-next-failure 1)
- (if hide-example-source
- (hide-example-source)))
-
-(defun doctest-next-failure (count)
- "Move to the top of the next failing example, and highlight the
-example's failure description in *doctest-output*."
- (interactive "p")
- (let (lineno)
- (cond
- ((not (buffer-live-p doctest-results-buffer))
- (message "Run doctest first! (C-c C-c)"))
- (t
- (let ((orig-window (selected-window))
- (results-window (display-buffer doctest-results-buffer)))
- (save-excursion
- (set-buffer doctest-results-buffer)
- ;; Switch to the results window (so its point gets updated)
- (if results-window (select-window results-window))
- ;; Pick up where we left off.
- ;; (nb: doctest-selected-failure is buffer-local)
- (goto-char (or doctest-selected-failure (point-min)))
- ;; Skip past anything on *this* line.
- (if (>= count 0) (end-of-line) (beginning-of-line))
- ;; Look for the next failure
- (if (>= count 0)
- (re-search-forward doctest-results-loc-re nil t count)
- (re-search-backward doctest-results-loc-re nil t (- count)))
- (cond
- ;; We found a failure:
- ((match-string 2)
- (let ((old-selected-failure doctest-selected-failure))
- ;; Extract the line number for the doctest file.
- (setq lineno (string-to-int (match-string 2)))
- ;; Store our position for next time.
- (beginning-of-line)
- (setq doctest-selected-failure (point))
- ;; Update selection.
- (doctest-fontify-line old-selected-failure)
- (doctest-fontify-line doctest-selected-failure)))
- ;; We didn't find a failure:
- (t
- (message "No failures found!"))))
- ;; Return to the original window
- (select-window orig-window))))
-
- (when lineno
- ;; Move point to the selected failure.
- (goto-line lineno)
-; ;; Highlight it. [XX] Under construction.
-; (let ((beg (save-excursion (beginning-of-line) (point)))
-; (end (save-excursion (end-of-line) (point))))
-; (add-text-properties (point-min) (point-max) '(doctest-selected nil))
-; (add-text-properties beg end '(doctest-selected t))
-; (doctest-fontify-line (point)))
- )))
-
-(defun doctest-prev-failure (count)
- "Move to the top of the previous failing example, and highlight
-the example's failure description in *doctest-output*."
- (interactive "p")
- (doctest-next-failure (- count)))
-
-(defun doctest-first-failure ()
- (interactive "")
- (if (buffer-live-p doctest-results-buffer)
- (save-excursion
- (set-buffer doctest-results-buffer)
- (let ((old-selected-failure doctest-selected-failure))
- (setq doctest-selected-failure (point-min))
- (doctest-fontify-line old-selected-failure))))
- (doctest-next-failure 1))
-
-(defun doctest-last-failure ()
- (interactive "")
- (if (buffer-live-p doctest-results-buffer)
- (save-excursion
- (set-buffer doctest-results-buffer)
- (let ((old-selected-failure doctest-selected-failure))
- (setq doctest-selected-failure (point-max))
- (doctest-fontify-line old-selected-failure))))
- (doctest-next-failure -1))
-
-(defconst doctest-example-source-re
- "^Failed example:\n\\(\n\\| [^\n]*\n\\)+")
-(defun hide-example-source ()
- "Delete the source code listings from the results buffer (since it's
-easy enough to see them in the original buffer)"
- (save-excursion
- (set-buffer doctest-results-buffer)
- (toggle-read-only nil)
- (beginning-of-buffer)
- (while (re-search-forward doctest-example-source-re nil t)
- (replace-match "" nil nil))
- (toggle-read-only t)))
-
-
-;; Unfortunately, the `replace-regexp-in-string' is not provided by all
-;; versions of Emacs. But this will do the job:
-(defun doctest-replace-regexp-in-string (regexp replacement text)
- "Return the result of replacing all mtaches of REGEXP with
-REPLACEMENT in TEXT. (Since replace-regexp-in-string is not available
-under all versions of emacs, and is called different names in
-different versions, this compatibility function will emulate it if
-it's not available."
- (let ((start 0) (repl-len (length replacement)))
- (while (string-match regexp text start)
- (setq start (+ (match-beginning 0) repl-len 1))
- (setq text (replace-match replacement t nil text)))
- text))
-
-(defun doctest-results-next-header ()
- (if (re-search-forward (concat doctest-results-header-re "\\|"
- doctest-results-divider-re) nil t)
- (let ((result (match-string 0)))
- (if (string-match doctest-results-header-re result)
- result
- nil))
- nil))
-
-(defun doctest-replace-output ()
- "Move to the top of the closest example, and replace its output
-with the 'got' output from the *doctest-output* buffer. An error is
-displayed if the chosen example is not listed in *doctest-output*, or
-if the 'expected' output for the example does not exactly match the
-output listed in the source buffer. The user is asked to confirm the
-replacement."
- (interactive)
- ;; Move to the beginning of the example.
- (cond
- ((not (buffer-live-p doctest-results-buffer))
- (message "Run doctest first! (C-c C-c)"))
- (t
- (save-excursion
- (let ((orig-buffer (current-buffer)))
- ;; Find the doctest case closest to the cursor.
- (end-of-line)
- (re-search-backward "^\\( *\\)>>> " nil t)
- ;; Find the corresponding doctest in the output buffer.
- (let ((prompt-indent (match-string 1))
- (output-re (format "^File .*, line %d," (line-number)))
- (doctest-got nil) (doctest-expected nil) (header nil))
- (set-buffer doctest-results-buffer)
-
- ;; Find the corresponding example in the output.
- (goto-char (point-min))
- (if (not (re-search-forward output-re nil t))
- (error "Could not find corresponding output"))
-
- ;; Get the output's 'expected' & 'got' texts.
- (while (setq header (doctest-results-next-header))
- (cond
- ((equal header "Failed example:")
- t)
- ((equal header "Expected nothing")
- (setq doctest-expected ""))
- ((equal header "Expected:")
- (re-search-forward "^\\(\\( \\).*\n\\)*")
- (setq doctest-expected (doctest-replace-regexp-in-string
- "^ " prompt-indent (match-string 0))))
- ((equal header "Got nothing")
- (setq doctest-got ""))
- ((or (equal header "Got:") (equal header "Exception raised:"))
- (re-search-forward "^\\(\\( \\).*\n\\)*")
- (setq doctest-got (doctest-replace-regexp-in-string
- "^ " prompt-indent (match-string 0))))
- (t (error "Unexpected header %s" header))))
-
- ;; Go back to the source buffer.
- (set-buffer orig-buffer)
-
- ;; Skip ahead to the output.
- (re-search-forward "^ *>>>.*\n\\( *\\.\\.\\..*\n\\)*")
-
- ;; Check that the output matches.
- (let ((start (point)) end)
- (re-search-forward "^ *\\(>>>.*\\|$\\)")
- (setq end (match-beginning 0))
- (if doctest-expected
- (if (not (equal (buffer-substring start end) doctest-expected))
- (error "Output does mot match 'expected'")))
- (setq doctest-expected (buffer-substring start end))
- (goto-char end))
-
- (let ((confirm-buffer (get-buffer-create "*doctest-confirm*")))
- (set-buffer confirm-buffer)
- ;; Erase anything left over in the buffer.
- (delete-region (point-min) (point-max))
- ;; Write a confirmation message
- (if (equal doctest-expected "")
- (insert-string "Replace nothing\n")
- (insert-string (concat "Replace:\n" doctest-expected)))
- (if (equal doctest-got "")
- (insert-string "With nothing\n")
- (insert-string (concat "With:\n" doctest-got)))
- (let ((confirm-window (display-buffer confirm-buffer nil nil t)))
- ;; Get confirmation
- (set-buffer orig-buffer)
- ;; [XX]
- (if doctest-expected
- (search-backward doctest-expected)
- t)
- (when (y-or-n-p "Ok to replace? ")
- (replace-match doctest-got t t))
- (kill-buffer confirm-buffer)
- (delete-window confirm-window)))))))))
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Doctest Results Mode (output of doctest-execute-buffer)
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; [XX] Todo:
-;; - Make it read-only?
-;; - Hitting enter goes to the corresponding error
-;; - Clicking goes to corresponding error (not as useful)
-
-
-(defconst doctest-results-divider-re
- "^\\([*]\\{60,\\}\\)$")
-
-(defconst doctest-results-loc-re
- "^File \"\\([^\"]+\\)\", line \\([0-9]+\\), in \\([^\n]+\\)")
-
-(defconst doctest-results-header-re
- "^\\([a-zA-Z0-9 ]+:\\|Expected nothing\\|Got nothing\\)$")
-
-(defconst doctest-results-font-lock-keywords
- `((,doctest-results-divider-re
- (0 'doctest-results-divider-face))
- (,doctest-results-loc-re
- (0 'doctest-results-loc-face))
- (,doctest-results-header-re
- (0 'doctest-results-header-face))
- (doctest-results-selection-matcher
- (0 'doctest-results-selection-face t))))
-
-(defun doctest-results-selection-matcher (limit)
- "Matches from `doctest-selected-failure' to the end of the
-line. This is used to highlight the currently selected failure."
- (when (and doctest-selected-failure
- (<= (point) doctest-selected-failure)
- (< doctest-selected-failure limit))
- (goto-char doctest-selected-failure)
- (search-forward-regexp "[^\n]+" limit)))
-
-;; Register the font-lock keywords (xemacs)
-(put 'doctest-results-mode 'font-lock-defaults
- '(doctest-results-font-lock-keywords))
-
-;; Register the font-lock keywords (gnu emacs)
-(defvar font-lock-defaults-alist nil) ; in case we're in xemacs
-(setq font-lock-defaults-alist
- (append font-lock-defaults-alist
- `((doctest-results-mode
- doctest-results-font-lock-keywords
- nil nil nil nil))))
-
-;; Define the mode
-(define-derived-mode doctest-results-mode text-mode "Doctest Results"
- "docstring"
- ;; Enable font-lock mode.
- (if (featurep 'font-lock) (font-lock-mode 1))
- ;; Keep track of which failure is selected
- (set (make-local-variable 'doctest-selected-failure) nil)
- ;; Make the buffer read-only.
- (toggle-read-only t))
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Helper functions
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
-(defun on-doctest-source-line ()
- "Return true if the current line is a source line."
- (save-excursion
- (beginning-of-line)
- (looking-at doctest-prompt-re)))
-
-(defun on-empty-doctest-source-line ()
- "Return true if the current line contains a bare prompt."
- (save-excursion
- (beginning-of-line)
- (looking-at (concat doctest-prompt-re "$"))))
-
-(defun on-doctest-output-line ()
- "Return true if the current line is an output line."
- (save-excursion
- (beginning-of-line)
- (let ((prompt-or-blankline (concat doctest-prompt-re "\\|" "^[ \t]*\n")))
- ;; The line must not be blank or start with a prompt.
- (when (not (looking-at prompt-or-blankline))
- ;; The line must follow a line starting with a prompt, with
- ;; no intervening blank lines.
- (search-backward-regexp prompt-or-blankline nil t)
- (looking-at doctest-prompt-re)))))
-
-(defun find-doctest-output-line (&optional limit)
- "Move forward to the next doctest output line (staying within
-the given bounds). Return the character position of the doctest
-output line if one was found, and false otherwise."
- (let ((found-it nil) ; point where we found an output line
- (limit (or limit (point-max)))) ; default value for limit
- (save-excursion
- ;; Keep moving forward, one line at a time, until we find a
- ;; doctest output line.
- (while (and (not found-it) (< (point) limit) (not (eobp)))
- (if (and (not (eolp)) (on-doctest-output-line))
- (setq found-it (point))
- (forward-line))))
- ;; If we found a doctest output line, then go to it.
- (if found-it (goto-char found-it))))
-
-(defun doctest-version ()
- "Echo the current version of `doctest-mode' in the minibuffer."
- (interactive)
- (message "Using `doctest-mode' version %s" doctest-version))
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Utility functions
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
-(defvar doctest-serial-number 0) ;used if broken-temp-names.
-(defun doctest-temp-name ()
- (if (memq 'broken-temp-names features)
- (let
- ((sn doctest-serial-number)
- (pid (and (fboundp 'emacs-pid) (emacs-pid))))
- (setq doctest-serial-number (1+ doctest-serial-number))
- (if pid
- (format "doctest-%d-%d" sn pid)
- (format "doctest-%d" sn)))
- (make-temp-name "doctest-")))
-
-(defun column-at-char (pos)
- "Return the column of the given character position"
- (save-excursion (goto-char pos) (current-column)))
-
-(defun doctest-looking-back (regexp)
- "Return True if the text before point matches the given regular
-expression. Like looking-at except backwards and slower. (This
-is available as `looking-back' in GNU emacs and
-`looking-at-backwards' in XEmacs, but it's easy enough to define
-from scratch such that it works under both.)"
- (save-excursion
- (let ((orig-pos (point)))
- ;; Search backwards for the regexp.
- (if (re-search-backward regexp nil t)
- ;; Check if it ends at the original point.
- (= orig-pos (match-end 0))))))
-
-(defun doctest-fontify-line (charpos)
- "Run font-lock-fontify-region on the line containing the given
-position."
- (if charpos
- (save-excursion
- (goto-char charpos)
- (let ((beg (progn (beginning-of-line) (point)))
- (end (progn (end-of-line) (point))))
- (font-lock-fontify-region beg end)))))
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Syntax Table
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
-;; We do *NOT* currently use this, because it applies too
-;; indiscrimanantly. In particular, we don't want "'" and '"' treated
-;; as quote marks on text lines. But there's no good way to prevent
-;; it.
-(defvar doctest-syntax-alist nil
- "Syntax alist used in `doctest-mode' buffers.")
-(setq doctest-syntax-alist '((?\( . "()") (?\[ . "(]") (?\{ . "(}")
- (?\) . ")(") (?\] . ")[") (?\} . "){")
- (?\$ . "." ) (?\% . "." ) (?\& . "." )
- (?\* . "." ) (?\+ . "." ) (?\- . "." )
- (?\/ . "." ) (?\< . "." ) (?\= . "." )
- (?\> . "." ) (?\| . "." ) (?\_ . "w" )
- (?\' . "\"") (?\" . "\"") (?\` . "$" )
- (?\# . "<" ) (?\n . ">" )))
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Key Bindings
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
-(defconst doctest-mode-map
- (let ((map (make-keymap)))
- (define-key map [backspace] 'doctest-electric-backspace)
- (define-key map [return] 'doctest-newline-and-indent)
- (define-key map [tab] 'doctest-indent-source-line)
- (define-key map ":" 'doctest-electric-colon)
- (define-key map "\C-c\C-v" 'doctest-version)
- (define-key map "\C-c\C-c" 'doctest-execute-buffer)
- (define-key map "\C-c\C-d" 'doctest-execute-buffer-with-diff)
- (define-key map "\C-c\C-n" 'doctest-next-failure)
- (define-key map "\C-c\C-p" 'doctest-prev-failure)
- (define-key map "\C-c\C-a" 'doctest-first-failure)
- (define-key map "\C-c\C-z" 'doctest-last-failure)
- (define-key map "\C-c\C-r" 'doctest-replace-output)
- map)
- "Keymap for doctest-mode.")
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Define the mode
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
-;; Register the font-lock keywords (xemacs)
-(put 'doctest-mode 'font-lock-defaults '(doctest-font-lock-keywords))
-
-;; Register the font-lock keywords (gnu emacs)
-(defvar font-lock-defaults-alist nil) ; in case we're in xemacs
-(setq font-lock-defaults-alist
- (append font-lock-defaults-alist
- `((doctest-mode doctest-font-lock-keywords nil nil nil nil))))
-
-(defvar doctest-results-buffer nil
- "The output buffer for doctest-mode")
-
-;; Use doctest mode for files ending in .doctest
-;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.doctest$" . doctest-mode))
-
-;;;###autoload
-(define-derived-mode doctest-mode text-mode "Doctest"
- "A major mode for editing text files that contain Python
-doctest examples. Doctest is a testing framework for Python that
-emulates an interactive session, and checks the result of each
-command. For more information, see the Python library reference:
-<http://docs.python.org/lib/module-doctest.html>
-
-`doctest-mode' defines three kinds of line, each of which is
-treated differently:
-
- - 'Source lines' are lines consisting of a Python prompt
- ('>>>' or '...'), followed by source code. Source lines are
- colored (similarly to `python-mode') and auto-indented.
-
- - 'Output lines' are non-blank lines immediately following
- source lines. They are colored using several doctest-
- specific output faces.
-
- - 'Text lines' are any other lines. They are not processed in
- any special way.
-
-\\{doctest-mode-map}
-"
- ;; Enable auto-fill mode.
- (auto-fill-mode 1)
-
- ;; Enable font-lock mode.
- (if (featurep 'font-lock) (font-lock-mode 1))
-
- ;; Register our indentation function.
- (set (make-local-variable 'indent-line-function)
- 'doctest-indent-source-line)
-
- ;; Keep track of our results buffer.
- (set (make-local-variable 'doctest-results-buffer) nil)
- )
-
-(provide 'doctest-mode)
-;;; doctest-mode.el ends here
diff --git a/emacs/psvn.el b/emacs/psvn.el
deleted file mode 100644
index 9f25d5a..0000000
--- a/emacs/psvn.el
+++ /dev/null
@@ -1,6225 +0,0 @@
-;;; psvn.el --- Subversion interface for emacs
-;; Copyright (C) 2002-2008 by Stefan Reichoer
-
-;; Author: Stefan Reichoer <stefan at xsteve.at>
-
-;; psvn.el is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
-;; any later version.
-
-;; psvn.el is distributed in the hope that it will be useful,
-;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;; GNU General Public License for more details.
-
-;; You should have received a copy of the GNU General Public License
-;; along with GNU Emacs; see the file COPYING. If not, write to
-;; the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-;; Boston, MA 02111-1307, USA.
-
-;;; Commentary
-
-;; psvn.el is tested with GNU Emacs 21.3 on windows, debian linux,
-;; freebsd5, red hat el4, ubuntu edgy with svn 1.4.0
-
-;; psvn.el needs at least svn 1.1.0
-;; if you upgrade to a higher version, you need to do a fresh checkout
-
-;; psvn.el is an interface for the revision control tool subversion
-;; (see http://subversion.tigris.org)
-;; psvn.el provides a similar interface for subversion as pcl-cvs for cvs.
-;; At the moment the following commands are implemented:
-;;
-;; M-x svn-status: run 'svn -status -v'
-;; M-x svn-examine (like pcl-cvs cvs-examine) is alias for svn-status
-;;
-;; and show the result in the svn-status-buffer-name buffer (normally: *svn-status*).
-;; If svn-status-verbose is set to nil, only "svn status" without "-v"
-;; is run. Currently you have to toggle this variable manually.
-;; This buffer uses svn-status mode in which the following keys are defined:
-;; g - svn-status-update: run 'svn status -v'
-;; M-s - svn-status-update: run 'svn status -v'
-;; C-u g - svn-status-update: run 'svn status -vu'
-;; = - svn-status-show-svn-diff run 'svn diff'
-;; l - svn-status-show-svn-log run 'svn log'
-;; i - svn-status-info run 'svn info'
-;; r - svn-status-revert run 'svn revert'
-;; X v - svn-status-resolved run 'svn resolved'
-;; U - svn-status-update-cmd run 'svn update'
-;; M-u - svn-status-update-cmd run 'svn update'
-;; c - svn-status-commit run 'svn commit'
-;; a - svn-status-add-file run 'svn add --non-recursive'
-;; A - svn-status-add-file-recursively run 'svn add'
-;; + - svn-status-make-directory run 'svn mkdir'
-;; R - svn-status-mv run 'svn mv'
-;; C - svn-status-cp run 'svn cp'
-;; D - svn-status-rm run 'svn rm'
-;; M-c - svn-status-cleanup run 'svn cleanup'
-;; k - svn-status-lock run 'svn lock'
-;; K - svn-status-unlock run 'svn unlock'
-;; b - svn-status-blame run 'svn blame'
-;; X e - svn-status-export run 'svn export'
-;; RET - svn-status-find-file-or-examine-directory
-;; ^ - svn-status-examine-parent
-;; ~ - svn-status-get-specific-revision
-;; E - svn-status-ediff-with-revision
-;; X X - svn-status-resolve-conflicts
-;; S g - svn-status-grep-files
-;; S s - svn-status-search-files
-;; s - svn-status-show-process-buffer
-;; h - svn-status-pop-to-partner-buffer
-;; e - svn-status-toggle-edit-cmd-flag
-;; ? - svn-status-toggle-hide-unknown
-;; _ - svn-status-toggle-hide-unmodified
-;; m - svn-status-set-user-mark
-;; u - svn-status-unset-user-mark
-;; $ - svn-status-toggle-elide
-;; w - svn-status-copy-current-line-info
-;; DEL - svn-status-unset-user-mark-backwards
-;; * ! - svn-status-unset-all-usermarks
-;; * ? - svn-status-mark-unknown
-;; * A - svn-status-mark-added
-;; * M - svn-status-mark-modified
-;; * P - svn-status-mark-modified-properties
-;; * D - svn-status-mark-deleted
-;; * * - svn-status-mark-changed
-;; * . - svn-status-mark-by-file-ext
-;; * % - svn-status-mark-filename-regexp
-;; . - svn-status-goto-root-or-return
-;; f - svn-status-find-file
-;; o - svn-status-find-file-other-window
-;; C-o - svn-status-find-file-other-window-noselect
-;; v - svn-status-view-file-other-window
-;; I - svn-status-parse-info
-;; V - svn-status-svnversion
-;; P l - svn-status-property-list
-;; P s - svn-status-property-set
-;; P d - svn-status-property-delete
-;; P e - svn-status-property-edit-one-entry
-;; P i - svn-status-property-ignore-file
-;; P I - svn-status-property-ignore-file-extension
-;; P C-i - svn-status-property-edit-svn-ignore
-;; P k - svn-status-property-set-keyword-list
-;; P K i - svn-status-property-set-keyword-id
-;; P K d - svn-status-property-set-keyword-date
-;; P y - svn-status-property-set-eol-style
-;; P x - svn-status-property-set-executable
-;; P m - svn-status-property-set-mime-type
-;; H - svn-status-use-history
-;; x - svn-status-update-buffer
-;; q - svn-status-bury-buffer
-
-;; C-x C-j - svn-status-dired-jump
-
-;; The output in the buffer contains this header to ease reading
-;; of svn output:
-;; FPH BASE CMTD Author em File
-;; F = Filemark
-;; P = Property mark
-;; H = History mark
-;; BASE = local base revision
-;; CMTD = last committed revision
-;; Author = author of change
-;; em = "**" or "(Update Available)" [see `svn-status-short-mod-flag-p']
-;; if file can be updated
-;; File = path/filename
-;;
-
-;; To use psvn.el put the following line in your .emacs:
-;; (require 'psvn)
-;; Start the svn interface with M-x svn-status
-
-;; The latest version of psvn.el can be found at:
-;; http://www.xsteve.at/prg/emacs/psvn.el
-;; Or you can check it out from the subversion repository:
-;; svn co http://svn.collab.net/repos/svn/trunk/contrib/client-side/emacs emacs-svn
-
-;; TODO:
-;; * shortcut for svn propset svn:keywords "Date" psvn.el
-;; * docstrings for the functions
-;; * perhaps shortcuts for ranges, dates
-;; * when editing the command line - offer help from the svn client
-;; * finish svn-status-property-set
-;; * Add repository browser
-;; * Get rid of all byte-compiler warnings
-;; * SVK working copy support
-;; * multiple independent buffers in svn-status-mode
-;; There are "TODO" comments in other parts of this file as well.
-
-;; Overview over the implemented/not (yet) implemented svn sub-commands:
-;; * add implemented
-;; * blame implemented
-;; * cat implemented
-;; * checkout (co) implemented
-;; * cleanup implemented
-;; * commit (ci) implemented
-;; * copy (cp) implemented
-;; * delete (del, remove, rm) implemented
-;; * diff (di) implemented
-;; * export implemented
-;; * help (?, h)
-;; * import used (in svn-admin-create-trunk-directory)
-;; * info implemented
-;; * list (ls) implemented
-;; * lock implemented
-;; * log implemented
-;; * merge
-;; * mkdir implemented
-;; * move (mv, rename, ren) implemented
-;; * propdel (pdel) implemented
-;; * propedit (pedit, pe) not needed
-;; * propget (pget, pg) used (in svn-status-property-edit)
-;; * proplist (plist, pl) implemented
-;; * propset (pset, ps) used (in svn-prop-edit-do-it)
-;; * resolved implemented
-;; * revert implemented
-;; * status (stat, st) implemented
-;; * switch (sw)
-;; * unlock implemented
-;; * update (up) implemented
-
-;; For the not yet implemented commands you should use the command line
-;; svn client. If there are user requests for any missing commands I will
-;; probably implement them.
-
-;; There is also limited support for the web-based software project management and bug/issue tracking system trac
-;; Trac ticket links can be enabled in the *svn-log* buffers when using the following:
-;; (setq svn-log-link-handlers '(trac-ticket-short))
-
-;; ---------------------------
-;; Frequently asked questions:
-;; ---------------------------
-
-;; Q1: I need support for user names with blanks/spaces
-;; A1: Add the user names to svn-user-names-including-blanks and set the
-;; svn-pre-parse-status-hook.
-;; The problem is, that the user names and the file names from the svn status
-;; output can both contain blanks. Blanks in file names are supported.
-;; the svn-user-names-including-blanks list is used to replace the spaces
-;; in the user names with - to overcome this problem
-
-;; Q2: My svn-update command it taking a really long time. How can I
-;; see what's going on?
-;; A2: In the *svn-status* buffer press "s".
-
-;; Q3: How do I enter a username and password?
-;; A3: In the *svn-status* buffer press "s", switch to the
-;; *svn-process* buffer and press enter. You will be prompted for
-;; username and password.
-
-;; Q4: What does "?", "M", and "C" in the first column of the
-;; *svn-status* buffer mean?
-;; A4: "?" means the file(s) is not under Subversion control
-;; "M" means you have a locally modified file
-;; "C" means there is a conflict
-;; "@$&#!" means someone is saying nasty things to you
-
-
-;; Comments / suggestions and bug reports are welcome!
-
-;; Development notes
-;; -----------------
-
-;; "svn-" is the package prefix used in psvn.el. There are also longer
-;; prefixes which clarify the code and help symbol completion, but they
-;; are not intended to prevent name clashes with other packages. All
-;; interactive commands meant to be used only in a specific mode should
-;; have names beginning with the name of that mode: for example,
-;; "svn-status-add-file" in "svn-status-mode". "psvn" should be used
-;; only in names of files, customization groups, and features. If SVK
-;; support is ever added, it should use "svn-svk-" when no existing
-;; prefix is applicable.
-
-;; Many of the variables marked as `risky-local-variable' are probably
-;; impossible to abuse, as the commands that read them are used only in
-;; buffers that are not visiting any files. Better safe than sorry.
-
-;;; Code:
-
-(require 'easymenu)
-
-(eval-when-compile (require 'dired))
-(eval-when-compile (require 'ediff-util))
-(eval-when-compile (require 'ediff-wind))
-(eval-when-compile (require 'elp))
-(eval-when-compile (require 'pp))
-
-(condition-case nil
- (progn
- (require 'diff-mode))
- (error nil))
-
-(defconst svn-psvn-revision "$Id: psvn.el 32032 2008-07-08 17:21:58Z xsteve $"
- "The revision number of psvn.")
-
-;;; user setable variables
-(defcustom svn-status-verbose t
- "*Add '-v' to svn status call.
-This can be toggled with \\[svn-status-toggle-svn-verbose-flag]."
- :type 'boolean
- :group 'psvn)
-(defcustom svn-log-edit-file-name "++svn-log++"
- "*Name of a saved log file.
-This can be either absolute, or relative to the default directory
-of the `svn-log-edit-buffer-name' buffer."
- :type 'file
- :group 'psvn)
-(put 'svn-log-edit-file-name 'risky-local-variable t)
-(defcustom svn-log-edit-insert-files-to-commit t
- "*Insert the filelist to commit in the *svn-log* buffer"
- :type 'boolean
- :group 'psvn)
-(defcustom svn-log-edit-show-diff-for-commit nil
- "*Show the diff being committed when you run `svn-status-commit.'."
- :type 'boolean
- :group 'psvn)
-(defcustom svn-log-edit-use-log-edit-mode
- (and (condition-case nil (require 'log-edit) (error nil)) t)
- "*Use log-edit-mode as base for svn-log-edit-mode
-This variable takes effect only when psvn.el is being loaded."
- :type 'boolean
- :group 'psvn)
-(defcustom svn-log-edit-paragraph-start
- "$\\|[ \t]*$\\|##.*$\\|\\*.*:.*$\\|[ \t]+(.+):.*$"
- "*Value used for `paragraph-start' in `svn-log-edit-buffer-name' buffer."
- :type 'regexp
- :group 'psvn)
-(defcustom svn-log-edit-paragraph-separate "$\\|##.*$"
- "*Value used for `paragraph-separate' in `svn-log-edit-buffer-name' buffer."
- :type 'regexp
- :group 'psvn)
-(defcustom svn-status-hide-unknown nil
- "*Hide unknown files in `svn-status-buffer-name' buffer.
-This can be toggled with \\[svn-status-toggle-hide-unknown]."
- :type 'boolean
- :group 'psvn)
-(defcustom svn-status-hide-unmodified nil
- "*Hide unmodified files in `svn-status-buffer-name' buffer.
-This can be toggled with \\[svn-status-toggle-hide-unmodified]."
- :type 'boolean
- :group 'psvn)
-(defcustom svn-status-sort-status-buffer t
- "*Whether to sort the `svn-status-buffer-name' buffer.
-
-Setting this variable to nil speeds up \\[M-x svn-status], however the
-listing may then become incorrect.
-
-This can be toggled with \\[svn-status-toggle-sort-status-buffer]."
- :type 'boolean
- :group 'psvn)
-
-(defcustom svn-status-ediff-delete-temporary-files nil
- "*Whether to delete temporary ediff files. If set to ask, ask the user"
- :type '(choice (const t)
- (const nil)
- (const ask))
- :group 'psvn)
-
-(defcustom svn-status-changelog-style 'changelog
- "*The changelog style that is used for `svn-file-add-to-changelog'.
-Possible values are:
- 'changelog: use `add-change-log-entry-other-window'
- 'svn-dev: use commit messages that are used by the svn developers
- a function: This function is called to add a new entry to the changelog file.
-"
- :type '(set (const changelog)
- (const svn-dev))
- :group 'psvn)
-
-(defcustom svn-status-unmark-files-after-list '(commit revert)
- "*List of operations after which all user marks will be removed.
-Possible values are: commit, revert."
- :type '(set (const commit)
- (const revert))
- :group 'psvn)
-
-(defcustom svn-status-preserve-window-configuration t
- "*Try to preserve the window configuration."
- :type 'boolean
- :group 'psvn)
-
-(defcustom svn-status-auto-revert-buffers t
- "*Auto revert buffers that have changed on disk."
- :type 'boolean
- :group 'psvn)
-
-(defcustom svn-status-fancy-file-state-in-modeline t
- "*Show a color dot in the modeline that describes the state of the current file."
- :type 'boolean
- :group 'psvn)
-
-(defcustom svn-status-negate-meaning-of-arg-commands '()
- "*List of operations that should use a negated meaning of the prefix argument.
-The supported functions are `svn-status' and `svn-status-set-user-mark'."
- :type '(set (function-item svn-status)
- (function-item svn-status-set-user-mark))
- :group 'psvn)
-
-(defcustom svn-status-svn-executable "svn"
- "*The name of the svn executable.
-This can be either absolute or looked up on `exec-path'."
- ;; Don't use (file :must-match t). It doesn't know about `exec-path'.
- :type 'file
- :group 'psvn)
-(put 'svn-status-svn-executable 'risky-local-variable t)
-
-(defcustom svn-status-default-export-directory "~/" "*The default directory that is suggested svn export."
- :type 'file
- :group 'psvn)
-
-(defcustom svn-status-svn-environment-var-list '("LC_MESSAGES=C" "LC_ALL=")
- "*A list of environment variables that should be set for that svn process.
-Each element is either a string \"VARIABLE=VALUE\" which will be added to
-the environment when svn is run, or just \"VARIABLE\" which causes that
-variable to be entirely removed from the environment.
-
-The default setting is '(\"LC_MESSAGES=C\" \"LC_ALL=\"). This ensures that the svn command
-line client does not output localized strings. psvn.el relies on the english
-messages."
- :type '(repeat string)
- :group 'psvn)
-(put 'svn-status-svn-environment-var-list 'risky-local-variable t)
-
-(defcustom svn-browse-url-function nil
- ;; If the user hasn't changed `svn-browse-url-function', then changing
- ;; `browse-url-browser-function' should affect psvn even after it has
- ;; been loaded.
- "Function to display a Subversion related WWW page in a browser.
-So far, this is used only for \"trac\" issue tracker integration.
-By default, this is nil, which means use `browse-url-browser-function'.
-Any non-nil value overrides that variable, with the same syntax."
- ;; It would be nice to show the full list of browsers supported by
- ;; browse-url, but (custom-variable-type 'browse-url-browser-function)
- ;; returns just `function' if browse-url has not yet been loaded,
- ;; and there seems to be no easy way to autoload browse-url when
- ;; the custom-type of svn-browse-url-function is actually needed.
- ;; So I'll only offer enough choices to cover all supported types.
- :type `(choice (const :tag "Specified by `browse-url-browser-function'" nil)
- (function :value browse-url-default-browser
- ;; In XEmacs 21.4.17, the `function' widget matches
- ;; all objects. Constrain it here so that alists
- ;; fall through to the next choice. Accept either
- ;; a symbol (fbound or not) or a lambda expression.
- :match ,(lambda (widget value)
- (or (symbolp value) (functionp value))))
- (svn-alist :tag "Regexp/function association list"
- :key-type regexp :value-type function
- :value (("." . browse-url-default-browser))))
- :link '(emacs-commentary-link "browse-url")
- :group 'psvn)
-;; (put 'svn-browse-url-function 'risky-local-variable t)
-;; already implied by "-function" suffix
-
-(defcustom svn-status-window-alist
- '((diff "*svn-diff*") (log "*svn-log*") (info t) (blame t) (proplist t) (update t))
- "An alist to specify which windows should be used for svn command outputs.
-The following keys are supported: diff, log, info, blame, proplist, update.
-The following values can be given:
-nil ... show in `svn-process-buffer-name' buffer
-t ... show in dedicated *svn-info* buffer
-invisible ... don't show the buffer (eventually useful for update)
-a string ... show in a buffer named string"
- :type '(svn-alist
- :key-type symbol
- :value-type (group
- (choice
- (const :tag "Show in *svn-process* buffer" nil)
- (const :tag "Show in dedicated *svn-info* buffer" t)
- (const :tag "Don't show the output" invisible)
- (string :tag "Show in a buffer named"))))
- :options '(diff log info blame proplist update)
- :group 'psvn)
-
-(defcustom svn-status-short-mod-flag-p t
- "*Whether the mark for out of date files is short or long.
-
-If this variable is is t, and a file is out of date (i.e., there is a newer
-version in the repository than the working copy), then the file will
-be marked by \"**\"
-
-If this variable is nil, and the file is out of date then the longer phrase
-\"(Update Available)\" is used.
-
-In either case the mark gets the face
-`svn-status-update-available-face', and will only be visible if
-`\\[svn-status-update]' is run with a prefix argument"
- :type '(choice (const :tag "Short \"**\"" t)
- (const :tag "Long \"(Update Available)\"" nil))
- :group 'psvn)
-
-(defvar svn-status-debug-level 0 "The psvn.el debugging verbosity level.
-The higher the number, the more debug messages are shown.
-
-See `svn-status-message' for the meaning of values for that variable.")
-
-(defvar svn-bookmark-list nil "A list of locations for a quick access via `svn-status-via-bookmark'")
-;;(setq svn-bookmark-list '(("proj1" . "~/work/proj1")
-;; ("doc1" . "~/docs/doc1")))
-
-(defvar svn-status-buffer-name "*svn-status*" "Name for the svn status buffer")
-(defvar svn-process-buffer-name " *svn-process*" "Name for the svn process buffer")
-(defvar svn-log-edit-buffer-name "*svn-log-edit*" "Name for the svn log-edit buffer")
-
-(defcustom svn-status-use-header-line
- (if (boundp 'header-line-format) t 'inline)
- "*Whether a header line should be used.
-When t: Use the emacs header line
-When 'inline: Insert the header line in the `svn-status-buffer-name' buffer
-Otherwise: Don't display a header line"
- :type '(choice (const :tag "Show column titles as a header line" t)
- (const :tag "Insert column titles as text in the buffer" inline)
- (other :tag "No column titles" nil))
- :group 'psvn)
-
-;;; default arguments to pass to svn commands
-;; TODO: When customizing, an option menu or completion might be nice....
-(defcustom svn-status-default-log-arguments '("-v")
- "*List of arguments to pass to svn log.
-\(used in `svn-status-show-svn-log'; override these by giving prefixes\)."
- :type '(repeat string)
- :group 'psvn)
-(put 'svn-status-default-log-arguments 'risky-local-variable t)
-
-(defcustom svn-status-default-commit-arguments '()
- "*List of arguments to pass to svn commit.
-If you don't like recursive commits, set this value to (\"-N\")
-or mark the directory before committing it.
-Do not put an empty string here, except as an argument of an option:
-Subversion and the operating system may treat that as a file name
-equivalent to \".\", so you would commit more than you intended."
- :type '(repeat string)
- :group 'psvn)
-(put 'svn-status-default-commit-arguments 'risky-local-variable t)
-
-(defcustom svn-status-default-diff-arguments '("-x" "--ignore-eol-style")
- "*A list of arguments that is passed to the svn diff command.
-When the built in diff command is used,
-the following options are available: --ignore-eol-style, --ignore-space-change,
---ignore-all-space, --ignore-eol-style.
-The following setting ignores eol style changes and all white space changes:
-'(\"-x\" \"--ignore-eol-style --ignore-all-space\")
-
-If you'd like to suppress whitespace changes using the external diff command
-use the following value:
-'(\"--diff-cmd\" \"diff\" \"-x\" \"-wbBu\")
-
-"
- :type '(repeat string)
- :group 'psvn)
-(put 'svn-status-default-diff-arguments 'risky-local-variable t)
-
-(defcustom svn-status-default-status-arguments '()
- "*A list of arguments that is passed to the svn status command.
-The following options are available: --ignore-externals
-
-"
- :type '(repeat string)
- :group 'psvn)
-(put 'svn-status-default-status-arguments 'risky-local-variable t)
-
-(defcustom svn-status-default-blame-arguments '("-x" "--ignore-eol-style")
- "*A list of arguments that is passed to the svn blame command.
-See `svn-status-default-diff-arguments' for some examples."
- :type '(repeat string)
- :group 'psvn)
-
-(put 'svn-status-default-blame-arguments 'risky-local-variable t)
-
-(defvar svn-trac-project-root nil
- "Path for an eventual existing trac issue tracker.
-This can be set with \\[svn-status-set-trac-project-root].")
-
-(defvar svn-status-module-name nil
- "*A short name for the actual project.
-This can be set with \\[svn-status-set-module-name].")
-
-(defvar svn-status-branch-list nil
- "*A list of known branches for the actual project
-This can be set with \\[svn-status-set-branch-list].
-
-The list contains full repository paths or shortcuts starting with \#
-\# at the beginning is replaced by the repository url.
-\#1\# has the special meaning that all paths below the given directory
-will be considered for interactive selections.
-
-A useful setting might be: '\(\"\#trunk\" \"\#1\#tags\" \"\#1\#branches\")")
-
-(defvar svn-status-load-state-before-svn-status t
- "*Whether to automatically restore state from ++psvn.state file before running svn-status.")
-
-(defvar svn-log-link-handlers nil "A list of link handlers in *svn-log* buffers.
-These link handlers must be registered via `svn-log-register-link-handler'")
-
-;;; hooks
-(defvar svn-status-mode-hook nil "Hook run when entering `svn-status-mode'.")
-(defvar svn-log-edit-mode-hook nil "Hook run when entering `svn-log-edit-mode'.")
-(defvar svn-log-edit-done-hook nil "Hook run after commiting files via svn.")
-;; (put 'svn-log-edit-mode-hook 'risky-local-variable t)
-;; (put 'svn-log-edit-done-hook 'risky-local-variable t)
-;; already implied by "-hook" suffix
-
-(defvar svn-post-process-svn-output-hook nil "Hook that can be used to preprocess the output from svn.
-The function `svn-status-remove-control-M' can be useful for that hook")
-
-(when (eq system-type 'windows-nt)
- (add-hook 'svn-post-process-svn-output-hook 'svn-status-remove-control-M))
-
-(defvar svn-status-svn-process-coding-system (when (boundp 'locale-coding-system) locale-coding-system)
- "The coding system that is used for the svn command line client.
-It is used in svn-run, if it is not nil.")
-
-(defvar svn-status-svn-file-coding-system 'undecided-unix
- "The coding system that is used to save files that are loaded as
-parameter or data files via the svn command line client.
-It is used in the following functions: `svn-prop-edit-do-it', `svn-log-edit-done'.
-You could set it to 'utf-8")
-
-(defcustom svn-status-use-ido-completion
- (fboundp 'ido-completing-read)
- "*Use ido completion functionality."
- :type 'boolean
- :group 'psvn)
-
-(defvar svn-status-completing-read-function
- (if svn-status-use-ido-completion 'ido-completing-read 'completing-read))
-
-;;; experimental features
-(defvar svn-status-track-user-input nil "Track user/password queries.
-This feature is implemented via a process filter.
-It is an experimental feature.")
-
-(defvar svn-status-refresh-info nil "Whether `svn-status-update-buffer' should call `svn-status-parse-info'.")
-
-;;; Customize group
-(defgroup psvn nil
- "Subversion interface for Emacs."
- :group 'tools)
-
-(defgroup psvn-faces nil
- "psvn faces."
- :group 'psvn)
-
-
-(eval-and-compile
- (require 'cl)
- (defconst svn-xemacsp (featurep 'xemacs))
- (if svn-xemacsp
- (require 'overlay)
- (require 'overlay nil t)))
-
-(defcustom svn-status-display-full-path nil
- "Specifies how the filenames look like in the listing.
-If t, their full path name will be displayed, else only the filename."
- :type 'boolean
- :group 'psvn)
-
-(defcustom svn-status-prefix-key [(control x) (meta s)]
- "Prefix key for the psvn commands in the global keymap."
- :type '(choice (const [(control x) ?v ?S])
- (const [(super s)])
- (const [(hyper s)])
- (const [(control x) ?v])
- (const [(control x) ?V])
- (sexp))
- :group 'psvn
- :set (lambda (var value)
- (if (boundp var)
- (global-unset-key (symbol-value var)))
- (set var value)
- (global-set-key (symbol-value var) 'svn-global-keymap)))
-
-(defcustom svn-admin-default-create-directory "~/"
- "*The default directory that is suggested for `svn-admin-create'."
- :type 'string
- :group 'psvn)
-
-(defvar svn-status-custom-hide-function nil
- "A function that receives a line-info and decides whether to hide that line.
-See psvn.el for an example function.")
-;; (put 'svn-status-custom-hide-function 'risky-local-variable t)
-;; already implied by "-function" suffix
-
-
-;; Use the normally used mode for files ending in .~HEAD~, .~BASE~, ...
-(add-to-list 'auto-mode-alist '("\\.~?\\(HEAD\\|BASE\\|PREV\\)~?\\'" ignore t))
-
-;;; internal variables
-(defvar svn-status-directory-history nil "List of visited svn working directories.")
-(defvar svn-process-cmd nil)
-(defvar svn-status-info nil)
-(defvar svn-status-filename-to-buffer-position-cache (make-hash-table :test 'equal :weakness t))
-(defvar svn-status-base-info nil "The parsed result from the svn info command.")
-(defvar svn-status-initial-window-configuration nil)
-(defvar svn-status-default-column 23)
-(defvar svn-status-default-revision-width 4)
-(defvar svn-status-default-author-width 9)
-(defvar svn-status-line-format " %c%c%c %4s %4s %-9s")
-(defvar svn-start-of-file-list-line-number 0)
-(defvar svn-status-files-to-commit nil
- "List of files to commit at `svn-log-edit-done'.
-This is always set together with `svn-status-recursive-commit'.")
-(defvar svn-status-recursive-commit nil
- "Non-nil if the next commit should be recursive.
-This is always set together with `svn-status-files-to-commit'.")
-(defvar svn-log-edit-update-log-entry nil
- "Revision number whose log entry is being edited.
-This is nil if the log entry is for a new commit.")
-(defvar svn-status-pre-commit-window-configuration nil)
-(defvar svn-status-pre-propedit-window-configuration nil)
-(defvar svn-status-head-revision nil)
-(defvar svn-status-root-return-info nil)
-(defvar svn-status-property-edit-must-match-flag nil)
-(defvar svn-status-propedit-property-name nil "The property name for the actual svn propset command")
-(defvar svn-status-propedit-file-list nil)
-(defvar svn-status-mode-line-process "")
-(defvar svn-status-mode-line-process-status "")
-(defvar svn-status-mode-line-process-edit-flag "")
-(defvar svn-status-edit-svn-command nil)
-(defvar svn-status-update-previous-process-output nil)
-(defvar svn-pre-run-asynch-recent-keys nil)
-(defvar svn-pre-run-mode-line-process nil)
-(defvar svn-status-temp-dir
- (expand-file-name
- (or
- (when (boundp 'temporary-file-directory) temporary-file-directory) ;emacs
- ;; XEmacs 21.4.17 can return "/tmp/kalle" from (temp-directory).
- ;; `file-name-as-directory' adds a slash so we can append a file name.
- (when (fboundp 'temp-directory) (file-name-as-directory (temp-directory)))
- "/tmp/")) "The directory that is used to store temporary files for psvn.")
-;; Because `temporary-file-directory' is not a risky local variable in
-;; GNU Emacs 22.0.51, we don't mark `svn-status-temp-dir' as such either.
-(defvar svn-temp-suffix (make-temp-name "."))
-(put 'svn-temp-suffix 'risky-local-variable t)
-(defvar svn-status-temp-file-to-remove nil)
-(put 'svn-status-temp-file-to-remove 'risky-local-variable t)
-(defvar svn-status-temp-arg-file (concat svn-status-temp-dir "svn.arg" svn-temp-suffix))
-(put 'svn-status-temp-arg-file 'risky-local-variable t)
-(defvar svn-status-options nil)
-(defvar svn-status-remote)
-(defvar svn-status-commit-rev-number nil)
-(defvar svn-status-update-rev-number nil)
-(defvar svn-status-operated-on-dot nil)
-(defvar svn-status-last-commit-author nil)
-(defvar svn-status-elided-list nil)
-(defvar svn-status-last-output-buffer-name nil "The buffer name for the buffer that holds the output from the last executed svn command")
-(defvar svn-status-pre-run-svn-buffer nil)
-(defvar svn-status-update-list nil)
-(defvar svn-transient-buffers)
-(defvar svn-ediff-windows)
-(defvar svn-ediff-result)
-(defvar svn-status-last-diff-options nil)
-(defvar svn-status-blame-file-name nil)
-(defvar svn-admin-last-repository-dir nil "The last repository url for various operations.")
-(defvar svn-last-cmd-ring (make-ring 30) "Ring that holds the last executed svn commands (for debugging purposes)")
-(defvar svn-status-cached-version-string nil)
-(defvar svn-client-version nil "The version number of the used svn client")
-(defvar svn-status-get-line-information-for-file nil)
-(defvar svn-status-base-dir-cache (make-hash-table :test 'equal :weakness nil))
-(defvar svn-log-registered-link-handlers (make-hash-table :test 'eql :weakness nil))
-
-(defvar svn-status-partner-buffer nil "The partner buffer for this svn related buffer")
-(make-variable-buffer-local 'svn-status-partner-buffer)
-
-;; Emacs 21 defines these in ediff-init.el but it seems more robust
-;; to just declare the variables here than try to load that file.
-;; It is Ediff's job to declare these as risky-local-variable if needed.
-(defvar ediff-buffer-A)
-(defvar ediff-buffer-B)
-(defvar ediff-buffer-C)
-(defvar ediff-quit-hook)
-
-;; Ditto for log-edit.el.
-(defvar log-edit-initial-files)
-(defvar log-edit-callback)
-(defvar log-edit-listfun)
-
-;; Ediff does not use this variable in GNU Emacs 20.7, GNU Emacs 21.4,
-;; nor XEmacs 21.4.17. However, pcl-cvs (a.k.a. pcvs) does.
-;; TODO: Check if this should be moved into the "svn-" namespace.
-(defvar ediff-after-quit-destination-buffer)
-
-;; That is an example for the svn-status-custom-hide-function:
-;; Note: For many cases it is a better solution to ignore files or
-;; file extensions via the svn-ignore properties (on P i, P I)
-;; (setq svn-status-custom-hide-function 'svn-status-hide-pyc-files)
-;; (defun svn-status-hide-pyc-files (info)
-;; "Hide all pyc files in the `svn-status-buffer-name' buffer."
-;; (let* ((fname (svn-status-line-info->filename-nondirectory info))
-;; (fname-len (length fname)))
-;; (and (> fname-len 4) (string= (substring fname (- fname-len 4)) ".pyc"))))
-
-;;; faces
-(defface svn-status-marked-face
- '((((type tty) (class color)) (:foreground "green" :weight light))
- (((class color) (background light)) (:foreground "green3"))
- (((class color) (background dark)) (:foreground "palegreen2"))
- (t (:weight bold)))
- "Face to highlight the mark for user marked files in svn status buffers."
- :group 'psvn-faces)
-
-(defface svn-status-marked-popup-face
- '((((type tty) (class color)) (:foreground "green" :weight light))
- (((class color) (background light)) (:foreground "green3"))
- (((class color) (background dark)) (:foreground "palegreen2"))
- (t (:weight bold)))
- "Face to highlight the actual file, if a popup menu is activated."
- :group 'psvn-faces)
-
-(defface svn-status-update-available-face
- '((((type tty) (class color)) (:foreground "magenta" :weight light))
- (((class color) (background light)) (:foreground "magenta"))
- (((class color) (background dark)) (:foreground "yellow"))
- (t (:weight bold)))
- "Face used to highlight the 'out of date' mark.
-\(i.e., the mark used when there is a newer version in the repository
-than the working copy.\)
-
-See also `svn-status-short-mod-flag-p'."
- :group 'psvn-faces)
-
-;based on cvs-filename-face
-(defface svn-status-directory-face
- '((((type tty) (class color)) (:foreground "lightblue" :weight light))
- (((class color) (background light)) (:foreground "blue4"))
- (((class color) (background dark)) (:foreground "lightskyblue1"))
- (t (:weight bold)))
- "Face for directories in *svn-status* buffers.
-See `svn-status--line-info->directory-p' for what counts as a directory."
- :group 'psvn-faces)
-
-;based on font-lock-comment-face
-(defface svn-status-filename-face
- '((((class color) (background light)) (:foreground "chocolate"))
- (((class color) (background dark)) (:foreground "beige")))
- "Face for non-directories in *svn-status* buffers.
-See `svn-status--line-info->directory-p' for what counts as a directory."
- :group 'psvn-faces)
-
-;not based on anything, may be horribly ugly!
-(defface svn-status-symlink-face
- '((((class color) (background light)) (:foreground "cornflower blue"))
- (((class color) (background dark)) (:foreground "cyan")))
- "Face for symlinks in *svn-status* buffers.
-
-This is the face given to the actual link (i.e., the versioned item),
-the target of the link gets either `svn-status-filename-face' or
-`svn-status-directory-face'."
- :group 'psvn-faces)
-
-;based on font-lock-warning-face
-(defface svn-status-locked-face
- '((t
- (:weight bold :foreground "Red")))
- "Face for the phrase \"[ LOCKED ]\" `svn-status-buffer-name' buffers."
- :group 'psvn-faces)
-
-;based on vhdl-font-lock-directive-face
-(defface svn-status-switched-face
- '((((class color)
- (background light))
- (:foreground "CadetBlue"))
- (((class color)
- (background dark))
- (:foreground "Aquamarine"))
- (t
- (:bold t :italic t)))
- "Face for the phrase \"(switched)\" non-directories in svn status buffers."
- :group 'psvn-faces)
-
-(if svn-xemacsp
- (defface svn-status-blame-highlight-face
- '((((type tty) (class color)) (:foreground "green" :weight light))
- (((class color) (background light)) (:foreground "green3"))
- (((class color) (background dark)) (:foreground "palegreen2"))
- (t (:weight bold)))
- "Default face for highlighting a line in svn status blame mode."
- :group 'psvn-faces)
- (defface svn-status-blame-highlight-face
- '((t :inherit highlight))
- "Default face for highlighting a line in svn status blame mode."
- :group 'psvn-faces))
-
-(defface svn-status-blame-rev-number-face
- '((((class color) (background light)) (:foreground "DarkGoldenrod"))
- (((class color) (background dark)) (:foreground "LightGoldenrod"))
- (t (:weight bold :slant italic)))
- "Face to highlight revision numbers in the svn-blame mode."
- :group 'psvn-faces)
-
-(defvar svn-highlight t)
-;; stolen from PCL-CVS
-(defun svn-add-face (str face &optional keymap)
- "Return string STR decorated with the specified FACE.
-If `svn-highlight' is nil then just return STR."
- (when svn-highlight
- ;; Do not use `list*'; cl.el might not have been loaded. We could
- ;; put (require 'cl) at the top but let's try to manage without.
- (add-text-properties 0 (length str)
- `(face ,face
- mouse-face highlight)
-;; 18.10.2004: the keymap parameter is not used (yet) in psvn.el
-;; ,@(when keymap
-;; `(mouse-face highlight
-;; local-map ,keymap)))
- str))
- str)
-
-(defun svn-status-maybe-add-face (condition text face)
- "If CONDITION then add FACE to TEXT.
-Else return TEXT unchanged."
- (if condition
- (svn-add-face text face)
- text))
-
-(defun svn-status-choose-face-to-add (condition text face1 face2)
- "If CONDITION then add FACE1 to TEXT, else add FACE2 to TEXT."
- (if condition
- (svn-add-face text face1)
- (svn-add-face text face2)))
-
-(defun svn-status-maybe-add-string (condition string face)
- "If CONDITION then return STRING decorated with FACE.
-Otherwise, return \"\"."
- (if condition
- (svn-add-face string face)
- ""))
-
-;; compatibility
-;; emacs 20
-(defalias 'svn-point-at-eol
- (if (fboundp 'point-at-eol) 'point-at-eol 'line-end-position))
-(defalias 'svn-point-at-bol
- (if (fboundp 'point-at-bol) 'point-at-bol 'line-beginning-position))
-(defalias 'svn-read-directory-name
- (if (fboundp 'read-directory-name) 'read-directory-name 'read-file-name))
-
-(eval-when-compile
- (if (not (fboundp 'gethash))
- (require 'cl-macs)))
-(defalias 'svn-puthash (if (fboundp 'puthash) 'puthash 'cl-puthash))
-
-;; emacs 21
-(if (fboundp 'line-number-at-pos)
- (defalias 'svn-line-number-at-pos 'line-number-at-pos)
- (defun svn-line-number-at-pos (&optional pos)
- "Return (narrowed) buffer line number at position POS.
-If POS is nil, use current buffer location."
- (let ((opoint (or pos (point))) start)
- (save-excursion
- (goto-char (point-min))
- (setq start (point))
- (goto-char opoint)
- (forward-line 0)
- (1+ (count-lines start (point)))))))
-
-(defun svn-substring-no-properties (string &optional from to)
- (if (fboundp 'substring-no-properties)
- (substring-no-properties string from to)
- (substring string from to)))
-
-; xemacs
-;; Evaluate the defsubst at compile time, so that the byte compiler
-;; knows the definition and can inline calls. It cannot detect the
-;; defsubst automatically from within the if form.
-(eval-and-compile
- (if (fboundp 'match-string-no-properties)
- (defalias 'svn-match-string-no-properties 'match-string-no-properties)
- (defsubst svn-match-string-no-properties (match)
- (buffer-substring-no-properties (match-beginning match) (match-end match)))))
-
-;; XEmacs 21.4.17 does not have an `alist' widget. Define a replacement.
-;; To find out whether the `alist' widget exists, we cannot check just
-;; (get 'alist 'widget-type), because GNU Emacs 21.4 defines it in
-;; "wid-edit.el", which is not preloaded; it will be autoloaded when
-;; `widget-create' is called. Instead, we call `widgetp', which is
-;; also autoloaded from "wid-edit.el". XEmacs 21.4.17 does not have
-;; `widgetp' either, so we check that first.
-(if (and (fboundp 'widgetp) (widgetp 'alist))
- (define-widget 'svn-alist 'alist
- "An association list.
-Use this instead of `alist', for XEmacs 21.4 compatibility.")
- (define-widget 'svn-alist 'list
- "An association list.
-Use this instead of `alist', for XEmacs 21.4 compatibility."
- :convert-widget 'svn-alist-convert-widget
- :tag "Association List"
- :key-type 'sexp
- :value-type 'sexp)
- (defun svn-alist-convert-widget (widget)
- (let* ((value-type (widget-get widget :value-type))
- (option-widgets (loop for option in (widget-get widget :options)
- collect `(cons :format "%v"
- (const :format "%t: %v\n"
- :tag "Key"
- ,option)
- ,value-type))))
- (widget-put widget :args
- `(,@(when option-widgets
- `((set :inline t :format "%v"
- , at option-widgets)))
- (editable-list :inline t
- (cons :format "%v"
- ,(widget-get widget :key-type)
- ,value-type)))))
- widget))
-
-;; process launch functions
-(defvar svn-call-process-function (if (fboundp 'process-file) 'process-file 'call-process))
-(defvar svn-start-process-function (if (fboundp 'start-file-process) 'start-file-process 'start-process))
-
-
-;;; keymaps
-
-(defvar svn-global-keymap nil "Global keymap for psvn.el.
-To bind this to a different key, customize `svn-status-prefix-key'.")
-(put 'svn-global-keymap 'risky-local-variable t)
-(when (not svn-global-keymap)
- (setq svn-global-keymap (make-sparse-keymap))
- (define-key svn-global-keymap (kbd "v") 'svn-status-version)
- (define-key svn-global-keymap (kbd "s") 'svn-status-this-directory)
- (define-key svn-global-keymap (kbd "b") 'svn-status-via-bookmark)
- (define-key svn-global-keymap (kbd "h") 'svn-status-use-history)
- (define-key svn-global-keymap (kbd "u") 'svn-status-update-cmd)
- (define-key svn-global-keymap (kbd "=") 'svn-status-show-svn-diff)
- (define-key svn-global-keymap (kbd "f =") 'svn-file-show-svn-diff)
- (define-key svn-global-keymap (kbd "f e") 'svn-file-show-svn-ediff)
- (define-key svn-global-keymap (kbd "f l") 'svn-status-show-svn-log)
- (define-key svn-global-keymap (kbd "f b") 'svn-status-blame)
- (define-key svn-global-keymap (kbd "f a") 'svn-file-add-to-changelog)
- (define-key svn-global-keymap (kbd "c") 'svn-status-commit)
- (define-key svn-global-keymap (kbd "S") 'svn-status-switch-to-status-buffer)
- (define-key svn-global-keymap (kbd "o") 'svn-status-pop-to-status-buffer))
-
-(defvar svn-status-diff-mode-map ()
- "Keymap used in `svn-status-diff-mode' for additional commands that are not defined in diff-mode.")
-(put 'svn-status-diff-mode-map 'risky-local-variable t) ;for Emacs 20.7
-
-(when (not svn-status-diff-mode-map)
- (setq svn-status-diff-mode-map (copy-keymap diff-mode-shared-map))
- (define-key svn-status-diff-mode-map [?g] 'revert-buffer)
- (define-key svn-status-diff-mode-map [?s] 'svn-status-pop-to-status-buffer)
- (define-key svn-status-diff-mode-map [?c] 'svn-status-diff-pop-to-commit-buffer)
- (define-key svn-status-diff-mode-map [?w] 'svn-status-diff-save-current-defun-as-kill))
-
-(defvar svn-global-trac-map ()
- "Subkeymap used in `svn-global-keymap' for trac issue tracker commands.")
-(put 'svn-global-trac-map 'risky-local-variable t) ;for Emacs 20.7
-(when (not svn-global-trac-map)
- (setq svn-global-trac-map (make-sparse-keymap))
- (define-key svn-global-trac-map (kbd "w") 'svn-trac-browse-wiki)
- (define-key svn-global-trac-map (kbd "t") 'svn-trac-browse-timeline)
- (define-key svn-global-trac-map (kbd "m") 'svn-trac-browse-roadmap)
- (define-key svn-global-trac-map (kbd "s") 'svn-trac-browse-source)
- (define-key svn-global-trac-map (kbd "r") 'svn-trac-browse-report)
- (define-key svn-global-trac-map (kbd "i") 'svn-trac-browse-ticket)
- (define-key svn-global-trac-map (kbd "c") 'svn-trac-browse-changeset)
- (define-key svn-global-keymap (kbd "t") svn-global-trac-map))
-
-;; The setter of `svn-status-prefix-key' makes a binding in the global
-;; map refer to the `svn-global-keymap' symbol, rather than directly
-;; to the keymap. Emacs then implicitly uses the symbol-function.
-;; This has the advantage that `describe-bindings' (C-h b) can show
-;; the name of the keymap and link to its documentation.
-(defalias 'svn-global-keymap svn-global-keymap)
-;; `defalias' of GNU Emacs 21.4 doesn't allow a docstring argument.
-(put 'svn-global-keymap 'function-documentation
- '(documentation-property 'svn-global-keymap 'variable-documentation t))
-
-
-;; named after SVN_WC_ADM_DIR_NAME in svn_wc.h
-(defun svn-wc-adm-dir-name ()
- "Return the name of the \".svn\" subdirectory or equivalent."
- (if (and (eq system-type 'windows-nt)
- (getenv "SVN_ASP_DOT_NET_HACK"))
- "_svn"
- ".svn"))
-
-(defun svn-log-edit-file-name (&optional curdir)
- "Get the name of the saved log edit file
-If curdir, return `svn-log-edit-file-name'
-Otherwise position svn-log-edit-file-name in the root directory of this working copy"
- (if curdir
- svn-log-edit-file-name
- (concat (svn-status-base-dir) svn-log-edit-file-name)))
-
-(defun svn-status-message (level &rest args)
- "If LEVEL is lower than `svn-status-debug-level' print ARGS using `message'.
-
-Guideline for numbers:
-1 - error messages, 3 - non-serious error messages, 5 - messages for things
-that take a long time, 7 - not very important messages on stuff, 9 - messages
-inside loops."
- (if (<= level svn-status-debug-level)
- (apply 'message args)))
-
-(defun svn-status-flatten-list (list)
- "Flatten any lists within ARGS, so that there are no sublists."
- (loop for item in list
- if (listp item) nconc (svn-status-flatten-list item)
- else collect item))
-
-(defun svn-status-window-line-position (w)
- "Return the window line at point for window W, or nil if W is nil."
- (svn-status-message 3 "About to count lines; selected window is %s" (selected-window))
- (and w (count-lines (window-start w) (point))))
-
-;;;###autoload
-(defun svn-checkout (repos-url path)
- "Run svn checkout REPOS-URL PATH."
- (interactive (list (read-string "Checkout from repository Url: ")
- (svn-read-directory-name "Checkout to directory: ")))
- (svn-run t t 'checkout "checkout" repos-url (expand-file-name path)))
-
-;;;###autoload (defalias 'svn-examine 'svn-status)
-(defalias 'svn-examine 'svn-status)
-
-;;;###autoload
-(defun svn-status (dir &optional arg)
- "Examine the status of Subversion working copy in directory DIR.
-If ARG is -, allow editing of the parameters. One could add -N to
-run svn status non recursively to make it faster.
-For every other non nil ARG pass the -u argument to `svn status', which
-asks svn to connect to the repository and check to see if there are updates
-there.
-
-If there is no .svn directory, examine if there is CVS and run
-`cvs-examine'. Otherwise ask if to run `dired'."
- (interactive (list (svn-read-directory-name "SVN status directory: "
- nil default-directory nil)
- current-prefix-arg))
- (let ((svn-dir (format "%s%s"
- (file-name-as-directory dir)
- (svn-wc-adm-dir-name)))
- (cvs-dir (format "%sCVS" (file-name-as-directory dir))))
- (cond
- ((file-directory-p svn-dir)
- (setq arg (svn-status-possibly-negate-meaning-of-arg arg 'svn-status))
- (svn-status-1 dir arg))
- ((and (file-directory-p cvs-dir)
- (fboundp 'cvs-examine))
- (cvs-examine dir nil))
- (t
- (when (y-or-n-p
- (format
- (concat
- "%s "
- "is not Subversion controlled (missing %s "
- "directory). "
- "Run dired instead? ")
- dir
- (svn-wc-adm-dir-name)))
- (dired dir))))))
-
-(defvar svn-status-display-new-status-buffer nil)
-(defun svn-status-1 (dir &optional arg)
- "Examine DIR. See `svn-status' for more information."
- (unless (file-directory-p dir)
- (error "%s is not a directory" dir))
- (setq dir (file-name-as-directory dir))
- (when svn-status-load-state-before-svn-status
- (unless (string= dir (car svn-status-directory-history))
- (let ((default-directory dir)) ;otherwise svn-status-base-dir looks in the wrong place
- (svn-status-load-state t))))
- (setq svn-status-directory-history (delete dir svn-status-directory-history))
- (add-to-list 'svn-status-directory-history dir)
- (if (string= (buffer-name) svn-status-buffer-name)
- (setq svn-status-display-new-status-buffer nil)
- (setq svn-status-display-new-status-buffer t)
- ;;(message "psvn: Saving initial window configuration")
- (setq svn-status-initial-window-configuration
- (current-window-configuration)))
- (let* ((cur-buf (current-buffer))
- (status-buf (get-buffer-create svn-status-buffer-name))
- (proc-buf (get-buffer-create svn-process-buffer-name))
- (want-edit (eq arg '-))
- (status-option (if want-edit
- (if svn-status-verbose "-v" "")
- (if svn-status-verbose
- (if arg "-uv" "-v")
- (if arg "-u" "")))))
- (save-excursion
- (set-buffer status-buf)
- (setq default-directory dir)
- (set-buffer proc-buf)
- (setq default-directory dir
- svn-status-remote (when arg t))
- (set-buffer cur-buf)
- (if want-edit
- (let (svn-status-edit-svn-command t)
- (svn-run t t 'status "status" svn-status-default-status-arguments status-option))
- (svn-run t t 'status "status" svn-status-default-status-arguments status-option)))))
-
-(defun svn-status-this-directory (arg)
- "Run `svn-status' for the `default-directory'"
- (interactive "P")
- (svn-status default-directory arg))
-
-(defun svn-status-use-history ()
- "Interactively select a different directory from `svn-status-directory-history'."
- (interactive)
- (let* ((in-status-buffer (eq major-mode 'svn-status-mode))
- (hist (if in-status-buffer (cdr svn-status-directory-history) svn-status-directory-history))
- (dir (funcall svn-status-completing-read-function "svn-status on directory: " hist))
- (svn-status-buffer (get-buffer svn-status-buffer-name))
- (svn-buffer-available (and svn-status-buffer
- (with-current-buffer svn-status-buffer-name (string= default-directory dir)))))
- (if (file-directory-p dir)
- (if svn-buffer-available
- (svn-status-switch-to-status-buffer)
- (unless svn-status-refresh-info
- (setq svn-status-refresh-info 'once))
- (svn-status dir))
- (error "%s is not a directory" dir))))
-
-(defun svn-had-user-input-since-asynch-run ()
- (not (equal (recent-keys) svn-pre-run-asynch-recent-keys)))
-
-(defun svn-process-environment ()
- "Construct the environment for the svn process.
-It is a combination of `svn-status-svn-environment-var-list' and
-the usual `process-environment'."
- ;; If there are duplicate elements in `process-environment', then GNU
- ;; Emacs 21.4 guarantees that the first one wins; but GNU Emacs 20.7
- ;; and XEmacs 21.4.17 don't document what happens. We'll just remove
- ;; any duplicates ourselves, then. This also gives us an opportunity
- ;; to handle the "VARIABLE" syntax that none of them supports.
- (loop with found = '()
- for elt in (append svn-status-svn-environment-var-list
- process-environment)
- for has-value = (string-match "=" elt)
- for name = (substring elt 0 has-value)
- unless (member name found)
- do (push name found)
- and when has-value
- collect elt))
-
-(defun svn-run (run-asynchron clear-process-buffer cmdtype &rest arglist)
- "Run svn with arguments ARGLIST.
-
-If RUN-ASYNCHRON is t then run svn asynchronously.
-
-If CLEAR-PROCESS-BUFFER is t then erase the contents of the
-`svn-process-buffer-name' buffer before commencing.
-
-CMDTYPE is a symbol such as 'mv, 'revert, or 'add, representing the
-command to run.
-
-ARGLIST is a list of arguments \(which must include the command name,
-for example: '(\"revert\" \"file1\"\)
-ARGLIST is flattened and any every nil value is discarded.
-
-If the variable `svn-status-edit-svn-command' is non-nil then the user
-can edit ARGLIST before running svn.
-
-The hook svn-pre-run-hook allows to monitor/modify the ARGLIST."
- (setq arglist (svn-status-flatten-list arglist))
- (if (eq (process-status "svn") nil)
- (progn
- (when svn-status-edit-svn-command
- (setq arglist (append
- (list (car arglist))
- (split-string
- (read-from-minibuffer
- (format "svn %s flags: " (car arglist))
- (mapconcat 'identity (cdr arglist) " ")))))
- (when (eq svn-status-edit-svn-command t)
- (svn-status-toggle-edit-cmd-flag t))
- (message "svn-run %s: %S" cmdtype arglist))
- (run-hooks 'svn-pre-run-hook)
- (unless (eq mode-line-process 'svn-status-mode-line-process)
- (setq svn-pre-run-mode-line-process mode-line-process)
- (setq mode-line-process 'svn-status-mode-line-process))
- (setq svn-status-pre-run-svn-buffer (current-buffer))
- (let* ((proc-buf (get-buffer-create svn-process-buffer-name))
- (svn-exe svn-status-svn-executable)
- (svn-proc))
- (when (listp (car arglist))
- (setq arglist (car arglist)))
- (save-excursion
- (set-buffer proc-buf)
- (unless (file-executable-p default-directory)
- (message "psvn: workaround in %s needed: %s no longer exists" (current-buffer) default-directory)
- (cd (expand-file-name "~")))
- (setq buffer-read-only nil)
- (buffer-disable-undo)
- (fundamental-mode)
- (if clear-process-buffer
- (delete-region (point-min) (point-max))
- (goto-char (point-max)))
- (setq svn-process-cmd cmdtype)
- (setq svn-status-last-commit-author nil)
- (setq svn-status-mode-line-process-status (format " running %s" cmdtype))
- (svn-status-update-mode-line)
- (sit-for 0.1)
- (ring-insert svn-last-cmd-ring (list (current-time-string) arglist default-directory))
- (if run-asynchron
- (progn
- ;;(message "running asynchron: %s %S" svn-exe arglist)
- (setq svn-pre-run-asynch-recent-keys (recent-keys))
- (let ((process-environment (svn-process-environment))
- (process-connection-type nil))
- ;; Communicate with the subprocess via pipes rather
- ;; than via a pseudoterminal, so that if the svn+ssh
- ;; scheme is being used, SSH will not ask for a
- ;; passphrase via stdio; psvn.el is currently unable
- ;; to answer such prompts. Instead, SSH will run
- ;; x11-ssh-askpass if possible. If Emacs is being
- ;; run on a TTY without $DISPLAY, this will fail; in
- ;; such cases, the user should start ssh-agent and
- ;; then run ssh-add explicitly.
- (setq svn-proc (apply svn-start-process-function "svn" proc-buf svn-exe arglist)))
- (when svn-status-svn-process-coding-system
- (set-process-coding-system svn-proc svn-status-svn-process-coding-system
- svn-status-svn-process-coding-system))
- (set-process-sentinel svn-proc 'svn-process-sentinel)
- (when svn-status-track-user-input
- (set-process-filter svn-proc 'svn-process-filter)))
- ;;(message "running synchron: %s %S" svn-exe arglist)
- (let ((process-environment (svn-process-environment)))
- ;; `call-process' ignores `process-connection-type' and
- ;; never opens a pseudoterminal.
- (apply svn-call-process-function svn-exe nil proc-buf nil arglist))
- (setq svn-status-last-output-buffer-name svn-process-buffer-name)
- (run-hooks 'svn-post-process-svn-output-hook)
- (setq svn-status-mode-line-process-status "")
- (svn-status-update-mode-line)
- (when svn-pre-run-mode-line-process
- (setq mode-line-process svn-pre-run-mode-line-process)
- (setq svn-pre-run-mode-line-process nil))))))
- (error "You can only run one svn process at once!")))
-
-(defun svn-process-sentinel-fixup-path-seperators ()
- "Convert all path separators to UNIX style.
-\(This is a no-op unless `system-type' is windows-nt\)"
- (when (eq system-type 'windows-nt)
- (save-excursion
- (goto-char (point-min))
- (while (search-forward "\\" nil t)
- (replace-match "/")))))
-
-(defun svn-process-sentinel (process event)
- ;;(princ (format "Process: %s had the event `%s'" process event)))
- ;;(save-excursion
- (let ((act-buf (current-buffer)))
- (when svn-pre-run-mode-line-process
- (with-current-buffer svn-status-pre-run-svn-buffer
- (setq mode-line-process svn-pre-run-mode-line-process))
- (setq svn-pre-run-mode-line-process nil))
- (set-buffer (process-buffer process))
- (setq svn-status-mode-line-process-status "")
- (svn-status-update-mode-line)
- (cond ((string= event "finished\n")
- (run-hooks 'svn-post-process-svn-output-hook)
- (cond ((eq svn-process-cmd 'status)
- ;;(message "svn status finished")
- (svn-process-sentinel-fixup-path-seperators)
- (svn-parse-status-result)
- (svn-status-apply-elide-list)
- (when svn-status-update-previous-process-output
- (set-buffer (process-buffer process))
- (delete-region (point-min) (point-max))
- (insert "Output from svn command:\n")
- (insert svn-status-update-previous-process-output)
- (goto-char (point-min))
- (setq svn-status-update-previous-process-output nil))
- (when svn-status-update-list
- ;; (message "Using svn-status-update-list: %S" svn-status-update-list)
- (save-excursion
- (svn-status-update-with-command-list svn-status-update-list))
- (setq svn-status-update-list nil))
- (when svn-status-display-new-status-buffer
- (set-window-configuration svn-status-initial-window-configuration)
- (if (svn-had-user-input-since-asynch-run)
- (message "svn status finished")
- (switch-to-buffer svn-status-buffer-name))))
- ((eq svn-process-cmd 'log)
- (svn-status-show-process-output 'log t)
- (pop-to-buffer svn-status-last-output-buffer-name)
- (svn-log-view-mode)
- (forward-line 2)
- (unless (looking-at "Changed paths:")
- (forward-line 1))
- (font-lock-fontify-buffer)
- (message "svn log finished"))
- ((eq svn-process-cmd 'info)
- (svn-status-show-process-output 'info t)
- (message "svn info finished"))
- ((eq svn-process-cmd 'ls)
- (svn-status-show-process-output 'info t)
- (message "svn ls finished"))
- ((eq svn-process-cmd 'diff)
- (svn-status-activate-diff-mode)
- (message "svn diff finished"))
- ((eq svn-process-cmd 'parse-info)
- (svn-status-parse-info-result))
- ((eq svn-process-cmd 'blame)
- (svn-status-show-process-output 'blame t)
- (when svn-status-pre-run-svn-buffer
- (with-current-buffer svn-status-pre-run-svn-buffer
- (unless (eq major-mode 'svn-status-mode)
- (let ((src-line-number (svn-line-number-at-pos)))
- (pop-to-buffer (get-buffer svn-status-last-output-buffer-name))
- (goto-line src-line-number)))))
- (with-current-buffer (get-buffer svn-status-last-output-buffer-name)
- (svn-status-activate-blame-mode))
- (message "svn blame finished"))
- ((eq svn-process-cmd 'commit)
- (svn-process-sentinel-fixup-path-seperators)
- (svn-status-remove-temp-file-maybe)
- (when (member 'commit svn-status-unmark-files-after-list)
- (svn-status-unset-all-usermarks))
- (svn-status-update-with-command-list (svn-status-parse-commit-output))
- (svn-revert-some-buffers)
- (run-hooks 'svn-log-edit-done-hook)
- (setq svn-status-files-to-commit nil
- svn-status-recursive-commit nil)
- (if (null svn-status-commit-rev-number)
- (message "No revision to commit.")
- (message "svn: Committed revision %s." svn-status-commit-rev-number)))
- ((eq svn-process-cmd 'update)
- (svn-status-show-process-output 'update t)
- (setq svn-status-update-list (svn-status-parse-update-output))
- (svn-revert-some-buffers)
- (svn-status-update)
- (if (car svn-status-update-rev-number)
- (message "svn: Updated to revision %s." (cadr svn-status-update-rev-number))
- (message "svn: At revision %s." (cadr svn-status-update-rev-number))))
- ((eq svn-process-cmd 'add)
- (svn-status-update-with-command-list (svn-status-parse-ar-output))
- (message "svn add finished"))
- ((eq svn-process-cmd 'lock)
- (svn-status-update)
- (message "svn lock finished"))
- ((eq svn-process-cmd 'unlock)
- (svn-status-update)
- (message "svn unlock finished"))
- ((eq svn-process-cmd 'mkdir)
- (svn-status-update)
- (message "svn mkdir finished"))
- ((eq svn-process-cmd 'revert)
- (when (member 'revert svn-status-unmark-files-after-list)
- (svn-status-unset-all-usermarks))
- (svn-revert-some-buffers)
- (svn-status-update)
- (message "svn revert finished"))
- ((eq svn-process-cmd 'resolved)
- (svn-status-update)
- (message "svn resolved finished"))
- ((eq svn-process-cmd 'rm)
- (svn-status-update-with-command-list (svn-status-parse-ar-output))
- (message "svn rm finished"))
- ((eq svn-process-cmd 'cleanup)
- (message "svn cleanup finished"))
- ((eq svn-process-cmd 'proplist)
- (svn-status-show-process-output 'proplist t)
- (message "svn proplist finished"))
- ((eq svn-process-cmd 'checkout)
- (svn-status default-directory))
- ((eq svn-process-cmd 'proplist-parse)
- (svn-status-property-parse-property-names))
- ((eq svn-process-cmd 'propset)
- (svn-status-remove-temp-file-maybe)
- (if (member svn-status-propedit-property-name '("svn:keywords"))
- (svn-status-update-with-command-list (svn-status-parse-property-output))
- (svn-status-update)))
- ((eq svn-process-cmd 'propdel)
- (svn-status-update))))
- ((string= event "killed\n")
- (message "svn process killed"))
- ((string-match "exited abnormally" event)
- (while (accept-process-output process 0 100))
- ;; find last error message and show it.
- (goto-char (point-max))
- (if (re-search-backward "^svn: \\(.*\\)" nil t)
- (svn-process-handle-error (match-string 1))
- (message "svn failed: %s" event)))
- (t
- (message "svn process had unknown event: %s" event))
- (svn-status-show-process-output nil t))))
-
-(defvar svn-process-handle-error-msg nil)
-(defun svn-process-handle-error (error-msg)
- (let ((svn-process-handle-error-msg error-msg))
- (electric-helpify 'svn-process-help-with-error-msg)))
-
-(defun svn-process-help-with-error-msg ()
- (interactive)
- (let ((help-msg (cadr (assoc svn-process-handle-error-msg
- '(("Cannot non-recursively commit a directory deletion"
- "Please unmark all files and position point at the directory you would like to remove.\nThen run commit again."))))))
- (if help-msg
- (save-excursion
- (with-output-to-temp-buffer (help-buffer)
- (princ (format "svn failed: %s\n\n%s" svn-process-handle-error-msg help-msg))))
- (message "svn failed: %s" svn-process-handle-error-msg))))
-
-
-(defun svn-process-filter (process str)
- "Track the svn process output and ask user questions in the minibuffer when appropriate."
- (save-window-excursion
- (set-buffer svn-process-buffer-name)
- ;;(message "svn-process-filter: %s" str)
- (goto-char (point-max))
- (insert str)
- (save-excursion
- (goto-char (svn-point-at-bol))
- (when (looking-at "Password for '\\(.+\\)': ")
- ;(svn-status-show-process-buffer)
- (let ((passwd (read-passwd
- (format "Enter svn password for %s: " (match-string 1)))))
- (svn-process-send-string-and-newline passwd t)))
- (when (looking-at "Username: ")
- (let ((user-name (read-string "Username for svn operation: ")))
- (svn-process-send-string-and-newline user-name)))
- (when (looking-at "(R)eject, accept (t)emporarily or accept (p)ermanently")
- (svn-status-show-process-buffer)
- (let ((answer (read-string "(R)eject, accept (t)emporarily or accept (p)ermanently? ")))
- (svn-process-send-string (substring answer 0 1)))))))
-
-(defun svn-revert-some-buffers (&optional tree)
- "Reverts all buffers visiting a file in TREE that aren't modified.
-To be run after a commit, an update or a merge."
- (interactive)
- (let ((tree (or (svn-status-base-dir) tree)))
- (dolist (buffer (buffer-list))
- (with-current-buffer buffer
- (when (not (buffer-modified-p))
- (let ((file (buffer-file-name)))
- (when file
- (let ((root (svn-status-base-dir (file-name-directory file)))
- (point-pos (point)))
- (when (and root
- (string= root tree)
- ;; buffer is modified and in the tree TREE.
- svn-status-auto-revert-buffers)
- (when svn-status-fancy-file-state-in-modeline
- (svn-status-update-modeline))
- ;; (message "svn-revert-some-buffers: %s %s" (buffer-file-name) (verify-visited-file-modtime (current-buffer)))
- ;; Keep the buffer if the file doesn't exist
- (when (and (file-exists-p file) (not (verify-visited-file-modtime (current-buffer))))
- (revert-buffer t t)
- (goto-char point-pos)))))))))))
-
-(defun svn-parse-rev-num (str)
- (if (and str (stringp str)
- (save-match-data (string-match "^[0-9]+" str)))
- (string-to-number str)
- -1))
-
-(defsubst svn-status-make-ui-status ()
- "Make a ui-status structure for a file in a svn working copy.
-The initial values in the structure returned by this function
-are good for a file or directory that the user hasn't seen before.
-
-The ui-status structure keeps track of how the file or directory
-should be displayed in svn-status mode. Updating the svn-status
-buffer from the working copy preserves the ui-status if possible.
-User commands modify this structure; each file or directory must
-thus have its own copy.
-
-Currently, the ui-status is a list (USER-MARK USER-ELIDE).
-USER-MARK is non-nil iff the user has marked the file or directory,
- typically with `svn-status-set-user-mark'. To read USER-MARK,
- call `svn-status-line-info->has-usermark'.
-USER-ELIDE is non-nil iff the user has elided the file or directory
- from the svn-status buffer, typically with `svn-status-toggle-elide'.
- To read USER-ELIDE, call `svn-status-line-info->user-elide'.
-
-Call `svn-status-line-info->ui-status' to access the whole ui-status
-structure."
- (list nil nil))
-
-(defun svn-status-make-dummy-dirs (dir-list old-ui-information)
- "Calculate additionally necessary directories that were not shown in the output
-of 'svn status'"
- ;; (message "svn-status-make-dummy-dirs %S" dir-list)
- (let ((candidate)
- (base-dir))
- (dolist (dir dir-list)
- (setq base-dir (file-name-directory dir))
- (while base-dir
- ;;(message "dir: %S dir-list: %S, base-dir: %S" dir dir-list base-dir)
- (setq candidate (replace-regexp-in-string "/+$" "" base-dir))
- (setq base-dir (file-name-directory candidate))
- ;; (message "dir: %S, candidate: %S" dir candidate)
- (add-to-list 'dir-list candidate))))
- ;; (message "svn-status-make-dummy-dirs %S" dir-list)
- (append (mapcar (lambda (dir)
- (svn-status-make-line-info
- dir
- (gethash dir old-ui-information)))
- dir-list)
- svn-status-info))
-
-(defun svn-status-make-line-info (&optional
- path
- ui
- file-mark prop-mark
- local-rev last-change-rev
- author
- update-mark
- locked-mark
- with-history-mark
- switched-mark
- locked-repo-mark
- psvn-extra-info)
- "Create a new line-info from the given arguments
-Anything left nil gets a sensible default.
-nb: LOCKED-MARK refers to the kind of locks you get after an error,
- LOCKED-REPO-MARK is the kind managed with `svn lock'"
- (list (or ui (svn-status-make-ui-status))
- (or file-mark ? )
- (or prop-mark ? )
- (or path "")
- (or local-rev ? )
- (or last-change-rev ? )
- (or author "")
- update-mark
- locked-mark
- with-history-mark
- switched-mark
- locked-repo-mark
- psvn-extra-info))
-
-(defvar svn-user-names-including-blanks nil "A list of svn user names that include blanks.
-To add support for the names \"feng shui\" and \"mister blank\", place the following in your .emacs:
- (setq svn-user-names-including-blanks '(\"feng shui\" \"mister blank\"))
- (add-hook 'svn-pre-parse-status-hook 'svn-status-parse-fixup-user-names-including-blanks)
-")
-;;(setq svn-user-names-including-blanks '("feng shui" "mister blank"))
-;;(add-hook 'svn-pre-parse-status-hook 'svn-status-parse-fixup-user-names-including-blanks)
-
-(defun svn-status-parse-fixup-user-names-including-blanks ()
- "Helper function to allow user names that include blanks.
-Add this function to the `svn-pre-parse-status-hook'. The variable
-`svn-user-names-including-blanks' must be configured to hold all user names that contain
-blanks. This function replaces the blanks with '-' to allow further processing with
-the usual parsing functionality in `svn-parse-status-result'."
- (when svn-user-names-including-blanks
- (goto-char (point-min))
- (let ((search-string (concat " \\(" (mapconcat 'concat svn-user-names-including-blanks "\\|") "\\) ")))
- (save-match-data
- (save-excursion
- (while (re-search-forward search-string (point-max) t)
- (replace-match (replace-regexp-in-string " " "-" (match-string 1)) nil nil nil 1)))))))
-
-(defun svn-parse-status-result ()
- "Parse the `svn-process-buffer-name' buffer.
-The results are used to build the `svn-status-info' variable."
- (setq svn-status-head-revision nil)
- (save-excursion
- (let ((old-ui-information (svn-status-ui-information-hash-table))
- (svn-marks)
- (svn-file-mark)
- (svn-property-mark)
- (svn-wc-locked-mark)
- (svn-repo-locked-mark)
- (svn-with-history-mark)
- (svn-switched-mark)
- (svn-update-mark)
- (local-rev)
- (last-change-rev)
- (author)
- (path)
- (dir)
- (revision-width svn-status-default-revision-width)
- (author-width svn-status-default-author-width)
- (svn-marks-length (if svn-status-verbose
- (if svn-status-remote
- 8 6)
- (if svn-status-remote
- ;; not verbose
- 8 7)))
- (dir-set '("."))
- (externals-map (make-hash-table :test 'equal))
- (skip-double-external-dir-entry-name nil))
- (set-buffer svn-process-buffer-name)
- (setq svn-status-info nil)
- (run-hooks 'svn-pre-parse-status-hook)
- (goto-char (point-min))
- (while (< (point) (point-max))
- (cond
- ((= (svn-point-at-eol) (svn-point-at-bol)) ;skip blank lines
- nil)
- ((looking-at "Status against revision:[ ]+\\([0-9]+\\)")
- ;; the above message appears for the main listing plus once for each svn:externals entry
- (unless svn-status-head-revision
- (setq svn-status-head-revision (match-string 1))))
- ((looking-at "Performing status on external item at '\\(.*\\)'")
- ;; The *next* line has info about the directory named in svn:externals
- ;; [ie the directory in (match-string 1)]
- ;; we should parse it, and merge the info with what we have already know
- ;; but for now just ignore the line completely
- ; (forward-line)
- ;; Actually, this seems to not always be the case
- ;; I have an example where we are in an svn:external which
- ;; is itself inside a svn:external, this need not be true:
- ;; the next line is not 'X dir' but just 'dir', so we
- ;; actually need to parse that line, or the results will
- ;; not contain dir!
- ;; so we should merge lines 'X dir' with ' dir', but for now
- ;; we just leave both in the results
-
- ;; My attempt to merge the lines uses skip-double-external-dir-entry-name
- ;; and externals-map
- (setq skip-double-external-dir-entry-name (svn-match-string-no-properties 1))
- ;; (message "Going to skip %s" skip-double-external-dir-entry-name)
- nil)
- ((looking-at "--- Changelist") ; skip svn changelist header lines
- ;; See: http://svn.collab.net/repos/svn/trunk/notes/changelist-design.txt
- nil)
- (t
- (setq svn-marks (buffer-substring (point) (+ (point) svn-marks-length))
- svn-file-mark (elt svn-marks 0) ; 1st column - M,A,C,D,G,? etc
- svn-property-mark (elt svn-marks 1) ; 2nd column - M,C (properties)
- svn-wc-locked-mark (elt svn-marks 2) ; 3rd column - L or blank
- svn-with-history-mark (elt svn-marks 3) ; 4th column - + or blank
- svn-switched-mark (elt svn-marks 4) ; 5th column - S or blank
- svn-repo-locked-mark (elt svn-marks 5)) ; 6th column - K,O,T,B or blank
- (when svn-status-remote
- (setq svn-update-mark (elt svn-marks 7))) ; 8th column - * or blank
- (when (eq svn-property-mark ?\ ) (setq svn-property-mark nil))
- (when (eq svn-wc-locked-mark ?\ ) (setq svn-wc-locked-mark nil))
- (when (eq svn-with-history-mark ?\ ) (setq svn-with-history-mark nil))
- (when (eq svn-switched-mark ?\ ) (setq svn-switched-mark nil))
- (when (eq svn-update-mark ?\ ) (setq svn-update-mark nil))
- (when (eq svn-repo-locked-mark ?\ ) (setq svn-repo-locked-mark nil))
- (forward-char svn-marks-length)
- (skip-chars-forward " ")
- ;; (message "after marks: '%s'" (buffer-substring (point) (line-end-position)))
- (cond
- ((looking-at "\\([-?]\\|[0-9]+\\) +\\([-?]\\|[0-9]+\\) +\\([^ ]+\\) *\\(.+\\)$")
- (setq local-rev (svn-parse-rev-num (match-string 1))
- last-change-rev (svn-parse-rev-num (match-string 2))
- author (match-string 3)
- path (match-string 4)))
- ((looking-at "\\([-?]\\|[0-9]+\\) +\\([^ ]+\\)$")
- (setq local-rev (svn-parse-rev-num (match-string 1))
- last-change-rev -1
- author "?"
- path (match-string 2)))
- ((looking-at "\\(.*\\)")
- (setq path (match-string 1)
- local-rev -1
- last-change-rev -1
- author (if (eq svn-file-mark ?X) "" "?"))) ;clear author of svn:externals dirs
- (t
- (error "Unknown status line format")))
- (unless path (setq path "."))
- (setq dir (file-name-directory path))
- (if (and (not svn-status-verbose) dir)
- (let ((dirname (directory-file-name dir)))
- (if (not (member dirname dir-set))
- (setq dir-set (cons dirname dir-set)))))
- (if (and skip-double-external-dir-entry-name (string= skip-double-external-dir-entry-name path))
- ;; merge this entry to a previous saved one
- (let ((info (gethash path externals-map)))
- ;; (message "skip-double-external-dir-entry-name: %s - path: %s" skip-double-external-dir-entry-name path)
- (if info
- (progn
- (svn-status-line-info->set-localrev info local-rev)
- (svn-status-line-info->set-lastchangerev info last-change-rev)
- (svn-status-line-info->set-author info author)
- (svn-status-message 3 "merging entry for %s to %s" path info)
- (setq skip-double-external-dir-entry-name nil))
- (message "psvn: %s not handled correct, please report this case." path)))
- (setq svn-status-info
- (cons (svn-status-make-line-info path
- (gethash path old-ui-information)
- svn-file-mark
- svn-property-mark
- local-rev
- last-change-rev
- author
- svn-update-mark
- svn-wc-locked-mark
- svn-with-history-mark
- svn-switched-mark
- svn-repo-locked-mark
- nil) ;;psvn-extra-info
- svn-status-info)))
- (when (eq svn-file-mark ?X)
- (svn-puthash (match-string 1) (car svn-status-info) externals-map)
- (svn-status-message 3 "found external: %s %S" (match-string 1) (car svn-status-info)))
- (setq revision-width (max revision-width
- (length (number-to-string local-rev))
- (length (number-to-string last-change-rev))))
- (setq author-width (max author-width (length author)))))
- (forward-line 1))
- (unless svn-status-verbose
- (setq svn-status-info (svn-status-make-dummy-dirs dir-set
- old-ui-information)))
- (setq svn-status-default-column
- (+ 6 revision-width revision-width author-width
- (if svn-status-short-mod-flag-p 3 0)))
- (setq svn-status-line-format (format " %%c%%c%%c %%%ds %%%ds %%-%ds"
- revision-width
- revision-width
- author-width))
- (setq svn-status-info (nreverse svn-status-info))
- (when svn-status-sort-status-buffer
- (setq svn-status-info (sort svn-status-info 'svn-status-sort-predicate))))))
-
-;;(string-lessp "." "%") => nil
-;(svn-status-sort-predicate '(t t t ".") '(t t t "%")) => t
-(defun svn-status-sort-predicate (a b)
- "Return t if A should appear before B in the `svn-status-buffer-name' buffer.
-A and B must be line-info's."
- (string-lessp (concat (svn-status-line-info->full-path a) "/")
- (concat (svn-status-line-info->full-path b) "/")))
-
-(defun svn-status-remove-temp-file-maybe ()
- "Remove any (no longer required) temporary files created by psvn.el."
- (when svn-status-temp-file-to-remove
- (when (file-exists-p svn-status-temp-file-to-remove)
- (delete-file svn-status-temp-file-to-remove))
- (when (file-exists-p svn-status-temp-arg-file)
- (delete-file svn-status-temp-arg-file))
- (setq svn-status-temp-file-to-remove nil)))
-
-(defun svn-status-remove-control-M ()
- "Remove ^M at end of line in the whole buffer."
- (interactive)
- (let ((buffer-read-only nil))
- (save-match-data
- (save-excursion
- (goto-char (point-min))
- (while (re-search-forward "\r$" (point-max) t)
- (replace-match "" nil nil))))))
-
-(condition-case nil
- ;;(easy-menu-add-item nil '("tools") ["SVN Status" svn-status t] "PCL-CVS")
- (easy-menu-add-item nil '("tools") ["SVN Status" svn-status t])
- (error (message "psvn: could not install menu")))
-
-(defvar svn-status-mode-map () "Keymap used in `svn-status-mode' buffers.")
-(put 'svn-status-mode-map 'risky-local-variable t) ;for Emacs 20.7
-(defvar svn-status-mode-mark-map ()
- "Subkeymap used in `svn-status-mode' for mark commands.")
-(put 'svn-status-mode-mark-map 'risky-local-variable t) ;for Emacs 20.7
-(defvar svn-status-mode-property-map ()
- "Subkeymap used in `svn-status-mode' for property commands.")
-(put 'svn-status-mode-property-map 'risky-local-variable t) ;for Emacs 20.7
-(defvar svn-status-mode-options-map ()
- "Subkeymap used in `svn-status-mode' for option commands.")
-(put 'svn-status-mode-options-map 'risky-local-variable t) ;for Emacs 20.7
-(defvar svn-status-mode-trac-map ()
- "Subkeymap used in `svn-status-mode' for trac issue tracker commands.")
-(put 'svn-status-mode-trac-map 'risky-local-variable t) ;for Emacs 20.7
-(defvar svn-status-mode-extension-map ()
- "Subkeymap used in `svn-status-mode' for some seldom used commands.")
-(put 'svn-status-mode-extension-map 'risky-local-variable t) ;for Emacs 20.7
-(defvar svn-status-mode-branch-map ()
- "Subkeymap used in `svn-status-mode' for branching commands.")
-(put 'svn-status-mode-extension-map 'risky-local-variable t) ;for Emacs 20.7
-
-(when (not svn-status-mode-map)
- (setq svn-status-mode-map (make-sparse-keymap))
- (suppress-keymap svn-status-mode-map)
- ;; Don't use (kbd "<return>"); it's unreachable with GNU Emacs 21.3 on a TTY.
- (define-key svn-status-mode-map (kbd "RET") 'svn-status-find-file-or-examine-directory)
- (define-key svn-status-mode-map (kbd "<mouse-2>") 'svn-status-mouse-find-file-or-examine-directory)
- (define-key svn-status-mode-map (kbd "^") 'svn-status-examine-parent)
- (define-key svn-status-mode-map (kbd "s") 'svn-status-show-process-buffer)
- (define-key svn-status-mode-map (kbd "h") 'svn-status-pop-to-partner-buffer)
- (define-key svn-status-mode-map (kbd "f") 'svn-status-find-files)
- (define-key svn-status-mode-map (kbd "o") 'svn-status-find-file-other-window)
- (define-key svn-status-mode-map (kbd "C-o") 'svn-status-find-file-other-window-noselect)
- (define-key svn-status-mode-map (kbd "v") 'svn-status-view-file-other-window)
- (define-key svn-status-mode-map (kbd "e") 'svn-status-toggle-edit-cmd-flag)
- (define-key svn-status-mode-map (kbd "g") 'svn-status-update)
- (define-key svn-status-mode-map (kbd "M-s") 'svn-status-update) ;; PCL-CVS compatibility
- (define-key svn-status-mode-map (kbd "q") 'svn-status-bury-buffer)
- (define-key svn-status-mode-map (kbd "x") 'svn-status-redraw-status-buffer)
- (define-key svn-status-mode-map (kbd "H") 'svn-status-use-history)
- (define-key svn-status-mode-map (kbd "m") 'svn-status-set-user-mark)
- (define-key svn-status-mode-map (kbd "u") 'svn-status-unset-user-mark)
- ;; This matches a binding of `dired-unmark-all-files' in `dired-mode-map'
- ;; of both GNU Emacs and XEmacs. It seems unreachable with XEmacs on
- ;; TTY, but if that's a problem then its Dired needs fixing too.
- ;; Or you could just use "*!".
- (define-key svn-status-mode-map "\M-\C-?" 'svn-status-unset-all-usermarks)
- ;; The key that normally deletes characters backwards should here
- ;; instead unmark files backwards. In GNU Emacs, that would be (kbd
- ;; "DEL") aka [?\177], but XEmacs treats those as [(delete)] and
- ;; would bind a key that normally deletes forwards. [(backspace)]
- ;; is unreachable with GNU Emacs on a tty. Try to recognize the
- ;; dialect and act accordingly.
- ;;
- ;; XEmacs has a `delete-forward-p' function that checks the
- ;; `delete-key-deletes-forward' option. We don't use those, for two
- ;; reasons: psvn.el may be loaded before user customizations, and
- ;; XEmacs allows simultaneous connections to multiple devices with
- ;; different keyboards.
- (define-key svn-status-mode-map
- (if (member (kbd "DEL") '([(delete)] [delete]))
- [(backspace)] ; XEmacs
- (kbd "DEL")) ; GNU Emacs
- 'svn-status-unset-user-mark-backwards)
- (define-key svn-status-mode-map (kbd "$") 'svn-status-toggle-elide)
- (define-key svn-status-mode-map (kbd "w") 'svn-status-copy-current-line-info)
- (define-key svn-status-mode-map (kbd ".") 'svn-status-goto-root-or-return)
- (define-key svn-status-mode-map (kbd "I") 'svn-status-parse-info)
- (define-key svn-status-mode-map (kbd "V") 'svn-status-svnversion)
- (define-key svn-status-mode-map (kbd "?") 'svn-status-toggle-hide-unknown)
- (define-key svn-status-mode-map (kbd "_") 'svn-status-toggle-hide-unmodified)
- (define-key svn-status-mode-map (kbd "a") 'svn-status-add-file)
- (define-key svn-status-mode-map (kbd "A") 'svn-status-add-file-recursively)
- (define-key svn-status-mode-map (kbd "+") 'svn-status-make-directory)
- (define-key svn-status-mode-map (kbd "R") 'svn-status-mv)
- (define-key svn-status-mode-map (kbd "C") 'svn-status-cp)
- (define-key svn-status-mode-map (kbd "D") 'svn-status-rm)
- (define-key svn-status-mode-map (kbd "c") 'svn-status-commit)
- (define-key svn-status-mode-map (kbd "M-c") 'svn-status-cleanup)
- (define-key svn-status-mode-map (kbd "k") 'svn-status-lock)
- (define-key svn-status-mode-map (kbd "K") 'svn-status-unlock)
- (define-key svn-status-mode-map (kbd "U") 'svn-status-update-cmd)
- (define-key svn-status-mode-map (kbd "M-u") 'svn-status-update-cmd)
- (define-key svn-status-mode-map (kbd "r") 'svn-status-revert)
- (define-key svn-status-mode-map (kbd "l") 'svn-status-show-svn-log)
- (define-key svn-status-mode-map (kbd "i") 'svn-status-info)
- (define-key svn-status-mode-map (kbd "b") 'svn-status-blame)
- (define-key svn-status-mode-map (kbd "=") 'svn-status-show-svn-diff)
- ;; [(control ?=)] is unreachable on TTY, but you can use "*u" instead.
- ;; (Is the "u" mnemonic for something?)
- (define-key svn-status-mode-map (kbd "C-=") 'svn-status-show-svn-diff-for-marked-files)
- (define-key svn-status-mode-map (kbd "~") 'svn-status-get-specific-revision)
- (define-key svn-status-mode-map (kbd "E") 'svn-status-ediff-with-revision)
-
- (define-key svn-status-mode-map (kbd "S g") 'svn-status-grep-files)
- (define-key svn-status-mode-map (kbd "S s") 'svn-status-search-files)
-
- (define-key svn-status-mode-map (kbd "n") 'svn-status-next-line)
- (define-key svn-status-mode-map (kbd "p") 'svn-status-previous-line)
- (define-key svn-status-mode-map (kbd "<down>") 'svn-status-next-line)
- (define-key svn-status-mode-map (kbd "<up>") 'svn-status-previous-line)
- (define-key svn-status-mode-map (kbd "C-x C-j") 'svn-status-dired-jump)
- (define-key svn-status-mode-map [down-mouse-3] 'svn-status-popup-menu)
- (setq svn-status-mode-mark-map (make-sparse-keymap))
- (define-key svn-status-mode-map (kbd "*") svn-status-mode-mark-map)
- (define-key svn-status-mode-mark-map (kbd "!") 'svn-status-unset-all-usermarks)
- (define-key svn-status-mode-mark-map (kbd "?") 'svn-status-mark-unknown)
- (define-key svn-status-mode-mark-map (kbd "A") 'svn-status-mark-added)
- (define-key svn-status-mode-mark-map (kbd "M") 'svn-status-mark-modified)
- (define-key svn-status-mode-mark-map (kbd "P") 'svn-status-mark-modified-properties)
- (define-key svn-status-mode-mark-map (kbd "D") 'svn-status-mark-deleted)
- (define-key svn-status-mode-mark-map (kbd "*") 'svn-status-mark-changed)
- (define-key svn-status-mode-mark-map (kbd ".") 'svn-status-mark-by-file-ext)
- (define-key svn-status-mode-mark-map (kbd "%") 'svn-status-mark-filename-regexp)
- (define-key svn-status-mode-mark-map (kbd "u") 'svn-status-show-svn-diff-for-marked-files))
-(when (not svn-status-mode-property-map)
- (setq svn-status-mode-property-map (make-sparse-keymap))
- (define-key svn-status-mode-property-map (kbd "l") 'svn-status-property-list)
- (define-key svn-status-mode-property-map (kbd "s") 'svn-status-property-set)
- (define-key svn-status-mode-property-map (kbd "d") 'svn-status-property-delete)
- (define-key svn-status-mode-property-map (kbd "e") 'svn-status-property-edit-one-entry)
- (define-key svn-status-mode-property-map (kbd "i") 'svn-status-property-ignore-file)
- (define-key svn-status-mode-property-map (kbd "I") 'svn-status-property-ignore-file-extension)
- ;; XEmacs 21.4.15 on TTY (vt420) converts `C-i' to `TAB',
- ;; which [(control ?i)] won't match. Handle it separately.
- ;; On GNU Emacs, the following two forms bind the same key,
- ;; reducing clutter in `where-is'.
- (define-key svn-status-mode-property-map [(control ?i)] 'svn-status-property-edit-svn-ignore)
- (define-key svn-status-mode-property-map (kbd "TAB") 'svn-status-property-edit-svn-ignore)
- (define-key svn-status-mode-property-map (kbd "k") 'svn-status-property-set-keyword-list)
- (define-key svn-status-mode-property-map (kbd "Ki") 'svn-status-property-set-keyword-id)
- (define-key svn-status-mode-property-map (kbd "Kd") 'svn-status-property-set-keyword-date)
- (define-key svn-status-mode-property-map (kbd "y") 'svn-status-property-set-eol-style)
- (define-key svn-status-mode-property-map (kbd "x") 'svn-status-property-set-executable)
- (define-key svn-status-mode-property-map (kbd "m") 'svn-status-property-set-mime-type)
- ;; TODO: Why is `svn-status-select-line' in `svn-status-mode-property-map'?
- (define-key svn-status-mode-property-map (kbd "RET") 'svn-status-select-line)
- (define-key svn-status-mode-map (kbd "P") svn-status-mode-property-map))
-(when (not svn-status-mode-extension-map)
- (setq svn-status-mode-extension-map (make-sparse-keymap))
- (define-key svn-status-mode-extension-map (kbd "v") 'svn-status-resolved)
- (define-key svn-status-mode-extension-map (kbd "X") 'svn-status-resolve-conflicts)
- (define-key svn-status-mode-extension-map (kbd "e") 'svn-status-export)
- (define-key svn-status-mode-map (kbd "X") svn-status-mode-extension-map))
-(when (not svn-status-mode-options-map)
- (setq svn-status-mode-options-map (make-sparse-keymap))
- (define-key svn-status-mode-options-map (kbd "s") 'svn-status-save-state)
- (define-key svn-status-mode-options-map (kbd "l") 'svn-status-load-state)
- (define-key svn-status-mode-options-map (kbd "x") 'svn-status-toggle-sort-status-buffer)
- (define-key svn-status-mode-options-map (kbd "v") 'svn-status-toggle-svn-verbose-flag)
- (define-key svn-status-mode-options-map (kbd "f") 'svn-status-toggle-display-full-path)
- (define-key svn-status-mode-options-map (kbd "t") 'svn-status-set-trac-project-root)
- (define-key svn-status-mode-options-map (kbd "n") 'svn-status-set-module-name)
- (define-key svn-status-mode-options-map (kbd "c") 'svn-status-set-changelog-style)
- (define-key svn-status-mode-options-map (kbd "b") 'svn-status-set-branch-list)
- (define-key svn-status-mode-map (kbd "O") svn-status-mode-options-map))
-(when (not svn-status-mode-trac-map)
- (setq svn-status-mode-trac-map (make-sparse-keymap))
- (define-key svn-status-mode-trac-map (kbd "w") 'svn-trac-browse-wiki)
- (define-key svn-status-mode-trac-map (kbd "t") 'svn-trac-browse-timeline)
- (define-key svn-status-mode-trac-map (kbd "m") 'svn-trac-browse-roadmap)
- (define-key svn-status-mode-trac-map (kbd "r") 'svn-trac-browse-report)
- (define-key svn-status-mode-trac-map (kbd "s") 'svn-trac-browse-source)
- (define-key svn-status-mode-trac-map (kbd "i") 'svn-trac-browse-ticket)
- (define-key svn-status-mode-trac-map (kbd "c") 'svn-trac-browse-changeset)
- (define-key svn-status-mode-map (kbd "T") svn-status-mode-trac-map))
-(when (not svn-status-mode-branch-map)
- (setq svn-status-mode-branch-map (make-sparse-keymap))
- (define-key svn-status-mode-branch-map (kbd "d") 'svn-branch-diff)
- (define-key svn-status-mode-map (kbd "B") svn-status-mode-branch-map))
-
-(easy-menu-define svn-status-mode-menu svn-status-mode-map
- "'svn-status-mode' menu"
- '("SVN"
- ["svn status" svn-status-update t]
- ["svn update" svn-status-update-cmd t]
- ["svn commit" svn-status-commit t]
- ["svn log" svn-status-show-svn-log t]
- ["svn info" svn-status-info t]
- ["svn blame" svn-status-blame t]
- ("Diff"
- ["svn diff current file" svn-status-show-svn-diff t]
- ["svn diff marked files" svn-status-show-svn-diff-for-marked-files t]
- ["svn ediff current file" svn-status-ediff-with-revision t]
- ["svn resolve conflicts" svn-status-resolve-conflicts]
- )
- ("Search"
- ["Grep marked files" svn-status-grep-files t]
- ["Search marked files" svn-status-search-files t]
- )
- ["svn cat ..." svn-status-get-specific-revision t]
- ["svn add" svn-status-add-file t]
- ["svn add recursively" svn-status-add-file-recursively t]
- ["svn mkdir..." svn-status-make-directory t]
- ["svn mv..." svn-status-mv t]
- ["svn cp..." svn-status-cp t]
- ["svn rm..." svn-status-rm t]
- ["svn export..." svn-status-export t]
- ["Up Directory" svn-status-examine-parent t]
- ["Elide Directory" svn-status-toggle-elide t]
- ["svn revert" svn-status-revert t]
- ["svn resolved" svn-status-resolved t]
- ["svn cleanup" svn-status-cleanup t]
- ["svn lock" svn-status-lock t]
- ["svn unlock" svn-status-unlock t]
- ["Show Process Buffer" svn-status-show-process-buffer t]
- ("Branch"
- ["diff" svn-branch-diff t]
- ["Set Branch list" svn-status-set-branch-list t]
- )
- ("Property"
- ["svn proplist" svn-status-property-list t]
- ["Set Multiple Properties..." svn-status-property-set t]
- ["Edit One Property..." svn-status-property-edit-one-entry t]
- ["svn propdel..." svn-status-property-delete t]
- "---"
- ["svn:ignore File..." svn-status-property-ignore-file t]
- ["svn:ignore File Extension..." svn-status-property-ignore-file-extension t]
- ["Edit svn:ignore Property" svn-status-property-edit-svn-ignore t]
- "---"
- ["Edit svn:keywords List" svn-status-property-set-keyword-list t]
- ["Add/Remove Id to/from svn:keywords" svn-status-property-set-keyword-id t]
- ["Add/Remove Date to/from svn:keywords" svn-status-property-set-keyword-date t]
- "---"
- ["Select svn:eol-style" svn-status-property-set-eol-style t]
- ["Set svn:executable" svn-status-property-set-executable t]
- ["Set svn:mime-type" svn-status-property-set-mime-type t]
- )
- ("Options"
- ["Save Options" svn-status-save-state t]
- ["Load Options" svn-status-load-state t]
- ["Set Trac project root" svn-status-set-trac-project-root t]
- ["Set Short module name" svn-status-set-module-name t]
- ["Set Changelog style" svn-status-set-changelog-style t]
- ["Set Branch list" svn-status-set-branch-list t]
- ["Sort the *svn-status* buffer" svn-status-toggle-sort-status-buffer
- :style toggle :selected svn-status-sort-status-buffer]
- ["Use -v for svn status calls" svn-status-toggle-svn-verbose-flag
- :style toggle :selected svn-status-verbose]
- ["Display full path names" svn-status-toggle-display-full-path
- :style toggle :selected svn-status-display-full-path]
- )
- ("Trac"
- ["Browse wiki" svn-trac-browse-wiki t]
- ["Browse timeline" svn-trac-browse-timeline t]
- ["Browse roadmap" svn-trac-browse-roadmap t]
- ["Browse source" svn-trac-browse-source t]
- ["Browse report" svn-trac-browse-report t]
- ["Browse ticket" svn-trac-browse-ticket t]
- ["Browse changeset" svn-trac-browse-changeset t]
- ["Set Trac project root" svn-status-set-trac-project-root t]
- )
- "---"
- ["Edit Next SVN Cmd Line" svn-status-toggle-edit-cmd-flag t]
- ["Work Directory History..." svn-status-use-history t]
- ("Mark / Unmark"
- ["Mark" svn-status-set-user-mark t]
- ["Unmark" svn-status-unset-user-mark t]
- ["Unmark all" svn-status-unset-all-usermarks t]
- "---"
- ["Mark/Unmark unknown" svn-status-mark-unknown t]
- ["Mark/Unmark modified" svn-status-mark-modified t]
- ["Mark/Unmark modified properties" svn-status-mark-modified-properties t]
- ["Mark/Unmark added" svn-status-mark-added t]
- ["Mark/Unmark deleted" svn-status-mark-deleted t]
- ["Mark/Unmark modified/added/deleted" svn-status-mark-changed t]
- ["Mark/Unmark filename by extension" svn-status-mark-by-file-ext t]
- ["Mark/Unmark filename by regexp" svn-status-mark-filename-regexp t]
- )
- ["Hide Unknown" svn-status-toggle-hide-unknown
- :style toggle :selected svn-status-hide-unknown]
- ["Hide Unmodified" svn-status-toggle-hide-unmodified
- :style toggle :selected svn-status-hide-unmodified]
- ["Show Client versions" svn-status-version t]
- ["Prepare bug report" svn-prepare-bug-report t]
- ))
-
-(defvar svn-status-file-popup-menu-list
- '(["open" svn-status-find-file-other-window t]
- ["svn diff" svn-status-show-svn-diff t]
- ["svn commit" svn-status-commit t]
- ["svn log" svn-status-show-svn-log t]
- ["svn blame" svn-status-blame t]
- ["mark" svn-status-set-user-mark t]
- ["unmark" svn-status-unset-user-mark t]
- ["svn add" svn-status-add-file t]
- ["svn add recursively" svn-status-add-file-recursively t]
- ["svn mv..." svn-status-mv t]
- ["svn rm..." svn-status-rm t]
- ["svn lock" svn-status-lock t]
- ["svn unlock" svn-status-unlock t]
- ["svn info" svn-status-info t]
- ) "A list of menu entries for `svn-status-popup-menu'")
-
-;; extend svn-status-file-popup-menu-list via:
-;; (add-to-list 'svn-status-file-popup-menu-list ["commit" svn-status-commit t])
-
-(defun svn-status-popup-menu (event)
- "Display a file specific popup menu"
- (interactive "e")
- (mouse-set-point event)
- (let* ((line-info (svn-status-get-line-information))
- (name (svn-status-line-info->filename line-info)))
- (when line-info
- (easy-menu-define svn-status-actual-popup-menu nil nil
- (append (list name) svn-status-file-popup-menu-list))
- (svn-status-face-set-temporary-during-popup
- 'svn-status-marked-popup-face (svn-point-at-bol) (svn-point-at-eol)
- svn-status-actual-popup-menu))))
-
-(defun svn-status-face-set-temporary-during-popup (face begin end menu &optional prefix)
- "Put FACE on BEGIN and END in the buffer during Popup MENU.
-PREFIX is passed to `popup-menu'."
- (let (o)
- (unwind-protect
- (progn
- (setq o (make-overlay begin end))
- (overlay-put o 'face face)
- (sit-for 0)
- (popup-menu menu prefix))
- (delete-overlay o))))
-
-(defun svn-status-mode ()
- "Major mode used by psvn.el to display the output of \"svn status\".
-
-The Output has the following format:
- FPH BASE CMTD Author em File
-F = Filemark
-P = Property mark
-H = History mark
-BASE = local base revision
-CMTD = last committed revision
-Author = author of change
-em = \"**\" or \"(Update Available)\" [see `svn-status-short-mod-flag-p']
- if file can be updated
-File = path/filename
-
-The following keys are defined:
-\\{svn-status-mode-map}"
- (interactive)
- (kill-all-local-variables)
-
- (use-local-map svn-status-mode-map)
- (easy-menu-add svn-status-mode-menu)
-
- (setq major-mode 'svn-status-mode)
- (setq mode-name "svn-status")
- (setq mode-line-process 'svn-status-mode-line-process)
- (run-hooks 'svn-status-mode-hook)
- (let ((view-read-only nil))
- (toggle-read-only 1)))
-
-(defun svn-status-update-mode-line ()
- (setq svn-status-mode-line-process
- (concat svn-status-mode-line-process-edit-flag svn-status-mode-line-process-status))
- (force-mode-line-update))
-
-(defun svn-status-bury-buffer (arg)
- "Bury the buffers used by psvn.el
-Currently this is:
- `svn-status-buffer-name'
- `svn-process-buffer-name'
- `svn-log-edit-buffer-name'
- *svn-property-edit*
- *svn-log*
- *svn-info*
-When called with a prefix argument, ARG, switch back to the window configuration that was
-in use before `svn-status' was called."
- (interactive "P")
- (cond (arg
- (when svn-status-initial-window-configuration
- (set-window-configuration svn-status-initial-window-configuration)))
- (t
- (let ((bl `(,svn-log-edit-buffer-name "*svn-property-edit*" "*svn-log*" "*svn-info*" ,svn-process-buffer-name)))
- (while bl
- (when (get-buffer (car bl))
- (bury-buffer (car bl)))
- (setq bl (cdr bl)))
- (when (string= (buffer-name) svn-status-buffer-name)
- (bury-buffer))))))
-
-(defun svn-status-save-some-buffers (&optional tree)
- "Save all buffers visiting a file in TREE.
-If TREE is not given, try `svn-status-base-dir' as TREE."
- (interactive)
- ;; (message "svn-status-save-some-buffers: tree1: %s" tree)
- (let ((ok t)
- (tree (or (svn-status-base-dir)
- tree)))
- ;; (message "svn-status-save-some-buffers: tree2: %s" tree)
- (unless tree
- (error "Not in a svn project tree"))
- (dolist (buffer (buffer-list))
- (with-current-buffer buffer
- (when (buffer-modified-p)
- (let ((file (buffer-file-name)))
- (when file
- (let ((root (svn-status-base-dir (file-name-directory file))))
- ;; (message "svn-status-save-some-buffers: file: %s, root: %s" file root)
- (when (and root
- (string= root tree)
- ;; buffer is modified and in the tree TREE.
- (or (y-or-n-p (concat "Save buffer " (buffer-name) "? "))
- (setq ok nil)))
- (save-buffer))))))))
- ok))
-
-(defun svn-status-find-files ()
- "Open selected file(s) for editing.
-See `svn-status-marked-files' for what counts as selected."
- (interactive)
- (let ((fnames (mapcar 'svn-status-line-info->full-path (svn-status-marked-files))))
- (mapc 'find-file fnames)))
-
-
-(defun svn-status-find-file-other-window ()
- "Open the file in the other window for editing."
- (interactive)
- (svn-status-ensure-cursor-on-file)
- (find-file-other-window (svn-status-line-info->filename
- (svn-status-get-line-information))))
-
-(defun svn-status-find-file-other-window-noselect ()
- "Open the file in the other window for editing, but don't select it."
- (interactive)
- (svn-status-ensure-cursor-on-file)
- (display-buffer
- (find-file-noselect (svn-status-line-info->filename
- (svn-status-get-line-information)))))
-
-(defun svn-status-view-file-other-window ()
- "Open the file in the other window for viewing."
- (interactive)
- (svn-status-ensure-cursor-on-file)
- (view-file-other-window (svn-status-line-info->filename
- (svn-status-get-line-information))))
-
-(defun svn-status-find-file-or-examine-directory ()
- "If point is on a directory, run `svn-status' on that directory.
-Otherwise run `find-file'."
- (interactive)
- (svn-status-ensure-cursor-on-file)
- (let ((line-info (svn-status-get-line-information)))
- (if (svn-status-line-info->directory-p line-info)
- (svn-status (svn-status-line-info->full-path line-info))
- (find-file (svn-status-line-info->filename line-info)))))
-
-(defun svn-status-examine-parent ()
- "Run `svn-status' on the parent of the current directory."
- (interactive)
- (svn-status (expand-file-name "../")))
-
-(defun svn-status-mouse-find-file-or-examine-directory (event)
- "Move point to where EVENT occurred, and do `svn-status-find-file-or-examine-directory'
-EVENT could be \"mouse clicked\" or similar."
- (interactive "e")
- (mouse-set-point event)
- (svn-status-find-file-or-examine-directory))
-
-(defun svn-status-line-info->ui-status (line-info)
- "Return the ui-status structure of LINE-INFO.
-See `svn-status-make-ui-status' for information about the ui-status."
- (nth 0 line-info))
-
-(defun svn-status-line-info->has-usermark (line-info) (nth 0 (nth 0 line-info)))
-(defun svn-status-line-info->user-elide (line-info) (nth 1 (nth 0 line-info)))
-
-(defun svn-status-line-info->filemark (line-info) (nth 1 line-info))
-(defun svn-status-line-info->propmark (line-info) (nth 2 line-info))
-(defun svn-status-line-info->filename (line-info) (nth 3 line-info))
-(defun svn-status-line-info->filename-nondirectory (line-info)
- (file-name-nondirectory (svn-status-line-info->filename line-info)))
-(defun svn-status-line-info->localrev (line-info)
- (if (>= (nth 4 line-info) 0)
- (nth 4 line-info)
- nil))
-(defun svn-status-line-info->lastchangerev (line-info)
- "Return the last revision in which LINE-INFO was modified."
- (let ((l (nth 5 line-info)))
- (if (and l (>= l 0))
- l
- nil)))
-(defun svn-status-line-info->author (line-info)
- "Return the last author that changed the item that is represented in LINE-INFO."
- (nth 6 line-info))
-(defun svn-status-line-info->update-available (line-info)
- "Return whether LINE-INFO is out of date.
-In other words, whether there is a newer version available in the
-repository than the working copy."
- (nth 7 line-info))
-(defun svn-status-line-info->locked (line-info)
- "Return whether LINE-INFO represents a locked file.
-This is column three of the `svn status' output.
-The result will be nil or \"L\".
-\(A file becomes locked when an operation is interupted; run \\[svn-status-cleanup]'
-to unlock it.\)"
- (nth 8 line-info))
-(defun svn-status-line-info->historymark (line-info)
- "Mark from column four of output from `svn status'.
-This will be nil unless the file is scheduled for addition with
-history, when it will be \"+\"."
- (nth 9 line-info))
-(defun svn-status-line-info->switched (line-info)
- "Return whether LINE-INFO is switched relative to its parent.
-This is column five of the output from `svn status'.
-The result will be nil or \"S\"."
- (nth 10 line-info))
-(defun svn-status-line-info->repo-locked (line-info)
- "Return whether LINE-INFO contains some locking information.
-This is column six of the output from `svn status'.
-The result will be \"K\", \"O\", \"T\", \"B\" or nil."
- (nth 11 line-info))
-(defun svn-status-line-info->psvn-extra-info (line-info)
- "Return a list of extra information for psvn associated with LINE-INFO.
-This list holds currently only one element:
-* The action after a commit or update."
- (nth 12 line-info))
-
-(defun svn-status-line-info->is-visiblep (line-info)
- "Return whether the line is visible or not"
- (or (not (or (svn-status-line-info->hide-because-unknown line-info)
- (svn-status-line-info->hide-because-unmodified line-info)
- (svn-status-line-info->hide-because-custom-hide-function line-info)
- (svn-status-line-info->hide-because-user-elide line-info)))
- (svn-status-line-info->update-available line-info) ;; show the line, if an update is available
- (svn-status-line-info->psvn-extra-info line-info) ;; show the line, if there is some extra info displayed on this line
- ))
-
-(defun svn-status-line-info->hide-because-unknown (line-info)
- (and svn-status-hide-unknown
- (eq (svn-status-line-info->filemark line-info) ??)))
-
-(defun svn-status-line-info->hide-because-custom-hide-function (line-info)
- (and svn-status-custom-hide-function
- (apply svn-status-custom-hide-function (list line-info))))
-
-(defun svn-status-line-info->hide-because-unmodified (line-info)
- ;;(message " %S %S %S %S - %s" svn-status-hide-unmodified (svn-status-line-info->propmark line-info) ?_
- ;; (svn-status-line-info->filemark line-info) (svn-status-line-info->filename line-info))
- (and svn-status-hide-unmodified
- (and (or (eq (svn-status-line-info->filemark line-info) ?_)
- (eq (svn-status-line-info->filemark line-info) ? ))
- (or (eq (svn-status-line-info->propmark line-info) ?_)
- (eq (svn-status-line-info->propmark line-info) ? )
- (eq (svn-status-line-info->propmark line-info) nil)))))
-
-(defun svn-status-line-info->hide-because-user-elide (line-info)
- (eq (svn-status-line-info->user-elide line-info) t))
-
-(defun svn-status-line-info->show-user-elide-continuation (line-info)
- (eq (svn-status-line-info->user-elide line-info) 'directory))
-
-;; modify the line-info
-(defun svn-status-line-info->set-filemark (line-info value)
- (setcar (nthcdr 1 line-info) value))
-
-(defun svn-status-line-info->set-propmark (line-info value)
- (setcar (nthcdr 2 line-info) value))
-
-(defun svn-status-line-info->set-localrev (line-info value)
- (setcar (nthcdr 4 line-info) value))
-
-(defun svn-status-line-info->set-author (line-info value)
- (setcar (nthcdr 6 line-info) value))
-
-(defun svn-status-line-info->set-lastchangerev (line-info value)
- (setcar (nthcdr 5 line-info) value))
-
-(defun svn-status-line-info->set-repo-locked (line-info value)
- (setcar (nthcdr 11 line-info) value))
-
-(defun svn-status-line-info->set-psvn-extra-info (line-info value)
- (setcar (nthcdr 12 line-info) value))
-
-(defun svn-status-copy-current-line-info (arg)
- "Copy the current file name at point, using `svn-status-copy-filename-as-kill'.
-If no file is at point, copy everything starting from ':' to the end of line."
- (interactive "P")
- (if (svn-status-get-line-information)
- (svn-status-copy-filename-as-kill arg)
- (save-excursion
- (goto-char (svn-point-at-bol))
- (when (looking-at ".+?: *\\(.+\\)$")
- (kill-new (svn-match-string-no-properties 1))
- (message "Copied: %s" (svn-match-string-no-properties 1))))))
-
-(defun svn-status-copy-filename-as-kill (arg)
- "Copy the actual file name to the kill-ring.
-When called with the prefix argument 0, use the full path name."
- (interactive "P")
- (let ((str (if (eq arg 0)
- (svn-status-line-info->full-path (svn-status-get-line-information))
- (svn-status-line-info->filename (svn-status-get-line-information)))))
- (kill-new str)
- (message "Copied %s" str)))
-
-(defun svn-status-get-child-directories (&optional dir)
- "Return a list of subdirectories for DIR"
- (interactive)
- (let ((this-dir (concat (expand-file-name (or dir (svn-status-line-info->filename (svn-status-get-line-information)))) "/"))
- (test-dir)
- (sub-dir-list))
- ;;(message "this-dir %S" this-dir)
- (dolist (line-info svn-status-info)
- (when (svn-status-line-info->directory-p line-info)
- (setq test-dir (svn-status-line-info->full-path line-info))
- (when (string= (file-name-directory test-dir) this-dir)
- (add-to-list 'sub-dir-list (file-relative-name (svn-status-line-info->full-path line-info)) t))))
- sub-dir-list))
-
-(defun svn-status-toggle-elide (arg)
- "Toggle eliding of the current file or directory.
-When called with a prefix argument, toggle the hiding of all subdirectories for the current directory."
- (interactive "P")
- (if arg
- (let ((cur-line (svn-status-line-info->filename (svn-status-get-line-information))))
- (when (svn-status-line-info->user-elide (svn-status-get-line-information))
- (svn-status-toggle-elide nil))
- (dolist (dir-name (svn-status-get-child-directories))
- (svn-status-goto-file-name dir-name)
- (svn-status-toggle-elide nil))
- (svn-status-goto-file-name cur-line))
- (let ((st-info svn-status-info)
- (fname)
- (test (svn-status-line-info->filename (svn-status-get-line-information)))
- (len-test)
- (len-fname)
- (new-elide-mark t)
- (elide-mark))
- (if (member test svn-status-elided-list)
- (setq svn-status-elided-list (delete test svn-status-elided-list))
- (add-to-list 'svn-status-elided-list test))
- (when (string= test ".")
- (setq test ""))
- (setq len-test (length test))
- (while st-info
- (setq fname (svn-status-line-info->filename (car st-info)))
- (setq len-fname (length fname))
- (when (and (>= len-fname len-test)
- (string= (substring fname 0 len-test) test))
- (setq elide-mark new-elide-mark)
- (when (or (string= fname ".")
- (and (= len-fname len-test) (svn-status-line-info->directory-p (car st-info))))
- (message "Elided directory %s and all its files." fname)
- (setq new-elide-mark (not (svn-status-line-info->user-elide (car st-info))))
- (setq elide-mark (if new-elide-mark 'directory nil)))
- ;;(message "elide-mark: %S member: %S" elide-mark (member fname svn-status-elided-list))
- (when (and (member fname svn-status-elided-list) (not elide-mark))
- (setq svn-status-elided-list (delete fname svn-status-elided-list)))
- (setcar (nthcdr 1 (svn-status-line-info->ui-status (car st-info))) elide-mark))
- (setq st-info (cdr st-info))))
- ;;(message "svn-status-elided-list: %S" svn-status-elided-list)
- (svn-status-update-buffer)))
-
-(defun svn-status-apply-elide-list ()
- "Elide files/directories according to `svn-status-elided-list'."
- (interactive)
- (let ((st-info svn-status-info)
- (fname)
- (len-fname)
- (test)
- (len-test)
- (elided-list)
- (elide-mark))
- (while st-info
- (setq fname (svn-status-line-info->filename (car st-info)))
- (setq len-fname (length fname))
- (setq elided-list svn-status-elided-list)
- (setq elide-mark nil)
- (while elided-list
- (setq test (car elided-list))
- (when (string= test ".")
- (setq test ""))
- (setq len-test (length test))
- (when (and (>= len-fname len-test)
- (string= (substring fname 0 len-test) test))
- (setq elide-mark t)
- (when (or (string= fname ".")
- (and (= len-fname len-test) (svn-status-line-info->directory-p (car st-info))))
- (setq elide-mark 'directory)))
- (setq elided-list (cdr elided-list)))
- ;;(message "fname: %s elide-mark: %S" fname elide-mark)
- (setcar (nthcdr 1 (svn-status-line-info->ui-status (car st-info))) elide-mark)
- (setq st-info (cdr st-info))))
- (svn-status-update-buffer))
-
-(defun svn-status-update-with-command-list (cmd-list)
- (save-excursion
- (set-buffer svn-status-buffer-name)
- (let ((st-info)
- (found)
- (action)
- (fname (svn-status-line-info->filename (svn-status-get-line-information)))
- (fname-pos (point))
- (column (current-column)))
- (setq cmd-list (sort cmd-list '(lambda (item1 item2) (string-lessp (car item1) (car item2)))))
- (while cmd-list
- (unless st-info (setq st-info svn-status-info))
- ;;(message "%S" (caar cmd-list))
- (setq found nil)
- (while (and (not found) st-info)
- (setq found (string= (caar cmd-list) (svn-status-line-info->filename (car st-info))))
- ;;(message "found: %S" found)
- (unless found (setq st-info (cdr st-info))))
- (unless found
- (svn-status-message 3 "psvn: continue to search for %s" (caar cmd-list))
- (setq st-info svn-status-info)
- (while (and (not found) st-info)
- (setq found (string= (caar cmd-list) (svn-status-line-info->filename (car st-info))))
- (unless found (setq st-info (cdr st-info)))))
- (if found
- ;;update the info line
- (progn
- (setq action (cadar cmd-list))
- ;;(message "found %s, action: %S" (caar cmd-list) action)
- (svn-status-annotate-status-buffer-entry action (car st-info)))
- (svn-status-message 3 "psvn: did not find %s" (caar cmd-list)))
- (setq cmd-list (cdr cmd-list)))
- (if fname
- (progn
- (goto-char fname-pos)
- (svn-status-goto-file-name fname)
- (goto-char (+ column (svn-point-at-bol))))
- (goto-char (+ (next-overlay-change (point-min)) svn-status-default-column))))))
-
-(defun svn-status-annotate-status-buffer-entry (action line-info)
- (let ((tag-string))
- (svn-status-goto-file-name (svn-status-line-info->filename line-info))
- (when (and (member action '(committed added))
- svn-status-commit-rev-number)
- (svn-status-line-info->set-localrev line-info svn-status-commit-rev-number)
- (svn-status-line-info->set-lastchangerev line-info svn-status-commit-rev-number))
- (when svn-status-last-commit-author
- (svn-status-line-info->set-author line-info svn-status-last-commit-author))
- (svn-status-line-info->set-psvn-extra-info line-info (list action))
- (cond ((equal action 'committed)
- (setq tag-string " <committed>")
- (when (member (svn-status-line-info->repo-locked line-info) '(?K))
- (svn-status-line-info->set-repo-locked line-info nil)))
- ((equal action 'added)
- (setq tag-string " <added>"))
- ((equal action 'deleted)
- (setq tag-string " <deleted>"))
- ((equal action 'replaced)
- (setq tag-string " <replaced>"))
- ((equal action 'updated)
- (setq tag-string " <updated>"))
- ((equal action 'updated-props)
- (setq tag-string " <updated-props>"))
- ((equal action 'conflicted)
- (setq tag-string " <conflicted>")
- (svn-status-line-info->set-filemark line-info ?C))
- ((equal action 'merged)
- (setq tag-string " <merged>"))
- ((equal action 'propset)
- ;;(setq tag-string " <propset>")
- (svn-status-line-info->set-propmark line-info svn-status-file-modified-after-save-flag))
- ((equal action 'added-wc)
- (svn-status-line-info->set-filemark line-info ?A)
- (svn-status-line-info->set-localrev line-info 0))
- ((equal action 'deleted-wc)
- (svn-status-line-info->set-filemark line-info ?D))
- (t
- (error "Unknown action '%s for %s" action (svn-status-line-info->filename line-info))))
- (when (and tag-string (not (member action '(conflicted merged))))
- (svn-status-line-info->set-filemark line-info ? )
- (svn-status-line-info->set-propmark line-info ? ))
- (let ((buffer-read-only nil))
- (delete-region (svn-point-at-bol) (svn-point-at-eol))
- (svn-insert-line-in-status-buffer line-info)
- (backward-char 1)
- (when tag-string
- (insert tag-string))
- (delete-char 1))))
-
-
-
-;; (svn-status-update-with-command-list '(("++ideas" committed) ("a.txt" committed) ("alf")))
-;; (svn-status-update-with-command-list (svn-status-parse-commit-output))
-
-(defun svn-status-parse-commit-output ()
- "Parse the output of svn commit.
-Return a list that is suitable for `svn-status-update-with-command-list'"
- (save-excursion
- (set-buffer svn-process-buffer-name)
- (let ((action)
- (file-name)
- (skip)
- (result))
- (goto-char (point-min))
- (setq svn-status-commit-rev-number nil)
- (setq skip nil) ; set to t whenever we find a line not about a committed file
- (while (< (point) (point-max))
- (cond ((= (svn-point-at-eol) (svn-point-at-bol)) ;skip blank lines
- (setq skip t))
- ((looking-at "Sending")
- (setq action 'committed))
- ((looking-at "Adding")
- (setq action 'added))
- ((looking-at "Deleting")
- (setq action 'deleted))
- ((looking-at "Replacing")
- (setq action 'replaced))
- ((looking-at "Transmitting file data")
- (setq skip t))
- ((looking-at "Committed revision \\([0-9]+\\)")
- (setq svn-status-commit-rev-number
- (string-to-number (svn-match-string-no-properties 1)))
- (setq skip t))
- (t ;; this should never be needed(?)
- (setq action 'unknown)))
- (unless skip ;found an interesting line
- (forward-char 15)
- (when svn-status-operated-on-dot
- ;; when the commit used . as argument, delete the trailing directory
- ;; from the svn output
- (search-forward "/" nil t))
- (setq file-name (buffer-substring-no-properties (point) (svn-point-at-eol)))
- (unless svn-status-last-commit-author
- (setq svn-status-last-commit-author (car (svn-status-info-for-path (expand-file-name (concat default-directory file-name))))))
- (setq result (cons (list file-name action)
- result))
- (setq skip nil))
- (forward-line 1))
- result)))
-;;(svn-status-parse-commit-output)
-;;(svn-status-annotate-status-buffer-entry)
-
-(defun svn-status-parse-ar-output ()
- "Parse the output of svn add|remove.
-Return a list that is suitable for `svn-status-update-with-command-list'"
- (save-excursion
- (set-buffer svn-process-buffer-name)
- (let ((action)
- (name)
- (skip)
- (result))
- (goto-char (point-min))
- (while (< (point) (point-max))
- (cond ((= (svn-point-at-eol) (svn-point-at-bol)) ;skip blank lines
- (setq skip t))
- ((looking-at "A")
- (setq action 'added-wc))
- ((looking-at "D")
- (setq action 'deleted-wc))
- (t ;; this should never be needed(?)
- (setq action 'unknown)))
- (unless skip ;found an interesting line
- (forward-char 10)
- (setq name (buffer-substring-no-properties (point) (svn-point-at-eol)))
- (setq result (cons (list name action)
- result))
- (setq skip nil))
- (forward-line 1))
- result)))
-;; (svn-status-parse-ar-output)
-;; (svn-status-update-with-command-list (svn-status-parse-ar-output))
-
-(defun svn-status-parse-update-output ()
- "Parse the output of svn update.
-Return a list that is suitable for `svn-status-update-with-command-list'"
- (save-excursion
- (set-buffer svn-process-buffer-name)
- (setq svn-status-update-rev-number nil)
- (let ((action)
- (name)
- (skip)
- (result))
- (goto-char (point-min))
- (while (< (point) (point-max))
- (cond ((= (svn-point-at-eol) (svn-point-at-bol)) ;skip blank lines
- (setq skip t))
- ((looking-at "Updated to revision \\([0-9]+\\)")
- (setq svn-status-update-rev-number
- (list t (string-to-number (svn-match-string-no-properties 1))))
- (setq skip t))
- ((looking-at "At revision \\([0-9]+\\)")
- (setq svn-status-update-rev-number
- (list nil (string-to-number (svn-match-string-no-properties 1))))
- (setq skip t))
- ((looking-at "U")
- (setq action 'updated))
- ((looking-at "A")
- (setq action 'added))
- ((looking-at "D")
- (setq skip t))
- ;;(setq action 'deleted)) ;;deleted files are not displayed in the svn status output.
- ((looking-at "C")
- (setq action 'conflicted))
- ((looking-at "G")
- (setq action 'merged))
-
- ((looking-at " U")
- (setq action 'updated-props))
-
- (t ;; this should never be needed(?)
- (setq action (concat "parse-update: '"
- (buffer-substring-no-properties (point) (+ 2 (point))) "'"))))
- (unless skip ;found an interesting line
- (forward-char 3)
- (setq name (buffer-substring-no-properties (point) (svn-point-at-eol)))
- (setq result (cons (list name action)
- result))
- (setq skip nil))
- (forward-line 1))
- result)))
-;; (svn-status-parse-update-output)
-;; (svn-status-update-with-command-list (svn-status-parse-update-output))
-
-(defun svn-status-parse-property-output ()
- "Parse the output of svn propset.
-Return a list that is suitable for `svn-status-update-with-command-list'"
- (save-excursion
- (set-buffer svn-process-buffer-name)
- (let ((result))
- (dolist (line (split-string (buffer-substring-no-properties (point-min) (point-max)) "\n"))
- (message "%s" line)
- (when (string-match "property '\\(.+\\)' set on '\\(.+\\)'" line)
- ;;(message "property %s - file %s" (match-string 1 line) (match-string 2 line))
- (setq result (cons (list (match-string 2 line) 'propset) result))))
- result)))
-
-;; (svn-status-parse-property-output)
-;; (svn-status-update-with-command-list (svn-status-parse-property-output))
-
-
-(defun svn-status-line-info->symlink-p (line-info)
- "Return non-nil if LINE-INFO refers to a symlink, nil otherwise.
-The value is the name of the file to which it is linked. \(See
-`file-symlink-p'.\)
-
-On win32 systems this won't work, even though symlinks are supported
-by subversion on such systems."
- ;; on win32 would need to see how svn does symlinks
- (file-symlink-p (svn-status-line-info->filename line-info)))
-
-(defun svn-status-line-info->directory-p (line-info)
- "Return t if LINE-INFO refers to a directory, nil otherwise.
-Symbolic links to directories count as directories (see `file-directory-p')."
- (file-directory-p (svn-status-line-info->filename line-info)))
-
-(defun svn-status-line-info->full-path (line-info)
- "Return the full path of the file represented by LINE-INFO."
- (expand-file-name
- (svn-status-line-info->filename line-info)))
-
-;;Not convinced that this is the fastest way, but...
-(defun svn-status-count-/ (string)
- "Return number of \"/\"'s in STRING."
- (let ((n 0)
- (last 0))
- (while (setq last (string-match "/" string (1+ last)))
- (setq n (1+ n)))
- n))
-
-(defun svn-insert-line-in-status-buffer (line-info)
- "Format LINE-INFO and insert the result in the current buffer."
- (let ((usermark (if (svn-status-line-info->has-usermark line-info) "*" " "))
- (update-available (if (svn-status-line-info->update-available line-info)
- (svn-add-face (if svn-status-short-mod-flag-p
- "** "
- " (Update Available)")
- 'svn-status-update-available-face)
- (if svn-status-short-mod-flag-p " " "")))
- (filename ;; <indentation>file or /path/to/file
- (concat
- (if (or svn-status-display-full-path
- svn-status-hide-unmodified)
- (svn-add-face
- (let ((dir-name (file-name-as-directory
- (svn-status-line-info->directory-containing-line-info
- line-info nil))))
- (if (and (<= 2 (length dir-name))
- (= ?. (aref dir-name 0))
- (= ?/ (aref dir-name 1)))
- (substring dir-name 2)
- dir-name))
- 'svn-status-directory-face)
- ;; showing all files, so add indentation
- (make-string (* 2 (svn-status-count-/
- (svn-status-line-info->filename line-info)))
- 32))
- ;;symlinks get a different face
- (let ((target (svn-status-line-info->symlink-p line-info)))
- (if target
- ;; name -> trget
- ;; name gets symlink-face, target gets file/directory face
- (concat
- (svn-add-face (svn-status-line-info->filename-nondirectory line-info)
- 'svn-status-symlink-face)
- " -> "
- (svn-status-choose-face-to-add
- ;; TODO: could use different faces for
- ;; unversioned targets and broken symlinks?
- (svn-status-line-info->directory-p line-info)
- target
- 'svn-status-directory-face
- 'svn-status-filename-face))
- ;; else target is not a link
- (svn-status-choose-face-to-add
- (svn-status-line-info->directory-p line-info)
- (svn-status-line-info->filename-nondirectory line-info)
- 'svn-status-directory-face
- 'svn-status-filename-face)))
- ))
- (elide-hint (if (svn-status-line-info->show-user-elide-continuation line-info) " ..." "")))
- (svn-puthash (svn-status-line-info->filename line-info)
- (point)
- svn-status-filename-to-buffer-position-cache)
- (insert (svn-status-maybe-add-face
- (svn-status-line-info->has-usermark line-info)
- (concat usermark
- (format svn-status-line-format
- (svn-status-line-info->filemark line-info)
- (or (svn-status-line-info->propmark line-info) ? )
- (or (svn-status-line-info->historymark line-info) ? )
- (or (svn-status-line-info->localrev line-info) "")
- (or (svn-status-line-info->lastchangerev line-info) "")
- (svn-status-line-info->author line-info))
- (when svn-status-short-mod-flag-p update-available)
- filename
- (unless svn-status-short-mod-flag-p update-available)
- (svn-status-maybe-add-string (svn-status-line-info->locked line-info)
- " [ LOCKED ]" 'svn-status-locked-face)
- (svn-status-maybe-add-string (svn-status-line-info->repo-locked line-info)
- (let ((flag (svn-status-line-info->repo-locked line-info)))
- (cond ((eq flag ?K) " [ REPO-LOCK-HERE ]")
- ((eq flag ?O) " [ REPO-LOCK-OTHER ]")
- ((eq flag ?T) " [ REPO-LOCK-STOLEN ]")
- ((eq flag ?B) " [ REPO-LOCK-BROKEN ]")
- (t " [ REPO-LOCK-UNKNOWN ]")))
- 'svn-status-locked-face)
- (svn-status-maybe-add-string (svn-status-line-info->switched line-info)
- " (switched)" 'svn-status-switched-face)
- elide-hint)
- 'svn-status-marked-face)
- "\n")))
-
-(defun svn-status-redraw-status-buffer ()
- "Redraw the `svn-status-buffer-name' buffer.
-Additionally clear the psvn-extra-info field in all line-info lists."
- (interactive)
- (dolist (line-info svn-status-info)
- (svn-status-line-info->set-psvn-extra-info line-info nil))
- (svn-status-update-buffer))
-
-(defun svn-status-update-buffer ()
- "Update the `svn-status-buffer-name' buffer, using `svn-status-info'.
- This function does not access the repository."
- (interactive)
- ;(message "buffer-name: %s" (buffer-name))
- (unless (string= (buffer-name) svn-status-buffer-name)
- (set-buffer svn-status-buffer-name))
- (svn-status-mode)
- (when svn-status-refresh-info
- (when (eq svn-status-refresh-info 'once)
- (setq svn-status-refresh-info nil))
- (svn-status-parse-info t))
- (let ((st-info svn-status-info)
- (buffer-read-only nil)
- (start-pos)
- (overlay)
- (unmodified-count 0) ;how many unmodified files are hidden
- (unknown-count 0) ;how many unknown files are hidden
- (custom-hide-count 0) ;how many files are hidden via svn-status-custom-hide-function
- (marked-count 0) ;how many files are elided
- (user-elide-count 0)
- (first-line t)
- (fname (svn-status-line-info->filename (svn-status-get-line-information)))
- (fname-pos (point))
- (window-line-pos (svn-status-window-line-position (get-buffer-window (current-buffer))))
- (header-line-string)
- (column (current-column)))
- (delete-region (point-min) (point-max))
- (insert "\n")
- ;; Insert all files and directories
- (while st-info
- (setq start-pos (point))
- (cond ((or (svn-status-line-info->has-usermark (car st-info)) first-line)
- ;; Show a marked file and the "." always
- (svn-insert-line-in-status-buffer (car st-info))
- (setq first-line nil))
- ((svn-status-line-info->update-available (car st-info))
- (svn-insert-line-in-status-buffer (car st-info)))
- ((and svn-status-custom-hide-function
- (apply svn-status-custom-hide-function (list (car st-info))))
- (setq custom-hide-count (1+ custom-hide-count)))
- ((svn-status-line-info->hide-because-user-elide (car st-info))
- (setq user-elide-count (1+ user-elide-count)))
- ((svn-status-line-info->hide-because-unknown (car st-info))
- (setq unknown-count (1+ unknown-count)))
- ((svn-status-line-info->hide-because-unmodified (car st-info))
- (setq unmodified-count (1+ unmodified-count)))
- (t
- (svn-insert-line-in-status-buffer (car st-info))))
- (when (svn-status-line-info->has-usermark (car st-info))
- (setq marked-count (+ marked-count 1)))
- (setq overlay (make-overlay start-pos (point)))
- (overlay-put overlay 'svn-info (car st-info))
- (setq st-info (cdr st-info)))
- ;; Insert status information at the buffer beginning
- (goto-char (point-min))
- (insert (format "svn status for directory %s%s\n"
- default-directory
- (if svn-status-head-revision (format " (status against revision: %s)"
- svn-status-head-revision)
- "")))
- (when svn-status-module-name
- (insert (format "Project name: %s\n" svn-status-module-name)))
- (when svn-status-branch-list
- (insert (format "Branches: %s\n" svn-status-branch-list)))
- (when svn-status-base-info
- (insert (concat "Repository Root: " (svn-status-base-info->repository-root) "\n"))
- (insert (concat "Repository Url: " (svn-status-base-info->url) "\n")))
- (when svn-status-hide-unknown
- (insert
- (format "%d Unknown file(s) are hidden - press `?' to toggle hiding\n"
- unknown-count)))
- (when svn-status-hide-unmodified
- (insert
- (format "%d Unmodified file(s) are hidden - press `_' to toggle hiding\n"
- unmodified-count)))
- (when (> custom-hide-count 0)
- (insert
- (format "%d file(s) are hidden via the svn-status-custom-hide-function\n"
- custom-hide-count)))
- (when (> user-elide-count 0)
- (insert (format "%d file(s) elided\n" user-elide-count)))
- (insert (format "%d file(s) marked\n" marked-count))
- (setq header-line-string (concat (format svn-status-line-format
- 70 80 72 "BASE" "CMTD" "Author")
- (if svn-status-short-mod-flag-p "em " "")
- "File"))
- (cond ((eq svn-status-use-header-line t)
- (setq header-line-format (concat " " header-line-string)))
- ((eq svn-status-use-header-line 'inline)
- (insert "\n " header-line-string "\n")))
- (setq svn-start-of-file-list-line-number (+ (count-lines (point-min) (point)) 1))
- (if fname
- (progn
- (goto-char fname-pos)
- (svn-status-goto-file-name fname)
- (goto-char (+ column (svn-point-at-bol)))
- (when window-line-pos
- (recenter window-line-pos)))
- (goto-char (+ (next-overlay-change (point-min)) svn-status-default-column)))))
-
-(defun svn-status-parse-info (arg)
- "Parse the svn info output for the base directory.
-Show the repository url after this call in the `svn-status-buffer-name' buffer.
-When called with the prefix argument 0, reset the information to nil.
-This hides the repository information again.
-
-When ARG is t, don't update the svn status buffer. This is useful for
-non-interactive use."
- (interactive "P")
- (if (eq arg 0)
- (setq svn-status-base-info nil)
- (let ((svn-process-buffer-name "*svn-info-output*"))
- (when (get-buffer svn-process-buffer-name)
- (kill-buffer svn-process-buffer-name))
- (svn-run nil t 'parse-info "info" ".")
- (svn-status-parse-info-result)))
- (unless (eq arg t)
- (svn-status-update-buffer)))
-
-(defun svn-status-parse-info-result ()
- "Parse the result from the svn info command.
-Put the found values in `svn-status-base-info'."
- (let ((url)
- (repository-root)
- (last-changed-author))
- (save-excursion
- (set-buffer svn-process-buffer-name)
- (goto-char (point-min))
- (let ((case-fold-search t))
- (search-forward "url: ")
- (setq url (buffer-substring-no-properties (point) (svn-point-at-eol)))
- (when (search-forward "repository root: " nil t)
- (setq repository-root (buffer-substring-no-properties (point) (svn-point-at-eol))))
- (when (search-forward "last changed author: " nil t)
- (setq last-changed-author (buffer-substring-no-properties (point) (svn-point-at-eol))))))
- (setq svn-status-base-info `((url ,url) (repository-root ,repository-root) (last-changed-author ,last-changed-author)))))
-
-(defun svn-status-base-info->url ()
- "Extract the url part from `svn-status-base-info'."
- (if svn-status-base-info
- (cadr (assoc 'url svn-status-base-info))
- ""))
-
-(defun svn-status-base-info->repository-root ()
- "Extract the repository-root part from `svn-status-base-info'."
- (if svn-status-base-info
- (cadr (assoc 'repository-root svn-status-base-info))
- ""))
-
-(defun svn-status-checkout-prefix-path ()
- "When only a part of the svn repository is checked out, return the file path for this checkout."
- (interactive)
- (svn-status-parse-info t)
- (let ((root (svn-status-base-info->repository-root))
- (url (svn-status-base-info->url))
- (p)
- (base-dir (svn-status-base-dir))
- (wc-checkout-prefix))
- (setq p (substring url (length root)))
- (setq wc-checkout-prefix (file-relative-name default-directory base-dir))
- (when (string= wc-checkout-prefix "./")
- (setq wc-checkout-prefix ""))
- ;; (message "svn-status-checkout-prefix-path: wc-checkout-prefix: '%s' p: '%s' base-dir: %s" wc-checkout-prefix p base-dir)
- (setq p (substring p 0 (- (length p) (length wc-checkout-prefix))))
- (when (interactive-p)
- (message "svn-status-checkout-prefix-path: '%s'" p))
- p))
-
-(defun svn-status-ls (path &optional synchron)
- "Run svn ls PATH."
- (interactive "sPath for svn ls: ")
- (svn-run (not synchron) t 'ls "ls" path)
- (when synchron
- (split-string (with-current-buffer svn-process-buffer-name
- (buffer-substring-no-properties (point-min) (point-max))))))
-
-(defun svn-status-ls-branches ()
- "Show, which branches exist for the actual working copy.
-Note: this command assumes the proposed standard svn repository layout."
- (interactive)
- (svn-status-parse-info t)
- (svn-status-ls (concat (svn-status-base-info->repository-root) "/branches")))
-
-(defun svn-status-ls-tags ()
- "Show, which tags exist for the actual working copy.
-Note: this command assumes the proposed standard svn repository layout."
- (interactive)
- (svn-status-parse-info t)
- (svn-status-ls (concat (svn-status-base-info->repository-root) "/tags")))
-
-(defun svn-status-toggle-edit-cmd-flag (&optional reset)
- "Allow the user to edit the parameters for the next svn command.
-This command toggles between
-* editing the next command parameters (EditCmd)
-* editing all all command parameters (EditCmd#)
-* don't edit the command parameters ()
-The string in parentheses is shown in the status line to show the state."
- (interactive)
- (cond ((or reset (eq svn-status-edit-svn-command 'sticky))
- (setq svn-status-edit-svn-command nil))
- ((eq svn-status-edit-svn-command nil)
- (setq svn-status-edit-svn-command t))
- ((eq svn-status-edit-svn-command t)
- (setq svn-status-edit-svn-command 'sticky)))
- (cond ((eq svn-status-edit-svn-command t)
- (setq svn-status-mode-line-process-edit-flag " EditCmd"))
- ((eq svn-status-edit-svn-command 'sticky)
- (setq svn-status-mode-line-process-edit-flag " EditCmd#"))
- (t
- (setq svn-status-mode-line-process-edit-flag "")))
- (svn-status-update-mode-line))
-
-(defun svn-status-goto-root-or-return ()
- "Bounce point between the root (\".\") and the current line."
- (interactive)
- (if (string= (svn-status-line-info->filename (svn-status-get-line-information)) ".")
- (when svn-status-root-return-info
- (svn-status-goto-file-name
- (svn-status-line-info->filename svn-status-root-return-info)))
- (setq svn-status-root-return-info (svn-status-get-line-information))
- (svn-status-goto-file-name ".")))
-
-(defun svn-status-next-line (nr-of-lines)
- "Go to the next line that holds a file information.
-When called with a prefix argument advance the given number of lines."
- (interactive "p")
- (while (progn
- (forward-line nr-of-lines)
- (and (not (eobp))
- (not (svn-status-get-line-information)))))
- (when (svn-status-get-line-information)
- (goto-char (+ (svn-point-at-bol) svn-status-default-column))))
-
-(defun svn-status-previous-line (nr-of-lines)
- "Go to the previous line that holds a file information.
-When called with a prefix argument go back the given number of lines."
- (interactive "p")
- (while (progn
- (forward-line (- nr-of-lines))
- (and (not (bobp))
- (not (svn-status-get-line-information)))))
- (when (svn-status-get-line-information)
- (goto-char (+ (svn-point-at-bol) svn-status-default-column))))
-
-(defun svn-status-dired-jump ()
- "Jump to a dired buffer, containing the file at point."
- (interactive)
- (let* ((line-info (svn-status-get-line-information))
- (file-full-path (if line-info
- (svn-status-line-info->full-path line-info)
- default-directory)))
- (let ((default-directory
- (file-name-as-directory
- (expand-file-name (if line-info
- (svn-status-line-info->directory-containing-line-info line-info t)
- default-directory)))))
- (if (fboundp 'dired-jump-back) (dired-jump-back) (dired-jump))) ;; Xemacs uses dired-jump-back
- (dired-goto-file file-full-path)))
-
-(defun svn-status-possibly-negate-meaning-of-arg (arg &optional command)
- "Negate arg, if this-command is a member of svn-status-possibly-negate-meaning-of-arg."
- (unless command
- (setq command this-command))
- (if (member command svn-status-negate-meaning-of-arg-commands)
- (not arg)
- arg))
-
-(defun svn-status-update (&optional arg)
- "Run 'svn status -v'.
-When called with a prefix argument run 'svn status -vu'."
- (interactive "P")
- (unless (interactive-p)
- (save-excursion
- (set-buffer svn-process-buffer-name)
- (setq svn-status-update-previous-process-output
- (buffer-substring (point-min) (point-max)))))
- (svn-status default-directory arg))
-
-(defun svn-status-get-line-information ()
- "Find out about the file under point.
-The result may be parsed with the various `svn-status-line-info->...' functions."
- (if (eq major-mode 'svn-status-mode)
- (let ((svn-info nil))
- (dolist (overlay (overlays-at (point)))
- (setq svn-info (or svn-info
- (overlay-get overlay 'svn-info))))
- svn-info)
- ;; different mode, means called not from the *svn-status* buffer
- (if svn-status-get-line-information-for-file
- (svn-status-make-line-info (if (eq svn-status-get-line-information-for-file 'relative)
- (file-relative-name (buffer-file-name) (svn-status-base-dir))
- (buffer-file-name)))
- (svn-status-make-line-info "."))))
-
-
-(defun svn-status-get-file-list (use-marked-files)
- "Get either the selected files or the file under point.
-USE-MARKED-FILES decides which we do.
-See `svn-status-marked-files' for what counts as selected."
- (if use-marked-files
- (svn-status-marked-files)
- (list (svn-status-get-line-information))))
-
-(defun svn-status-get-file-list-names (use-marked-files)
- (mapcar 'svn-status-line-info->filename (svn-status-get-file-list use-marked-files)))
-
-(defun svn-status-get-file-information ()
- "Find out about the file under point.
-The result may be parsed with the various `svn-status-line-info->...' functions.
-When called from a *svn-status* buffer, do the same as `svn-status-get-line-information'.
-When called from a file buffer provide a structure that contains the filename."
- (cond ((eq major-mode 'svn-status-mode)
- (svn-status-get-line-information))
- (t
- ;; a fake strukture that contains the buffername for the current buffer
- (svn-status-make-line-info (buffer-file-name (current-buffer))))))
-
-(defun svn-status-select-line ()
- "Return information about the file under point.
-\(Only used for debugging\)"
- (interactive)
- (let ((info (svn-status-get-line-information)))
- (if info
- (message "%S hide-because-unknown: %S hide-because-unmodified: %S" info
- (svn-status-line-info->hide-because-unknown info)
- (svn-status-line-info->hide-because-unmodified info))
- (message "No file on this line"))))
-
-(defun svn-status-ensure-cursor-on-file ()
- "Raise an error unless point is on a valid file."
- (unless (svn-status-get-line-information)
- (error "No file on the current line")))
-
-(defun svn-status-directory-containing-point (allow-self)
- "Find the (full path of) directory containing the file under point.
-
-If ALLOW-SELF and the file is a directory, return that directory,
-otherwise return the directory containing the file under point."
- ;;the first `or' below is because s-s-g-l-i returns `nil' if
- ;;point was outside the file list, but we need
- ;;s-s-l-i->f to return a string to add to `default-directory'.
- (let ((line-info (or (svn-status-get-line-information)
- (svn-status-make-line-info))))
- (file-name-as-directory
- (expand-file-name
- (svn-status-line-info->directory-containing-line-info line-info allow-self)))))
-
-(defun svn-status-line-info->directory-containing-line-info (line-info allow-self)
- "Find the directory containing for LINE-INFO.
-
-If ALLOW-SELF is t and LINE-INFO refers to a directory then return the
-directory itself, in all other cases find the parent directory"
- (if (and allow-self (svn-status-line-info->directory-p line-info))
- (svn-status-line-info->filename line-info)
- ;;The next `or' is because (file-name-directory "file") returns nil
- (or (file-name-directory (svn-status-line-info->filename line-info))
- ".")))
-
-(defun svn-status-set-user-mark (arg)
- "Set a user mark on the current file or directory.
-If the cursor is on a file this file is marked and the cursor advances to the next line.
-If the cursor is on a directory all files in this directory are marked.
-
-If this function is called with a prefix argument, only the current line is
-marked, even if it is a directory."
- (interactive "P")
- (setq arg (svn-status-possibly-negate-meaning-of-arg arg 'svn-status-set-user-mark))
- (let ((info (svn-status-get-line-information)))
- (if info
- (progn
- (svn-status-apply-usermark t arg)
- (svn-status-next-line 1))
- (message "No file on this line - cannot set a mark"))))
-
-(defun svn-status-unset-user-mark (arg)
- "Remove a user mark on the current file or directory.
-If the cursor is on a file, this file is unmarked and the cursor advances to the next line.
-If the cursor is on a directory, all files in this directory are unmarked.
-
-If this function is called with a prefix argument, only the current line is
-unmarked, even if is a directory."
- (interactive "P")
- (setq arg (svn-status-possibly-negate-meaning-of-arg arg 'svn-status-set-user-mark))
- (let ((info (svn-status-get-line-information)))
- (if info
- (progn
- (svn-status-apply-usermark nil arg)
- (svn-status-next-line 1))
- (message "No file on this line - cannot unset a mark"))))
-
-(defun svn-status-unset-user-mark-backwards ()
- "Remove a user mark from the previous file.
-Then move to that line."
- ;; This is consistent with `dired-unmark-backward' and
- ;; `cvs-mode-unmark-up'.
- (interactive)
- (let ((info (save-excursion
- (svn-status-next-line -1)
- (svn-status-get-line-information))))
- (if info
- (progn
- (svn-status-next-line -1)
- (svn-status-apply-usermark nil t))
- (message "No file on previous line - cannot unset a mark"))))
-
-(defun svn-status-apply-usermark (set-mark only-this-line)
- "Do the work for the various marking/unmarking functions."
- (let* ((st-info svn-status-info)
- (mark-count 0)
- (line-info (svn-status-get-line-information))
- (file-name (svn-status-line-info->filename line-info))
- (sub-file-regexp (if (file-directory-p file-name)
- (concat "^" (regexp-quote
- (file-name-as-directory file-name)))
- nil))
- (newcursorpos-fname)
- (i-fname)
- (first-line t)
- (current-line svn-start-of-file-list-line-number))
- (while st-info
- (when (or (svn-status-line-info->is-visiblep (car st-info)) first-line)
- (setq current-line (1+ current-line))
- (setq first-line nil))
- (setq i-fname (svn-status-line-info->filename (car st-info)))
- (when (or (string= file-name i-fname)
- (when sub-file-regexp
- (string-match sub-file-regexp i-fname)))
- (when (svn-status-line-info->is-visiblep (car st-info))
- (when (or (not only-this-line) (string= file-name i-fname))
- (setq newcursorpos-fname i-fname)
- (unless (eq (car (svn-status-line-info->ui-status (car st-info))) set-mark)
- (setcar (svn-status-line-info->ui-status (car st-info)) set-mark)
- (setq mark-count (+ 1 mark-count))
- (save-excursion
- (let ((buffer-read-only nil))
- (goto-line current-line)
- (delete-region (svn-point-at-bol) (svn-point-at-eol))
- (svn-insert-line-in-status-buffer (car st-info))
- (delete-char 1)))
- (message "%s %s" (if set-mark "Marked" "Unmarked") i-fname)))))
- (setq st-info (cdr st-info)))
- ;;(svn-status-update-buffer)
- (svn-status-goto-file-name newcursorpos-fname)
- (when (> mark-count 1)
- (message "%s %d files" (if set-mark "Marked" "Unmarked") mark-count))))
-
-(defun svn-status-apply-usermark-checked (check-function set-mark)
- "Mark or unmark files, whether a given function returns t.
-The function is called with the line information. Therefore the
-svn-status-line-info->* functions can be used in the check."
- (let ((st-info svn-status-info)
- (mark-count 0))
- (while st-info
- (when (apply check-function (list (car st-info)))
- (unless (eq (svn-status-line-info->has-usermark (car st-info)) set-mark)
- (setq mark-count (+ 1 mark-count))
- (message "%s %s"
- (if set-mark "Marked" "Unmarked")
- (svn-status-line-info->filename (car st-info))))
- (setcar (svn-status-line-info->ui-status (car st-info)) set-mark))
- (setq st-info (cdr st-info)))
- (svn-status-update-buffer)
- (when (> mark-count 1)
- (message "%s %d files" (if set-mark "Marked" "Unmarked") mark-count))))
-
-(defun svn-status-mark-unknown (arg)
- "Mark all unknown files.
-These are the files marked with '?' in the `svn-status-buffer-name' buffer.
-If the function is called with a prefix arg, unmark all these files."
- (interactive "P")
- (svn-status-apply-usermark-checked
- '(lambda (info) (eq (svn-status-line-info->filemark info) ??)) (not arg)))
-
-(defun svn-status-mark-added (arg)
- "Mark all added files.
-These are the files marked with 'A' in the `svn-status-buffer-name' buffer.
-If the function is called with a prefix ARG, unmark all these files."
- (interactive "P")
- (svn-status-apply-usermark-checked
- '(lambda (info) (eq (svn-status-line-info->filemark info) ?A)) (not arg)))
-
-(defun svn-status-mark-modified (arg)
- "Mark all modified files.
-These are the files marked with 'M' in the `svn-status-buffer-name' buffer.
-Changed properties are considered.
-If the function is called with a prefix ARG, unmark all these files."
- (interactive "P")
- (svn-status-apply-usermark-checked
- '(lambda (info) (or (eq (svn-status-line-info->filemark info) ?M)
- (eq (svn-status-line-info->filemark info)
- svn-status-file-modified-after-save-flag)
- (eq (svn-status-line-info->propmark info) ?M)))
- (not arg)))
-
-(defun svn-status-mark-modified-properties (arg)
- "Mark all files and directories with modified properties.
-If the function is called with a prefix ARG, unmark all these entries."
- (interactive "P")
- (svn-status-apply-usermark-checked
- '(lambda (info) (or (eq (svn-status-line-info->propmark info) ?M)))
- (not arg)))
-
-(defun svn-status-mark-deleted (arg)
- "Mark all files scheduled for deletion.
-These are the files marked with 'D' in the `svn-status-buffer-name' buffer.
-If the function is called with a prefix ARG, unmark all these files."
- (interactive "P")
- (svn-status-apply-usermark-checked
- '(lambda (info) (eq (svn-status-line-info->filemark info) ?D)) (not arg)))
-
-(defun svn-status-mark-changed (arg)
- "Mark all files that could be committed.
-This means we mark
-* all modified files
-* all files scheduled for addition
-* all files scheduled for deletion
-
-The last two categories include all copied and moved files.
-If called with a prefix ARG, unmark all such files."
- (interactive "P")
- (svn-status-mark-added arg)
- (svn-status-mark-modified arg)
- (svn-status-mark-deleted arg))
-
-(defun svn-status-unset-all-usermarks ()
- (interactive)
- (svn-status-apply-usermark-checked '(lambda (info) t) nil))
-
-(defvar svn-status-regexp-history nil
- "History list of regular expressions used in svn status commands.")
-
-(defun svn-status-read-regexp (prompt)
- (read-from-minibuffer prompt nil nil nil 'svn-status-regexp-history))
-
-(defun svn-status-mark-filename-regexp (regexp &optional unmark)
- "Mark all files matching REGEXP.
-If the function is called with a prefix arg, unmark all these files."
- (interactive
- (list (svn-status-read-regexp (concat (if current-prefix-arg "Unmark" "Mark")
- " files (regexp): "))
- (if current-prefix-arg t nil)))
- (svn-status-apply-usermark-checked
- '(lambda (info) (string-match regexp (svn-status-line-info->filename-nondirectory info))) (not unmark)))
-
-(defun svn-status-mark-by-file-ext (ext &optional unmark)
- "Mark all files matching the given file extension EXT.
-If the function is called with a prefix arg, unmark all these files."
- (interactive
- (list (read-string (concat (if current-prefix-arg "Unmark" "Mark")
- " files with extensions: "))
- (if current-prefix-arg t nil)))
- (svn-status-apply-usermark-checked
- '(lambda (info) (let ((case-fold-search nil))
- (string-match (concat "\\." ext "$") (svn-status-line-info->filename-nondirectory info)))) (not unmark)))
-
-(defun svn-status-toggle-hide-unknown ()
- (interactive)
- (setq svn-status-hide-unknown (not svn-status-hide-unknown))
- (svn-status-update-buffer))
-
-(defun svn-status-toggle-hide-unmodified ()
- (interactive)
- (setq svn-status-hide-unmodified (not svn-status-hide-unmodified))
- (svn-status-update-buffer))
-
-(defun svn-status-get-file-name-buffer-position (name)
- "Find the buffer position for a file.
-If the file is not found, return nil."
- (let ((start-pos (let ((cached-pos (gethash name
- svn-status-filename-to-buffer-position-cache)))
- (when cached-pos
- (goto-char (previous-overlay-change cached-pos)))
- (point)))
- (found))
- ;; performance optimization: search from point to end of buffer
- (while (and (not found) (< (point) (point-max)))
- (goto-char (next-overlay-change (point)))
- (when (string= name (svn-status-line-info->filename
- (svn-status-get-line-information)))
- (setq start-pos (+ (point) svn-status-default-column))
- (setq found t)))
- ;; search from buffer start to point
- (goto-char (point-min))
- (while (and (not found) (< (point) start-pos))
- (goto-char (next-overlay-change (point)))
- (when (string= name (svn-status-line-info->filename
- (svn-status-get-line-information)))
- (setq start-pos (+ (point) svn-status-default-column))
- (setq found t)))
- (and found start-pos)))
-
-(defun svn-status-goto-file-name (name)
- "Move the cursor the the line that displays NAME."
- (let ((pos (svn-status-get-file-name-buffer-position name)))
- (if pos
- (goto-char pos)
- (svn-status-message 7 "Note: svn-status-goto-file-name: %s not found" name))))
-
-(defun svn-status-find-info-for-file-name (name)
- (let* ((st-info svn-status-info)
- (info))
- (while st-info
- (when (string= name (svn-status-line-info->filename (car st-info)))
- (setq info (car st-info))
- (setq st-info nil)) ; terminate loop
- (setq st-info (cdr st-info)))
- info))
-
-(defun svn-status-marked-files ()
- "Return all files marked by `svn-status-set-user-mark',
-or (if no files were marked) the file under point."
- (if (eq major-mode 'svn-status-mode)
- (let* ((st-info svn-status-info)
- (file-list))
- (while st-info
- (when (svn-status-line-info->has-usermark (car st-info))
- (setq file-list (append file-list (list (car st-info)))))
- (setq st-info (cdr st-info)))
- (or file-list
- (if (svn-status-get-line-information)
- (list (svn-status-get-line-information))
- nil)))
- ;; different mode, means called not from the *svn-status* buffer
- (if svn-status-get-line-information-for-file
- (list (svn-status-make-line-info (if (eq svn-status-get-line-information-for-file 'relative)
- (file-relative-name (buffer-file-name) (svn-status-base-dir))
- (buffer-file-name))))
- (list (svn-status-make-line-info ".")))))
-
-(defun svn-status-marked-file-names ()
- (mapcar 'svn-status-line-info->filename (svn-status-marked-files)))
-
-(defun svn-status-some-files-marked-p ()
- "Return non-nil iff a file has been marked by `svn-status-set-user-mark'.
-Unlike `svn-status-marked-files', this does not select the file under point
-if no files have been marked."
- ;; `some' would be shorter but requires cl-seq at runtime.
- ;; (Because it accepts both lists and vectors, it is difficult to inline.)
- (loop for line-info in svn-status-info
- thereis (svn-status-line-info->has-usermark line-info)))
-
-(defun svn-status-only-dirs-or-nothing-marked-p ()
- "Return non-nil iff only dirs has been marked by `svn-status-set-user-mark'."
- ;; `some' would be shorter but requires cl-seq at runtime.
- ;; (Because it accepts both lists and vectors, it is difficult to inline.)
- (loop for line-info in svn-status-info
- thereis (and (not (svn-status-line-info->directory-p line-info))
- (svn-status-line-info->has-usermark line-info))))
-
-(defun svn-status-ui-information-hash-table ()
- (let ((st-info svn-status-info)
- (svn-status-ui-information (make-hash-table :test 'equal)))
- (while st-info
- (svn-puthash (svn-status-line-info->filename (car st-info))
- (svn-status-line-info->ui-status (car st-info))
- svn-status-ui-information)
- (setq st-info (cdr st-info)))
- svn-status-ui-information))
-
-
-(defun svn-status-create-arg-file (file-name prefix file-info-list postfix)
- (with-temp-file file-name
- (insert prefix)
- (let ((st-info file-info-list))
- (while st-info
- (insert (svn-status-line-info->filename (car st-info)))
- (insert "\n")
- (setq st-info (cdr st-info)))
-
- (insert postfix))))
-
-(defun svn-status-show-process-buffer-internal (&optional scroll-to-top)
- (let ((cur-buff (current-buffer)))
- (unless svn-status-preserve-window-configuration
- (when (string= (buffer-name) svn-status-buffer-name)
- (delete-other-windows)))
- (pop-to-buffer svn-process-buffer-name)
- (svn-process-mode)
- (when scroll-to-top
- (goto-char (point-min)))
- (pop-to-buffer cur-buff)))
-
-(defun svn-status-show-process-output (cmd &optional scroll-to-top)
- "Display the result of a svn command.
-Consider svn-status-window-alist to choose the buffer name."
- (let ((window-mode (cadr (assoc cmd svn-status-window-alist)))
- (process-default-directory))
- (cond ((eq window-mode nil) ;; use *svn-process* buffer
- (setq svn-status-last-output-buffer-name svn-process-buffer-name))
- ((eq window-mode t) ;; use *svn-info* buffer
- (setq svn-status-last-output-buffer-name "*svn-info*"))
- ((eq window-mode 'invisible) ;; don't display the buffer
- (setq svn-status-last-output-buffer-name nil))
- (t
- (setq svn-status-last-output-buffer-name window-mode)))
- (when svn-status-last-output-buffer-name
- (if window-mode
- (progn
- (unless svn-status-preserve-window-configuration
- (when (string= (buffer-name) svn-status-buffer-name)
- (delete-other-windows)))
- (pop-to-buffer svn-process-buffer-name)
- (setq process-default-directory default-directory)
- (switch-to-buffer (get-buffer-create svn-status-last-output-buffer-name))
- (setq default-directory process-default-directory)
- (let ((buffer-read-only nil))
- (delete-region (point-min) (point-max))
- (insert-buffer-substring svn-process-buffer-name)
- (when scroll-to-top
- (goto-char (point-min))))
- (when (eq window-mode t) ;; *svn-info* buffer
- (svn-info-mode))
- (other-window 1))
- (svn-status-show-process-buffer-internal scroll-to-top)))))
-
-(defun svn-status-svn-log-switches (arg)
- (cond ((eq arg 0) '())
- ((or (eq arg -1) (eq arg '-)) '("-q"))
- (arg '("-v"))
- (t svn-status-default-log-arguments)))
-
-(defun svn-status-show-svn-log (arg)
- "Run `svn log' on selected files.
-The output is put into the *svn-log* buffer
-The optional prefix argument ARG determines which switches are passed to `svn log':
- no prefix --- use whatever is in the list `svn-status-default-log-arguments'
- prefix argument of -1: --- use the -q switch (quiet)
- prefix argument of 0 --- use no arguments
- other prefix arguments: --- use the -v switch (verbose)
-
-See `svn-status-marked-files' for what counts as selected."
- (interactive "P")
- (let ((switches (svn-status-svn-log-switches arg))
- (svn-status-get-line-information-for-file t))
- ;; (message "svn-status-show-svn-log %S" arg)
- (svn-status-create-arg-file svn-status-temp-arg-file "" (svn-status-marked-files) "")
- (svn-run t t 'log "log" "--targets" svn-status-temp-arg-file switches)))
-
-(defun svn-status-version ()
- "Show the version numbers for psvn.el and the svn command line client.
-The version number of the client is cached in `svn-client-version'."
- (interactive)
- (let ((window-conf (current-window-configuration))
- (version-string))
- (if (or (interactive-p) (not svn-status-cached-version-string))
- (progn
- (svn-run nil t 'version "--version")
- (when (interactive-p)
- (svn-status-show-process-output 'info t))
- (with-current-buffer svn-status-last-output-buffer-name
- (goto-char (point-min))
- (setq svn-client-version
- (when (re-search-forward "svn, version \\([0-9\.]+\\) " nil t)
- (mapcar 'string-to-number (split-string (match-string 1) "\\."))))
- (let ((buffer-read-only nil))
- (goto-char (point-min))
- (insert (format "psvn.el revision: %s\n\n" svn-psvn-revision)))
- (setq version-string (buffer-substring-no-properties (point-min) (point-max))))
- (setq svn-status-cached-version-string version-string))
- (setq version-string svn-status-cached-version-string)
- (unless (interactive-p)
- (set-window-configuration window-conf)
- version-string))))
-
-(defun svn-status-info ()
- "Run `svn info' on all selected files.
-See `svn-status-marked-files' for what counts as selected."
- (interactive)
- (svn-status-create-arg-file svn-status-temp-arg-file "" (svn-status-marked-files) "")
- (svn-run t t 'info "info" "--targets" svn-status-temp-arg-file))
-
-(defun svn-status-info-for-path (path)
- "Run svn info on the given PATH.
-Return some interesting parts of the resulting output.
-At the moment a list containing the last changed author is returned."
- (let ((svn-process-buffer-name "*svn-info-output*")
- (last-changed-author))
- (svn-run nil t 'info "info" path)
- (with-current-buffer svn-process-buffer-name
- (goto-char (point-min))
- (when (search-forward "last changed author: " nil t)
- (setq last-changed-author (buffer-substring-no-properties (point) (svn-point-at-eol)))))
- (svn-status-message 7 "last-changed-author for '%s': %s" path last-changed-author)
- (list last-changed-author)))
-
-(defun svn-status-blame (revision)
- "Run `svn blame' on the current file.
-When called with a prefix argument, ask the user for the REVISION to use.
-When called from a file buffer, go to the current line in the resulting blame output."
- (interactive "P")
- (when current-prefix-arg
- (setq revision (svn-status-read-revision-string "Blame for version: " "BASE")))
- (unless revision (setq revision "BASE"))
- (setq svn-status-blame-file-name (svn-status-line-info->filename (svn-status-get-file-information)))
- (svn-run t t 'blame "blame" svn-status-default-blame-arguments "-r" revision svn-status-blame-file-name))
-
-(defun svn-status-show-svn-diff (arg)
- "Run `svn diff' on the current file.
-If the current file is a directory, compare it recursively.
-If there is a newer revision in the repository, the diff is done against HEAD,
-otherwise compare the working copy with BASE.
-If ARG then prompt for revision to diff against (unless arg is '-)
-When called with a negative prefix argument, do a non recursive diff."
- (interactive "P")
- (let ((non-recursive (or (and (numberp arg) (< arg 0)) (eq arg '-)))
- (revision (if (and (not (eq arg '-)) arg) :ask :auto)))
- (svn-status-ensure-cursor-on-file)
- (svn-status-show-svn-diff-internal (list (svn-status-get-line-information)) (not non-recursive)
- revision)))
-
-(defun svn-file-show-svn-diff (arg)
- "Run `svn diff' on the current file.
-If there is a newer revision in the repository, the diff is done against HEAD,
-otherwise compare the working copy with BASE.
-If ARG then prompt for revision to diff against."
- (interactive "P")
- (svn-status-show-svn-diff-internal (list (svn-status-make-line-info buffer-file-name)) nil
- (if arg :ask :auto)))
-
-(defun svn-status-show-svn-diff-for-marked-files (arg)
- "Run `svn diff' on all selected files.
-If some files have been marked, compare those non-recursively;
-this is because marking a directory with \\[svn-status-set-user-mark]
-normally marks all of its files as well.
-If no files have been marked, compare recursively the file at point.
-If ARG then prompt for revision to diff against, else compare working copy with BASE."
- (interactive "P")
- (svn-status-show-svn-diff-internal (svn-status-marked-files)
- (not (svn-status-some-files-marked-p))
- (if arg :ask "BASE")))
-
-(defun svn-status-diff-show-changeset (rev &optional user-confirmation)
- "Show the changeset for a given log entry.
-When called with a prefix argument, ask the user for the revision."
- (let* ((upper-rev rev)
- (lower-rev (number-to-string (- (string-to-number upper-rev) 1)))
- (rev-arg (concat lower-rev ":" upper-rev)))
- (when user-confirmation
- (setq rev-arg (read-string "Revision for changeset: " rev-arg)))
- (svn-run nil t 'diff "diff" (concat "-r" rev-arg))
- (svn-status-activate-diff-mode)))
-
-(defun svn-status-show-svn-diff-internal (line-infos recursive revision)
- ;; REVISION must be one of:
- ;; - a string: whatever the -r option allows.
- ;; - `:ask': asks the user to specify the revision, which then becomes
- ;; saved in `minibuffer-history' rather than in `command-history'.
- ;; - `:auto': use "HEAD" if an update is known to exist, "BASE" otherwise.
- ;; In the future, `nil' might mean omit the -r option entirely;
- ;; but that currently seems to imply "BASE", so we just use that.
- (when (eq revision :ask)
- (setq revision (svn-status-read-revision-string
- "Diff with files for version: " "PREV")))
-
- (setq svn-status-last-diff-options (list line-infos recursive revision))
-
- (let ((clear-buf t)
- (beginning nil))
- (dolist (line-info line-infos)
- (svn-run nil clear-buf 'diff "diff" svn-status-default-diff-arguments
- "-r" (if (eq revision :auto)
- (if (svn-status-line-info->update-available line-info)
- "HEAD" "BASE")
- revision)
- (unless recursive "--non-recursive")
- (svn-status-line-info->filename line-info))
- (setq clear-buf nil)
-
- ;; "svn diff --non-recursive" skips only subdirectories, not files.
- ;; But a non-recursive diff via psvn should skip files too, because
- ;; the user would have marked them if he wanted them to be compared.
- ;; So we'll look for the "Index: foo" line that marks the first file
- ;; in the diff output, and delete it and everything that follows.
- ;; This is made more complicated by the fact that `svn-status-activate-diff-mode'
- ;; expects the output to be left in the *svn-process* buffer.
- (unless recursive
- ;; Check `directory-p' relative to the `default-directory' of the
- ;; "*svn-status*" buffer, not that of the svn-process-buffer-name buffer.
- (let ((directory-p (svn-status-line-info->directory-p line-info)))
- (with-current-buffer svn-process-buffer-name
- (when directory-p
- (goto-char (or beginning (point-min)))
- (when (re-search-forward "^Index: " nil t)
- (delete-region (match-beginning 0) (point-max))))
- (goto-char (setq beginning (point-max))))))))
- (svn-status-activate-diff-mode))
-
-(defun svn-status-diff-save-current-defun-as-kill ()
- "Copy the function name for the change at point to the kill-ring.
-That function uses `add-log-current-defun'"
- (interactive)
- (let ((func-name (add-log-current-defun)))
- (if func-name
- (progn
- (kill-new func-name)
- (message "Copied %S" func-name))
- (message "No current defun detected."))))
-
-(defun svn-status-diff-pop-to-commit-buffer ()
- "Temporary switch to the `svn-status-buffer-name' buffer and start a commit from there."
- (interactive)
- (let ((window-conf (current-window-configuration)))
- (svn-status-switch-to-status-buffer)
- (svn-status-commit)
- (set-window-configuration window-conf)
- (setq svn-status-pre-commit-window-configuration window-conf)
- (pop-to-buffer svn-log-edit-buffer-name)))
-
-(defun svn-status-activate-diff-mode ()
- "Show the `svn-process-buffer-name' buffer, using the diff-mode."
- (svn-status-show-process-output 'diff t)
- (let ((working-directory default-directory))
- (save-excursion
- (set-buffer svn-status-last-output-buffer-name)
- (setq default-directory working-directory)
- (svn-status-diff-mode)
- (setq buffer-read-only t))))
-
-(define-derived-mode svn-status-diff-mode fundamental-mode "svn-diff"
- "Major mode to display svn diffs. Derives from `diff-mode'.
-
-Commands:
-\\{svn-status-diff-mode-map}
-"
- (let ((diff-mode-shared-map (copy-keymap svn-status-diff-mode-map))
- major-mode mode-name)
- (diff-mode)
- (set (make-local-variable 'revert-buffer-function) 'svn-status-diff-update)))
-
-(defun svn-status-diff-update (arg noconfirm)
- "Rerun the last svn diff command and update the *svn-diff* buffer."
- (interactive)
- (svn-status-save-some-buffers)
- (save-window-excursion
- (apply 'svn-status-show-svn-diff-internal svn-status-last-diff-options)))
-
-(defun svn-status-show-process-buffer ()
- "Show the content of the `svn-process-buffer-name' buffer"
- (interactive)
- (svn-status-show-process-output nil))
-
-(defun svn-status-pop-to-partner-buffer ()
- "Pop to the `svn-status-partner-buffer' if that variable is set."
- (interactive)
- (when svn-status-partner-buffer
- (let ((cur-buf (current-buffer)))
- (pop-to-buffer svn-status-partner-buffer)
- (setq svn-status-partner-buffer cur-buf))))
-
-(defun svn-status-pop-to-new-partner-buffer (buffer)
- "Call `pop-to-buffer' and register the current buffer as partner buffer for BUFFER."
- (let ((cur-buf (current-buffer)))
- (pop-to-buffer buffer)
- (setq svn-status-partner-buffer cur-buf)))
-
-(defun svn-status-add-file-recursively (arg)
- "Run `svn add' on all selected files.
-When a directory is added, add files recursively.
-See `svn-status-marked-files' for what counts as selected.
-When this function is called with a prefix argument, use the actual file instead."
- (interactive "P")
- (message "adding: %S" (svn-status-get-file-list-names (not arg)))
- (svn-status-create-arg-file svn-status-temp-arg-file "" (svn-status-get-file-list (not arg)) "")
- (svn-run t t 'add "add" "--targets" svn-status-temp-arg-file))
-
-(defun svn-status-add-file (arg)
- "Run `svn add' on all selected files.
-When a directory is added, don't add the files of the directory
- (svn add --non-recursive <file-list> is called).
-See `svn-status-marked-files' for what counts as selected.
-When this function is called with a prefix argument, use the actual file instead."
- (interactive "P")
- (message "adding: %S" (svn-status-get-file-list-names (not arg)))
- (svn-status-create-arg-file svn-status-temp-arg-file "" (svn-status-get-file-list (not arg)) "")
- (svn-run t t 'add "add" "--non-recursive" "--targets" svn-status-temp-arg-file))
-
-(defun svn-status-lock (arg)
- "Run `svn lock' on all selected files.
-See `svn-status-marked-files' for what counts as selected."
- (interactive "P")
- (message "locking: %S" (svn-status-get-file-list-names t))
- (svn-status-create-arg-file svn-status-temp-arg-file "" (svn-status-get-file-list t) "")
- (svn-run t t 'lock "lock" "--targets" svn-status-temp-arg-file))
-
-(defun svn-status-unlock (arg)
- "Run `svn unlock' on all selected files.
-See `svn-status-marked-files' for what counts as selected."
- (interactive "P")
- (message "unlocking: %S" (svn-status-get-file-list-names t))
- (svn-status-create-arg-file svn-status-temp-arg-file "" (svn-status-get-file-list t) "")
- (svn-run t t 'unlock "unlock" "--targets" svn-status-temp-arg-file))
-
-(defun svn-status-make-directory (dir)
- "Run `svn mkdir DIR'."
- ;; TODO: Allow entering a URI interactively.
- ;; Currently, `read-file-name' corrupts it.
- (interactive (list (read-file-name "Make directory: "
- (svn-status-directory-containing-point t))))
- (unless (string-match "^[^:/]+://" dir) ; Is it a URI?
- (setq dir (file-relative-name dir)))
- (svn-run t t 'mkdir "mkdir" "--" dir))
-
-(defun svn-status-mv ()
- "Prompt for a destination, and `svn mv' selected files there.
-See `svn-status-marked-files' for what counts as `selected'.
-
-If one file was selected then the destination DEST should be a
-filename to rename the selected file to, or a directory to move the
-file into; if multiple files were selected then DEST should be a
-directory to move the selected files into.
-
-The default DEST is the directory containing point.
-
-BUG: If we've marked some directory containging a file as well as the
-file itself, then we should just mv the directory, but this implementation
-doesn't check for that.
-SOLUTION: for each dir, umark all its contents (but not the dir
-itself) before running mv."
- (interactive)
- (svn-status-mv-cp "mv" "Rename" "Move" "mv"))
-
-(defun svn-status-cp ()
- "See `svn-status-mv'"
- (interactive)
- (svn-status-mv-cp "cp" "Copy" "Copy" "cp"))
-
-(defun svn-status-mv-cp (command singleprompt manyprompt fallback)
- "Run svn COMMAND on marked files, prompting for destination
-
-This function acts on `svn-status-marked-files': at the prompt the
-user can enter a new file name, or an existing directory: this is used as the argument for svn COMMAND.
- COMMAND --- string saying what to do: \"mv\" or \"cp\"
- SINGLEPROMPT --- string at start of prompt when one file marked
- MANYPROMPT --- string at start of prompt when multiple files marked
- FALLBACK --- If any marked file is unversioned, use this instead of 'svn COMMAND'"
- (let* ((marked-files (svn-status-marked-files))
- (num-of-files (length marked-files))
- dest)
- (if (= 1 num-of-files)
- ;; one file to act on: new name, or directory to hold results
- (setq dest (read-file-name
- (format "%s %s to: " singleprompt
- (svn-status-line-info->filename (car marked-files)))
- (svn-status-directory-containing-point t)
- (svn-status-line-info->full-path (car marked-files))))
- ;;TODO: (when file-exists-p but-no-dir-p dest (error "%s already exists" dest))
- ;;multiple files selected, so prompt for existing directory to mv them into.
- (setq dest (svn-read-directory-name
- (format "%s %d files to directory: " manyprompt num-of-files)
- (svn-status-directory-containing-point t) nil t))
- (unless (file-directory-p dest)
- (error "%s is not a directory" dest)))
- (when (string= dest "")
- (error "No destination entered"))
- (unless (string-match "^[^:/]+://" dest) ; Is it a URI?
- (setq dest (file-relative-name dest)))
-
- ;;do the move: svn mv only lets us move things once at a time, so
- ;;we need to run svn mv once for each file (hence second arg to
- ;;svn-run is nil.)
-
- ;;TODO: before doing any moving, For every marked directory,
- ;;ensure none of its contents are also marked, since we dont want
- ;;to move both file *and* its parent...
- ;; what about elided files? what if user marks a dir+contents, then presses `_' ?
-;; ;one solution:
-;; (dolist (original marked-files)
-;; (when (svn-status-line-info->directory-p original)
-;; ;; run svn-status-goto-file-name to move point to line of file
-;; ;; run svn-status-unset-user-mark to unmark dir+all contents
-;; ;; run svn-status-set-user-mark to remark dir
-;; ;; maybe check for local mods here, and unmark if user does't say --force?
-;; ))
- (dolist (original marked-files)
- (let ((original-name (svn-status-line-info->filename original))
- (original-filemarks (svn-status-line-info->filemark original))
- (original-propmarks (svn-status-line-info->propmark original))
- (moved nil))
- (cond
- ((or (eq original-filemarks ?M) ;local mods: maybe do `svn mv --force'
- (eq original-propmarks ?M)) ;local prop mods: maybe do `svn mv --force'
- (if (yes-or-no-p
- (format "%s has local modifications; use `--force' to really move it? " original-name))
- (progn
- (svn-status-run-mv-cp command original-name dest t)
- (setq moved t))
- (message "Not acting on %s" original-name)))
- ((eq original-filemarks ??) ;original is unversioned: use fallback
- (if (yes-or-no-p (format "%s is unversioned. Use `%s -i -- %s %s'? "
- original-name fallback original-name dest))
- ;; TODO: consider svn-call-process-function here also...
- (progn (call-process fallback nil (get-buffer-create svn-process-buffer-name) nil
- "-i" "--" original-name dest)
- (setq moved t))
- ;;new files created by fallback are not in *svn-status* now,
- ;;TODO: so call (svn-status-update) here?
- (message "Not acting on %s" original-name)))
-
- ((eq original-filemarks ?A) ;;`A' (`svn add'ed, but not committed)
- (message "Not acting on %s (commit it first)" original-name))
-
- ((eq original-filemarks ? ) ;original is unmodified: can proceed
- (svn-status-run-mv-cp command original-name dest)
- (setq moved t))
-
- ;;file has some other mark (eg conflicted)
- (t
- (if (yes-or-no-p
- (format "The status of %s looks scary. Risk moving it anyway? "
- original-name))
- (progn
- (svn-status-run-mv-cp command original-name dest)
- (setq moved t))
- (message "Not acting on %s" original-name))))
- (when moved
- (message "psvn: did '%s' from %s to %s" command original-name dest)
- ;; Silently rename the visited file of any buffer visiting this file.
- (when (get-file-buffer original-name)
- (with-current-buffer (get-file-buffer original-name)
- (set-visited-file-name dest nil t))))))
- (svn-status-update)))
-
-(defun svn-status-run-mv-cp (command original destination &optional force)
- "Actually run svn mv or svn cp.
-This is just to prevent duplication in `svn-status-prompt-and-act-on-files'"
- (if force
- (svn-run nil t (intern command) command "--force" "--" original destination)
- (svn-run nil t (intern command) command "--" original destination))
-;;;TODO: use something like the following instead of calling svn-status-update
-;;; at the end of svn-status-mv-cp.
-;; (let ((output (svn-status-parse-ar-output))
-;; newfile
-;; buffer-read-only) ; otherwise insert-line-in-status-buffer fails
-;; (dolist (new-file output)
-;; (when (eq (cadr new-file) 'added-wc)
-;; ;; files with 'wc-added action do not exist in *svn-status*
-;; ;; buffer yet, so give each of them their own line-info
-;; ;; TODO: need to insert the new line-info in a sensible place, ie in the correct directory! [svn-status-filename-to-buffer-position-cache might help?]
-
-;; (svn-insert-line-in-status-buffer
-;; (svn-status-make-line-info (car new-file)))))
-;; (svn-status-update-with-command-list output))
- )
-
-(defun svn-status-revert ()
- "Run `svn revert' on all selected files.
-See `svn-status-marked-files' for what counts as selected."
- (interactive)
- (let* ((marked-files (svn-status-marked-files))
- (num-of-files (length marked-files)))
- (when (yes-or-no-p
- (if (= 1 num-of-files)
- (format "Revert %s? " (svn-status-line-info->filename (car marked-files)))
- (format "Revert %d files? " num-of-files)))
- (message "reverting: %S" (svn-status-marked-file-names))
- (svn-status-create-arg-file svn-status-temp-arg-file "" (svn-status-marked-files) "")
- (svn-run t t 'revert "revert" "--targets" svn-status-temp-arg-file))))
-
-(defun svn-status-rm (force)
- "Run `svn rm' on all selected files.
-See `svn-status-marked-files' for what counts as selected.
-When called with a prefix argument add the command line switch --force.
-
-Forcing the deletion can also be used to delete files not under svn control."
- (interactive "P")
- (let* ((marked-files (svn-status-marked-files))
- (num-of-files (length marked-files)))
- (when (yes-or-no-p
- (if (= 1 num-of-files)
- (format "%sRemove %s? " (if force "Force " "") (svn-status-line-info->filename (car marked-files)))
- (format "%sRemove %d files? " (if force "Force " "") num-of-files)))
- (message "removing: %S" (svn-status-marked-file-names))
- (svn-status-create-arg-file svn-status-temp-arg-file "" (svn-status-marked-files) "")
- (if force
- (save-excursion
- (svn-run t t 'rm "rm" "--force" "--targets" svn-status-temp-arg-file)
- (dolist (to-delete (svn-status-marked-files))
- (when (eq (svn-status-line-info->filemark to-delete) ??)
- (svn-status-goto-file-name (svn-status-line-info->filename to-delete))
- (let ((buffer-read-only nil))
- (delete-region (svn-point-at-bol) (+ 1 (svn-point-at-eol)))
- (delete to-delete svn-status-info)))))
- (svn-run t t 'rm "rm" "--targets" svn-status-temp-arg-file)))))
-
-(defun svn-status-update-cmd (arg)
- "Run svn update.
-When called with a prefix argument, ask the user for the revision to update to.
-When called with a negative prefix argument, only update the selected files."
- (interactive "P")
- (let* ((selective-update (or (and (numberp arg) (< arg 0)) (eq arg '-)))
- (rev (when arg (svn-status-read-revision-string
- (if selective-update
- (format "Selected entries: Run svn update -r ")
- (format "Directory: %s: Run svn update -r " default-directory))
- (if selective-update "HEAD" nil)))))
- (if selective-update
- (progn
- (message "Running svn-update for %s" (svn-status-marked-file-names))
- (svn-run t t 'update "update"
- (when rev (list "-r" rev))
- (list "--non-interactive")
- (svn-status-marked-file-names)))
- (message "Running svn-update for %s" default-directory)
- (svn-run t t 'update "update"
- (when rev (list "-r" rev))
- (list "--non-interactive") (expand-file-name default-directory)))))
-
-(defun svn-status-commit ()
- "Commit selected files.
-If some files have been marked, commit those non-recursively;
-this is because marking a directory with \\[svn-status-set-user-mark]
-normally marks all of its files as well.
-If no files have been marked, commit recursively the file at point."
- (interactive)
- (svn-status-save-some-buffers)
- (let* ((selected-files (svn-status-marked-files)))
- (setq svn-status-files-to-commit selected-files
- svn-status-recursive-commit (not (svn-status-only-dirs-or-nothing-marked-p)))
- (svn-log-edit-show-files-to-commit)
- (svn-status-pop-to-commit-buffer)
- (when svn-log-edit-insert-files-to-commit
- (svn-log-edit-insert-files-to-commit))
- (when svn-log-edit-show-diff-for-commit
- (svn-log-edit-svn-diff nil))))
-
-(defun svn-status-pop-to-commit-buffer ()
- "Pop to the svn commit buffer.
-If a saved log message exists in `svn-log-edit-file-name' insert it in the buffer."
- (interactive)
- (setq svn-status-pre-commit-window-configuration (current-window-configuration))
- (let* ((use-existing-buffer (get-buffer svn-log-edit-buffer-name))
- (commit-buffer (get-buffer-create svn-log-edit-buffer-name))
- (dir default-directory)
- (log-edit-file-name))
- (pop-to-buffer commit-buffer)
- (setq default-directory dir)
- (setq log-edit-file-name (svn-log-edit-file-name))
- (unless use-existing-buffer
- (when (and log-edit-file-name (file-readable-p log-edit-file-name))
- (insert-file-contents log-edit-file-name)))
- (svn-log-edit-mode)))
-
-(defun svn-status-switch-to-status-buffer ()
- "Switch to the `svn-status-buffer-name' buffer."
- (interactive)
- (switch-to-buffer svn-status-buffer-name))
-
-(defun svn-status-pop-to-status-buffer ()
- "Pop to the `svn-status-buffer-name' buffer."
- (interactive)
- (pop-to-buffer svn-status-buffer-name))
-
-(defun svn-status-via-bookmark (bookmark)
- "Allows a quick selection of a bookmark in `svn-bookmark-list'.
-Run `svn-status' on the selected bookmark."
- (interactive
- (list
- (let ((completion-ignore-case t))
- (funcall svn-status-completing-read-function "SVN status bookmark: " svn-bookmark-list))))
- (unless bookmark
- (error "No bookmark specified"))
- (let ((directory (cdr (assoc bookmark svn-bookmark-list))))
- (if (file-directory-p directory)
- (svn-status directory)
- (error "%s is not a directory" directory))))
-
-(defun svn-status-export ()
- "Run `svn export' for the current working copy.
-Ask the user for the destination path.
-`svn-status-default-export-directory' is suggested as export directory."
- (interactive)
- (let* ((src default-directory)
- (dir1-name (nth 1 (nreverse (split-string src "/"))))
- (dest (read-file-name (format "Export %s to " src) (concat svn-status-default-export-directory dir1-name))))
- (svn-run t t 'export "export" (expand-file-name src) (expand-file-name dest))
- (message "svn-status-export %s %s" src dest)))
-
-(defun svn-status-cleanup (arg)
- "Run `svn cleanup' on all selected files.
-See `svn-status-marked-files' for what counts as selected.
-When this function is called with a prefix argument, use the actual file instead."
- (interactive "P")
- (let ((file-names (svn-status-get-file-list-names (not arg))))
- (if file-names
- (progn
- (message "svn-status-cleanup %S" file-names)
- (svn-run t t 'cleanup (append (list "cleanup") file-names)))
- (message "No valid file selected - No status cleanup possible"))))
-
-(defun svn-status-resolved ()
- "Run `svn resolved' on all selected files.
-See `svn-status-marked-files' for what counts as selected."
- (interactive)
- (let* ((marked-files (svn-status-marked-files))
- (num-of-files (length marked-files)))
- (when (yes-or-no-p
- (if (= 1 num-of-files)
- (format "Resolve %s? " (svn-status-line-info->filename (car marked-files)))
- (format "Resolve %d files? " num-of-files)))
- (message "resolving: %S" (svn-status-marked-file-names))
- (svn-status-create-arg-file svn-status-temp-arg-file "" (svn-status-marked-files) "")
- (svn-run t t 'resolved "resolved" "--targets" svn-status-temp-arg-file))))
-
-
-(defun svn-status-svnversion ()
- "Run svnversion on the directory that contains the file at point."
- (interactive)
- (svn-status-ensure-cursor-on-file)
- (let ((simple-path (svn-status-line-info->filename (svn-status-get-line-information)))
- (full-path (svn-status-line-info->full-path (svn-status-get-line-information)))
- (version))
- (unless (file-directory-p simple-path)
- (setq simple-path (or (file-name-directory simple-path) "."))
- (setq full-path (file-name-directory full-path)))
- (setq version (shell-command-to-string (concat "svnversion -n " full-path)))
- (message "svnversion for '%s': %s" simple-path version)
- version))
-
-;; --------------------------------------------------------------------------------
-;; Update the `svn-status-buffer-name' buffer, when a file is saved
-;; --------------------------------------------------------------------------------
-
-(defvar svn-status-file-modified-after-save-flag ?m
- "Flag shown whenever a file is modified and saved in Emacs.
-The flag is shown in the `svn-status-buffer-name' buffer.
-Recommended values are ?m or ?M.")
-(defun svn-status-after-save-hook ()
- "Set a modified indication, when a file is saved from a svn working copy."
- (let* ((svn-dir (car-safe svn-status-directory-history))
- (svn-dir (when svn-dir (expand-file-name svn-dir)))
- (file-dir (file-name-directory (buffer-file-name)))
- (svn-dir-len (length (or svn-dir "")))
- (file-dir-len (length file-dir))
- (file-name))
- (when (and (get-buffer svn-status-buffer-name)
- svn-dir
- (>= file-dir-len svn-dir-len)
- (string= (substring file-dir 0 svn-dir-len) svn-dir))
- (setq file-name (substring (buffer-file-name) svn-dir-len))
- ;;(message "In svn-status directory %S" file-name)
- (let ((st-info svn-status-info)
- (i-fname))
- (while st-info
- (setq i-fname (svn-status-line-info->filename (car st-info)))
- ;;(message "i-fname=%S" i-fname)
- (when (and (string= file-name i-fname)
- (not (eq (svn-status-line-info->filemark (car st-info)) ??)))
- (svn-status-line-info->set-filemark (car st-info)
- svn-status-file-modified-after-save-flag)
- (save-window-excursion
- (set-buffer svn-status-buffer-name)
- (save-excursion
- (let ((buffer-read-only nil)
- (pos (svn-status-get-file-name-buffer-position i-fname)))
- (if pos
- (progn
- (goto-char pos)
- (delete-region (svn-point-at-bol) (svn-point-at-eol))
- (svn-insert-line-in-status-buffer (car st-info))
- (delete-char 1))
- (svn-status-message 3 "psvn: file %s not found, updating %s buffer content..."
- i-fname svn-status-buffer-name)
- (svn-status-update-buffer))))))
- (setq st-info (cdr st-info))))))
- nil)
-
-(add-hook 'after-save-hook 'svn-status-after-save-hook)
-
-;; --------------------------------------------------------------------------------
-;; vc-svn integration
-;; --------------------------------------------------------------------------------
-(defvar svn-status-state-mark-modeline t) ; modeline mark display or not
-(defvar svn-status-state-mark-tooltip nil) ; modeline tooltip display
-
-(defun svn-status-state-mark-modeline-dot (color)
- (propertize " "
- 'help-echo 'svn-status-state-mark-tooltip
- 'display
- `(image :type xpm
- :data ,(format "/* XPM */
-static char * data[] = {
-\"18 13 3 1\",
-\" c None\",
-\"+ c #000000\",
-\". c %s\",
-\" \",
-\" +++++ \",
-\" +.....+ \",
-\" +.......+ \",
-\" +.........+ \",
-\" +.........+ \",
-\" +.........+ \",
-\" +.........+ \",
-\" +.........+ \",
-\" +.......+ \",
-\" +.....+ \",
-\" +++++ \",
-\" \"};"
- color)
- :ascent center)))
-
-(defun svn-status-install-state-mark-modeline (color)
- (push `(svn-status-state-mark-modeline
- ,(svn-status-state-mark-modeline-dot color))
- mode-line-format)
- (force-mode-line-update t))
-
-(defun svn-status-uninstall-state-mark-modeline ()
- (setq mode-line-format
- (remove-if #'(lambda (mode) (eq (car-safe mode)
- 'svn-status-state-mark-modeline))
- mode-line-format))
- (force-mode-line-update t))
-
-(defun svn-status-update-state-mark-tooltip (tooltip)
- (setq svn-status-state-mark-tooltip tooltip))
-
-(defun svn-status-update-state-mark (color)
- (svn-status-uninstall-state-mark-modeline)
- (svn-status-install-state-mark-modeline color))
-
-(defsubst svn-status-in-vc-mode? ()
- "Is vc-svn active?"
- (and vc-mode (string-match "^ SVN" (svn-substring-no-properties vc-mode))))
-
-(when svn-status-fancy-file-state-in-modeline
- (defadvice vc-find-file-hook (after svn-status-vc-svn-find-file-hook activate)
- "vc-find-file-hook advice for synchronizing psvn with vc-svn interface"
- (when (svn-status-in-vc-mode?) (svn-status-update-modeline)))
-
- (defadvice vc-after-save (after svn-status-vc-svn-after-save activate)
- "vc-after-save advice for synchronizing psvn when saving buffer"
- (when (svn-status-in-vc-mode?) (svn-status-update-modeline)))
-
- (defadvice ediff-refresh-mode-lines
- (around svn-modeline-ediff-fixup activate compile)
- "Fixup svn file status in the modeline when using ediff"
- (ediff-with-current-buffer ediff-buffer-A
- (svn-status-uninstall-state-mark-modeline))
- (ediff-with-current-buffer ediff-buffer-B
- (svn-status-uninstall-state-mark-modeline))
- ad-do-it
- (ediff-with-current-buffer ediff-buffer-A
- (svn-status-update-modeline))
- (ediff-with-current-buffer ediff-buffer-B
- (svn-status-update-modeline))))
-
-(defun svn-status-update-modeline ()
- "Update modeline state dot mark properly"
- (when (and buffer-file-name (svn-status-in-vc-mode?))
- (svn-status-update-state-mark
- (svn-status-interprete-state-mode-color
- (vc-svn-state buffer-file-name)))))
-
-(defsubst svn-status-interprete-state-mode-color (stat)
- "Interpret vc-svn-state symbol to mode line color"
- (case stat
- ('edited "tomato" )
- ('up-to-date "GreenYellow" )
- ;; what is missing here??
- ;; ('unknown "gray" )
- ;; ('added "blue" )
- ;; ('deleted "red" )
- ;; ('unmerged "purple" )
- (t "red")))
-
-;; --------------------------------------------------------------------------------
-;; Getting older revisions
-;; --------------------------------------------------------------------------------
-
-(defun svn-status-get-specific-revision (arg)
- "Retrieve older revisions.
-The older revisions are stored in backup files named F.~REVISION~.
-
-When the function is called without a prefix argument: get all marked files.
-With a prefix argument: get only the actual file."
- (interactive "P")
- (svn-status-get-specific-revision-internal
- (svn-status-get-file-list (not arg)) :ask t))
-
-(defun svn-status-get-specific-revision-internal (line-infos revision handle-relative-svn-status-dir)
- "Retrieve older revisions of files.
-LINE-INFOS is a list of line-info structures (see
-`svn-status-get-line-information').
-REVISION is one of:
-- a string: whatever the -r option allows.
-- `:ask': asks the user to specify the revision, which then becomes
- saved in `minibuffer-history' rather than in `command-history'.
-- `:auto': Use \"HEAD\" if an update is known to exist, \"BASE\" otherwise.
-
-After the call, `svn-status-get-revision-file-info' will be an alist
-\((WORKING-FILE-NAME . RETRIEVED-REVISION-FILE-NAME) ...). These file
-names are relative to the directory where `svn-status' was run."
- ;; In `svn-status-show-svn-diff-internal', there is a comment
- ;; that REVISION `nil' might mean omitting the -r option entirely.
- ;; That doesn't seem like a good idea with svn cat.
-
- ;; (message "svn-status-get-specific-revision-internal: %S %S" line-infos revision)
-
- (when (eq revision :ask)
- (setq revision (svn-status-read-revision-string
- "Get files for version: " "PREV")))
-
- (let ((count (length line-infos)))
- (if (= count 1)
- (let ((line-info (car line-infos)))
- (message "Getting revision %s of %s"
- (if (eq revision :auto)
- (if (svn-status-line-info->update-available line-info)
- "HEAD" "BASE")
- revision)
- (svn-status-line-info->filename line-info)))
- ;; We could compute "Getting HEAD of 8 files and BASE of 11 files"
- ;; but that'd be more bloat than it's worth.
- (message "Getting revision %s of %d files"
- (if (eq revision :auto) "HEAD or BASE" revision)
- count)))
-
- (let ((svn-status-get-specific-revision-file-info '()))
- (dolist (line-info line-infos)
- (let* ((revision (if (eq revision :auto)
- (if (svn-status-line-info->update-available line-info)
- "HEAD" "BASE")
- revision)) ;must be a string by this point
- (file-name (svn-status-line-info->filename line-info))
- ;; If REVISION is e.g. "HEAD", should we find out the actual
- ;; revision number and save "foo.~123~" rather than "foo.~HEAD~"?
- ;; OTOH, `auto-mode-alist' already ignores ".~HEAD~" suffixes,
- ;; and if users often want to know the revision numbers of such
- ;; files, they can use svn:keywords.
- (file-name-with-revision (concat (file-name-nondirectory file-name) ".~" revision "~"))
- (default-directory (concat (svn-status-base-dir)
- (if handle-relative-svn-status-dir
- (file-relative-name default-directory (svn-status-base-dir))
- "")
- (file-name-directory file-name))))
- ;; `add-to-list' would unnecessarily check for duplicates.
- (push (cons file-name (concat (file-name-directory file-name) file-name-with-revision))
- svn-status-get-specific-revision-file-info)
- (svn-status-message 3 "svn-status-get-specific-revision-internal: file: %s, default-directory: %s"
- file-name default-directory)
- (svn-status-message 3 "svn-status-get-specific-revision-internal: file-name-with-revision: %s %S"
- file-name-with-revision (file-exists-p file-name-with-revision))
- (save-excursion
- (if (or (not (file-exists-p file-name-with-revision)) ;; file does not exist
- (not (string= (number-to-string (string-to-number revision)) revision))) ;; revision is not a number
- (progn
- (message "Getting revision %s of %s, target: %s" revision file-name
- (expand-file-name(concat default-directory file-name-with-revision)))
- (let ((content
- (with-temp-buffer
- (if (string= revision "BASE")
- (insert-file-contents (concat (svn-wc-adm-dir-name)
- "/text-base/"
- (file-name-nondirectory file-name)
- ".svn-base"))
- (progn
- (svn-run nil t 'cat "cat" "-r" revision
- (concat default-directory (file-name-nondirectory file-name)))
- ;;todo: error processing
- ;;svn: Filesystem has no item
- ;;svn: file not found: revision `15', path `/trunk/file.txt'
- (insert-buffer-substring svn-process-buffer-name)))
- (buffer-string))))
- (find-file file-name-with-revision)
- (setq buffer-read-only nil)
- (erase-buffer) ;Widen, because we'll save the whole buffer.
- (insert content)
- (goto-char (point-min))
- (let ((write-file-functions nil)
- (require-final-newline nil))
- (save-buffer))))
- (find-file file-name-with-revision)))))
- ;;(message "default-directory: %s revision-file-info: %S" default-directory svn-status-get-specific-revision-file-info)
- (nreverse svn-status-get-specific-revision-file-info)))
-
-(defun svn-status-ediff-with-revision (arg)
- "Run ediff on the current file with a different revision.
-If there is a newer revision in the repository, the diff is done against HEAD,
-otherwise compare the working copy with BASE.
-If ARG then prompt for revision to diff against."
- (interactive "P")
- (let* ((svn-status-get-specific-revision-file-info
- (svn-status-get-specific-revision-internal
- (list (svn-status-make-line-info
- (file-relative-name
- (svn-status-line-info->full-path (svn-status-get-line-information))
- (svn-status-base-dir))
- nil nil nil nil nil nil
- (svn-status-line-info->update-available (svn-status-get-line-information))))
- (if arg :ask :auto)
- nil))
- (ediff-after-quit-destination-buffer (current-buffer))
- (default-directory (svn-status-base-dir))
- (my-buffer (find-file-noselect (caar svn-status-get-specific-revision-file-info)))
- (base-buff (find-file-noselect (cdar svn-status-get-specific-revision-file-info)))
- (svn-transient-buffers (list my-buffer base-buff))
- (startup-hook '(svn-ediff-startup-hook)))
- (ediff-buffers base-buff my-buffer startup-hook)))
-
-(defun svn-ediff-startup-hook ()
- ;; (message "svn-ediff-startup-hook: ediff-after-quit-hook-internal: %S" ediff-after-quit-hook-internal)
- (add-hook 'ediff-after-quit-hook-internal
- `(lambda ()
- (svn-ediff-exit-hook
- ',ediff-after-quit-destination-buffer ',svn-transient-buffers))
- nil 'local))
-
-(defun svn-ediff-exit-hook (svn-buf tmp-bufs)
- ;; (message "svn-ediff-exit-hook: svn-buf: %s, tmp-bufs: %s" svn-buf tmp-bufs)
- ;; kill the temp buffers (and their associated windows)
- (dolist (tb tmp-bufs)
- (when (and tb (buffer-live-p tb) (not (buffer-modified-p tb)))
- (let* ((win (get-buffer-window tb t))
- (file-name (buffer-file-name tb))
- (is-temp-file (numberp (string-match "~\\([0-9]+\\|BASE\\)~" file-name))))
- ;; (message "svn-ediff-exit-hook - is-temp-file: %s, temp-buf:: %s - %s " is-temp-file (current-buffer) file-name)
- (when (and win (> (count-windows) 1)
- (delete-window win)))
- (kill-buffer tb)
- (when (and is-temp-file svn-status-ediff-delete-temporary-files)
- (when (or (eq svn-status-ediff-delete-temporary-files t)
- (y-or-n-p (format "Delete File '%s' ? " file-name)))
- (delete-file file-name))))))
- ;; switch back to the *svn* buffer
- (when (and svn-buf (buffer-live-p svn-buf)
- (not (get-buffer-window svn-buf t)))
- (ignore-errors (switch-to-buffer svn-buf))))
-
-
-(defun svn-status-read-revision-string (prompt &optional default-value)
- "Prompt the user for a svn revision number."
- (interactive)
- (read-string prompt default-value))
-
-(defun svn-file-show-svn-ediff (arg)
- "Run ediff on the current file with a previous revision.
-If ARG then prompt for revision to diff against."
- (interactive "P")
- (let ((svn-status-get-line-information-for-file 'relative)
- (default-directory (svn-status-base-dir)))
- (svn-status-ediff-with-revision arg)))
-
-;; --------------------------------------------------------------------------------
-;; SVN process handling
-;; --------------------------------------------------------------------------------
-
-(defun svn-process-kill ()
- "Kill the current running svn process."
- (interactive)
- (let ((process (get-process "svn")))
- (if process
- (delete-process process)
- (message "No running svn process"))))
-
-(defun svn-process-send-string (string &optional send-passwd)
- "Send a string to the running svn process.
-This is useful, if the running svn process asks the user a question.
-Note: use C-q C-j to send a line termination character."
- (interactive "sSend string to svn process: ")
- (save-excursion
- (set-buffer svn-process-buffer-name)
- (goto-char (point-max))
- (let ((buffer-read-only nil))
- (insert (if send-passwd (make-string (length string) ?.) string)))
- (set-marker (process-mark (get-process "svn")) (point)))
- (process-send-string "svn" string))
-
-(defun svn-process-send-string-and-newline (string &optional send-passwd)
- "Send a string to the running svn process.
-Just call `svn-process-send-string' with STRING and an end of line termination.
-When called with a prefix argument, read the data from user as password."
- (interactive (let* ((use-passwd current-prefix-arg)
- (s (if use-passwd
- (read-passwd "Send secret line to svn process: ")
- (read-string "Send line to svn process: "))))
- (list s use-passwd)))
- (svn-process-send-string (concat string "\n") send-passwd))
-
-;; --------------------------------------------------------------------------------
-;; Search interface
-;; --------------------------------------------------------------------------------
-
-(defun svn-status-grep-files (regexp)
- "Run grep on selected file(s).
-See `svn-status-marked-files' for what counts as selected."
- (interactive "sGrep files for: ")
- (unless grep-command
- (grep-compute-defaults))
- (let ((default-directory (svn-status-base-dir)))
- (grep (format "%s %s %s" grep-command (shell-quote-argument regexp)
- (mapconcat 'identity (svn-status-marked-file-names) " ")))))
-
-(defun svn-status-search-files (search-string)
- "Search selected file(s) for a fixed SEARCH-STRING.
-See `svn-status-marked-files' for what counts as selected."
- (interactive "sSearch files for: ")
- (svn-status-grep-files (regexp-quote search-string)))
-
-;; --------------------------------------------------------------------------------
-;; Property List stuff
-;; --------------------------------------------------------------------------------
-
-(defun svn-status-property-list ()
- (interactive)
- (let ((file-names (svn-status-marked-file-names)))
- (if file-names
- (progn
- (svn-run t t 'proplist (append (list "proplist" "-v") file-names)))
- (message "No valid file selected - No property listing possible"))))
-
-(defun svn-status-proplist-start ()
- (svn-status-ensure-cursor-on-file)
- (svn-run t t 'proplist-parse "proplist" (svn-status-line-info->filename
- (svn-status-get-line-information))))
-(defun svn-status-property-edit-one-entry (arg)
- "Edit a property.
-When called with a prefix argument, it is possible to enter a new property."
- (interactive "P")
- (setq svn-status-property-edit-must-match-flag (not arg))
- (svn-status-proplist-start))
-
-(defun svn-status-property-set ()
- (interactive)
- (setq svn-status-property-edit-must-match-flag nil)
- (svn-status-proplist-start))
-
-(defun svn-status-property-delete ()
- (interactive)
- (setq svn-status-property-edit-must-match-flag t)
- (svn-status-proplist-start))
-
-(defun svn-status-property-parse-property-names ()
- ;(svn-status-show-process-buffer-internal t)
- (message "svn-status-property-parse-property-names")
- (let ((pl)
- (prop-name)
- (prop-value))
- (save-excursion
- (set-buffer svn-process-buffer-name)
- (goto-char (point-min))
- (forward-line 1)
- (while (looking-at " \\(.+\\)")
- (setq pl (append pl (list (match-string 1))))
- (forward-line 1)))
- ;(cond last-command: svn-status-property-set, svn-status-property-edit-one-entry
- (cond ((eq last-command 'svn-status-property-edit-one-entry)
- ;;(message "svn-status-property-edit-one-entry")
- (setq prop-name
- (completing-read "Set Property - Name: " (mapcar 'list pl)
- nil svn-status-property-edit-must-match-flag))
- (unless (string= prop-name "")
- (save-excursion
- (set-buffer svn-status-buffer-name)
- (svn-status-property-edit (list (svn-status-get-line-information))
- prop-name))))
- ((eq last-command 'svn-status-property-set)
- (message "svn-status-property-set")
- (setq prop-name
- (completing-read "Set Property - Name: " (mapcar 'list pl) nil nil))
- (setq prop-value (read-from-minibuffer "Property value: "))
- (unless (string= prop-name "")
- (save-excursion
- (set-buffer svn-status-buffer-name)
- (message "Setting property %s := %s for %S" prop-name prop-value
- (svn-status-marked-file-names))
- (let ((file-names (svn-status-marked-file-names)))
- (when file-names
- (svn-run nil t 'propset
- (append (list "propset" prop-name prop-value) file-names))
- )
- )
- (message "propset finished.")
- )))
- ((eq last-command 'svn-status-property-delete)
- (setq prop-name
- (completing-read "Delete Property - Name: " (mapcar 'list pl) nil t))
- (unless (string= prop-name "")
- (save-excursion
- (set-buffer svn-status-buffer-name)
- (let ((file-names (svn-status-marked-file-names)))
- (when file-names
- (message "Going to delete prop %s for %s" prop-name file-names)
- (svn-run t t 'propdel
- (append (list "propdel" prop-name) file-names))))))))))
-
-(defun svn-status-property-edit (file-info-list prop-name &optional new-prop-value remove-values)
- (let* ((commit-buffer (get-buffer-create "*svn-property-edit*"))
- (dir default-directory)
- ;; now only one file is implemented ...
- (file-name (svn-status-line-info->filename (car file-info-list)))
- (prop-value))
- (message "Edit property %s for file %s" prop-name file-name)
- (svn-run nil t 'propget-parse "propget" prop-name file-name)
- (save-excursion
- (set-buffer svn-process-buffer-name)
- (setq prop-value (if (> (point-max) 1)
- (buffer-substring (point-min) (- (point-max) 1))
- "")))
- (setq svn-status-propedit-property-name prop-name)
- (setq svn-status-propedit-file-list file-info-list)
- (setq svn-status-pre-propedit-window-configuration (current-window-configuration))
- (pop-to-buffer commit-buffer)
- ;; If the buffer has been narrowed, `svn-prop-edit-done' will use
- ;; only the accessible part. So we need not erase the rest here.
- (delete-region (point-min) (point-max))
- (setq default-directory dir)
- (insert prop-value)
- (svn-status-remove-control-M)
- (when new-prop-value
- (when (listp new-prop-value)
- (if remove-values
- (message "Remove prop values %S " new-prop-value)
- (message "Adding new prop values %S " new-prop-value))
- (while new-prop-value
- (goto-char (point-min))
- (if (re-search-forward (concat "^" (regexp-quote (car new-prop-value)) "$") nil t)
- (when remove-values
- (kill-whole-line 1))
- (unless remove-values
- (goto-char (point-max))
- (when (> (current-column) 0) (insert "\n"))
- (insert (car new-prop-value))))
- (setq new-prop-value (cdr new-prop-value)))))
- (svn-prop-edit-mode)))
-
-(defun svn-status-property-set-property (file-info-list prop-name prop-value)
- "Set a property on a given file list."
- (save-excursion
- (set-buffer (get-buffer-create "*svn-property-edit*"))
- ;; If the buffer has been narrowed, `svn-prop-edit-do-it' will use
- ;; only the accessible part. So we need not erase the rest here.
- (delete-region (point-min) (point-max))
- (insert prop-value))
- (setq svn-status-propedit-file-list (svn-status-marked-files))
- (setq svn-status-propedit-property-name prop-name)
- (svn-prop-edit-do-it nil)
- (svn-status-update))
-
-
-(defun svn-status-get-directory (line-info)
- (let* ((file-name (svn-status-line-info->filename line-info))
- (file-dir (file-name-directory file-name)))
- ;;(message "file-dir: %S" file-dir)
- (if file-dir
- (substring file-dir 0 (- (length file-dir) 1))
- ".")))
-
-(defun svn-status-get-file-list-per-directory (files)
- ;;(message "%S" files)
- (let ((dir-list nil)
- (i files)
- (j)
- (dir))
- (while i
- (setq dir (svn-status-get-directory (car i)))
- (setq j (assoc dir dir-list))
- (if j
- (progn
- ;;(message "dir already present %S %s" j dir)
- (setcdr j (append (cdr j) (list (car i)))))
- (setq dir-list (append dir-list (list (list dir (car i))))))
- (setq i (cdr i)))
- ;;(message "svn-status-get-file-list-per-directory: %S" dir-list)
- dir-list))
-
-(defun svn-status-property-ignore-file ()
- (interactive)
- (let ((d-list (svn-status-get-file-list-per-directory (svn-status-marked-files)))
- (dir)
- (f-info)
- (ext-list))
- (while d-list
- (setq dir (caar d-list))
- (setq f-info (cdar d-list))
- (setq ext-list (mapcar '(lambda (i)
- (svn-status-line-info->filename-nondirectory i)) f-info))
- ;;(message "ignore in dir %s: %S" dir f-info)
- (save-window-excursion
- (when (y-or-n-p (format "Ignore %S for %s? " ext-list dir))
- (svn-status-property-edit
- (list (svn-status-find-info-for-file-name dir)) "svn:ignore" ext-list)
- (svn-prop-edit-do-it nil))) ; synchronous
- (setq d-list (cdr d-list)))
- (svn-status-update)))
-
-(defun svn-status-property-ignore-file-extension ()
- (interactive)
- (let ((d-list (svn-status-get-file-list-per-directory (svn-status-marked-files)))
- (dir)
- (f-info)
- (ext-list))
- (while d-list
- (setq dir (caar d-list))
- (setq f-info (cdar d-list))
- ;;(message "ignore in dir %s: %S" dir f-info)
- (setq ext-list nil)
- (while f-info
- (add-to-list 'ext-list (concat "*."
- (file-name-extension
- (svn-status-line-info->filename (car f-info)))))
- (setq f-info (cdr f-info)))
- ;;(message "%S" ext-list)
- (save-window-excursion
- (when (y-or-n-p (format "Ignore %S for %s? " ext-list dir))
- (svn-status-property-edit
- (list (svn-status-find-info-for-file-name dir)) "svn:ignore"
- ext-list)
- (svn-prop-edit-do-it nil)))
- (setq d-list (cdr d-list)))
- (svn-status-update)))
-
-(defun svn-status-property-edit-svn-ignore ()
- (interactive)
- (let* ((line-info (svn-status-get-line-information))
- (dir (if (svn-status-line-info->directory-p line-info)
- (svn-status-line-info->filename line-info)
- (svn-status-get-directory line-info))))
- (svn-status-property-edit
- (list (svn-status-find-info-for-file-name dir)) "svn:ignore")
- (message "Edit svn:ignore on %s" dir)))
-
-
-(defun svn-status-property-set-keyword-list ()
- "Edit the svn:keywords property on the marked files."
- (interactive)
- ;;(message "Set svn:keywords for %S" (svn-status-marked-file-names))
- (svn-status-property-edit (svn-status-marked-files) "svn:keywords"))
-
-(defun svn-status-property-set-keyword-id (arg)
- "Set/Remove Id from the svn:keywords property.
-Normally Id is added to the svn:keywords property.
-
-When called with the prefix arg -, remove Id from the svn:keywords property."
- (interactive "P")
- (svn-status-property-edit (svn-status-marked-files) "svn:keywords" '("Id") (eq arg '-))
- (svn-prop-edit-do-it nil))
-
-(defun svn-status-property-set-keyword-date (arg)
- "Set/Remove Date from the svn:keywords property.
-Normally Date is added to the svn:keywords property.
-
-When called with the prefix arg -, remove Date from the svn:keywords property."
- (interactive "P")
- (svn-status-property-edit (svn-status-marked-files) "svn:keywords" '("Date") (eq arg '-))
- (svn-prop-edit-do-it nil))
-
-
-(defun svn-status-property-set-eol-style ()
- "Edit the svn:eol-style property on the marked files."
- (interactive)
- (svn-status-property-set-property
- (svn-status-marked-files) "svn:eol-style"
- (completing-read "Set svn:eol-style for the marked files: "
- (mapcar 'list '("native" "CRLF" "LF" "CR"))
- nil t)))
-
-(defun svn-status-property-set-executable ()
- "Set the svn:executable property on the marked files."
- (interactive)
- (svn-status-property-set-property (svn-status-marked-files) "svn:executable" "*"))
-
-(defun svn-status-property-set-mime-type ()
- "Set the svn:mime-type property on the marked files."
- (interactive)
- (require 'mailcap nil t)
- (let ((completion-ignore-case t)
- (mime-types (when (fboundp 'mailcap-mime-types)
- (mailcap-mime-types))))
- (svn-status-property-set-property
- (svn-status-marked-files) "svn:mime-type"
- (funcall svn-status-completing-read-function "Set svn:mime-type for the marked files: "
- (mapcar (lambda (x) (cons x x)) ; for Emacs 21
- (sort mime-types 'string<))))))
-
-;; --------------------------------------------------------------------------------
-;; svn-prop-edit-mode:
-;; --------------------------------------------------------------------------------
-
-(defvar svn-prop-edit-mode-map () "Keymap used in `svn-prop-edit-mode' buffers.")
-(put 'svn-prop-edit-mode-map 'risky-local-variable t) ;for Emacs 20.7
-
-(when (not svn-prop-edit-mode-map)
- (setq svn-prop-edit-mode-map (make-sparse-keymap))
- (define-key svn-prop-edit-mode-map [(control ?c) (control ?c)] 'svn-prop-edit-done)
- (define-key svn-prop-edit-mode-map [(control ?c) (control ?d)] 'svn-prop-edit-svn-diff)
- (define-key svn-prop-edit-mode-map [(control ?c) (control ?s)] 'svn-prop-edit-svn-status)
- (define-key svn-prop-edit-mode-map [(control ?c) (control ?l)] 'svn-prop-edit-svn-log)
- (define-key svn-prop-edit-mode-map [(control ?c) (control ?q)] 'svn-prop-edit-abort))
-
-(easy-menu-define svn-prop-edit-mode-menu svn-prop-edit-mode-map
-"'svn-prop-edit-mode' menu"
- '("SVN-PropEdit"
- ["Commit" svn-prop-edit-done t]
- ["Show Diff" svn-prop-edit-svn-diff t]
- ["Show Status" svn-prop-edit-svn-status t]
- ["Show Log" svn-prop-edit-svn-log t]
- ["Abort" svn-prop-edit-abort t]))
-
-(defun svn-prop-edit-mode ()
- "Major Mode to edit file properties of files under svn control.
-Commands:
-\\{svn-prop-edit-mode-map}"
- (interactive)
- (kill-all-local-variables)
- (use-local-map svn-prop-edit-mode-map)
- (easy-menu-add svn-prop-edit-mode-menu)
- (setq major-mode 'svn-prop-edit-mode)
- (setq mode-name "svn-prop-edit"))
-
-(defun svn-prop-edit-abort ()
- (interactive)
- (bury-buffer)
- (set-window-configuration svn-status-pre-propedit-window-configuration))
-
-(defun svn-prop-edit-done ()
- (interactive)
- (svn-prop-edit-do-it t))
-
-(defun svn-prop-edit-do-it (async)
- "Run svn propset `svn-status-propedit-property-name' with the content of the
-*svn-property-edit* buffer."
- (message "svn propset %s on %s"
- svn-status-propedit-property-name
- (mapcar 'svn-status-line-info->filename svn-status-propedit-file-list))
- (save-excursion
- (set-buffer (get-buffer "*svn-property-edit*"))
- (when (fboundp 'set-buffer-file-coding-system)
- (set-buffer-file-coding-system svn-status-svn-file-coding-system nil))
- (setq svn-status-temp-file-to-remove
- (concat svn-status-temp-dir "svn-prop-edit.txt" svn-temp-suffix))
- (write-region (point-min) (point-max) svn-status-temp-file-to-remove nil 1))
- (when svn-status-propedit-file-list ; there are files to change properties
- (svn-status-create-arg-file svn-status-temp-arg-file ""
- svn-status-propedit-file-list "")
- (setq svn-status-propedit-file-list nil)
- (svn-run async t 'propset "propset"
- svn-status-propedit-property-name
- "--targets" svn-status-temp-arg-file
- (when (eq svn-status-svn-file-coding-system 'utf-8)
- '("--encoding" "UTF-8"))
- "-F" (concat svn-status-temp-dir "svn-prop-edit.txt" svn-temp-suffix))
- (unless async (svn-status-remove-temp-file-maybe)))
- (when svn-status-pre-propedit-window-configuration
- (set-window-configuration svn-status-pre-propedit-window-configuration)))
-
-(defun svn-prop-edit-svn-diff (arg)
- (interactive "P")
- (set-buffer svn-status-buffer-name)
- ;; Because propedit is not recursive in our use, neither is this diff.
- (svn-status-show-svn-diff-internal svn-status-propedit-file-list nil
- (if arg :ask "BASE")))
-
-(defun svn-prop-edit-svn-log (arg)
- (interactive "P")
- (set-buffer svn-status-buffer-name)
- (svn-status-show-svn-log arg))
-
-(defun svn-prop-edit-svn-status ()
- (interactive)
- (pop-to-buffer svn-status-buffer-name)
- (other-window 1))
-
-;; --------------------------------------------------------------------------------
-;; svn-log-edit-mode:
-;; --------------------------------------------------------------------------------
-
-(defvar svn-log-edit-mode-map () "Keymap used in `svn-log-edit-mode' buffers.")
-(put 'svn-log-edit-mode-map 'risky-local-variable t) ;for Emacs 20.7
-
-(defvar svn-log-edit-mode-menu) ;really defined with `easy-menu-define' below.
-
-(defun svn-log-edit-common-setup ()
- (set (make-local-variable 'paragraph-start) svn-log-edit-paragraph-start)
- (set (make-local-variable 'paragraph-separate) svn-log-edit-paragraph-separate))
-
-(if svn-log-edit-use-log-edit-mode
- (define-derived-mode svn-log-edit-mode log-edit-mode "svn-log-edit"
- "Wrapper around `log-edit-mode' for psvn.el"
- (easy-menu-add svn-log-edit-mode-menu)
- (setq svn-log-edit-update-log-entry nil)
- (set (make-local-variable 'log-edit-callback) 'svn-log-edit-done)
- (set (make-local-variable 'log-edit-listfun) 'svn-log-edit-files-to-commit)
- (set (make-local-variable 'log-edit-initial-files) (log-edit-files))
- (svn-log-edit-common-setup)
- (message "Press %s when you are done editing."
- (substitute-command-keys "\\[log-edit-done]"))
- )
- (defun svn-log-edit-mode ()
- "Major Mode to edit svn log messages.
-Commands:
-\\{svn-log-edit-mode-map}"
- (interactive)
- (kill-all-local-variables)
- (use-local-map svn-log-edit-mode-map)
- (easy-menu-add svn-log-edit-mode-menu)
- (setq major-mode 'svn-log-edit-mode)
- (setq mode-name "svn-log-edit")
- (setq svn-log-edit-update-log-entry nil)
- (svn-log-edit-common-setup)
- (run-hooks 'svn-log-edit-mode-hook)))
-
-(when (not svn-log-edit-mode-map)
- (setq svn-log-edit-mode-map (make-sparse-keymap))
- (unless svn-log-edit-use-log-edit-mode
- (define-key svn-log-edit-mode-map (kbd "C-c C-c") 'svn-log-edit-done))
- (define-key svn-log-edit-mode-map (kbd "C-c C-d") 'svn-log-edit-svn-diff)
- (define-key svn-log-edit-mode-map (kbd "C-c C-s") 'svn-log-edit-save-message)
- (define-key svn-log-edit-mode-map (kbd "C-c C-i") 'svn-log-edit-svn-status)
- (define-key svn-log-edit-mode-map (kbd "C-c C-l") 'svn-log-edit-svn-log)
- (define-key svn-log-edit-mode-map (kbd "C-c C-?") 'svn-log-edit-show-files-to-commit)
- (define-key svn-log-edit-mode-map (kbd "C-c C-z") 'svn-log-edit-erase-edit-buffer)
- (define-key svn-log-edit-mode-map (kbd "C-c C-q") 'svn-log-edit-abort))
-
-(easy-menu-define svn-log-edit-mode-menu svn-log-edit-mode-map
-"'svn-log-edit-mode' menu"
- '("SVN-Log"
- ["Save to disk" svn-log-edit-save-message t]
- ["Commit" svn-log-edit-done t]
- ["Show Diff" svn-log-edit-svn-diff t]
- ["Show Status" svn-log-edit-svn-status t]
- ["Show Log" svn-log-edit-svn-log t]
- ["Show files to commit" svn-log-edit-show-files-to-commit t]
- ["Erase buffer" svn-log-edit-erase-edit-buffer]
- ["Abort" svn-log-edit-abort t]))
-(put 'svn-log-edit-mode-menu 'risky-local-variable t)
-
-(defun svn-log-edit-abort ()
- (interactive)
- (bury-buffer)
- (set-window-configuration svn-status-pre-commit-window-configuration))
-
-(defun svn-log-edit-done ()
- "Finish editing the log message and run svn commit."
- (interactive)
- (svn-status-save-some-buffers)
- (save-excursion
- (set-buffer (get-buffer svn-log-edit-buffer-name))
- (when svn-log-edit-insert-files-to-commit
- (svn-log-edit-remove-comment-lines))
- (when (fboundp 'set-buffer-file-coding-system)
- (set-buffer-file-coding-system svn-status-svn-file-coding-system nil))
- (when (or svn-log-edit-update-log-entry svn-status-files-to-commit)
- (setq svn-status-temp-file-to-remove
- (concat svn-status-temp-dir "svn-log-edit.txt" svn-temp-suffix))
- (write-region (point-min) (point-max) svn-status-temp-file-to-remove nil 1))
- (bury-buffer))
- (if svn-log-edit-update-log-entry
- (when (y-or-n-p "Update the log entry? ")
- ;; svn propset svn:log --revprop -r11672 -F file
- (svn-run nil t 'propset "propset" "svn:log" "--revprop"
- (concat "-r" svn-log-edit-update-log-entry)
- "-F" svn-status-temp-file-to-remove)
- (save-excursion
- (set-buffer svn-process-buffer-name)
- (message "%s" (buffer-substring (point-min) (- (point-max) 1)))))
- (when svn-status-files-to-commit ; there are files to commit
- (setq svn-status-operated-on-dot
- (and (= 1 (length svn-status-files-to-commit))
- (string= "." (svn-status-line-info->filename (car svn-status-files-to-commit)))))
- (svn-status-create-arg-file svn-status-temp-arg-file ""
- svn-status-files-to-commit "")
- (svn-run t t 'commit "commit"
- (unless svn-status-recursive-commit "--non-recursive")
- "--targets" svn-status-temp-arg-file
- "-F" svn-status-temp-file-to-remove
- (when (eq svn-status-svn-file-coding-system 'utf-8)
- '("--encoding" "UTF-8"))
- svn-status-default-commit-arguments))
- (set-window-configuration svn-status-pre-commit-window-configuration)
- (message "svn-log editing done")))
-
-(defun svn-log-edit-svn-diff (arg)
- "Show the diff we are about to commit.
-If ARG then show diff between some other version of the selected files."
- (interactive "P")
- (set-buffer svn-status-buffer-name) ; TODO: is this necessary?
- ;; This call is very much like `svn-status-show-svn-diff-for-marked-files'
- ;; but uses commit-specific variables instead of the current marks.
- (svn-status-show-svn-diff-internal svn-status-files-to-commit
- svn-status-recursive-commit
- (if arg :ask "BASE")))
-
-(defun svn-log-edit-svn-log (arg)
- (interactive "P")
- (set-buffer svn-status-buffer-name)
- (svn-status-show-svn-log arg))
-
-(defun svn-log-edit-svn-status ()
- (interactive)
- (pop-to-buffer svn-status-buffer-name)
- (other-window 1))
-
-(defun svn-log-edit-files-to-commit ()
- (mapcar 'svn-status-line-info->filename svn-status-files-to-commit))
-
-(defun svn-log-edit-show-files-to-commit ()
- (interactive)
- (message "Files to commit%s: %S"
- (if svn-status-recursive-commit " recursively" "")
- (svn-log-edit-files-to-commit)))
-
-(defun svn-log-edit-save-message ()
- "Save the current log message to the file `svn-log-edit-file-name'."
- (interactive)
- (let ((log-edit-file-name (svn-log-edit-file-name)))
- (if (string= buffer-file-name log-edit-file-name)
- (save-buffer)
- (write-region (point-min) (point-max) log-edit-file-name))))
-
-(defun svn-log-edit-erase-edit-buffer ()
- "Delete everything in the `svn-log-edit-buffer-name' buffer."
- (interactive)
- (set-buffer svn-log-edit-buffer-name)
- (erase-buffer))
-
-(defun svn-log-edit-insert-files-to-commit ()
- (interactive)
- (svn-log-edit-remove-comment-lines)
- (let ((buf-size (- (point-max) (point-min))))
- (save-excursion
- (goto-char (point-min))
- (insert "## Lines starting with '## ' will be removed from the log message.\n")
- (insert "## File(s) to commit"
- (if svn-status-recursive-commit " recursively" "") ":\n")
- (let ((file-list svn-status-files-to-commit))
- (while file-list
- (insert (concat "## " (svn-status-line-info->filename (car file-list)) "\n"))
- (setq file-list (cdr file-list)))))
- (when (= 0 buf-size)
- (goto-char (point-max)))))
-
-(defun svn-log-edit-remove-comment-lines ()
- (interactive)
- (save-excursion
- (goto-char (point-min))
- (flush-lines "^## .*")))
-
-(defun svn-file-add-to-changelog (prefix-arg)
- "Create a changelog entry for the function at point.
-The variable `svn-status-changelog-style' allows to select the used changlog style"
- (interactive "P")
- (cond ((eq svn-status-changelog-style 'changelog)
- (svn-file-add-to-log-changelog-style prefix-arg))
- ((eq svn-status-changelog-style 'svn-dev)
- (svn-file-add-to-log-svn-dev-style prefix-arg))
- ((fboundp svn-status-changelog-style)
- (funcall svn-status-changelog-style prefix-arg))
- (t
- (error "Invalid setting for `svn-status-changelog-style'"))))
-
-(defun svn-file-add-to-log-changelog-style (curdir)
- "Create a changelog entry for the function at point.
-`add-change-log-entry-other-window' creates the header information.
-If CURDIR, save the log file in the current directory, otherwise in the base directory of this working copy."
- (interactive "P")
- (add-change-log-entry-other-window nil (svn-log-edit-file-name curdir))
- (svn-log-edit-mode))
-
-;; taken from svn-dev.el: svn-log-path-derive
-(defun svn-dev-log-path-derive (path)
- "Derive a relative directory path for absolute PATH, for a log entry."
- (save-match-data
- (let ((base (file-name-nondirectory path))
- (chop-spot (string-match
- "\\(code/\\)\\|\\(src/\\)\\|\\(projects/\\)"
- path)))
- (if chop-spot
- (progn
- (setq path (substring path (match-end 0)))
- ;; Kluge for Subversion developers.
- (if (string-match "subversion/" path)
- (substring path (+ (match-beginning 0) 11))
- path))
- (string-match (expand-file-name "~/") path)
- (substring path (match-end 0))))))
-
-;; taken from svn-dev.el: svn-log-message
-(defun svn-file-add-to-log-svn-dev-style (prefix-arg)
- "Add to an in-progress log message, based on context around point.
-If PREFIX-ARG is negative, then use basenames only in
-log messages, otherwise use full paths. The current defun name is
-always used.
-
-If PREFIX-ARG is a list (e.g. by using C-u), save the log file in
-the current directory, otherwise in the base directory of this
-working copy.
-
-If the log message already contains material about this defun, then put
-point there, so adding to that material is easy.
-
-Else if the log message already contains material about this file, put
-point there, and push onto the kill ring the defun name with log
-message dressing around it, plus the raw defun name, so yank and
-yank-next are both useful.
-
-Else if there is no material about this defun nor file anywhere in the
-log message, then put point at the end of the message and insert a new
-entry for file with defun.
-"
- (interactive "P")
- (let* ((short-file-names (and (numberp prefix-arg) (< prefix-arg 0)))
- (curdir (listp prefix-arg))
- (this-file (if short-file-names
- (file-name-nondirectory buffer-file-name)
- (svn-dev-log-path-derive buffer-file-name)))
- (this-defun (or (add-log-current-defun)
- (save-excursion
- (save-match-data
- (if (eq major-mode 'c-mode)
- (progn
- (if (fboundp 'c-beginning-of-statement-1)
- (c-beginning-of-statement-1)
- (c-beginning-of-statement))
- (search-forward "(" nil t)
- (forward-char -1)
- (forward-sexp -1)
- (buffer-substring
- (point)
- (progn (forward-sexp 1) (point)))))))))
- (log-file (svn-log-edit-file-name curdir)))
- (find-file log-file)
- (goto-char (point-min))
- ;; Strip text properties from strings
- (set-text-properties 0 (length this-file) nil this-file)
- (set-text-properties 0 (length this-defun) nil this-defun)
- ;; If log message for defun already in progress, add to it
- (if (and
- this-defun ;; we have a defun to work with
- (search-forward this-defun nil t) ;; it's in the log msg already
- (save-excursion ;; and it's about the same file
- (save-match-data
- (if (re-search-backward ; Ick, I want a real filename regexp!
- "^\\*\\s-+\\([a-zA-Z0-9-_.@=+^$/%!?(){}<>]+\\)" nil t)
- (string-equal (match-string 1) this-file)
- t))))
- (if (re-search-forward ":" nil t)
- (if (looking-at " ") (forward-char 1)))
- ;; Else no log message for this defun in progress...
- (goto-char (point-min))
- ;; But if log message for file already in progress, add to it.
- (if (search-forward this-file nil t)
- (progn
- (if this-defun (progn
- (kill-new (format "(%s): " this-defun))
- (kill-new this-defun)))
- (search-forward ")" nil t)
- (if (looking-at " ") (forward-char 1)))
- ;; Found neither defun nor its file, so create new entry.
- (goto-char (point-max))
- (if (not (bolp)) (insert "\n"))
- (insert (format "\n* %s (%s): " this-file (or this-defun "")))
- ;; Finally, if no derived defun, put point where the user can
- ;; type it themselves.
- (if (not this-defun) (forward-char -3))))))
-
-;; --------------------------------------------------------------------------------
-;; svn-log-view-mode:
-;; --------------------------------------------------------------------------------
-
-(defvar svn-log-view-mode-map () "Keymap used in `svn-log-view-mode' buffers.")
-(put 'svn-log-view-mode-map 'risky-local-variable t) ;for Emacs 20.7
-
-(when (not svn-log-view-mode-map)
- (setq svn-log-view-mode-map (make-sparse-keymap))
- (suppress-keymap svn-log-view-mode-map)
- (define-key svn-log-view-mode-map (kbd "p") 'svn-log-view-prev)
- (define-key svn-log-view-mode-map (kbd "n") 'svn-log-view-next)
- (define-key svn-log-view-mode-map (kbd "~") 'svn-log-get-specific-revision)
- (define-key svn-log-view-mode-map (kbd "E") 'svn-log-ediff-specific-revision)
- (define-key svn-log-view-mode-map (kbd "=") 'svn-log-view-diff)
- (define-key svn-log-view-mode-map (kbd "TAB") 'svn-log-next-link)
- (define-key svn-log-view-mode-map [backtab] 'svn-log-prev-link)
- (define-key svn-log-view-mode-map (kbd "RET") 'svn-log-find-file-at-point)
- (define-key svn-log-view-mode-map (kbd "e") 'svn-log-edit-log-entry)
- (define-key svn-log-view-mode-map (kbd "q") 'bury-buffer))
-
-(defvar svn-log-view-popup-menu-map ()
- "Keymap used to show popup menu in `svn-log-view-mode' buffers.")
-(put 'svn-log-view-popup-menu-map 'risky-local-variable t) ;for Emacs 20.7
-(when (not svn-log-view-popup-menu-map)
- (setq svn-log-view-popup-menu-map (make-sparse-keymap))
- (suppress-keymap svn-log-view-popup-menu-map)
- (define-key svn-log-view-popup-menu-map [down-mouse-3] 'svn-log-view-popup-menu))
-
-(easy-menu-define svn-log-view-mode-menu svn-log-view-mode-map
-"'svn-log-view-mode' menu"
- '("SVN-LogView"
- ["Show Changeset" svn-log-view-diff t]
- ["Ediff file at point" svn-log-ediff-specific-revision t]
- ["Find file at point" svn-log-find-file-at-point t]
- ["Get older revision for file at point" svn-log-get-specific-revision t]
- ["Edit log message" svn-log-edit-log-entry t]))
-
-(defun svn-log-view-popup-menu (event)
- (interactive "e")
- (mouse-set-point event)
- (let* ((rev (svn-log-revision-at-point)))
- (when rev
- (svn-status-face-set-temporary-during-popup
- 'svn-status-marked-popup-face (svn-point-at-bol) (svn-point-at-eol)
- svn-log-view-mode-menu))))
-
-(defvar svn-log-view-font-lock-basic-keywords
- '(("^r[0-9]+ .+" (0 `(face font-lock-keyword-face
- mouse-face highlight
- keymap ,svn-log-view-popup-menu-map))))
- "Basic keywords in `svn-log-view-mode'.")
-(put 'svn-log-view-font-basic-lock-keywords 'risky-local-variable t) ;for Emacs 20.7
-
-(defvar svn-log-view-font-lock-keywords)
-(define-derived-mode svn-log-view-mode fundamental-mode "svn-log-view"
- "Major Mode to show the output from svn log.
-Commands:
-\\{svn-log-view-mode-map}
-"
- (use-local-map svn-log-view-mode-map)
- (easy-menu-add svn-log-view-mode-menu)
- (set (make-local-variable 'svn-log-view-font-lock-keywords) svn-log-view-font-lock-basic-keywords)
- (dolist (lh svn-log-link-handlers)
- (add-to-list 'svn-log-view-font-lock-keywords (gethash lh svn-log-registered-link-handlers)))
- (set (make-local-variable 'font-lock-defaults) '(svn-log-view-font-lock-keywords t)))
-
-(defun svn-log-view-next ()
- (interactive)
- (when (re-search-forward "^r[0-9]+" nil t)
- (beginning-of-line 2)
- (unless (looking-at "Changed paths:")
- (beginning-of-line 1))))
-
-(defun svn-log-view-prev ()
- (interactive)
- (when (re-search-backward "^r[0-9]+" nil t 2)
- (beginning-of-line 2)
- (unless (looking-at "Changed paths:")
- (beginning-of-line 1))))
-
-(defun svn-log-revision-at-point ()
- (save-excursion
- (end-of-line)
- (re-search-backward "^r\\([0-9]+\\)")
- (svn-match-string-no-properties 1)))
-
-(defun svn-log-file-name-at-point (respect-checkout-prefix-path)
- (let ((full-file-name)
- (file-name)
- (checkout-prefix-path (if respect-checkout-prefix-path
- (url-unhex-string
- (svn-status-checkout-prefix-path))
- "")))
- (save-excursion
- (beginning-of-line)
- (when (looking-at " [MA] /\\(.+\\)$")
- (setq full-file-name (svn-match-string-no-properties 1))))
- (when (string= checkout-prefix-path "")
- (setq checkout-prefix-path "/"))
- (if (null full-file-name)
- (progn
- (message "No file at point")
- nil)
- (setq file-name
- (if (eq (string-match (regexp-quote (substring checkout-prefix-path 1)) full-file-name) 0)
- (substring full-file-name (- (length checkout-prefix-path) (if (string= checkout-prefix-path "/") 1 0)))
- full-file-name))
- ;; (message "svn-log-file-name-at-point %s prefix: '%s', full-file-name: %s" file-name checkout-prefix-path full-file-name)
- file-name)))
-
-(defun svn-log-find-file-at-point ()
- (interactive)
- (let ((file-name (svn-log-file-name-at-point t)))
- (when file-name
- (let ((default-directory (svn-status-base-dir)))
- ;;(message "svn-log-file-name-at-point: %s, default-directory: %s" file-name default-directory)
- (find-file file-name)))))
-
-(defun svn-log-next-link ()
- "Jump to the next external link in this buffer"
- (interactive)
- (let ((start-pos (if (get-text-property (point) 'link-handler)
- (next-single-property-change (point) 'link-handler)
- (point))))
- (goto-char (or (next-single-property-change start-pos 'link-handler) (point)))))
-
-(defun svn-log-prev-link ()
- "Jump to the previous external link in this buffer"
- (interactive)
- (let ((start-pos (if (get-text-property (point) 'link-handler)
- (previous-single-property-change (point) 'link-handler)
- (point))))
- (goto-char (or (previous-single-property-change (or start-pos (point)) 'link-handler) (point)))))
-
-(defun svn-log-view-diff (arg)
- "Show the changeset for a given log entry.
-When called with a prefix argument, ask the user for the revision."
- (interactive "P")
- (svn-status-diff-show-changeset (svn-log-revision-at-point) arg))
-
-(defun svn-log-get-specific-revision ()
- "Get an older revision of the file at point via svn cat."
- (interactive)
- ;; (message "%S" (svn-status-make-line-info (svn-log-file-name-at-point t)))
- (let ((default-directory (svn-status-base-dir)))
- (svn-status-get-specific-revision-internal
- (list (svn-status-make-line-info (svn-log-file-name-at-point t)))
- (svn-log-revision-at-point)
- nil)))
-
-(defun svn-log-ediff-specific-revision ()
- "Call ediff for the file at point to view a changeset"
- (interactive)
- ;; (message "svn-log-ediff-specific-revision: %s" (svn-log-file-name-at-point t))
- (let* ((cur-buf (current-buffer))
- (upper-rev (svn-log-revision-at-point))
- (lower-rev (number-to-string (- (string-to-number upper-rev) 1)))
- (file-name (svn-log-file-name-at-point t))
- (default-directory (svn-status-base-dir))
- (upper-rev-file-name (when file-name
- (cdar (svn-status-get-specific-revision-internal
- (list (svn-status-make-line-info file-name)) upper-rev nil))))
- (lower-rev-file-name (when file-name
- (cdar (svn-status-get-specific-revision-internal
- (list (svn-status-make-line-info file-name)) lower-rev nil)))))
- ;;(message "%S %S" upper-rev-file-name lower-rev-file-name)
- (if file-name
- (let* ((ediff-after-quit-destination-buffer cur-buf)
- (newer-buffer (find-file-noselect upper-rev-file-name))
- (base-buff (find-file-noselect lower-rev-file-name))
- (svn-transient-buffers (list base-buff newer-buffer))
- (startup-hook '(svn-ediff-startup-hook)))
- (ediff-buffers base-buff newer-buffer startup-hook))
- (message "No file at point"))))
-
-(defun svn-log-edit-log-entry ()
- "Edit the given log entry."
- (interactive)
- (let ((rev (svn-log-revision-at-point))
- (log-message))
- (svn-run nil t 'propget-parse "propget" "--revprop" (concat "-r" rev) "svn:log")
- (save-excursion
- (set-buffer svn-process-buffer-name)
- (setq log-message (if (> (point-max) 1)
- (buffer-substring (point-min) (- (point-max) 1))
- "")))
- (svn-status-pop-to-commit-buffer)
- ;; If the buffer has been narrowed, `svn-log-edit-done' will use
- ;; only the accessible part. So we need not erase the rest here.
- (delete-region (point-min) (point-max))
- (insert log-message)
- (goto-char (point-min))
- (setq svn-log-edit-update-log-entry rev)))
-
-
-;; allow additional hyperlinks in log view buffers
-(defvar svn-log-link-keymap ()
- "Keymap used to resolve links `svn-log-view-mode' buffers.")
-(put 'svn-log-link-keymap 'risky-local-variable t) ;for Emacs 20.7
-(when (not svn-log-link-keymap)
- (setq svn-log-link-keymap (make-sparse-keymap))
- (suppress-keymap svn-log-link-keymap)
- (define-key svn-log-link-keymap [mouse-2] 'svn-log-resolve-mouse-link)
- (define-key svn-log-link-keymap (kbd "RET") 'svn-log-resolve-link))
-
-(defun svn-log-resolve-mouse-link (event)
- (interactive "e")
- (mouse-set-point event)
- (svn-log-resolve-link))
-
-(defun svn-log-resolve-link ()
- (interactive)
- (let* ((point-adjustment (if (not (get-text-property (- (point) 1) 'link-handler)) 1
- (if (not (get-text-property (+ (point) 1) 'link-handler)) -1 0)))
- (link-name (buffer-substring-no-properties (previous-single-property-change (+ (point) point-adjustment) 'link-handler)
- (next-single-property-change (+ (point) point-adjustment) 'link-handler))))
- ;; (message "svn-log-resolve-link '%s'" link-name)
- (funcall (get-text-property (point) 'link-handler) link-name)))
-
-(defun svn-log-register-link-handler (handler-id link-regexp handler-function)
- "Register a link handler for external links in *svn-log* buffers
-HANDLER-ID is a symbolic name for this handler. The link handler is active when HANDLER-ID
-is registered in `svn-log-link-handlers'.
-LINK-REGEXP specifies a regular expression that matches the external link.
-HANDLER-FUNCTION is called with the match of LINK-REGEXP when the user clicks at the external link."
- (let ((font-lock-desc (list link-regexp '(0 `(face font-lock-function-name-face
- mouse-face highlight
- link-handler invalid-handler-function
- keymap ,svn-log-link-keymap)))))
- ;; no idea, how to use handler-function in invalid-handler-function above, so set it here
- (setcar (nthcdr 5 (nth 1 (nth 1 (nth 1 font-lock-desc)))) handler-function)
- (svn-puthash handler-id font-lock-desc svn-log-registered-link-handlers)))
-
-;; example: add support for ditrack links and handle them via svn-log-resolve-ditrack
-;;(svn-log-register-link-handler 'ditrack-issue "i#[0-9]+" 'svn-log-resolve-ditrack)
-;;(defun svn-log-resolve-ditrack (link-name)
-;; (interactive)
-;; (message "svn-log-resolve-ditrack %s" link-name))
-
-
-(defun svn-log-resolve-trac-ticket-short (link-name)
- "Show the trac ticket specified by LINK-NAME via `svn-trac-browse-ticket'."
- (interactive)
- (let ((ticket-nr (string-to-number (svn-substring-no-properties link-name 1))))
- (svn-trac-browse-ticket ticket-nr)))
-
-;; register the out of the box provided link handlers
-(svn-log-register-link-handler 'trac-ticket-short "#[0-9]+" 'svn-log-resolve-trac-ticket-short)
-
-;; the actually used link handlers are specified in svn-log-link-handlers
-
-;; --------------------------------------------------------------------------------
-;; svn-info-mode
-;; --------------------------------------------------------------------------------
-(defvar svn-info-mode-map () "Keymap used in `svn-info-mode' buffers.")
-(put 'svn-info-mode-map 'risky-local-variable t) ;for Emacs 20.7
-
-(when (not svn-info-mode-map)
- (setq svn-info-mode-map (make-sparse-keymap))
- (define-key svn-info-mode-map [?s] 'svn-status-pop-to-status-buffer)
- (define-key svn-info-mode-map (kbd "h") 'svn-status-pop-to-partner-buffer)
- (define-key svn-info-mode-map (kbd "n") 'next-line)
- (define-key svn-info-mode-map (kbd "p") 'previous-line)
- (define-key svn-info-mode-map (kbd "RET") 'svn-info-show-context)
- (define-key svn-info-mode-map [?q] 'bury-buffer))
-
-(defun svn-info-mode ()
- "Major Mode to view informative output from svn."
- (interactive)
- (kill-all-local-variables)
- (use-local-map svn-info-mode-map)
- (setq major-mode 'svn-info-mode)
- (setq mode-name "svn-info")
- (toggle-read-only 1))
-
-(defun svn-info-show-context ()
- "Show the context for a line in the info buffer.
-Currently is the output from the svn update command known."
- (interactive)
- (cond ((save-excursion
- (goto-char (point-max))
- (forward-line -1)
- (beginning-of-line)
- (looking-at "Updated to revision"))
- ;; svn-info contains info from an svn update
- (let ((cur-pos (point))
- (file-name (buffer-substring-no-properties
- (progn (beginning-of-line) (re-search-forward ".. +") (point))
- (line-end-position)))
- (pos))
- (when (eq system-type 'windows-nt)
- (setq file-name (replace-regexp-in-string "\\\\" "/" file-name)))
- (goto-char cur-pos)
- (with-current-buffer svn-status-buffer-name
- (setq pos (svn-status-get-file-name-buffer-position file-name)))
- (when pos
- (svn-status-pop-to-new-partner-buffer svn-status-buffer-name)
- (goto-char pos))))))
-
-;; --------------------------------------------------------------------------------
-;; svn blame minor mode
-;; --------------------------------------------------------------------------------
-
-(unless (assq 'svn-blame-mode minor-mode-alist)
- (setq minor-mode-alist
- (cons (list 'svn-blame-mode " SvnBlame")
- minor-mode-alist)))
-
-(defvar svn-blame-mode-map () "Keymap used in `svn-blame-mode' buffers.")
-(put 'svn-blame-mode-map 'risky-local-variable t) ;for Emacs 20.7
-
-(when (not svn-blame-mode-map)
- (setq svn-blame-mode-map (make-sparse-keymap))
- (define-key svn-blame-mode-map [?s] 'svn-status-pop-to-status-buffer)
- (define-key svn-blame-mode-map (kbd "n") 'next-line)
- (define-key svn-blame-mode-map (kbd "p") 'previous-line)
- (define-key svn-blame-mode-map (kbd "RET") 'svn-blame-open-source-file)
- (define-key svn-blame-mode-map (kbd "a") 'svn-blame-highlight-author)
- (define-key svn-blame-mode-map (kbd "r") 'svn-blame-highlight-revision)
- (define-key svn-blame-mode-map (kbd "=") 'svn-blame-show-changeset)
- (define-key svn-blame-mode-map (kbd "l") 'svn-blame-show-log)
- (define-key svn-blame-mode-map [?q] 'bury-buffer))
-
-(easy-menu-define svn-blame-mode-menu svn-blame-mode-map
-"svn blame minor mode menu"
- '("SvnBlame"
- ["Jump to source location" svn-blame-open-source-file t]
- ["Show changeset" svn-blame-show-changeset t]
- ["Show log" svn-blame-show-log t]
- ["Highlight by author" svn-blame-highlight-author t]
- ["Highlight by revision" svn-blame-highlight-revision t]))
-
-(or (assq 'svn-blame-mode minor-mode-map-alist)
- (setq minor-mode-map-alist
- (cons (cons 'svn-blame-mode svn-blame-mode-map) minor-mode-map-alist)))
-
-(make-variable-buffer-local 'svn-blame-mode)
-
-(defun svn-blame-mode (&optional arg)
- "Toggle svn blame minor mode.
-With ARG, turn svn blame minor mode on if ARG is positive, off otherwise.
-
-Note: This mode does not yet work on XEmacs...
-It is probably because the revisions are in 'before-string properties of overlays
-
-Key bindings:
-\\{svn-blame-mode-map}"
- (interactive "P")
- (setq svn-blame-mode (if (null arg)
- (not svn-blame-mode)
- (> (prefix-numeric-value arg) 0)))
- (if svn-blame-mode
- (progn
- (easy-menu-add svn-blame-mode-menu)
- (toggle-read-only 1))
- (easy-menu-remove svn-blame-mode-menu))
- (force-mode-line-update))
-
-(defun svn-status-activate-blame-mode ()
- "Activate the svn blame minor in the current buffer.
-The current buffer must contain a valid output from svn blame"
- (save-excursion
- (goto-char (point-min))
- (let ((buffer-read-only nil)
- (line (svn-line-number-at-pos))
- (limit (point-max))
- (info-end-col (save-excursion (forward-word 2) (+ (current-column) 1)))
- (s)
- ov)
- ;; remove the old overlays (only for testing)
- ;; (dolist (ov (overlays-in (point) limit))
- ;; (when (overlay-get ov 'svn-blame-line-info)
- ;; (delete-overlay ov)))
- (while (and (not (eobp)) (< (point) limit))
- (setq ov (make-overlay (point) (point)))
- (overlay-put ov 'svn-blame-line-info t)
- (setq s (buffer-substring-no-properties (svn-point-at-bol) (+ (svn-point-at-bol) info-end-col)))
- (overlay-put ov 'before-string (propertize s 'face 'svn-status-blame-rev-number-face))
- (overlay-put ov 'rev-info (delete "" (split-string s " ")))
- (delete-region (svn-point-at-bol) (+ (svn-point-at-bol) info-end-col))
- (forward-line)
- (setq line (1+ line)))))
- (let* ((buf-name (format "*svn-blame: %s*" (file-relative-name svn-status-blame-file-name)))
- (buffer (get-buffer buf-name)))
- (when buffer
- (kill-buffer buffer))
- (rename-buffer buf-name))
- ;; use the correct mode for the displayed blame output
- (let ((buffer-file-name svn-status-blame-file-name))
- (normal-mode)
- (set (make-local-variable 'svn-status-blame-file-name) svn-status-blame-file-name))
- (font-lock-fontify-buffer)
- (svn-blame-mode 1))
-
-(defun svn-blame-open-source-file ()
- "Jump to the source file location for the current position in the svn blame buffer"
- (interactive)
- (let ((src-line-number (svn-line-number-at-pos))
- (src-line-col (current-column)))
- (find-file-other-window svn-status-blame-file-name)
- (goto-line src-line-number)
- (forward-char src-line-col)))
-
-(defun svn-blame-rev-at-point ()
- (let ((rev))
- (dolist (ov (overlays-in (svn-point-at-bol) (line-end-position)))
- (when (overlay-get ov 'svn-blame-line-info)
- (setq rev (car (overlay-get ov 'rev-info)))))
- rev))
-
-(defun svn-blame-show-changeset (arg)
- "Show a diff for the revision at point.
-When called with a prefix argument, allow the user to edit the revision."
- (interactive "P")
- (svn-status-diff-show-changeset (svn-blame-rev-at-point) arg))
-
-(defun svn-blame-show-log (arg)
- "Show the log for the revision at point.
-The output is put into the *svn-log* buffer
-The optional prefix argument ARG determines which switches are passed to `svn log':
- no prefix --- use whatever is in the list `svn-status-default-log-arguments'
- prefix argument of -1: --- use the -q switch (quiet)
- prefix argument of 0 --- use no arguments
- other prefix arguments: --- use the -v switch (verbose)"
- (interactive "P")
- (let ((switches (svn-status-svn-log-switches arg))
- (rev (svn-blame-rev-at-point)))
- (svn-run t t 'log "log" "--revision" rev switches)))
-
-(defun svn-blame-highlight-line-maybe (compare-func)
- (let ((reference-value)
- (is-highlighted)
- (consider-this-line)
- (hl-ov))
- (dolist (ov (overlays-in (svn-point-at-bol) (line-end-position)))
- (when (overlay-get ov 'svn-blame-line-info)
- (setq reference-value (funcall compare-func ov)))
- (when (overlay-get ov 'svn-blame-highlighted)
- (setq is-highlighted t)))
- (save-excursion
- (goto-char (point-min))
- (while (not (eobp))
- (setq consider-this-line nil)
- (dolist (ov (overlays-in (svn-point-at-bol) (line-end-position)))
- (when (overlay-get ov 'svn-blame-line-info)
- (when (string= reference-value (funcall compare-func ov))
- (setq consider-this-line t))))
- (when consider-this-line
- (dolist (ov (overlays-in (svn-point-at-bol) (line-end-position)))
- (when (and (overlay-get ov 'svn-blame-highlighted) is-highlighted)
- (delete-overlay ov))
- (unless is-highlighted
- (setq hl-ov (make-overlay (svn-point-at-bol) (line-end-position)))
- (overlay-put hl-ov 'svn-blame-highlighted t)
- (overlay-put hl-ov 'face 'svn-status-blame-highlight-face))))
- (forward-line)))))
-
-(defun svn-blame-highlight-author-field (ov)
- (cadr (overlay-get ov 'rev-info)))
-
-(defun svn-blame-highlight-author ()
- "(Un)Highlight all lines with the same author."
- (interactive)
- (svn-blame-highlight-line-maybe 'svn-blame-highlight-author-field))
-
-(defun svn-blame-highlight-revision-field (ov)
- (car (overlay-get ov 'rev-info)))
-
-(defun svn-blame-highlight-revision ()
- "(Un)Highlight all lines with the same revision."
- (interactive)
- (svn-blame-highlight-line-maybe 'svn-blame-highlight-revision-field))
-
-;; --------------------------------------------------------------------------------
-;; svn-process-mode
-;; --------------------------------------------------------------------------------
-(defvar svn-process-mode-map () "Keymap used in `svn-process-mode' buffers.")
-(put 'svn-process-mode-map 'risky-local-variable t) ;for Emacs 20.7
-
-(when (not svn-process-mode-map)
- (setq svn-process-mode-map (make-sparse-keymap))
- (define-key svn-process-mode-map (kbd "RET") 'svn-process-send-string-and-newline)
- (define-key svn-process-mode-map [?s] 'svn-process-send-string)
- (define-key svn-process-mode-map [?q] 'bury-buffer))
-
-(easy-menu-define svn-process-mode-menu svn-process-mode-map
-"'svn-process-mode' menu"
- '("SvnProcess"
- ["Send line to process" svn-process-send-string-and-newline t]
- ["Send raw string to process" svn-process-send-string t]
- ["Bury process buffer" bury-buffer t]))
-
-(defun svn-process-mode ()
- "Major Mode to view process output from svn.
-
-You can send a new line terminated string to the process via \\[svn-process-send-string-and-newline]
-You can send raw data to the process via \\[svn-process-send-string]."
- (interactive)
- (kill-all-local-variables)
- (use-local-map svn-process-mode-map)
- (easy-menu-add svn-log-view-mode-menu)
- (setq major-mode 'svn-process-mode)
- (setq mode-name "svn-process"))
-
-;; --------------------------------------------------------------------------------
-;; svn status persistent options
-;; --------------------------------------------------------------------------------
-
-(defun svn-status-repo-for-path (directory)
- "Find the repository root for DIRECTORY."
- (let ((old-process-default-dir))
- (with-current-buffer (get-buffer-create svn-process-buffer-name)
- (setq old-process-default-dir default-directory)
- (setq default-directory directory)) ;; update the default-directory for the *svn-process* buffer
- (svn-run nil t 'parse-info "info" ".")
- (with-current-buffer svn-process-buffer-name
- ;; (message "svn-status-repo-for-path: %s: default-directory: %s directory: %s old-process-default-dir: %s" svn-process-buffer-name default-directory directory old-process-default-dir)
- (setq default-directory old-process-default-dir)
- (goto-char (point-min))
- (let ((case-fold-search t))
- (if (search-forward "repository root: " nil t)
- (buffer-substring-no-properties (point) (svn-point-at-eol))
- (when (search-forward "repository uuid: " nil t)
- (message "psvn.el: Detected an old svn working copy in '%s'. Please check it out again to get a 'Repository Root' entry in the svn info output."
- default-directory)
- (concat "Svn Repo UUID: " (buffer-substring-no-properties (point) (svn-point-at-eol)))))))))
-
-(defun svn-status-base-dir (&optional start-directory)
- "Find the svn root directory for the current working copy.
-Return nil, if not in a svn working copy."
- (let* ((start-dir (expand-file-name (or start-directory default-directory)))
- (base-dir (gethash start-dir svn-status-base-dir-cache 'not-found)))
- ;;(message "svn-status-base-dir: %S %S" start-dir base-dir)
- (if (not (eq base-dir 'not-found))
- base-dir
- ;; (message "calculating base-dir for %s" start-dir)
- (unless svn-client-version
- (svn-status-version))
- (let* ((base-dir start-dir)
- (repository-root (svn-status-repo-for-path base-dir))
- (dot-svn-dir (concat base-dir (svn-wc-adm-dir-name)))
- (in-tree (and repository-root (file-exists-p dot-svn-dir)))
- (dir-below (expand-file-name base-dir)))
- ;; (message "repository-root: %s start-dir: %s" repository-root start-dir)
- (if (and (<= (car svn-client-version) 1) (< (cadr svn-client-version) 3))
- (setq base-dir (svn-status-base-dir-for-ancient-svn-client start-dir)) ;; svn version < 1.3
- (while (when (and dir-below (file-exists-p dot-svn-dir))
- (setq base-dir (file-name-directory dot-svn-dir))
- (string-match "\\(.+/\\).+/" dir-below)
- (setq dir-below
- (and (string-match "\\(.*/\\)[^/]+/" dir-below)
- (match-string 1 dir-below)))
- ;; (message "base-dir: %s, dir-below: %s, dot-svn-dir: %s in-tree: %s" base-dir dir-below dot-svn-dir in-tree)
- (when dir-below
- (if (string= (svn-status-repo-for-path dir-below) repository-root)
- (setq dot-svn-dir (concat dir-below (svn-wc-adm-dir-name)))
- (setq dir-below nil)))))
- (setq base-dir (and in-tree base-dir)))
- (svn-puthash start-dir base-dir svn-status-base-dir-cache)
- (svn-status-message 7 "svn-status-base-dir %s => %s" start-dir base-dir)
- base-dir))))
-
-(defun svn-status-base-dir-for-ancient-svn-client (&optional start-directory)
- "Find the svn root directory for the current working copy.
-Return nil, if not in a svn working copy.
-This function is used for svn clients version 1.2 and below."
- (let* ((base-dir (expand-file-name (or start-directory default-directory)))
- (dot-svn-dir (concat base-dir (svn-wc-adm-dir-name)))
- (in-tree (file-exists-p dot-svn-dir))
- (dir-below (expand-file-name default-directory)))
- (while (when (and dir-below (file-exists-p dot-svn-dir))
- (setq base-dir (file-name-directory dot-svn-dir))
- (string-match "\\(.+/\\).+/" dir-below)
- (setq dir-below
- (and (string-match "\\(.*/\\)[^/]+/" dir-below)
- (match-string 1 dir-below)))
- (setq dot-svn-dir (concat dir-below (svn-wc-adm-dir-name)))))
- (and in-tree base-dir)))
-
-(defun svn-status-save-state ()
- "Save psvn persistent options for this working copy to a file."
- (interactive)
- (let ((buf (find-file (concat (svn-status-base-dir) "++psvn.state"))))
- (erase-buffer) ;Widen, because we'll save the whole buffer.
- ;; TO CHECK: why is svn-status-options a global variable??
- (setq svn-status-options
- (list
- (list "svn-trac-project-root" svn-trac-project-root)
- (list "sort-status-buffer" svn-status-sort-status-buffer)
- (list "elide-list" svn-status-elided-list)
- (list "module-name" svn-status-module-name)
- (list "branch-list" svn-status-branch-list)
- (list "changelog-style" svn-status-changelog-style)
- ))
- (insert (pp-to-string svn-status-options))
- (save-buffer)
- (kill-buffer buf)))
-
-(defun svn-status-load-state (&optional no-error)
- "Load psvn persistent options for this working copy from a file."
- (interactive)
- (let ((file (concat (svn-status-base-dir) "++psvn.state")))
- (if (file-readable-p file)
- (with-temp-buffer
- (insert-file-contents file)
- (setq svn-status-options (read (current-buffer)))
- (setq svn-status-sort-status-buffer
- (nth 1 (assoc "sort-status-buffer" svn-status-options)))
- (setq svn-trac-project-root
- (nth 1 (assoc "svn-trac-project-root" svn-status-options)))
- (setq svn-status-elided-list
- (nth 1 (assoc "elide-list" svn-status-options)))
- (setq svn-status-module-name
- (nth 1 (assoc "module-name" svn-status-options)))
- (setq svn-status-branch-list
- (nth 1 (assoc "branch-list" svn-status-options)))
- (setq svn-status-changelog-style
- (nth 1 (assoc "changelog-style" svn-status-options)))
- (when (and (interactive-p) svn-status-elided-list (svn-status-apply-elide-list)))
- (message "psvn.el: loaded %s" file))
- (if no-error
- (setq svn-trac-project-root nil
- svn-status-elided-list nil
- svn-status-module-name nil
- svn-status-branch-list nil
- svn-status-changelog-style 'changelog)
- (error "psvn.el: %s is not readable." file)))))
-
-(defun svn-status-toggle-sort-status-buffer ()
- "Toggle sorting of the *svn-status* buffer.
-
-If you turn off sorting, you can speed up \\[svn-status]. However,
-the buffer is not correctly sorted then. This function will be
-removed again, when a faster parsing and display routine for
-`svn-status' is available."
- (interactive)
- (setq svn-status-sort-status-buffer (not svn-status-sort-status-buffer))
- (message "The %s buffer will %sbe sorted." svn-status-buffer-name
- (if svn-status-sort-status-buffer "" "not ")))
-
-(defun svn-status-toggle-svn-verbose-flag ()
- "Toggle `svn-status-verbose'. "
- (interactive)
- (setq svn-status-verbose (not svn-status-verbose))
- (message "svn status calls will %suse the -v flag." (if svn-status-verbose "" "not ")))
-
-(defun svn-status-toggle-display-full-path ()
- "Toggle displaying the full path in the `svn-status-buffer-name' buffer"
- (interactive)
- (setq svn-status-display-full-path (not svn-status-display-full-path))
- (message "The %s buffer will%s use full path names." svn-status-buffer-name
- (if svn-status-display-full-path "" " not"))
- (svn-status-update-buffer))
-
-(defun svn-status-set-trac-project-root ()
- (interactive)
- (setq svn-trac-project-root
- (read-string "Trac project root (e.g.: http://projects.edgewall.com/trac/): "
- svn-trac-project-root))
- (when (yes-or-no-p "Save the new setting for svn-trac-project-root to disk? ")
- (svn-status-save-state)))
-
-(defun svn-status-set-module-name ()
- "Interactively set `svn-status-module-name'."
- (interactive)
- (setq svn-status-module-name
- (read-string "Short Unit Name (e.g.: MyProject): "
- svn-status-module-name))
- (when (yes-or-no-p "Save the new setting for svn-status-module-name to disk? ")
- (svn-status-save-state)))
-
-(defun svn-status-set-changelog-style ()
- "Interactively set `svn-status-changelog-style'."
- (interactive)
- (setq svn-status-changelog-style
- (intern (funcall svn-status-completing-read-function "svn-status on directory: " '("changelog" "svn-dev" "other"))))
- (when (string= svn-status-changelog-style 'other)
- (setq svn-status-changelog-style (car (find-function-read))))
- (when (yes-or-no-p "Save the new setting for svn-status-changelog-style to disk? ")
- (svn-status-save-state)))
-
-(defun svn-status-set-branch-list ()
- "Interactively set `svn-status-branch-list'."
- (interactive)
- (setq svn-status-branch-list
- (split-string (read-string "Branch list: "
- (mapconcat 'identity svn-status-branch-list " "))))
- (when (yes-or-no-p "Save the new setting for svn-status-branch-list to disk? ")
- (svn-status-save-state)))
-
-(defun svn-browse-url (url)
- "Call `browse-url', using `svn-browse-url-function'."
- (let ((browse-url-browser-function (or svn-browse-url-function
- browse-url-browser-function)))
- (browse-url url)))
-
-;; --------------------------------------------------------------------------------
-;; svn status trac integration
-;; --------------------------------------------------------------------------------
-(defun svn-trac-browse-wiki ()
- "Open the trac wiki view for the current svn repository."
- (interactive)
- (unless svn-trac-project-root
- (svn-status-set-trac-project-root))
- (svn-browse-url (concat svn-trac-project-root "wiki")))
-
-(defun svn-trac-browse-timeline ()
- "Open the trac timeline view for the current svn repository."
- (interactive)
- (unless svn-trac-project-root
- (svn-status-set-trac-project-root))
- (svn-browse-url (concat svn-trac-project-root "timeline")))
-
-(defun svn-trac-browse-roadmap ()
- "Open the trac roadmap view for the current svn repository."
- (interactive)
- (unless svn-trac-project-root
- (svn-status-set-trac-project-root))
- (svn-browse-url (concat svn-trac-project-root "roadmap")))
-
-(defun svn-trac-browse-source ()
- "Open the trac source browser for the current svn repository."
- (interactive)
- (unless svn-trac-project-root
- (svn-status-set-trac-project-root))
- (svn-browse-url (concat svn-trac-project-root "browser")))
-
-(defun svn-trac-browse-report (arg)
- "Open the trac report view for the current svn repository.
-When called with a prefix argument, display the given report number."
- (interactive "P")
- (unless svn-trac-project-root
- (svn-status-set-trac-project-root))
- (svn-browse-url (concat svn-trac-project-root "report" (if (numberp arg) (format "/%s" arg) ""))))
-
-(defun svn-trac-browse-changeset (changeset-nr)
- "Show a changeset in the trac issue tracker."
- (interactive (list (read-number "Browse changeset number: " (number-at-point))))
- (unless svn-trac-project-root
- (svn-status-set-trac-project-root))
- (svn-browse-url (concat svn-trac-project-root "changeset/" (number-to-string changeset-nr))))
-
-(defun svn-trac-browse-ticket (ticket-nr)
- "Show a ticket in the trac issue tracker."
- (interactive (list (read-number "Browse ticket number: " (number-at-point))))
- (unless svn-trac-project-root
- (svn-status-set-trac-project-root))
- (svn-browse-url (concat svn-trac-project-root "ticket/" (number-to-string ticket-nr))))
-
-;;;------------------------------------------------------------
-;;; resolve conflicts using ediff
-;;;------------------------------------------------------------
-(defun svn-resolve-conflicts-ediff (&optional name-A name-B)
- "Invoke ediff to resolve conflicts in the current buffer.
-The conflicts must be marked with rcsmerge conflict markers."
- (interactive)
- (let* ((found nil)
- (file-name (file-name-nondirectory buffer-file-name))
- (your-buffer (generate-new-buffer
- (concat "*" file-name
- " " (or name-A "WORKFILE") "*")))
- (other-buffer (generate-new-buffer
- (concat "*" file-name
- " " (or name-B "CHECKED-IN") "*")))
- (result-buffer (current-buffer)))
- (save-excursion
- (set-buffer your-buffer)
- (erase-buffer)
- (insert-buffer-substring result-buffer)
- (goto-char (point-min))
- (while (re-search-forward "^<<<<<<< .\\(mine\\|working\\)\n" nil t)
- (setq found t)
- (replace-match "")
- (if (not (re-search-forward "^=======\n" nil t))
- (error "Malformed conflict marker"))
- (replace-match "")
- (let ((start (point)))
- (if (not (re-search-forward "^>>>>>>> .\\(r[0-9]+\\|merge.*\\)\n" nil t))
- (error "Malformed conflict marker"))
- (delete-region start (point))))
- (if (not found)
- (progn
- (kill-buffer your-buffer)
- (kill-buffer other-buffer)
- (error "No conflict markers found")))
- (set-buffer other-buffer)
- (erase-buffer)
- (insert-buffer-substring result-buffer)
- (goto-char (point-min))
- (while (re-search-forward "^<<<<<<< .\\(mine\\|working\\)\n" nil t)
- (let ((start (match-beginning 0)))
- (if (not (re-search-forward "^=======\n" nil t))
- (error "Malformed conflict marker"))
- (delete-region start (point))
- (if (not (re-search-forward "^>>>>>>> .\\(r[0-9]+\\|merge.*\\)\n" nil t))
- (error "Malformed conflict marker"))
- (replace-match "")))
- (let ((config (current-window-configuration))
- (ediff-default-variant 'default-B))
-
- ;; Fire up ediff.
-
- (set-buffer (ediff-merge-buffers your-buffer other-buffer))
-
- ;; Ediff is now set up, and we are in the control buffer.
- ;; Do a few further adjustments and take precautions for exit.
-
- (make-local-variable 'svn-ediff-windows)
- (setq svn-ediff-windows config)
- (make-local-variable 'svn-ediff-result)
- (setq svn-ediff-result result-buffer)
- (make-local-variable 'ediff-quit-hook)
- (setq ediff-quit-hook
- (lambda ()
- (let ((buffer-A ediff-buffer-A)
- (buffer-B ediff-buffer-B)
- (buffer-C ediff-buffer-C)
- (result svn-ediff-result)
- (windows svn-ediff-windows))
- (ediff-cleanup-mess)
- (set-buffer result)
- (erase-buffer)
- (insert-buffer-substring buffer-C)
- (kill-buffer buffer-A)
- (kill-buffer buffer-B)
- (kill-buffer buffer-C)
- (set-window-configuration windows)
- (message "Conflict resolution finished; you may save the buffer"))))
- (message "Please resolve conflicts now; exit ediff when done")
- nil))))
-
-(defun svn-resolve-conflicts (filename)
- (let ((buff (find-file-noselect filename)))
- (if buff
- (progn (switch-to-buffer buff)
- (svn-resolve-conflicts-ediff))
- (error "can not open file %s" filename))))
-
-(defun svn-status-resolve-conflicts ()
- "Resolve conflict in the selected file"
- (interactive)
- (let ((file-info (svn-status-get-line-information)))
- (or (and file-info
- (= ?C (svn-status-line-info->filemark file-info))
- (svn-resolve-conflicts
- (svn-status-line-info->full-path file-info)))
- (error "can not resolve conflicts at this point"))))
-
-
-;; --------------------------------------------------------------------------------
-;; Working with branches
-;; --------------------------------------------------------------------------------
-
-(defun svn-branch-select (&optional prompt)
- "Select a branch interactively from `svn-status-branch-list'"
- (interactive)
- (unless prompt
- (setq prompt "Select branch: "))
- (let* ((branch (funcall svn-status-completing-read-function prompt svn-status-branch-list))
- (directory)
- (base-url))
- (when (string-match "#\\(1#\\)?\\(.+\\)" branch)
- (setq directory (match-string 2 branch))
- (setq base-url (concat (svn-status-base-info->repository-root) "/" directory))
- (save-match-data
- (svn-status-parse-info t))
- (if (eq (length (match-string 1 branch)) 0)
- (setq branch base-url)
- (let ((svn-status-branch-list (svn-status-ls base-url t)))
- (setq branch (concat (svn-status-base-info->repository-root) "/"
- directory "/"
- (svn-branch-select (format "Select branch from '%s': " directory)))))))
- branch))
-
-(defun svn-branch-diff (branch1 branch2)
- "Show the diff between two svn repository urls.
-When called interactively, use `svn-branch-select' to choose two branches from `svn-status-branch-list'."
- (interactive
- (let* ((branch1 (svn-branch-select "svn diff branch1: "))
- (branch2 (svn-branch-select (format "svn diff %s against: " branch1))))
- (list branch1 branch2)))
- (svn-run t t 'diff "diff" svn-status-default-diff-arguments branch1 branch2))
-
-;; --------------------------------------------------------------------------------
-;; svnadmin interface
-;; --------------------------------------------------------------------------------
-(defun svn-admin-create (dir)
- "Run svnadmin create DIR."
- (interactive (list (expand-file-name
- (svn-read-directory-name "Create a svn repository at: "
- svn-admin-default-create-directory nil nil))))
- (shell-command-to-string (concat "svnadmin create " dir))
- (setq svn-admin-last-repository-dir (concat "file://" dir))
- (message "Svn repository created at %s" dir)
- (run-hooks 'svn-admin-create-hook))
-
-;; - Import an empty directory
-;; cd to an empty directory
-;; svn import -m "Initial import" . file:///home/stefan/svn_repos/WaldiConfig/trunk
-(defun svn-admin-create-trunk-directory ()
- "Import an empty trunk directory to `svn-admin-last-repository-dir'.
-Set `svn-admin-last-repository-dir' to the new created trunk url."
- (interactive)
- (let ((empty-temp-dir-name (make-temp-name svn-status-temp-dir)))
- (make-directory empty-temp-dir-name t)
- (setq svn-admin-last-repository-dir (concat svn-admin-last-repository-dir "/trunk"))
- (svn-run nil t 'import "import" "-m" "Created trunk directory"
- empty-temp-dir-name svn-admin-last-repository-dir)
- (delete-directory empty-temp-dir-name)))
-
-(defun svn-admin-start-import ()
- "Start to import the current working directory in a subversion repository.
-The user is asked to perform the following two steps:
-1. Create a local repository
-2. Add a trunk directory to that repository
-
-After that step the empty base directory (either the root directory or
-the trunk directory of the selected repository) is checked out in the current
-working directory."
- (interactive)
- (if (y-or-n-p "Create local repository? ")
- (progn
- (call-interactively 'svn-admin-create)
- (when (y-or-n-p "Add a trunk directory? ")
- (svn-admin-create-trunk-directory)))
- (setq svn-admin-last-repository-dir (read-string "Repository Url: ")))
- (svn-checkout svn-admin-last-repository-dir "."))
-
-;; --------------------------------------------------------------------------------
-;; svn status profiling
-;; --------------------------------------------------------------------------------
-;;; Note about profiling psvn:
-;; (load-library "elp")
-;; M-x elp-reset-all
-;; (elp-instrument-package "svn-")
-;; M-x svn-status
-;; M-x elp-results
-
-(defun svn-status-elp-init ()
- (interactive)
- (require 'elp)
- (elp-reset-all)
- (elp-instrument-package "svn-")
- (message "Run the desired svn command (e.g. M-x svn-status), then use M-x elp-results."))
-
-(defun svn-status-last-commands (&optional string-prefix)
- "Return a string with the last executed svn commands"
- (interactive)
- (unless string-prefix
- (setq string-prefix ""))
- (with-output-to-string
- (dolist (e (ring-elements svn-last-cmd-ring))
- (princ (format "%s%s: svn %s <%s>\n" string-prefix (nth 0 e) (mapconcat 'concat (nth 1 e) " ") (nth 2 e))))))
-
-;; --------------------------------------------------------------------------------
-;; reporting bugs
-;; --------------------------------------------------------------------------------
-(defun svn-insert-indented-lines (text)
- "Helper function to insert TEXT, indented by two characters."
- (dolist (line (split-string text "\n"))
- (insert (format " %s\n" line))))
-
-(defun svn-prepare-bug-report ()
- "Create the buffer *psvn-bug-report*. This buffer can be useful to debug problems with psvn.el"
- (interactive)
- (let* ((last-output-buffer-name (or svn-status-last-output-buffer-name svn-process-buffer-name))
- (last-svn-cmd-output (with-current-buffer last-output-buffer-name
- (buffer-substring-no-properties (point-min) (point-max)))))
- (switch-to-buffer "*psvn-bug-report*")
- (delete-region (point-min) (point-max))
- (insert "This buffer holds some debug informations for psvn.el\n")
- (insert "Please enter a description of the observed and the wanted behaviour\n")
- (insert "and send it to the author (stefan at xsteve.at) to allow easier debugging\n\n")
- (insert "Revisions:\n")
- (svn-insert-indented-lines (svn-status-version))
- (insert "Language environment:\n")
- (dolist (elem (svn-process-environment))
- (when (member (car (split-string elem "=")) '("LC_MESSAGES" "LC_ALL" "LANG"))
- (insert (format " %s\n" elem))))
- (insert "\nLast svn commands:\n")
- (svn-insert-indented-lines (svn-status-last-commands))
- (insert (format "\nContent of the <%s> buffer:\n" last-output-buffer-name))
- (svn-insert-indented-lines last-svn-cmd-output)
- (goto-char (point-min))))
-
-;; --------------------------------------------------------------------------------
-;; Make it easier to reload psvn, if a distribution has an older version
-;; Just add the following to your .emacs:
-;; (svn-prepare-for-reload)
-;; (load "/path/to/psvn.el")
-
-;; Note the above will only work, if the loaded psvn.el has already the
-;; function svn-prepare-for-reload
-;; If this is not the case, do the following:
-;; (load "/path/to/psvn.el");;make svn-prepare-for-reload available
-;; (svn-prepare-for-reload)
-;; (load "/path/to/psvn.el");; update the keybindings
-;; --------------------------------------------------------------------------------
-
-(defvar svn-prepare-for-reload-dont-touch-list '() "A list of variables that should not be touched by `svn-prepare-for-reload'")
-(defvar svn-prepare-for-reload-variables-list '(svn-global-keymap svn-status-diff-mode-map svn-global-trac-map svn-status-mode-map
- svn-status-mode-property-map svn-status-mode-extension-map
- svn-status-mode-options-map svn-status-mode-trac-map svn-status-mode-branch-map
- svn-log-edit-mode-map svn-log-view-mode-map
- svn-log-view-popup-menu-map svn-info-mode-map svn-blame-mode-map svn-process-mode-map)
- "A list of variables that should be set to nil via M-x `svn-prepare-for-reload'")
-(defun svn-prepare-for-reload ()
- "This function resets some psvn.el variables to nil.
-It makes reloading a newer version of psvn.el easier, if for example the used
-GNU/Linux distribution uses an older version.
-
-The variables specified in `svn-prepare-for-reload-variables-list' will be reseted by this function.
-
-A variable will keep its value, if it is specified in `svn-prepare-for-reload-dont-touch-list'."
- (interactive)
- (dolist (var svn-prepare-for-reload-variables-list)
- (unless (member var svn-prepare-for-reload-dont-touch-list)
- (message (format "Resetting value of %s to nil" var)))
- (set var nil)))
-
-(provide 'psvn)
-
-;; Local Variables:
-;; indent-tabs-mode: nil
-;; End:
-;;; psvn.el ends here
diff --git a/emacs/pycomplete.el b/emacs/pycomplete.el
deleted file mode 100644
index 2fb9bd6..0000000
--- a/emacs/pycomplete.el
+++ /dev/null
@@ -1,36 +0,0 @@
-;;; Complete symbols at point using Pymacs.
-
-;;; See pycomplete.py for the Python side of things and a short description
-;;; of what to expect.
-
-(require 'pymacs)
-(require 'python-mode)
-
-(pymacs-load "pycomplete")
-
-(defun py-complete ()
- (interactive)
- (let ((pymacs-forget-mutability t))
- (insert (pycomplete-pycomplete (py-symbol-near-point)
- (py-find-global-imports)))))
-
-(defun py-find-global-imports ()
- (save-excursion
- (let (first-class-or-def imports)
- (goto-char (point-min))
- (setq first-class-or-def
- (re-search-forward "^ *\\(def\\|class\\) " nil t))
- (goto-char (point-min))
- (setq imports nil)
- (while (re-search-forward
- "^\\(import \\|from \\([A-Za-z_][A-Za-z_0-9]*\\) import \\).*"
- nil t)
- (setq imports (append imports
- (list (buffer-substring
- (match-beginning 0)
- (match-end 0))))))
- imports)))
-
-(define-key py-mode-map "\M-\C-i" 'py-complete)
-
-(provide 'pycomplete)
diff --git a/emacs/pycomplete.py b/emacs/pycomplete.py
deleted file mode 100644
index a39b37b..0000000
--- a/emacs/pycomplete.py
+++ /dev/null
@@ -1,97 +0,0 @@
-from __future__ import print_function
-
-"""
-Python dot expression completion using Pymacs.
-
-This almost certainly needs work, but if you add
-
- (require 'pycomplete)
-
-to your .xemacs/init.el file (untried w/ GNU Emacs so far) and have Pymacs
-installed, when you hit M-TAB it will try to complete the dot expression
-before point. For example, given this import at the top of the file:
-
- import time
-
-typing "time.cl" then hitting M-TAB should complete "time.clock".
-
-This is unlikely to be done the way Emacs completion ought to be done, but
-it's a start. Perhaps someone with more Emacs mojo can take this stuff and
-do it right.
-
-See pycomplete.el for the Emacs Lisp side of things.
-"""
-
-import sys
-import os.path
-
-try:
- x = set
-except NameError:
- from sets import Set as set
-else:
- del x
-
-def get_all_completions(s, imports=None):
- """Return contextual completion of s (string of >= zero chars).
-
- If given, imports is a list of import statements to be executed first.
- """
- locald = {}
- if imports is not None:
- for stmt in imports:
- try:
- exec stmt in globals(), locald
- except TypeError:
- raise TypeError, "invalid type: %s" % stmt
-
- dots = s.split(".")
- if not s or len(dots) == 1:
- keys = set()
- keys.update(locald.keys())
- keys.update(globals().keys())
- import __builtin__
- keys.update(dir(__builtin__))
- keys = list(keys)
- keys.sort()
- if s:
- return [k for k in keys if k.startswith(s)]
- else:
- return keys
-
- sym = None
- for i in range(1, len(dots)):
- s = ".".join(dots[:i])
- try:
- sym = eval(s, globals(), locald)
- except NameError:
- try:
- sym = __import__(s, globals(), locald, [])
- except ImportError:
- return []
- if sym is not None:
- s = dots[-1]
- return [k for k in dir(sym) if k.startswith(s)]
-
-def pycomplete(s, imports=None):
- completions = get_all_completions(s, imports)
- dots = s.split(".")
- return os.path.commonprefix([k[len(dots[-1]):] for k in completions])
-
-if __name__ == "__main__":
- print("<empty> ->", pycomplete(""))
- print("sys.get ->", pycomplete("sys.get"))
- print("sy ->", pycomplete("sy"))
- print("sy (sys in context) ->", pycomplete("sy", imports=["import sys"]))
- print("foo. ->", pycomplete("foo."))
- print("Enc (email * imported) ->",)
- print(pycomplete("Enc", imports=["from email import *"]))
- print("E (email * imported) ->",)
- print(pycomplete("E", imports=["from email import *"]))
-
- print("Enc ->", pycomplete("Enc"))
- print("E ->", pycomplete("E"))
-
-# Local Variables :
-# pymacs-auto-reload : t
-# End :
diff --git a/emacs/python-mode.el b/emacs/python-mode.el
deleted file mode 100644
index b51b992..0000000
--- a/emacs/python-mode.el
+++ /dev/null
@@ -1,3922 +0,0 @@
-;;; python-mode.el --- Major mode for editing Python programs
-
-;; Copyright (C) 1992,1993,1994 Tim Peters
-
-;; Author: 2003-2006 http://sf.net/projects/python-mode
-;; 1995-2002 Barry A. Warsaw
-;; 1992-1994 Tim Peters
-;; Maintainer: python-mode at python.org
-;; Created: Feb 1992
-;; Keywords: python languages oop
-
-(defconst py-version "$Revision: 4.78 $"
- "`python-mode' version number.")
-
-;; This software is provided as-is, without express or implied
-;; warranty. Permission to use, copy, modify, distribute or sell this
-;; software, without fee, for any purpose and by any individual or
-;; organization, is hereby granted, provided that the above copyright
-;; notice and this paragraph appear in all copies.
-
-;;; Commentary:
-
-;; This is a major mode for editing Python programs. It was developed by Tim
-;; Peters after an original idea by Michael A. Guravage. Tim subsequently
-;; left the net and in 1995, Barry Warsaw inherited the mode. Tim's now back
-;; but disavows all responsibility for the mode. In fact, we suspect he
-;; doesn't even use Emacs any more. In 2003, python-mode.el was moved to its
-;; own SourceForge project apart from the Python project, and now is
-;; maintained by the volunteers at the python-mode at python.org mailing list.
-
-;; pdbtrack support contributed by Ken Manheimer, April 2001. Skip Montanaro
-;; has also contributed significantly to python-mode's development.
-
-;; Please use the SourceForge Python project to submit bugs or
-;; patches:
-;;
-;; http://sourceforge.net/projects/python
-
-;; INSTALLATION:
-
-;; To install, just drop this file into a directory on your load-path and
-;; byte-compile it. To set up Emacs to automatically edit files ending in
-;; ".py" using python-mode add the following to your ~/.emacs file (GNU
-;; Emacs) or ~/.xemacs/init.el file (XEmacs):
-;; (setq auto-mode-alist (cons '("\\.py$" . python-mode) auto-mode-alist))
-;; (setq interpreter-mode-alist (cons '("python" . python-mode)
-;; interpreter-mode-alist))
-;; (autoload 'python-mode "python-mode" "Python editing mode." t)
-;;
-;; In XEmacs syntax highlighting should be enabled automatically. In GNU
-;; Emacs you may have to add these lines to your ~/.emacs file:
-;; (global-font-lock-mode t)
-;; (setq font-lock-maximum-decoration t)
-
-;; FOR MORE INFORMATION:
-
-;; There is some information on python-mode.el at
-
-;; http://www.python.org/emacs/python-mode/
-;;
-;; It does contain links to other packages that you might find useful,
-;; such as pdb interfaces, OO-Browser links, etc.
-
-;; BUG REPORTING:
-
-;; As mentioned above, please use the SourceForge Python project for
-;; submitting bug reports or patches. The old recommendation, to use
-;; C-c C-b will still work, but those reports have a higher chance of
-;; getting buried in my mailbox. Please include a complete, but
-;; concise code sample and a recipe for reproducing the bug. Send
-;; suggestions and other comments to python-mode at python.org.
-
-;; When in a Python mode buffer, do a C-h m for more help. It's
-;; doubtful that a texinfo manual would be very useful, but if you
-;; want to contribute one, I'll certainly accept it!
-
-;;; Code:
-
-(require 'comint)
-(require 'custom)
-(require 'cl)
-(require 'compile)
-(require 'ansi-color)
-
-
-;; user definable variables
-;; vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
-
-(defgroup python nil
- "Support for the Python programming language, <http://www.python.org/>"
- :group 'languages
- :prefix "py-")
-
-(defcustom py-tab-always-indent t
- "*Non-nil means TAB in Python mode should always reindent the current line,
-regardless of where in the line point is when the TAB command is used."
- :type 'boolean
- :group 'python)
-
-(defcustom py-python-command "python"
- "*Shell command used to start Python interpreter."
- :type 'string
- :group 'python)
-
-(make-obsolete-variable 'py-jpython-command 'py-jython-command)
-(defcustom py-jython-command "jython"
- "*Shell command used to start the Jython interpreter."
- :type 'string
- :group 'python
- :tag "Jython Command")
-
-(defcustom py-default-interpreter 'cpython
- "*Which Python interpreter is used by default.
-The value for this variable can be either `cpython' or `jython'.
-
-When the value is `cpython', the variables `py-python-command' and
-`py-python-command-args' are consulted to determine the interpreter
-and arguments to use.
-
-When the value is `jython', the variables `py-jython-command' and
-`py-jython-command-args' are consulted to determine the interpreter
-and arguments to use.
-
-Note that this variable is consulted only the first time that a Python
-mode buffer is visited during an Emacs session. After that, use
-\\[py-toggle-shells] to change the interpreter shell."
- :type '(choice (const :tag "Python (a.k.a. CPython)" cpython)
- (const :tag "Jython" jython))
- :group 'python)
-
-(defcustom py-python-command-args '("-i")
- "*List of string arguments to be used when starting a Python shell."
- :type '(repeat string)
- :group 'python)
-
-(make-obsolete-variable 'py-jpython-command-args 'py-jython-command-args)
-(defcustom py-jython-command-args '("-i")
- "*List of string arguments to be used when starting a Jython shell."
- :type '(repeat string)
- :group 'python
- :tag "Jython Command Args")
-
-(defcustom py-indent-offset 4
- "*Amount of offset per level of indentation.
-`\\[py-guess-indent-offset]' can usually guess a good value when
-you're editing someone else's Python code."
- :type 'integer
- :group 'python)
-
-(defcustom py-continuation-offset 4
- "*Additional amount of offset to give for some continuation lines.
-Continuation lines are those that immediately follow a backslash
-terminated line. Only those continuation lines for a block opening
-statement are given this extra offset."
- :type 'integer
- :group 'python)
-
-(defcustom py-smart-indentation t
- "*Should `python-mode' try to automagically set some indentation variables?
-When this variable is non-nil, two things happen when a buffer is set
-to `python-mode':
-
- 1. `py-indent-offset' is guessed from existing code in the buffer.
- Only guessed values between 2 and 8 are considered. If a valid
- guess can't be made (perhaps because you are visiting a new
- file), then the value in `py-indent-offset' is used.
-
- 2. `indent-tabs-mode' is turned off if `py-indent-offset' does not
- equal `tab-width' (`indent-tabs-mode' is never turned on by
- Python mode). This means that for newly written code, tabs are
- only inserted in indentation if one tab is one indentation
- level, otherwise only spaces are used.
-
-Note that both these settings occur *after* `python-mode-hook' is run,
-so if you want to defeat the automagic configuration, you must also
-set `py-smart-indentation' to nil in your `python-mode-hook'."
- :type 'boolean
- :group 'python)
-
-(defcustom py-align-multiline-strings-p t
- "*Flag describing how multi-line triple quoted strings are aligned.
-When this flag is non-nil, continuation lines are lined up under the
-preceding line's indentation. When this flag is nil, continuation
-lines are aligned to column zero."
- :type '(choice (const :tag "Align under preceding line" t)
- (const :tag "Align to column zero" nil))
- :group 'python)
-
-(defcustom py-block-comment-prefix "##"
- "*String used by \\[comment-region] to comment out a block of code.
-This should follow the convention for non-indenting comment lines so
-that the indentation commands won't get confused (i.e., the string
-should be of the form `#x...' where `x' is not a blank or a tab, and
-`...' is arbitrary). However, this string should not end in whitespace."
- :type 'string
- :group 'python)
-
-(defcustom py-honor-comment-indentation t
- "*Controls how comment lines influence subsequent indentation.
-
-When nil, all comment lines are skipped for indentation purposes, and
-if possible, a faster algorithm is used (i.e. X/Emacs 19 and beyond).
-
-When t, lines that begin with a single `#' are a hint to subsequent
-line indentation. If the previous line is such a comment line (as
-opposed to one that starts with `py-block-comment-prefix'), then its
-indentation is used as a hint for this line's indentation. Lines that
-begin with `py-block-comment-prefix' are ignored for indentation
-purposes.
-
-When not nil or t, comment lines that begin with a single `#' are used
-as indentation hints, unless the comment character is in column zero."
- :type '(choice
- (const :tag "Skip all comment lines (fast)" nil)
- (const :tag "Single # `sets' indentation for next line" t)
- (const :tag "Single # `sets' indentation except at column zero"
- other)
- )
- :group 'python)
-
-(defcustom py-temp-directory
- (let ((ok '(lambda (x)
- (and x
- (setq x (expand-file-name x)) ; always true
- (file-directory-p x)
- (file-writable-p x)
- x))))
- (or (funcall ok (getenv "TMPDIR"))
- (funcall ok "/usr/tmp")
- (funcall ok "/tmp")
- (funcall ok "/var/tmp")
- (funcall ok ".")
- (error
- "Couldn't find a usable temp directory -- set `py-temp-directory'")))
- "*Directory used for temporary files created by a *Python* process.
-By default, the first directory from this list that exists and that you
-can write into: the value (if any) of the environment variable TMPDIR,
-/usr/tmp, /tmp, /var/tmp, or the current directory."
- :type 'string
- :group 'python)
-
-(defcustom py-beep-if-tab-change t
- "*Ring the bell if `tab-width' is changed.
-If a comment of the form
-
- \t# vi:set tabsize=<number>:
-
-is found before the first code line when the file is entered, and the
-current value of (the general Emacs variable) `tab-width' does not
-equal <number>, `tab-width' is set to <number>, a message saying so is
-displayed in the echo area, and if `py-beep-if-tab-change' is non-nil
-the Emacs bell is also rung as a warning."
- :type 'boolean
- :group 'python)
-
-(defcustom py-jump-on-exception t
- "*Jump to innermost exception frame in *Python Output* buffer.
-When this variable is non-nil and an exception occurs when running
-Python code synchronously in a subprocess, jump immediately to the
-source code of the innermost traceback frame."
- :type 'boolean
- :group 'python)
-
-(defcustom py-ask-about-save t
- "If not nil, ask about which buffers to save before executing some code.
-Otherwise, all modified buffers are saved without asking."
- :type 'boolean
- :group 'python)
-
-(defcustom py-backspace-function 'backward-delete-char-untabify
- "*Function called by `py-electric-backspace' when deleting backwards."
- :type 'function
- :group 'python)
-
-(defcustom py-delete-function 'delete-char
- "*Function called by `py-electric-delete' when deleting forwards."
- :type 'function
- :group 'python)
-
-(defcustom py-imenu-show-method-args-p nil
- "*Controls echoing of arguments of functions & methods in the Imenu buffer.
-When non-nil, arguments are printed."
- :type 'boolean
- :group 'python)
-(make-variable-buffer-local 'py-indent-offset)
-
-(defcustom py-pdbtrack-do-tracking-p t
- "*Controls whether the pdbtrack feature is enabled or not.
-When non-nil, pdbtrack is enabled in all comint-based buffers,
-e.g. shell buffers and the *Python* buffer. When using pdb to debug a
-Python program, pdbtrack notices the pdb prompt and displays the
-source file and line that the program is stopped at, much the same way
-as gud-mode does for debugging C programs with gdb."
- :type 'boolean
- :group 'python)
-(make-variable-buffer-local 'py-pdbtrack-do-tracking-p)
-
-(defcustom py-pdbtrack-minor-mode-string " PDB"
- "*String to use in the minor mode list when pdbtrack is enabled."
- :type 'string
- :group 'python)
-
-(defcustom py-import-check-point-max
- 20000
- "Maximum number of characters to search for a Java-ish import statement.
-When `python-mode' tries to calculate the shell to use (either a
-CPython or a Jython shell), it looks at the so-called `shebang' line
--- i.e. #! line. If that's not available, it looks at some of the
-file heading imports to see if they look Java-like."
- :type 'integer
- :group 'python
- )
-
-(make-obsolete-variable 'py-jpython-packages 'py-jython-packages)
-(defcustom py-jython-packages
- '("java" "javax" "org" "com")
- "Imported packages that imply `jython-mode'."
- :type '(repeat string)
- :group 'python)
-
-;; Not customizable
-(defvar py-master-file nil
- "If non-nil, execute the named file instead of the buffer's file.
-The intent is to allow you to set this variable in the file's local
-variable section, e.g.:
-
- # Local Variables:
- # py-master-file: \"master.py\"
- # End:
-
-so that typing \\[py-execute-buffer] in that buffer executes the named
-master file instead of the buffer's file. If the file name has a
-relative path, the value of variable `default-directory' for the
-buffer is prepended to come up with a file name.")
-(make-variable-buffer-local 'py-master-file)
-
-(defcustom py-pychecker-command "pychecker"
- "*Shell command used to run Pychecker."
- :type 'string
- :group 'python
- :tag "Pychecker Command")
-
-(defcustom py-pychecker-command-args '("--stdlib")
- "*List of string arguments to be passed to pychecker."
- :type '(repeat string)
- :group 'python
- :tag "Pychecker Command Args")
-
-(defvar py-shell-alist
- '(("jython" . 'jython)
- ("python" . 'cpython))
- "*Alist of interpreters and python shells. Used by `py-choose-shell'
-to select the appropriate python interpreter mode for a file.")
-
-(defcustom py-shell-input-prompt-1-regexp "^>>> "
- "*A regular expression to match the input prompt of the shell."
- :type 'string
- :group 'python)
-
-(defcustom py-shell-input-prompt-2-regexp "^[.][.][.] "
- "*A regular expression to match the input prompt of the shell after the
- first line of input."
- :type 'string
- :group 'python)
-
-(defcustom py-shell-switch-buffers-on-execute t
- "*Controls switching to the Python buffer where commands are
- executed. When non-nil the buffer switches to the Python buffer, if
- not no switching occurs."
- :type 'boolean
- :group 'python)
-
-
-;; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-;; NO USER DEFINABLE VARIABLES BEYOND THIS POINT
-
-(defvar py-line-number-offset 0
- "When an exception occurs as a result of py-execute-region, a
-subsequent py-up-exception needs the line number where the region
-started, in order to jump to the correct file line. This variable is
-set in py-execute-region and used in py-jump-to-exception.")
-
-(defconst py-emacs-features
- (let (features)
- features)
- "A list of features extant in the Emacs you are using.
-There are many flavors of Emacs out there, with different levels of
-support for features needed by `python-mode'.")
-
-;; Face for None, True, False, self, and Ellipsis
-(defvar py-pseudo-keyword-face 'py-pseudo-keyword-face
- "Face for pseudo keywords in Python mode, like self, True, False, Ellipsis.")
-(make-face 'py-pseudo-keyword-face)
-
-;; PEP 318 decorators
-(defvar py-decorators-face 'py-decorators-face
- "Face method decorators.")
-(make-face 'py-decorators-face)
-
-;; Face for builtins
-(defvar py-builtins-face 'py-builtins-face
- "Face for builtins like TypeError, object, open, and exec.")
-(make-face 'py-builtins-face)
-
-;; XXX, TODO, and FIXME comments and such
-(defvar py-XXX-tag-face 'py-XXX-tag-face
- "Face for XXX, TODO, and FIXME tags")
-(make-face 'py-XXX-tag-face)
-
-(defun py-font-lock-mode-hook ()
- (or (face-differs-from-default-p 'py-pseudo-keyword-face)
- (copy-face 'font-lock-keyword-face 'py-pseudo-keyword-face))
- (or (face-differs-from-default-p 'py-builtins-face)
- (copy-face 'font-lock-keyword-face 'py-builtins-face))
- (or (face-differs-from-default-p 'py-decorators-face)
- (copy-face 'py-pseudo-keyword-face 'py-decorators-face))
- (or (face-differs-from-default-p 'py-XXX-tag-face)
- (copy-face 'font-lock-comment-face 'py-XXX-tag-face))
- )
-(add-hook 'font-lock-mode-hook 'py-font-lock-mode-hook)
-
-(defvar python-font-lock-keywords
- (let ((kw1 (mapconcat 'identity
- '("and" "assert" "break" "class"
- "continue" "def" "del" "elif"
- "else" "except" "exec" "for"
- "from" "global" "if" "import"
- "in" "is" "lambda" "not"
- "or" "pass" "print" "raise"
- "return" "while" "yield"
- )
- "\\|"))
- (kw2 (mapconcat 'identity
- '("else:" "except:" "finally:" "try:")
- "\\|"))
- (kw3 (mapconcat 'identity
- ;; Don't include True, False, None, or
- ;; Ellipsis in this list, since they are
- ;; already defined as pseudo keywords.
- '("__debug__"
- "__import__" "__name__" "abs" "apply" "basestring"
- "bool" "buffer" "callable" "chr" "classmethod"
- "cmp" "coerce" "compile" "complex" "copyright"
- "delattr" "dict" "dir" "divmod"
- "enumerate" "eval" "execfile" "exit" "file"
- "filter" "float" "getattr" "globals" "hasattr"
- "hash" "hex" "id" "input" "int" "intern"
- "isinstance" "issubclass" "iter" "len" "license"
- "list" "locals" "long" "map" "max" "min" "object"
- "oct" "open" "ord" "pow" "property" "range"
- "raw_input" "reduce" "reload" "repr" "round"
- "setattr" "slice" "staticmethod" "str" "sum"
- "super" "tuple" "type" "unichr" "unicode" "vars"
- "xrange" "zip")
- "\\|"))
- (kw4 (mapconcat 'identity
- ;; Exceptions and warnings
- '("ArithmeticError" "AssertionError"
- "AttributeError" "DeprecationWarning" "EOFError"
- "EnvironmentError" "Exception"
- "FloatingPointError" "FutureWarning" "IOError"
- "ImportError" "IndentationError" "IndexError"
- "KeyError" "KeyboardInterrupt" "LookupError"
- "MemoryError" "NameError" "NotImplemented"
- "NotImplementedError" "OSError" "OverflowError"
- "OverflowWarning" "PendingDeprecationWarning"
- "ReferenceError" "RuntimeError" "RuntimeWarning"
- "StandardError" "StopIteration" "SyntaxError"
- "SyntaxWarning" "SystemError" "SystemExit"
- "TabError" "TypeError" "UnboundLocalError"
- "UnicodeDecodeError" "UnicodeEncodeError"
- "UnicodeError" "UnicodeTranslateError"
- "UserWarning" "ValueError" "Warning"
- "ZeroDivisionError")
- "\\|"))
- )
- (list
- '("^[ \t]*\\(@.+\\)" 1 'py-decorators-face)
- ;; keywords
- (cons (concat "\\<\\(" kw1 "\\)\\>[ \n\t(]") 1)
- ;; builtins when they don't appear as object attributes
- (list (concat "\\([^. \t]\\|^\\)[ \t]*\\<\\(" kw3 "\\)\\>[ \n\t(]") 2
- 'py-builtins-face)
- ;; block introducing keywords with immediately following colons.
- ;; Yes "except" is in both lists.
- (cons (concat "\\<\\(" kw2 "\\)[ \n\t(]") 1)
- ;; Exceptions
- (list (concat "\\<\\(" kw4 "\\)[ \n\t:,(]") 1 'py-builtins-face)
- ;; `as' but only in "import foo as bar"
- '("[ \t]*\\(\\<from\\>.*\\)?\\<import\\>.*\\<\\(as\\)\\>" . 2)
-
- ;; classes
- '("\\<class[ \t]+\\([a-zA-Z_]+[a-zA-Z0-9_]*\\)" 1 font-lock-type-face)
- ;; functions
- '("\\<def[ \t]+\\([a-zA-Z_]+[a-zA-Z0-9_]*\\)"
- 1 font-lock-function-name-face)
- ;; pseudo-keywords
- '("\\<\\(self\\|None\\|True\\|False\\|Ellipsis\\)\\>"
- 1 py-pseudo-keyword-face)
- ;; XXX, TODO, and FIXME tags
- '("XXX\\|TODO\\|FIXME" 0 py-XXX-tag-face t)
- ))
- "Additional expressions to highlight in Python mode.")
-(put 'python-mode 'font-lock-defaults '(python-font-lock-keywords))
-
-;; have to bind py-file-queue before installing the kill-emacs-hook
-(defvar py-file-queue nil
- "Queue of Python temp files awaiting execution.
-Currently-active file is at the head of the list.")
-
-(defvar py-pdbtrack-is-tracking-p nil)
-
-(defvar py-pychecker-history nil)
-
-
-
-;; Constants
-
-(defconst py-stringlit-re
- (concat
- ;; These fail if backslash-quote ends the string (not worth
- ;; fixing?). They precede the short versions so that the first two
- ;; quotes don't look like an empty short string.
- ;;
- ;; (maybe raw), long single quoted triple quoted strings (SQTQ),
- ;; with potential embedded single quotes
- "[rR]?'''[^']*\\(\\('[^']\\|''[^']\\)[^']*\\)*'''"
- "\\|"
- ;; (maybe raw), long double quoted triple quoted strings (DQTQ),
- ;; with potential embedded double quotes
- "[rR]?\"\"\"[^\"]*\\(\\(\"[^\"]\\|\"\"[^\"]\\)[^\"]*\\)*\"\"\""
- "\\|"
- "[rR]?'\\([^'\n\\]\\|\\\\.\\)*'" ; single-quoted
- "\\|" ; or
- "[rR]?\"\\([^\"\n\\]\\|\\\\.\\)*\"" ; double-quoted
- )
- "Regular expression matching a Python string literal.")
-
-(defconst py-continued-re
- ;; This is tricky because a trailing backslash does not mean
- ;; continuation if it's in a comment
- (concat
- "\\(" "[^#'\"\n\\]" "\\|" py-stringlit-re "\\)*"
- "\\\\$")
- "Regular expression matching Python backslash continuation lines.")
-
-(defconst py-blank-or-comment-re "[ \t]*\\($\\|#\\)"
- "Regular expression matching a blank or comment line.")
-
-(defconst py-outdent-re
- (concat "\\(" (mapconcat 'identity
- '("else:"
- "except\\(\\s +.*\\)?:"
- "finally:"
- "elif\\s +.*:")
- "\\|")
- "\\)")
- "Regular expression matching statements to be dedented one level.")
-
-(defconst py-block-closing-keywords-re
- "\\(return\\|raise\\|break\\|continue\\|pass\\)"
- "Regular expression matching keywords which typically close a block.")
-
-(defconst py-no-outdent-re
- (concat
- "\\("
- (mapconcat 'identity
- (list "try:"
- "except\\(\\s +.*\\)?:"
- "while\\s +.*:"
- "for\\s +.*:"
- "if\\s +.*:"
- "elif\\s +.*:"
- (concat py-block-closing-keywords-re "[ \t\n]")
- )
- "\\|")
- "\\)")
- "Regular expression matching lines not to dedent after.")
-
-(defvar py-traceback-line-re
- "[ \t]+File \"\\([^\"]+\\)\", line \\([0-9]+\\)"
- "Regular expression that describes tracebacks.")
-
-;; pdbtrack constants
-(defconst py-pdbtrack-stack-entry-regexp
-; "^> \\([^(]+\\)(\\([0-9]+\\))\\([?a-zA-Z0-9_]+\\)()"
- "^> \\(.*\\)(\\([0-9]+\\))\\([?a-zA-Z0-9_]+\\)()"
- "Regular expression pdbtrack uses to find a stack trace entry.")
-
-(defconst py-pdbtrack-input-prompt "\n[(<]*[Pp]db[>)]+ "
- "Regular expression pdbtrack uses to recognize a pdb prompt.")
-
-(defconst py-pdbtrack-track-range 10000
- "Max number of characters from end of buffer to search for stack entry.")
-
-
-
-;; Major mode boilerplate
-
-;; define a mode-specific abbrev table for those who use such things
-(defvar python-mode-abbrev-table nil
- "Abbrev table in use in `python-mode' buffers.")
-(define-abbrev-table 'python-mode-abbrev-table nil)
-
-(defvar python-mode-hook nil
- "*Hook called by `python-mode'.")
-
-(make-obsolete-variable 'jpython-mode-hook 'jython-mode-hook)
-(defvar jython-mode-hook nil
- "*Hook called by `jython-mode'. `jython-mode' also calls
-`python-mode-hook'.")
-
-(defvar py-shell-hook nil
- "*Hook called by `py-shell'.")
-
-;; In previous version of python-mode.el, the hook was incorrectly
-;; called py-mode-hook, and was not defvar'd. Deprecate its use.
-(and (fboundp 'make-obsolete-variable)
- (make-obsolete-variable 'py-mode-hook 'python-mode-hook))
-
-(defvar py-mode-map ()
- "Keymap used in `python-mode' buffers.")
-(if py-mode-map
- nil
- (setq py-mode-map (make-sparse-keymap))
- ;; electric keys
- (define-key py-mode-map ":" 'py-electric-colon)
- ;; indentation level modifiers
- (define-key py-mode-map "\C-c\C-l" 'py-shift-region-left)
- (define-key py-mode-map "\C-c\C-r" 'py-shift-region-right)
- (define-key py-mode-map "\C-c<" 'py-shift-region-left)
- (define-key py-mode-map "\C-c>" 'py-shift-region-right)
- ;; subprocess commands
- (define-key py-mode-map "\C-c\C-c" 'py-execute-buffer)
- (define-key py-mode-map "\C-c\C-m" 'py-execute-import-or-reload)
- (define-key py-mode-map "\C-c\C-s" 'py-execute-string)
- (define-key py-mode-map "\C-c|" 'py-execute-region)
- (define-key py-mode-map "\e\C-x" 'py-execute-def-or-class)
- (define-key py-mode-map "\C-c!" 'py-shell)
- (define-key py-mode-map "\C-c\C-t" 'py-toggle-shells)
- ;; Caution! Enter here at your own risk. We are trying to support
- ;; several behaviors and it gets disgusting. :-( This logic ripped
- ;; largely from CC Mode.
- ;;
- ;; In XEmacs 19, Emacs 19, and Emacs 20, we use this to bind
- ;; backwards deletion behavior to DEL, which both Delete and
- ;; Backspace get translated to. There's no way to separate this
- ;; behavior in a clean way, so deal with it! Besides, it's been
- ;; this way since the dawn of time.
- (if (not (boundp 'delete-key-deletes-forward))
- (define-key py-mode-map "\177" 'py-electric-backspace)
- ;; However, XEmacs 20 actually achieved enlightenment. It is
- ;; possible to sanely define both backward and forward deletion
- ;; behavior under X separately (TTYs are forever beyond hope, but
- ;; who cares? XEmacs 20 does the right thing with these too).
- (define-key py-mode-map [delete] 'py-electric-delete)
- (define-key py-mode-map [backspace] 'py-electric-backspace))
- ;; Separate M-BS from C-M-h. The former should remain
- ;; backward-kill-word.
- (define-key py-mode-map [(control meta h)] 'py-mark-def-or-class)
- (define-key py-mode-map "\C-c\C-k" 'py-mark-block)
- ;; Miscellaneous
- (define-key py-mode-map "\C-c:" 'py-guess-indent-offset)
- (define-key py-mode-map "\C-c\t" 'py-indent-region)
- (define-key py-mode-map "\C-c\C-d" 'py-pdbtrack-toggle-stack-tracking)
- (define-key py-mode-map "\C-c\C-n" 'py-next-statement)
- (define-key py-mode-map "\C-c\C-p" 'py-previous-statement)
- (define-key py-mode-map "\C-c\C-u" 'py-goto-block-up)
- (define-key py-mode-map "\C-c#" 'py-comment-region)
- (define-key py-mode-map "\C-c?" 'py-describe-mode)
- (define-key py-mode-map "\C-c\C-h" 'py-help-at-point)
- (define-key py-mode-map "\e\C-a" 'py-beginning-of-def-or-class)
- (define-key py-mode-map "\e\C-e" 'py-end-of-def-or-class)
- (define-key py-mode-map "\C-c-" 'py-up-exception)
- (define-key py-mode-map "\C-c=" 'py-down-exception)
- ;; stuff that is `standard' but doesn't interface well with
- ;; python-mode, which forces us to rebind to special commands
- (define-key py-mode-map "\C-xnd" 'py-narrow-to-defun)
- ;; information
- (define-key py-mode-map "\C-c\C-b" 'py-submit-bug-report)
- (define-key py-mode-map "\C-c\C-v" 'py-version)
- (define-key py-mode-map "\C-c\C-w" 'py-pychecker-run)
- ;; shadow global bindings for newline-and-indent w/ the py- version.
- ;; BAW - this is extremely bad form, but I'm not going to change it
- ;; for now.
- (mapcar #'(lambda (key)
- (define-key py-mode-map key 'py-newline-and-indent))
- (where-is-internal 'newline-and-indent))
- ;; Force RET to be py-newline-and-indent even if it didn't get
- ;; mapped by the above code. motivation: Emacs' default binding for
- ;; RET is `newline' and C-j is `newline-and-indent'. Most Pythoneers
- ;; expect RET to do a `py-newline-and-indent' and any Emacsers who
- ;; dislike this are probably knowledgeable enough to do a rebind.
- ;; However, we do *not* change C-j since many Emacsers have already
- ;; swapped RET and C-j and they don't want C-j bound to `newline' to
- ;; change.
- (define-key py-mode-map "\C-m" 'py-newline-and-indent)
- )
-
-(defvar py-mode-output-map nil
- "Keymap used in *Python Output* buffers.")
-(if py-mode-output-map
- nil
- (setq py-mode-output-map (make-sparse-keymap))
- (define-key py-mode-output-map [button2] 'py-mouseto-exception)
- (define-key py-mode-output-map "\C-c\C-c" 'py-goto-exception)
- ;; TBD: Disable all self-inserting keys. This is bogus, we should
- ;; really implement this as *Python Output* buffer being read-only
- (mapcar #' (lambda (key)
- (define-key py-mode-output-map key
- #'(lambda () (interactive) (beep))))
- (where-is-internal 'self-insert-command))
- )
-
-(defvar py-shell-map nil
- "Keymap used in *Python* shell buffers.")
-(if py-shell-map
- nil
- (setq py-shell-map (copy-keymap comint-mode-map))
- (define-key py-shell-map [tab] 'tab-to-tab-stop)
- (define-key py-shell-map "\C-c-" 'py-up-exception)
- (define-key py-shell-map "\C-c=" 'py-down-exception)
- )
-
-(defvar py-mode-syntax-table nil
- "Syntax table used in `python-mode' buffers.")
-(when (not py-mode-syntax-table)
- (setq py-mode-syntax-table (make-syntax-table))
- (modify-syntax-entry ?\( "()" py-mode-syntax-table)
- (modify-syntax-entry ?\) ")(" py-mode-syntax-table)
- (modify-syntax-entry ?\[ "(]" py-mode-syntax-table)
- (modify-syntax-entry ?\] ")[" py-mode-syntax-table)
- (modify-syntax-entry ?\{ "(}" py-mode-syntax-table)
- (modify-syntax-entry ?\} "){" py-mode-syntax-table)
- ;; Add operator symbols misassigned in the std table
- (modify-syntax-entry ?\$ "." py-mode-syntax-table)
- (modify-syntax-entry ?\% "." py-mode-syntax-table)
- (modify-syntax-entry ?\& "." py-mode-syntax-table)
- (modify-syntax-entry ?\* "." py-mode-syntax-table)
- (modify-syntax-entry ?\+ "." py-mode-syntax-table)
- (modify-syntax-entry ?\- "." py-mode-syntax-table)
- (modify-syntax-entry ?\/ "." py-mode-syntax-table)
- (modify-syntax-entry ?\< "." py-mode-syntax-table)
- (modify-syntax-entry ?\= "." py-mode-syntax-table)
- (modify-syntax-entry ?\> "." py-mode-syntax-table)
- (modify-syntax-entry ?\| "." py-mode-syntax-table)
- ;; For historical reasons, underscore is word class instead of
- ;; symbol class. GNU conventions say it should be symbol class, but
- ;; there's a natural conflict between what major mode authors want
- ;; and what users expect from `forward-word' and `backward-word'.
- ;; Guido and I have hashed this out and have decided to keep
- ;; underscore in word class. If you're tempted to change it, try
- ;; binding M-f and M-b to py-forward-into-nomenclature and
- ;; py-backward-into-nomenclature instead. This doesn't help in all
- ;; situations where you'd want the different behavior
- ;; (e.g. backward-kill-word).
- (modify-syntax-entry ?\_ "w" py-mode-syntax-table)
- ;; Both single quote and double quote are string delimiters
- (modify-syntax-entry ?\' "\"" py-mode-syntax-table)
- (modify-syntax-entry ?\" "\"" py-mode-syntax-table)
- ;; backquote is open and close paren
- (modify-syntax-entry ?\` "$" py-mode-syntax-table)
- ;; comment delimiters
- (modify-syntax-entry ?\# "<" py-mode-syntax-table)
- (modify-syntax-entry ?\n ">" py-mode-syntax-table)
- )
-
-;; An auxiliary syntax table which places underscore and dot in the
-;; symbol class for simplicity
-(defvar py-dotted-expression-syntax-table nil
- "Syntax table used to identify Python dotted expressions.")
-(when (not py-dotted-expression-syntax-table)
- (setq py-dotted-expression-syntax-table
- (copy-syntax-table py-mode-syntax-table))
- (modify-syntax-entry ?_ "_" py-dotted-expression-syntax-table)
- (modify-syntax-entry ?. "_" py-dotted-expression-syntax-table))
-
-
-
-;; Utilities
-(defmacro py-safe (&rest body)
- "Safely execute BODY, return nil if an error occurred."
- (` (condition-case nil
- (progn (,@ body))
- (error nil))))
-
-(defsubst py-keep-region-active ()
- "Keep the region active in XEmacs."
- ;; Ignore byte-compiler warnings you might see. Also note that
- ;; FSF's Emacs 19 does it differently; its policy doesn't require us
- ;; to take explicit action.
- (and (boundp 'zmacs-region-stays)
- (setq zmacs-region-stays t)))
-
-(defsubst py-point (position)
- "Returns the value of point at certain commonly referenced POSITIONs.
-POSITION can be one of the following symbols:
-
- bol -- beginning of line
- eol -- end of line
- bod -- beginning of def or class
- eod -- end of def or class
- bob -- beginning of buffer
- eob -- end of buffer
- boi -- back to indentation
- bos -- beginning of statement
-
-This function does not modify point or mark."
- (let ((here (point)))
- (cond
- ((eq position 'bol) (beginning-of-line))
- ((eq position 'eol) (end-of-line))
- ((eq position 'bod) (py-beginning-of-def-or-class 'either))
- ((eq position 'eod) (py-end-of-def-or-class 'either))
- ;; Kind of funny, I know, but useful for py-up-exception.
- ((eq position 'bob) (beginning-of-buffer))
- ((eq position 'eob) (end-of-buffer))
- ((eq position 'boi) (back-to-indentation))
- ((eq position 'bos) (py-goto-initial-line))
- (t (error "Unknown buffer position requested: %s" position))
- )
- (prog1
- (point)
- (goto-char here))))
-
-(defsubst py-highlight-line (from to file line)
- (cond
- ((fboundp 'make-extent)
- ;; XEmacs
- (let ((e (make-extent from to)))
- (set-extent-property e 'mouse-face 'highlight)
- (set-extent-property e 'py-exc-info (cons file line))
- (set-extent-property e 'keymap py-mode-output-map)))
- (t
- ;; Emacs -- Please port this!
- )
- ))
-
-(defun py-in-literal (&optional lim)
- "Return non-nil if point is in a Python literal (a comment or string).
-Optional argument LIM indicates the beginning of the containing form,
-i.e. the limit on how far back to scan."
- ;; This is the version used for non-XEmacs, which has a nicer
- ;; interface.
- ;;
- ;; WARNING: Watch out for infinite recursion.
- (let* ((lim (or lim (py-point 'bod)))
- (state (parse-partial-sexp lim (point))))
- (cond
- ((nth 3 state) 'string)
- ((nth 4 state) 'comment)
- (t nil))))
-
-;; XEmacs has a built-in function that should make this much quicker.
-;; In this case, lim is ignored
-(defun py-fast-in-literal (&optional lim)
- "Fast version of `py-in-literal', used only by XEmacs.
-Optional LIM is ignored."
- ;; don't have to worry about context == 'block-comment
- (buffer-syntactic-context))
-
-(if (fboundp 'buffer-syntactic-context)
- (defalias 'py-in-literal 'py-fast-in-literal))
-
-
-
-;; Menu definitions, only relevent if you have the easymenu.el package
-;; (standard in the latest Emacs 19 and XEmacs 19 distributions).
-(defvar py-menu nil
- "Menu for Python Mode.
-This menu will get created automatically if you have the `easymenu'
-package. Note that the latest X/Emacs releases contain this package.")
-
-(and (py-safe (require 'easymenu) t)
- (easy-menu-define
- py-menu py-mode-map "Python Mode menu"
- '("Python"
- ["Comment Out Region" py-comment-region (mark)]
- ["Uncomment Region" (py-comment-region (point) (mark) '(4)) (mark)]
- "-"
- ["Mark current block" py-mark-block t]
- ["Mark current def" py-mark-def-or-class t]
- ["Mark current class" (py-mark-def-or-class t) t]
- "-"
- ["Shift region left" py-shift-region-left (mark)]
- ["Shift region right" py-shift-region-right (mark)]
- "-"
- ["Import/reload file" py-execute-import-or-reload t]
- ["Execute buffer" py-execute-buffer t]
- ["Execute region" py-execute-region (mark)]
- ["Execute def or class" py-execute-def-or-class (mark)]
- ["Execute string" py-execute-string t]
- ["Start interpreter..." py-shell t]
- "-"
- ["Go to start of block" py-goto-block-up t]
- ["Go to start of class" (py-beginning-of-def-or-class t) t]
- ["Move to end of class" (py-end-of-def-or-class t) t]
- ["Move to start of def" py-beginning-of-def-or-class t]
- ["Move to end of def" py-end-of-def-or-class t]
- "-"
- ["Describe mode" py-describe-mode t]
- )))
-
-
-
-;; Imenu definitions
-(defvar py-imenu-class-regexp
- (concat ; <<classes>>
- "\\(" ;
- "^[ \t]*" ; newline and maybe whitespace
- "\\(class[ \t]+[a-zA-Z0-9_]+\\)" ; class name
- ; possibly multiple superclasses
- "\\([ \t]*\\((\\([a-zA-Z0-9_,. \t\n]\\)*)\\)?\\)"
- "[ \t]*:" ; and the final :
- "\\)" ; >>classes<<
- )
- "Regexp for Python classes for use with the Imenu package."
- )
-
-(defvar py-imenu-method-regexp
- (concat ; <<methods and functions>>
- "\\(" ;
- "^[ \t]*" ; new line and maybe whitespace
- "\\(def[ \t]+" ; function definitions start with def
- "\\([a-zA-Z0-9_]+\\)" ; name is here
- ; function arguments...
-;; "[ \t]*(\\([-+/a-zA-Z0-9_=,\* \t\n.()\"'#]*\\))"
- "[ \t]*(\\([^:#]*\\))"
- "\\)" ; end of def
- "[ \t]*:" ; and then the :
- "\\)" ; >>methods and functions<<
- )
- "Regexp for Python methods/functions for use with the Imenu package."
- )
-
-(defvar py-imenu-method-no-arg-parens '(2 8)
- "Indices into groups of the Python regexp for use with Imenu.
-
-Using these values will result in smaller Imenu lists, as arguments to
-functions are not listed.
-
-See the variable `py-imenu-show-method-args-p' for more
-information.")
-
-(defvar py-imenu-method-arg-parens '(2 7)
- "Indices into groups of the Python regexp for use with imenu.
-Using these values will result in large Imenu lists, as arguments to
-functions are listed.
-
-See the variable `py-imenu-show-method-args-p' for more
-information.")
-
-;; Note that in this format, this variable can still be used with the
-;; imenu--generic-function. Otherwise, there is no real reason to have
-;; it.
-(defvar py-imenu-generic-expression
- (cons
- (concat
- py-imenu-class-regexp
- "\\|" ; or...
- py-imenu-method-regexp
- )
- py-imenu-method-no-arg-parens)
- "Generic Python expression which may be used directly with Imenu.
-Used by setting the variable `imenu-generic-expression' to this value.
-Also, see the function \\[py-imenu-create-index] for a better
-alternative for finding the index.")
-
-;; These next two variables are used when searching for the Python
-;; class/definitions. Just saving some time in accessing the
-;; generic-python-expression, really.
-(defvar py-imenu-generic-regexp nil)
-(defvar py-imenu-generic-parens nil)
-
-
-(defun py-imenu-create-index-function ()
- "Python interface function for the Imenu package.
-Finds all Python classes and functions/methods. Calls function
-\\[py-imenu-create-index-engine]. See that function for the details
-of how this works."
- (setq py-imenu-generic-regexp (car py-imenu-generic-expression)
- py-imenu-generic-parens (if py-imenu-show-method-args-p
- py-imenu-method-arg-parens
- py-imenu-method-no-arg-parens))
- (goto-char (point-min))
- ;; Warning: When the buffer has no classes or functions, this will
- ;; return nil, which seems proper according to the Imenu API, but
- ;; causes an error in the XEmacs port of Imenu. Sigh.
- (py-imenu-create-index-engine nil))
-
-(defun py-imenu-create-index-engine (&optional start-indent)
- "Function for finding Imenu definitions in Python.
-
-Finds all definitions (classes, methods, or functions) in a Python
-file for the Imenu package.
-
-Returns a possibly nested alist of the form
-
- (INDEX-NAME . INDEX-POSITION)
-
-The second element of the alist may be an alist, producing a nested
-list as in
-
- (INDEX-NAME . INDEX-ALIST)
-
-This function should not be called directly, as it calls itself
-recursively and requires some setup. Rather this is the engine for
-the function \\[py-imenu-create-index-function].
-
-It works recursively by looking for all definitions at the current
-indention level. When it finds one, it adds it to the alist. If it
-finds a definition at a greater indentation level, it removes the
-previous definition from the alist. In its place it adds all
-definitions found at the next indentation level. When it finds a
-definition that is less indented then the current level, it returns
-the alist it has created thus far.
-
-The optional argument START-INDENT indicates the starting indentation
-at which to continue looking for Python classes, methods, or
-functions. If this is not supplied, the function uses the indentation
-of the first definition found."
- (let (index-alist
- sub-method-alist
- looking-p
- def-name prev-name
- cur-indent def-pos
- (class-paren (first py-imenu-generic-parens))
- (def-paren (second py-imenu-generic-parens)))
- (setq looking-p
- (re-search-forward py-imenu-generic-regexp (point-max) t))
- (while looking-p
- (save-excursion
- ;; used to set def-name to this value but generic-extract-name
- ;; is new to imenu-1.14. this way it still works with
- ;; imenu-1.11
- ;;(imenu--generic-extract-name py-imenu-generic-parens))
- (let ((cur-paren (if (match-beginning class-paren)
- class-paren def-paren)))
- (setq def-name
- (buffer-substring-no-properties (match-beginning cur-paren)
- (match-end cur-paren))))
- (save-match-data
- (py-beginning-of-def-or-class 'either))
- (beginning-of-line)
- (setq cur-indent (current-indentation)))
- ;; HACK: want to go to the next correct definition location. We
- ;; explicitly list them here but it would be better to have them
- ;; in a list.
- (setq def-pos
- (or (match-beginning class-paren)
- (match-beginning def-paren)))
- ;; if we don't have a starting indent level, take this one
- (or start-indent
- (setq start-indent cur-indent))
- ;; if we don't have class name yet, take this one
- (or prev-name
- (setq prev-name def-name))
- ;; what level is the next definition on? must be same, deeper
- ;; or shallower indentation
- (cond
- ;; Skip code in comments and strings
- ((py-in-literal))
- ;; at the same indent level, add it to the list...
- ((= start-indent cur-indent)
- (push (cons def-name def-pos) index-alist))
- ;; deeper indented expression, recurse
- ((< start-indent cur-indent)
- ;; the point is currently on the expression we're supposed to
- ;; start on, so go back to the last expression. The recursive
- ;; call will find this place again and add it to the correct
- ;; list
- (re-search-backward py-imenu-generic-regexp (point-min) 'move)
- (setq sub-method-alist (py-imenu-create-index-engine cur-indent))
- (if sub-method-alist
- ;; we put the last element on the index-alist on the start
- ;; of the submethod alist so the user can still get to it.
- (let ((save-elmt (pop index-alist)))
- (push (cons prev-name
- (cons save-elmt sub-method-alist))
- index-alist))))
- ;; found less indented expression, we're done.
- (t
- (setq looking-p nil)
- (re-search-backward py-imenu-generic-regexp (point-min) t)))
- ;; end-cond
- (setq prev-name def-name)
- (and looking-p
- (setq looking-p
- (re-search-forward py-imenu-generic-regexp
- (point-max) 'move))))
- (nreverse index-alist)))
-
-
-
-(defun py-choose-shell-by-shebang ()
- "Choose CPython or Jython mode by looking at #! on the first line.
-Returns the appropriate mode function.
-Used by `py-choose-shell', and similar to but distinct from
-`set-auto-mode', though it uses `auto-mode-interpreter-regexp' (if available)."
- ;; look for an interpreter specified in the first line
- ;; similar to set-auto-mode (files.el)
- (let* ((re (if (boundp 'auto-mode-interpreter-regexp)
- auto-mode-interpreter-regexp
- ;; stolen from Emacs 21.2
- "#![ \t]?\\([^ \t\n]*/bin/env[ \t]\\)?\\([^ \t\n]+\\)"))
- (interpreter (save-excursion
- (goto-char (point-min))
- (if (looking-at re)
- (match-string 2)
- "")))
- elt)
- ;; Map interpreter name to a mode.
- (setq elt (assoc (file-name-nondirectory interpreter)
- py-shell-alist))
- (and elt (caddr elt))))
-
-
-
-(defun py-choose-shell-by-import ()
- "Choose CPython or Jython mode based imports.
-If a file imports any packages in `py-jython-packages', within
-`py-import-check-point-max' characters from the start of the file,
-return `jython', otherwise return nil."
- (let (mode)
- (save-excursion
- (goto-char (point-min))
- (while (and (not mode)
- (search-forward-regexp
- "^\\(\\(from\\)\\|\\(import\\)\\) \\([^ \t\n.]+\\)"
- py-import-check-point-max t))
- (setq mode (and (member (match-string 4) py-jython-packages)
- 'jython
- ))))
- mode))
-
-
-(defun py-choose-shell ()
- "Choose CPython or Jython mode. Returns the appropriate mode function.
-This does the following:
- - look for an interpreter with `py-choose-shell-by-shebang'
- - examine imports using `py-choose-shell-by-import'
- - default to the variable `py-default-interpreter'"
- (interactive)
- (or (py-choose-shell-by-shebang)
- (py-choose-shell-by-import)
- py-default-interpreter
-; 'cpython ;; don't use to py-default-interpreter, because default
-; ;; is only way to choose CPython
- ))
-
-
-;;;###autoload
-(defun python-mode ()
- "Major mode for editing Python files.
-To submit a problem report, enter `\\[py-submit-bug-report]' from a
-`python-mode' buffer. Do `\\[py-describe-mode]' for detailed
-documentation. To see what version of `python-mode' you are running,
-enter `\\[py-version]'.
-
-This mode knows about Python indentation, tokens, comments and
-continuation lines. Paragraphs are separated by blank lines only.
-
-COMMANDS
-\\{py-mode-map}
-VARIABLES
-
-py-indent-offset\t\tindentation increment
-py-block-comment-prefix\t\tcomment string used by `comment-region'
-py-python-command\t\tshell command to invoke Python interpreter
-py-temp-directory\t\tdirectory used for temp files (if needed)
-py-beep-if-tab-change\t\tring the bell if `tab-width' is changed"
- (interactive)
- ;; set up local variables
- (kill-all-local-variables)
- (make-local-variable 'font-lock-defaults)
- (make-local-variable 'paragraph-separate)
- (make-local-variable 'paragraph-start)
- (make-local-variable 'require-final-newline)
- (make-local-variable 'comment-start)
- (make-local-variable 'comment-end)
- (make-local-variable 'comment-start-skip)
- (make-local-variable 'comment-column)
- (make-local-variable 'comment-indent-function)
- (make-local-variable 'indent-region-function)
- (make-local-variable 'indent-line-function)
- (make-local-variable 'add-log-current-defun-function)
- (make-local-variable 'fill-paragraph-function)
- ;;
- (set-syntax-table py-mode-syntax-table)
- (setq major-mode 'python-mode
- mode-name "Python"
- local-abbrev-table python-mode-abbrev-table
- font-lock-defaults '(python-font-lock-keywords)
- paragraph-separate "^[ \t]*$"
- paragraph-start "^[ \t]*$"
- require-final-newline t
- comment-start "# "
- comment-end ""
- comment-start-skip "# *"
- comment-column 40
- comment-indent-function 'py-comment-indent-function
- indent-region-function 'py-indent-region
- indent-line-function 'py-indent-line
- ;; tell add-log.el how to find the current function/method/variable
- add-log-current-defun-function 'py-current-defun
-
- fill-paragraph-function 'py-fill-paragraph
- )
- (use-local-map py-mode-map)
- ;; add the menu
- (if py-menu
- (easy-menu-add py-menu))
- ;; Emacs 19 requires this
- (if (boundp 'comment-multi-line)
- (setq comment-multi-line nil))
- ;; Install Imenu if available
- (when (py-safe (require 'imenu))
- (setq imenu-create-index-function #'py-imenu-create-index-function)
- (setq imenu-generic-expression py-imenu-generic-expression)
- (if (fboundp 'imenu-add-to-menubar)
- (imenu-add-to-menubar (format "%s-%s" "IM" mode-name)))
- )
- ;; Run the mode hook. Note that py-mode-hook is deprecated.
- (if python-mode-hook
- (run-hooks 'python-mode-hook)
- (run-hooks 'py-mode-hook))
- ;; Now do the automagical guessing
- (if py-smart-indentation
- (let ((offset py-indent-offset))
- ;; It's okay if this fails to guess a good value
- (if (and (py-safe (py-guess-indent-offset))
- (<= py-indent-offset 8)
- (>= py-indent-offset 2))
- (setq offset py-indent-offset))
- (setq py-indent-offset offset)
- ;; Only turn indent-tabs-mode off if tab-width !=
- ;; py-indent-offset. Never turn it on, because the user must
- ;; have explicitly turned it off.
- (if (/= tab-width py-indent-offset)
- (setq indent-tabs-mode nil))
- ))
- ;; Set the default shell if not already set
- (when (null py-which-shell)
- (py-toggle-shells (py-choose-shell))))
-
-
-(make-obsolete 'jpython-mode 'jython-mode)
-(defun jython-mode ()
- "Major mode for editing Jython/Jython files.
-This is a simple wrapper around `python-mode'.
-It runs `jython-mode-hook' then calls `python-mode.'
-It is added to `interpreter-mode-alist' and `py-choose-shell'.
-"
- (interactive)
- (python-mode)
- (py-toggle-shells 'jython)
- (when jython-mode-hook
- (run-hooks 'jython-mode-hook)))
-
-
-;; It's handy to add recognition of Python files to the
-;; interpreter-mode-alist and to auto-mode-alist. With the former, we
-;; can specify different `derived-modes' based on the #! line, but
-;; with the latter, we can't. So we just won't add them if they're
-;; already added.
-;;;###autoload
-(let ((modes '(("jython" . jython-mode)
- ("python" . python-mode))))
- (while modes
- (when (not (assoc (car modes) interpreter-mode-alist))
- (push (car modes) interpreter-mode-alist))
- (setq modes (cdr modes))))
-;;;###autoload
-(when (not (or (rassq 'python-mode auto-mode-alist)
- (rassq 'jython-mode auto-mode-alist)))
- (push '("\\.py$" . python-mode) auto-mode-alist))
-
-
-
-;; electric characters
-(defun py-outdent-p ()
- "Returns non-nil if the current line should dedent one level."
- (save-excursion
- (and (progn (back-to-indentation)
- (looking-at py-outdent-re))
- ;; short circuit infloop on illegal construct
- (not (bobp))
- (progn (forward-line -1)
- (py-goto-initial-line)
- (back-to-indentation)
- (while (or (looking-at py-blank-or-comment-re)
- (bobp))
- (backward-to-indentation 1))
- (not (looking-at py-no-outdent-re)))
- )))
-
-(defun py-electric-colon (arg)
- "Insert a colon.
-In certain cases the line is dedented appropriately. If a numeric
-argument ARG is provided, that many colons are inserted
-non-electrically. Electric behavior is inhibited inside a string or
-comment."
- (interactive "*P")
- (self-insert-command (prefix-numeric-value arg))
- ;; are we in a string or comment?
- (if (save-excursion
- (let ((pps (parse-partial-sexp (save-excursion
- (py-beginning-of-def-or-class)
- (point))
- (point))))
- (not (or (nth 3 pps) (nth 4 pps)))))
- (save-excursion
- (let ((here (point))
- (outdent 0)
- (indent (py-compute-indentation t)))
- (if (and (not arg)
- (py-outdent-p)
- (= indent (save-excursion
- (py-next-statement -1)
- (py-compute-indentation t)))
- )
- (setq outdent py-indent-offset))
- ;; Don't indent, only dedent. This assumes that any lines
- ;; that are already dedented relative to
- ;; py-compute-indentation were put there on purpose. It's
- ;; highly annoying to have `:' indent for you. Use TAB, C-c
- ;; C-l or C-c C-r to adjust. TBD: Is there a better way to
- ;; determine this???
- (if (< (current-indentation) indent) nil
- (goto-char here)
- (beginning-of-line)
- (delete-horizontal-space)
- (indent-to (- indent outdent))
- )))))
-
-
-;; Python subprocess utilities and filters
-(defun py-execute-file (proc filename)
- "Send to Python interpreter process PROC \"execfile('FILENAME')\".
-Make that process's buffer visible and force display. Also make
-comint believe the user typed this string so that
-`kill-output-from-shell' does The Right Thing."
- (let ((curbuf (current-buffer))
- (procbuf (process-buffer proc))
-; (comint-scroll-to-bottom-on-output t)
- (msg (format "## working on region in file %s...\n" filename))
- ;; add some comment, so that we can filter it out of history
- (cmd (format "execfile(r'%s') # PYTHON-MODE\n" filename)))
- (unwind-protect
- (save-excursion
- (set-buffer procbuf)
- (goto-char (point-max))
- (move-marker (process-mark proc) (point))
- (funcall (process-filter proc) proc msg))
- (set-buffer curbuf))
- (process-send-string proc cmd)))
-
-(defun py-comint-output-filter-function (string)
- "Watch output for Python prompt and exec next file waiting in queue.
-This function is appropriate for `comint-output-filter-functions'."
- ;;remove ansi terminal escape sequences from string, not sure why they are
- ;;still around...
- (setq string (ansi-color-filter-apply string))
- (when (and (string-match py-shell-input-prompt-1-regexp string)
- py-file-queue)
- (if py-shell-switch-buffers-on-execute
- (pop-to-buffer (current-buffer)))
- (py-safe (delete-file (car py-file-queue)))
- (setq py-file-queue (cdr py-file-queue))
- (if py-file-queue
- (let ((pyproc (get-buffer-process (current-buffer))))
- (py-execute-file pyproc (car py-file-queue))))
- ))
-
-(defun py-pdbtrack-overlay-arrow (activation)
- "Activate or de arrow at beginning-of-line in current buffer."
- ;; This was derived/simplified from edebug-overlay-arrow
- (cond (activation
- (setq overlay-arrow-position (make-marker))
- (setq overlay-arrow-string "=>")
- (set-marker overlay-arrow-position (py-point 'bol) (current-buffer))
- (setq py-pdbtrack-is-tracking-p t))
- (overlay-arrow-position
- (setq overlay-arrow-position nil)
- (setq py-pdbtrack-is-tracking-p nil))
- ))
-
-(defun py-pdbtrack-track-stack-file (text)
- "Show the file indicated by the pdb stack entry line, in a separate window.
-
-Activity is disabled if the buffer-local variable
-`py-pdbtrack-do-tracking-p' is nil.
-
-We depend on the pdb input prompt matching `py-pdbtrack-input-prompt'
-at the beginning of the line.
-
-If the traceback target file path is invalid, we look for the most
-recently visited python-mode buffer which either has the name of the
-current function \(or class) or which defines the function \(or
-class). This is to provide for remote scripts, eg, Zope's 'Script
-(Python)' - put a _copy_ of the script in a buffer named for the
-script, and set to python-mode, and pdbtrack will find it.)"
- ;; Instead of trying to piece things together from partial text
- ;; (which can be almost useless depending on Emacs version), we
- ;; monitor to the point where we have the next pdb prompt, and then
- ;; check all text from comint-last-input-end to process-mark.
- ;;
- ;; Also, we're very conservative about clearing the overlay arrow,
- ;; to minimize residue. This means, for instance, that executing
- ;; other pdb commands wipe out the highlight. You can always do a
- ;; 'where' (aka 'w') command to reveal the overlay arrow.
- (let* ((origbuf (current-buffer))
- (currproc (get-buffer-process origbuf)))
-
- (if (not (and currproc py-pdbtrack-do-tracking-p))
- (py-pdbtrack-overlay-arrow nil)
-
- (let* ((procmark (process-mark currproc))
- (block (buffer-substring (max comint-last-input-end
- (- procmark
- py-pdbtrack-track-range))
- procmark))
- target target_fname target_lineno target_buffer)
-
- (if (not (string-match (concat py-pdbtrack-input-prompt "$") block))
- (py-pdbtrack-overlay-arrow nil)
-
- (setq target (py-pdbtrack-get-source-buffer block))
-
- (if (stringp target)
- (message "pdbtrack: %s" target)
-
- (setq target_lineno (car target))
- (setq target_buffer (cadr target))
- (setq target_fname (buffer-file-name target_buffer))
- (switch-to-buffer-other-window target_buffer)
- (goto-line target_lineno)
- (message "pdbtrack: line %s, file %s" target_lineno target_fname)
- (py-pdbtrack-overlay-arrow t)
- (pop-to-buffer origbuf t)
-
- )))))
- )
-
-(defun py-pdbtrack-get-source-buffer (block)
- "Return line number and buffer of code indicated by block's traceback text.
-
-We look first to visit the file indicated in the trace.
-
-Failing that, we look for the most recently visited python-mode buffer
-with the same name or having the named function.
-
-If we're unable find the source code we return a string describing the
-problem as best as we can determine."
-
- (if (not (string-match py-pdbtrack-stack-entry-regexp block))
-
- "Traceback cue not found"
-
- (let* ((filename (match-string 1 block))
- (lineno (string-to-int (match-string 2 block)))
- (funcname (match-string 3 block))
- funcbuffer)
-
- (cond ((file-exists-p filename)
- (list lineno (find-file-noselect filename)))
-
- ((setq funcbuffer (py-pdbtrack-grub-for-buffer funcname lineno))
- (if (string-match "/Script (Python)$" filename)
- ;; Add in number of lines for leading '##' comments:
- (setq lineno
- (+ lineno
- (save-excursion
- (set-buffer funcbuffer)
- (count-lines
- (point-min)
- (max (point-min)
- (string-match "^\\([^#]\\|#[^#]\\|#$\\)"
- (buffer-substring (point-min)
- (point-max)))
- ))))))
- (list lineno funcbuffer))
-
- ((= (elt filename 0) ?\<)
- (format "(Non-file source: '%s')" filename))
-
- (t (format "Not found: %s(), %s" funcname filename)))
- )
- )
- )
-
-(defun py-pdbtrack-grub-for-buffer (funcname lineno)
- "Find most recent buffer itself named or having function funcname.
-
-We walk the buffer-list history for python-mode buffers that are
-named for funcname or define a function funcname."
- (let ((buffers (buffer-list))
- buf
- got)
- (while (and buffers (not got))
- (setq buf (car buffers)
- buffers (cdr buffers))
- (if (and (save-excursion (set-buffer buf)
- (string= major-mode "python-mode"))
- (or (string-match funcname (buffer-name buf))
- (string-match (concat "^\\s-*\\(def\\|class\\)\\s-+"
- funcname "\\s-*(")
- (save-excursion
- (set-buffer buf)
- (buffer-substring (point-min)
- (point-max))))))
- (setq got buf)))
- got))
-
-(defun py-postprocess-output-buffer (buf)
- "Highlight exceptions found in BUF.
-If an exception occurred return t, otherwise return nil. BUF must exist."
- (let (line file bol err-p)
- (save-excursion
- (set-buffer buf)
- (beginning-of-buffer)
- (while (re-search-forward py-traceback-line-re nil t)
- (setq file (match-string 1)
- line (string-to-int (match-string 2))
- bol (py-point 'bol))
- (py-highlight-line bol (py-point 'eol) file line)))
- (when (and py-jump-on-exception line)
- (beep)
- (py-jump-to-exception file line)
- (setq err-p t))
- err-p))
-
-
-
-;;; Subprocess commands
-
-;; only used when (memq 'broken-temp-names py-emacs-features)
-(defvar py-serial-number 0)
-(defvar py-exception-buffer nil)
-(defconst py-output-buffer "*Python Output*")
-(make-variable-buffer-local 'py-output-buffer)
-
-;; for toggling between CPython and Jython
-(defvar py-which-shell nil)
-(defvar py-which-args py-python-command-args)
-(defvar py-which-bufname "Python")
-(make-variable-buffer-local 'py-which-shell)
-(make-variable-buffer-local 'py-which-args)
-(make-variable-buffer-local 'py-which-bufname)
-
-(defun py-toggle-shells (arg)
- "Toggles between the CPython and Jython shells.
-
-With positive argument ARG (interactively \\[universal-argument]),
-uses the CPython shell, with negative ARG uses the Jython shell, and
-with a zero argument, toggles the shell.
-
-Programmatically, ARG can also be one of the symbols `cpython' or
-`jython', equivalent to positive arg and negative arg respectively."
- (interactive "P")
- ;; default is to toggle
- (if (null arg)
- (setq arg 0))
- ;; preprocess arg
- (cond
- ((equal arg 0)
- ;; toggle
- (if (string-equal py-which-bufname "Python")
- (setq arg -1)
- (setq arg 1)))
- ((equal arg 'cpython) (setq arg 1))
- ((equal arg 'jython) (setq arg -1)))
- (let (msg)
- (cond
- ((< 0 arg)
- ;; set to CPython
- (setq py-which-shell py-python-command
- py-which-args py-python-command-args
- py-which-bufname "Python"
- msg "CPython")
- (if (string-equal py-which-bufname "Jython")
- (setq mode-name "Python")))
- ((> 0 arg)
- (setq py-which-shell py-jython-command
- py-which-args py-jython-command-args
- py-which-bufname "Jython"
- msg "Jython")
- (if (string-equal py-which-bufname "Python")
- (setq mode-name "Jython")))
- )
- (message "Using the %s shell" msg)
- (setq py-output-buffer (format "*%s Output*" py-which-bufname))))
-
-;;;###autoload
-(defun py-shell (&optional argprompt)
- "Start an interactive Python interpreter in another window.
-This is like Shell mode, except that Python is running in the window
-instead of a shell. See the `Interactive Shell' and `Shell Mode'
-sections of the Emacs manual for details, especially for the key
-bindings active in the `*Python*' buffer.
-
-With optional \\[universal-argument], the user is prompted for the
-flags to pass to the Python interpreter. This has no effect when this
-command is used to switch to an existing process, only when a new
-process is started. If you use this, you will probably want to ensure
-that the current arguments are retained (they will be included in the
-prompt). This argument is ignored when this function is called
-programmatically, or when running in Emacs 19.34 or older.
-
-Note: You can toggle between using the CPython interpreter and the
-Jython interpreter by hitting \\[py-toggle-shells]. This toggles
-buffer local variables which control whether all your subshell
-interactions happen to the `*Jython*' or `*Python*' buffers (the
-latter is the name used for the CPython buffer).
-
-Warning: Don't use an interactive Python if you change sys.ps1 or
-sys.ps2 from their default values, or if you're running code that
-prints `>>> ' or `... ' at the start of a line. `python-mode' can't
-distinguish your output from Python's output, and assumes that `>>> '
-at the start of a line is a prompt from Python. Similarly, the Emacs
-Shell mode code assumes that both `>>> ' and `... ' at the start of a
-line are Python prompts. Bad things can happen if you fool either
-mode.
-
-Warning: If you do any editing *in* the process buffer *while* the
-buffer is accepting output from Python, do NOT attempt to `undo' the
-changes. Some of the output (nowhere near the parts you changed!) may
-be lost if you do. This appears to be an Emacs bug, an unfortunate
-interaction between undo and process filters; the same problem exists in
-non-Python process buffers using the default (Emacs-supplied) process
-filter."
- (interactive "P")
- ;; Set the default shell if not already set
- (when (null py-which-shell)
- (py-toggle-shells py-default-interpreter))
- (let ((args py-which-args))
- (when (and argprompt
- (interactive-p)
- (fboundp 'split-string))
- ;; TBD: Perhaps force "-i" in the final list?
- (setq args (split-string
- (read-string (concat py-which-bufname
- " arguments: ")
- (concat
- (mapconcat 'identity py-which-args " ") " ")
- ))))
- (if (not (equal (buffer-name) "*Python*"))
- (switch-to-buffer-other-window
- (apply 'make-comint py-which-bufname py-which-shell nil args))
- (apply 'make-comint py-which-bufname py-which-shell nil args))
- (make-local-variable 'comint-prompt-regexp)
- (setq comint-prompt-regexp (concat py-shell-input-prompt-1-regexp "\\|"
- py-shell-input-prompt-2-regexp "\\|"
- "^([Pp]db) "))
- (add-hook 'comint-output-filter-functions
- 'py-comint-output-filter-function)
- ;; pdbtrack
- (add-hook 'comint-output-filter-functions 'py-pdbtrack-track-stack-file)
- (setq py-pdbtrack-do-tracking-p t)
- (set-syntax-table py-mode-syntax-table)
- (use-local-map py-shell-map)
- (run-hooks 'py-shell-hook)
- ))
-
-(defun py-clear-queue ()
- "Clear the queue of temporary files waiting to execute."
- (interactive)
- (let ((n (length py-file-queue)))
- (mapcar 'delete-file py-file-queue)
- (setq py-file-queue nil)
- (message "%d pending files de-queued." n)))
-
-
-(defun py-execute-region (start end &optional async)
- "Execute the region in a Python interpreter.
-
-The region is first copied into a temporary file (in the directory
-`py-temp-directory'). If there is no Python interpreter shell
-running, this file is executed synchronously using
-`shell-command-on-region'. If the program is long running, use
-\\[universal-argument] to run the command asynchronously in its own
-buffer.
-
-When this function is used programmatically, arguments START and END
-specify the region to execute, and optional third argument ASYNC, if
-non-nil, specifies to run the command asynchronously in its own
-buffer.
-
-If the Python interpreter shell is running, the region is execfile()'d
-in that shell. If you try to execute regions too quickly,
-`python-mode' will queue them up and execute them one at a time when
-it sees a `>>> ' prompt from Python. Each time this happens, the
-process buffer is popped into a window (if it's not already in some
-window) so you can see it, and a comment of the form
-
- \t## working on region in file <name>...
-
-is inserted at the end. See also the command `py-clear-queue'."
- (interactive "r\nP")
- ;; Skip ahead to the first non-blank line
- (let* ((proc (get-process py-which-bufname))
- (temp (if (memq 'broken-temp-names py-emacs-features)
- (let
- ((sn py-serial-number)
- (pid (and (fboundp 'emacs-pid) (emacs-pid))))
- (setq py-serial-number (1+ py-serial-number))
- (if pid
- (format "python-%d-%d" sn pid)
- (format "python-%d" sn)))
- (make-temp-name "python-")))
- (file (concat (expand-file-name temp py-temp-directory) ".py"))
- (cur (current-buffer))
- (buf (get-buffer-create file))
- shell)
- ;; Write the contents of the buffer, watching out for indented regions.
- (save-excursion
- (goto-char start)
- (beginning-of-line)
- (while (and (looking-at "\\s *$")
- (< (point) end))
- (forward-line 1))
- (setq start (point))
- (or (< start end)
- (error "Region is empty"))
- (setq py-line-number-offset (count-lines 1 start))
- (let ((needs-if (/= (py-point 'bol) (py-point 'boi))))
- (set-buffer buf)
- (python-mode)
- (when needs-if
- (insert "if 1:\n")
- (setq py-line-number-offset (- py-line-number-offset 1)))
- (insert-buffer-substring cur start end)
- ;; Set the shell either to the #! line command, or to the
- ;; py-which-shell buffer local variable.
- (setq shell (or (py-choose-shell-by-shebang)
- (py-choose-shell-by-import)
- py-which-shell))))
- (cond
- ;; always run the code in its own asynchronous subprocess
- (async
- ;; User explicitly wants this to run in its own async subprocess
- (save-excursion
- (set-buffer buf)
- (write-region (point-min) (point-max) file nil 'nomsg))
- (let* ((buf (generate-new-buffer-name py-output-buffer))
- ;; TBD: a horrible hack, but why create new Custom variables?
- (arg (if (string-equal py-which-bufname "Python")
- "-u" "")))
- (start-process py-which-bufname buf shell arg file)
- (pop-to-buffer buf)
- (py-postprocess-output-buffer buf)
- ;; TBD: clean up the temporary file!
- ))
- ;; if the Python interpreter shell is running, queue it up for
- ;; execution there.
- (proc
- ;; use the existing python shell
- (save-excursion
- (set-buffer buf)
- (write-region (point-min) (point-max) file nil 'nomsg))
- (if (not py-file-queue)
- (py-execute-file proc file)
- (message "File %s queued for execution" file))
- (setq py-file-queue (append py-file-queue (list file)))
- (setq py-exception-buffer (cons file (current-buffer))))
- (t
- ;; TBD: a horrible hack, but why create new Custom variables?
- (let ((cmd (concat py-which-shell (if (string-equal py-which-bufname
- "Jython")
- " -" ""))))
- ;; otherwise either run it synchronously in a subprocess
- (save-excursion
- (set-buffer buf)
- (shell-command-on-region (point-min) (point-max)
- cmd py-output-buffer))
- ;; shell-command-on-region kills the output buffer if it never
- ;; existed and there's no output from the command
- (if (not (get-buffer py-output-buffer))
- (message "No output.")
- (setq py-exception-buffer (current-buffer))
- (let ((err-p (py-postprocess-output-buffer py-output-buffer)))
- (pop-to-buffer py-output-buffer)
- (if err-p
- (pop-to-buffer py-exception-buffer)))
- ))
- ))
- ;; Clean up after ourselves.
- (kill-buffer buf)))
-
-
-;; Code execution commands
-(defun py-execute-buffer (&optional async)
- "Send the contents of the buffer to a Python interpreter.
-If the file local variable `py-master-file' is non-nil, execute the
-named file instead of the buffer's file.
-
-If there is a *Python* process buffer it is used. If a clipping
-restriction is in effect, only the accessible portion of the buffer is
-sent. A trailing newline will be supplied if needed.
-
-See the `\\[py-execute-region]' docs for an account of some
-subtleties, including the use of the optional ASYNC argument."
- (interactive "P")
- (let ((old-buffer (current-buffer)))
- (if py-master-file
- (let* ((filename (expand-file-name py-master-file))
- (buffer (or (get-file-buffer filename)
- (find-file-noselect filename))))
- (set-buffer buffer)))
- (py-execute-region (point-min) (point-max) async)
- (pop-to-buffer old-buffer)))
-
-(defun py-execute-import-or-reload (&optional async)
- "Import the current buffer's file in a Python interpreter.
-
-If the file has already been imported, then do reload instead to get
-the latest version.
-
-If the file's name does not end in \".py\", then do execfile instead.
-
-If the current buffer is not visiting a file, do `py-execute-buffer'
-instead.
-
-If the file local variable `py-master-file' is non-nil, import or
-reload the named file instead of the buffer's file. The file may be
-saved based on the value of `py-execute-import-or-reload-save-p'.
-
-See the `\\[py-execute-region]' docs for an account of some
-subtleties, including the use of the optional ASYNC argument.
-
-This may be preferable to `\\[py-execute-buffer]' because:
-
- - Definitions stay in their module rather than appearing at top
- level, where they would clutter the global namespace and not affect
- uses of qualified names (MODULE.NAME).
-
- - The Python debugger gets line number information about the functions."
- (interactive "P")
- ;; Check file local variable py-master-file
- (if py-master-file
- (let* ((filename (expand-file-name py-master-file))
- (buffer (or (get-file-buffer filename)
- (find-file-noselect filename))))
- (set-buffer buffer)))
- (let ((file (buffer-file-name (current-buffer))))
- (if file
- (progn
- ;; Maybe save some buffers
- (save-some-buffers (not py-ask-about-save) nil)
- (py-execute-string
- (if (string-match "\\.py$" file)
- (let ((f (file-name-sans-extension
- (file-name-nondirectory file))))
- (format "if globals().has_key('%s'):\n reload(%s)\nelse:\n import %s\n"
- f f f))
- (format "execfile(r'%s')\n" file))
- async))
- ;; else
- (py-execute-buffer async))))
-
-
-(defun py-execute-def-or-class (&optional async)
- "Send the current function or class definition to a Python interpreter.
-
-If there is a *Python* process buffer it is used.
-
-See the `\\[py-execute-region]' docs for an account of some
-subtleties, including the use of the optional ASYNC argument."
- (interactive "P")
- (save-excursion
- (py-mark-def-or-class)
- ;; mark is before point
- (py-execute-region (mark) (point) async)))
-
-
-(defun py-execute-string (string &optional async)
- "Send the argument STRING to a Python interpreter.
-
-If there is a *Python* process buffer it is used.
-
-See the `\\[py-execute-region]' docs for an account of some
-subtleties, including the use of the optional ASYNC argument."
- (interactive "sExecute Python command: ")
- (save-excursion
- (set-buffer (get-buffer-create
- (generate-new-buffer-name " *Python Command*")))
- (insert string)
- (py-execute-region (point-min) (point-max) async)))
-
-
-
-(defun py-jump-to-exception (file line)
- "Jump to the Python code in FILE at LINE."
- (let ((buffer (cond ((string-equal file "<stdin>")
- (if (consp py-exception-buffer)
- (cdr py-exception-buffer)
- py-exception-buffer))
- ((and (consp py-exception-buffer)
- (string-equal file (car py-exception-buffer)))
- (cdr py-exception-buffer))
- ((py-safe (find-file-noselect file)))
- ;; could not figure out what file the exception
- ;; is pointing to, so prompt for it
- (t (find-file (read-file-name "Exception file: "
- nil
- file t))))))
- ;; Fiddle about with line number
- (setq line (+ py-line-number-offset line))
-
- (pop-to-buffer buffer)
- ;; Force Python mode
- (if (not (eq major-mode 'python-mode))
- (python-mode))
- (goto-line line)
- (message "Jumping to exception in file %s on line %d" file line)))
-
-(defun py-mouseto-exception (event)
- "Jump to the code which caused the Python exception at EVENT.
-EVENT is usually a mouse click."
- (interactive "e")
- (cond
- ((fboundp 'event-point)
- ;; XEmacs
- (let* ((point (event-point event))
- (buffer (event-buffer event))
- (e (and point buffer (extent-at point buffer 'py-exc-info)))
- (info (and e (extent-property e 'py-exc-info))))
- (message "Event point: %d, info: %s" point info)
- (and info
- (py-jump-to-exception (car info) (cdr info)))
- ))
- ;; Emacs -- Please port this!
- ))
-
-(defun py-goto-exception ()
- "Go to the line indicated by the traceback."
- (interactive)
- (let (file line)
- (save-excursion
- (beginning-of-line)
- (if (looking-at py-traceback-line-re)
- (setq file (match-string 1)
- line (string-to-int (match-string 2)))))
- (if (not file)
- (error "Not on a traceback line"))
- (py-jump-to-exception file line)))
-
-(defun py-find-next-exception (start buffer searchdir errwhere)
- "Find the next Python exception and jump to the code that caused it.
-START is the buffer position in BUFFER from which to begin searching
-for an exception. SEARCHDIR is a function, either
-`re-search-backward' or `re-search-forward' indicating the direction
-to search. ERRWHERE is used in an error message if the limit (top or
-bottom) of the trackback stack is encountered."
- (let (file line)
- (save-excursion
- (set-buffer buffer)
- (goto-char (py-point start))
- (if (funcall searchdir py-traceback-line-re nil t)
- (setq file (match-string 1)
- line (string-to-int (match-string 2)))))
- (if (and file line)
- (py-jump-to-exception file line)
- (error "%s of traceback" errwhere))))
-
-(defun py-down-exception (&optional bottom)
- "Go to the next line down in the traceback.
-With \\[univeral-argument] (programmatically, optional argument
-BOTTOM), jump to the bottom (innermost) exception in the exception
-stack."
- (interactive "P")
- (let* ((proc (get-process "Python"))
- (buffer (if proc "*Python*" py-output-buffer)))
- (if bottom
- (py-find-next-exception 'eob buffer 're-search-backward "Bottom")
- (py-find-next-exception 'eol buffer 're-search-forward "Bottom"))))
-
-(defun py-up-exception (&optional top)
- "Go to the previous line up in the traceback.
-With \\[universal-argument] (programmatically, optional argument TOP)
-jump to the top (outermost) exception in the exception stack."
- (interactive "P")
- (let* ((proc (get-process "Python"))
- (buffer (if proc "*Python*" py-output-buffer)))
- (if top
- (py-find-next-exception 'bob buffer 're-search-forward "Top")
- (py-find-next-exception 'bol buffer 're-search-backward "Top"))))
-
-
-;; Electric deletion
-(defun py-electric-backspace (arg)
- "Delete preceding character or levels of indentation.
-Deletion is performed by calling the function in `py-backspace-function'
-with a single argument (the number of characters to delete).
-
-If point is at the leftmost column, delete the preceding newline.
-
-Otherwise, if point is at the leftmost non-whitespace character of a
-line that is neither a continuation line nor a non-indenting comment
-line, or if point is at the end of a blank line, this command reduces
-the indentation to match that of the line that opened the current
-block of code. The line that opened the block is displayed in the
-echo area to help you keep track of where you are. With
-\\[universal-argument] dedents that many blocks (but not past column
-zero).
-
-Otherwise the preceding character is deleted, converting a tab to
-spaces if needed so that only a single column position is deleted.
-\\[universal-argument] specifies how many characters to delete;
-default is 1.
-
-When used programmatically, argument ARG specifies the number of
-blocks to dedent, or the number of characters to delete, as indicated
-above."
- (interactive "*p")
- (if (or (/= (current-indentation) (current-column))
- (bolp)
- (py-continuation-line-p)
-; (not py-honor-comment-indentation)
-; (looking-at "#[^ \t\n]") ; non-indenting #
- )
- (funcall py-backspace-function arg)
- ;; else indent the same as the colon line that opened the block
- ;; force non-blank so py-goto-block-up doesn't ignore it
- (insert-char ?* 1)
- (backward-char)
- (let ((base-indent 0) ; indentation of base line
- (base-text "") ; and text of base line
- (base-found-p nil))
- (save-excursion
- (while (< 0 arg)
- (condition-case nil ; in case no enclosing block
- (progn
- (py-goto-block-up 'no-mark)
- (setq base-indent (current-indentation)
- base-text (py-suck-up-leading-text)
- base-found-p t))
- (error nil))
- (setq arg (1- arg))))
- (delete-char 1) ; toss the dummy character
- (delete-horizontal-space)
- (indent-to base-indent)
- (if base-found-p
- (message "Closes block: %s" base-text)))))
-
-
-(defun py-electric-delete (arg)
- "Delete preceding or following character or levels of whitespace.
-
-The behavior of this function depends on the variable
-`delete-key-deletes-forward'. If this variable is nil (or does not
-exist, as in older Emacsen and non-XEmacs versions), then this
-function behaves identically to \\[c-electric-backspace].
-
-If `delete-key-deletes-forward' is non-nil and is supported in your
-Emacs, then deletion occurs in the forward direction, by calling the
-function in `py-delete-function'.
-
-\\[universal-argument] (programmatically, argument ARG) specifies the
-number of characters to delete (default is 1)."
- (interactive "*p")
- (if (or (and (fboundp 'delete-forward-p) ;XEmacs 21
- (delete-forward-p))
- (and (boundp 'delete-key-deletes-forward) ;XEmacs 20
- delete-key-deletes-forward))
- (funcall py-delete-function arg)
- (py-electric-backspace arg)))
-
-;; required for pending-del and delsel modes
-(put 'py-electric-colon 'delete-selection t) ;delsel
-(put 'py-electric-colon 'pending-delete t) ;pending-del
-(put 'py-electric-backspace 'delete-selection 'supersede) ;delsel
-(put 'py-electric-backspace 'pending-delete 'supersede) ;pending-del
-(put 'py-electric-delete 'delete-selection 'supersede) ;delsel
-(put 'py-electric-delete 'pending-delete 'supersede) ;pending-del
-
-
-
-(defun py-indent-line (&optional arg)
- "Fix the indentation of the current line according to Python rules.
-With \\[universal-argument] (programmatically, the optional argument
-ARG non-nil), ignore dedenting rules for block closing statements
-(e.g. return, raise, break, continue, pass)
-
-This function is normally bound to `indent-line-function' so
-\\[indent-for-tab-command] will call it."
- (interactive "P")
- (let* ((ci (current-indentation))
- (move-to-indentation-p (<= (current-column) ci))
- (need (py-compute-indentation (not arg)))
- (cc (current-column)))
- ;; dedent out a level if previous command was the same unless we're in
- ;; column 1
- (if (and (equal last-command this-command)
- (/= cc 0))
- (progn
- (beginning-of-line)
- (delete-horizontal-space)
- (indent-to (* (/ (- cc 1) py-indent-offset) py-indent-offset)))
- (progn
- ;; see if we need to dedent
- (if (py-outdent-p)
- (setq need (- need py-indent-offset)))
- (if (or py-tab-always-indent
- move-to-indentation-p)
- (progn (if (/= ci need)
- (save-excursion
- (beginning-of-line)
- (delete-horizontal-space)
- (indent-to need)))
- (if move-to-indentation-p (back-to-indentation)))
- (insert-tab))))))
-
-(defun py-newline-and-indent ()
- "Strives to act like the Emacs `newline-and-indent'.
-This is just `strives to' because correct indentation can't be computed
-from scratch for Python code. In general, deletes the whitespace before
-point, inserts a newline, and takes an educated guess as to how you want
-the new line indented."
- (interactive)
- (let ((ci (current-indentation)))
- (if (< ci (current-column)) ; if point beyond indentation
- (newline-and-indent)
- ;; else try to act like newline-and-indent "normally" acts
- (beginning-of-line)
- (insert-char ?\n 1)
- (move-to-column ci))))
-
-(defun py-compute-indentation (honor-block-close-p)
- "Compute Python indentation.
-When HONOR-BLOCK-CLOSE-P is non-nil, statements such as `return',
-`raise', `break', `continue', and `pass' force one level of
-dedenting."
- (save-excursion
- (beginning-of-line)
- (let* ((bod (py-point 'bod))
- (pps (parse-partial-sexp bod (point)))
- (boipps (parse-partial-sexp bod (py-point 'boi)))
- placeholder)
- (cond
- ;; are we inside a multi-line string or comment?
- ((or (and (nth 3 pps) (nth 3 boipps))
- (and (nth 4 pps) (nth 4 boipps)))
- (save-excursion
- (if (not py-align-multiline-strings-p) 0
- ;; skip back over blank & non-indenting comment lines
- ;; note: will skip a blank or non-indenting comment line
- ;; that happens to be a continuation line too
- (re-search-backward "^[ \t]*\\([^ \t\n#]\\|#[ \t\n]\\)" nil 'move)
- (back-to-indentation)
- (current-column))))
- ;; are we on a continuation line?
- ((py-continuation-line-p)
- (let ((startpos (point))
- (open-bracket-pos (py-nesting-level))
- endpos searching found state)
- (if open-bracket-pos
- (progn
- ;; align with first item in list; else a normal
- ;; indent beyond the line with the open bracket
- (goto-char (1+ open-bracket-pos)) ; just beyond bracket
- ;; is the first list item on the same line?
- (skip-chars-forward " \t")
- (if (null (memq (following-char) '(?\n ?# ?\\)))
- ; yes, so line up with it
- (current-column)
- ;; first list item on another line, or doesn't exist yet
- (forward-line 1)
- (while (and (< (point) startpos)
- (looking-at "[ \t]*[#\n\\\\]")) ; skip noise
- (forward-line 1))
- (if (and (< (point) startpos)
- (/= startpos
- (save-excursion
- (goto-char (1+ open-bracket-pos))
- (forward-comment (point-max))
- (point))))
- ;; again mimic the first list item
- (current-indentation)
- ;; else they're about to enter the first item
- (goto-char open-bracket-pos)
- (setq placeholder (point))
- (py-goto-initial-line)
- (py-goto-beginning-of-tqs
- (save-excursion (nth 3 (parse-partial-sexp
- placeholder (point)))))
- (+ (current-indentation) py-indent-offset))))
-
- ;; else on backslash continuation line
- (forward-line -1)
- (if (py-continuation-line-p) ; on at least 3rd line in block
- (current-indentation) ; so just continue the pattern
- ;; else started on 2nd line in block, so indent more.
- ;; if base line is an assignment with a start on a RHS,
- ;; indent to 2 beyond the leftmost "="; else skip first
- ;; chunk of non-whitespace characters on base line, + 1 more
- ;; column
- (end-of-line)
- (setq endpos (point)
- searching t)
- (back-to-indentation)
- (setq startpos (point))
- ;; look at all "=" from left to right, stopping at first
- ;; one not nested in a list or string
- (while searching
- (skip-chars-forward "^=" endpos)
- (if (= (point) endpos)
- (setq searching nil)
- (forward-char 1)
- (setq state (parse-partial-sexp startpos (point)))
- (if (and (zerop (car state)) ; not in a bracket
- (null (nth 3 state))) ; & not in a string
- (progn
- (setq searching nil) ; done searching in any case
- (setq found
- (not (or
- (eq (following-char) ?=)
- (memq (char-after (- (point) 2))
- '(?< ?> ?!)))))))))
- (if (or (not found) ; not an assignment
- (looking-at "[ \t]*\\\\")) ; <=><spaces><backslash>
- (progn
- (goto-char startpos)
- (skip-chars-forward "^ \t\n")))
- ;; if this is a continuation for a block opening
- ;; statement, add some extra offset.
- (+ (current-column) (if (py-statement-opens-block-p)
- py-continuation-offset 0)
- 1)
- ))))
-
- ;; not on a continuation line
- ((bobp) (current-indentation))
-
- ;; Dfn: "Indenting comment line". A line containing only a
- ;; comment, but which is treated like a statement for
- ;; indentation calculation purposes. Such lines are only
- ;; treated specially by the mode; they are not treated
- ;; specially by the Python interpreter.
-
- ;; The rules for indenting comment lines are a line where:
- ;; - the first non-whitespace character is `#', and
- ;; - the character following the `#' is whitespace, and
- ;; - the line is dedented with respect to (i.e. to the left
- ;; of) the indentation of the preceding non-blank line.
-
- ;; The first non-blank line following an indenting comment
- ;; line is given the same amount of indentation as the
- ;; indenting comment line.
-
- ;; All other comment-only lines are ignored for indentation
- ;; purposes.
-
- ;; Are we looking at a comment-only line which is *not* an
- ;; indenting comment line? If so, we assume that it's been
- ;; placed at the desired indentation, so leave it alone.
- ;; Indenting comment lines are aligned as statements down
- ;; below.
- ((and (looking-at "[ \t]*#[^ \t\n]")
- ;; NOTE: this test will not be performed in older Emacsen
- (fboundp 'forward-comment)
- (<= (current-indentation)
- (save-excursion
- (forward-comment (- (point-max)))
- (current-indentation))))
- (current-indentation))
-
- ;; else indentation based on that of the statement that
- ;; precedes us; use the first line of that statement to
- ;; establish the base, in case the user forced a non-std
- ;; indentation for the continuation lines (if any)
- (t
- ;; skip back over blank & non-indenting comment lines note:
- ;; will skip a blank or non-indenting comment line that
- ;; happens to be a continuation line too. use fast Emacs 19
- ;; function if it's there.
- (if (and (eq py-honor-comment-indentation nil)
- (fboundp 'forward-comment))
- (forward-comment (- (point-max)))
- (let ((prefix-re (concat py-block-comment-prefix "[ \t]*"))
- done)
- (while (not done)
- (re-search-backward "^[ \t]*\\([^ \t\n#]\\|#\\)" nil 'move)
- (setq done (or (bobp)
- (and (eq py-honor-comment-indentation t)
- (save-excursion
- (back-to-indentation)
- (not (looking-at prefix-re))
- ))
- (and (not (eq py-honor-comment-indentation t))
- (save-excursion
- (back-to-indentation)
- (and (not (looking-at prefix-re))
- (or (looking-at "[^#]")
- (not (zerop (current-column)))
- ))
- ))
- ))
- )))
- ;; if we landed inside a string, go to the beginning of that
- ;; string. this handles triple quoted, multi-line spanning
- ;; strings.
- (py-goto-beginning-of-tqs (nth 3 (parse-partial-sexp bod (point))))
- ;; now skip backward over continued lines
- (setq placeholder (point))
- (py-goto-initial-line)
- ;; we may *now* have landed in a TQS, so find the beginning of
- ;; this string.
- (py-goto-beginning-of-tqs
- (save-excursion (nth 3 (parse-partial-sexp
- placeholder (point)))))
- (+ (current-indentation)
- (if (py-statement-opens-block-p)
- py-indent-offset
- (if (and honor-block-close-p (py-statement-closes-block-p))
- (- py-indent-offset)
- 0)))
- )))))
-
-(defun py-guess-indent-offset (&optional global)
- "Guess a good value for, and change, `py-indent-offset'.
-
-By default, make a buffer-local copy of `py-indent-offset' with the
-new value, so that other Python buffers are not affected. With
-\\[universal-argument] (programmatically, optional argument GLOBAL),
-change the global value of `py-indent-offset'. This affects all
-Python buffers (that don't have their own buffer-local copy), both
-those currently existing and those created later in the Emacs session.
-
-Some people use a different value for `py-indent-offset' than you use.
-There's no excuse for such foolishness, but sometimes you have to deal
-with their ugly code anyway. This function examines the file and sets
-`py-indent-offset' to what it thinks it was when they created the
-mess.
-
-Specifically, it searches forward from the statement containing point,
-looking for a line that opens a block of code. `py-indent-offset' is
-set to the difference in indentation between that line and the Python
-statement following it. If the search doesn't succeed going forward,
-it's tried again going backward."
- (interactive "P") ; raw prefix arg
- (let (new-value
- (start (point))
- (restart (point))
- (found nil)
- colon-indent)
- (py-goto-initial-line)
- (while (not (or found (eobp)))
- (when (and (re-search-forward ":[ \t]*\\($\\|[#\\]\\)" nil 'move)
- (not (py-in-literal restart)))
- (setq restart (point))
- (py-goto-initial-line)
- (if (py-statement-opens-block-p)
- (setq found t)
- (goto-char restart))))
- (unless found
- (goto-char start)
- (py-goto-initial-line)
- (while (not (or found (bobp)))
- (setq found (and
- (re-search-backward ":[ \t]*\\($\\|[#\\]\\)" nil 'move)
- (or (py-goto-initial-line) t) ; always true -- side effect
- (py-statement-opens-block-p)))))
- (setq colon-indent (current-indentation)
- found (and found (zerop (py-next-statement 1)))
- new-value (- (current-indentation) colon-indent))
- (goto-char start)
- (if (not found)
- (error "Sorry, couldn't guess a value for py-indent-offset")
- (funcall (if global 'kill-local-variable 'make-local-variable)
- 'py-indent-offset)
- (setq py-indent-offset new-value)
- (or noninteractive
- (message "%s value of py-indent-offset set to %d"
- (if global "Global" "Local")
- py-indent-offset)))
- ))
-
-(defun py-comment-indent-function ()
- "Python version of `comment-indent-function'."
- ;; This is required when filladapt is turned off. Without it, when
- ;; filladapt is not used, comments which start in column zero
- ;; cascade one character to the right
- (save-excursion
- (beginning-of-line)
- (let ((eol (py-point 'eol)))
- (and comment-start-skip
- (re-search-forward comment-start-skip eol t)
- (setq eol (match-beginning 0)))
- (goto-char eol)
- (skip-chars-backward " \t")
- (max comment-column (+ (current-column) (if (bolp) 0 1)))
- )))
-
-(defun py-narrow-to-defun (&optional class)
- "Make text outside current defun invisible.
-The defun visible is the one that contains point or follows point.
-Optional CLASS is passed directly to `py-beginning-of-def-or-class'."
- (interactive "P")
- (save-excursion
- (widen)
- (py-end-of-def-or-class class)
- (let ((end (point)))
- (py-beginning-of-def-or-class class)
- (narrow-to-region (point) end))))
-
-
-(defun py-shift-region (start end count)
- "Indent lines from START to END by COUNT spaces."
- (save-excursion
- (goto-char end)
- (beginning-of-line)
- (setq end (point))
- (goto-char start)
- (beginning-of-line)
- (setq start (point))
- (indent-rigidly start end count)))
-
-(defun py-shift-region-left (start end &optional count)
- "Shift region of Python code to the left.
-The lines from the line containing the start of the current region up
-to (but not including) the line containing the end of the region are
-shifted to the left, by `py-indent-offset' columns.
-
-If a prefix argument is given, the region is instead shifted by that
-many columns. With no active region, dedent only the current line.
-You cannot dedent the region if any line is already at column zero."
- (interactive
- (let ((p (point))
- (m (mark))
- (arg current-prefix-arg))
- (if m
- (list (min p m) (max p m) arg)
- (list p (save-excursion (forward-line 1) (point)) arg))))
- ;; if any line is at column zero, don't shift the region
- (save-excursion
- (goto-char start)
- (while (< (point) end)
- (back-to-indentation)
- (if (and (zerop (current-column))
- (not (looking-at "\\s *$")))
- (error "Region is at left edge"))
- (forward-line 1)))
- (py-shift-region start end (- (prefix-numeric-value
- (or count py-indent-offset))))
- (py-keep-region-active))
-
-(defun py-shift-region-right (start end &optional count)
- "Shift region of Python code to the right.
-The lines from the line containing the start of the current region up
-to (but not including) the line containing the end of the region are
-shifted to the right, by `py-indent-offset' columns.
-
-If a prefix argument is given, the region is instead shifted by that
-many columns. With no active region, indent only the current line."
- (interactive
- (let ((p (point))
- (m (mark))
- (arg current-prefix-arg))
- (if m
- (list (min p m) (max p m) arg)
- (list p (save-excursion (forward-line 1) (point)) arg))))
- (py-shift-region start end (prefix-numeric-value
- (or count py-indent-offset)))
- (py-keep-region-active))
-
-(defun py-indent-region (start end &optional indent-offset)
- "Reindent a region of Python code.
-
-The lines from the line containing the start of the current region up
-to (but not including) the line containing the end of the region are
-reindented. If the first line of the region has a non-whitespace
-character in the first column, the first line is left alone and the
-rest of the region is reindented with respect to it. Else the entire
-region is reindented with respect to the (closest code or indenting
-comment) statement immediately preceding the region.
-
-This is useful when code blocks are moved or yanked, when enclosing
-control structures are introduced or removed, or to reformat code
-using a new value for the indentation offset.
-
-If a numeric prefix argument is given, it will be used as the value of
-the indentation offset. Else the value of `py-indent-offset' will be
-used.
-
-Warning: The region must be consistently indented before this function
-is called! This function does not compute proper indentation from
-scratch (that's impossible in Python), it merely adjusts the existing
-indentation to be correct in context.
-
-Warning: This function really has no idea what to do with
-non-indenting comment lines, and shifts them as if they were indenting
-comment lines. Fixing this appears to require telepathy.
-
-Special cases: whitespace is deleted from blank lines; continuation
-lines are shifted by the same amount their initial line was shifted,
-in order to preserve their relative indentation with respect to their
-initial line; and comment lines beginning in column 1 are ignored."
- (interactive "*r\nP") ; region; raw prefix arg
- (save-excursion
- (goto-char end) (beginning-of-line) (setq end (point-marker))
- (goto-char start) (beginning-of-line)
- (let ((py-indent-offset (prefix-numeric-value
- (or indent-offset py-indent-offset)))
- (indents '(-1)) ; stack of active indent levels
- (target-column 0) ; column to which to indent
- (base-shifted-by 0) ; amount last base line was shifted
- (indent-base (if (looking-at "[ \t\n]")
- (py-compute-indentation t)
- 0))
- ci)
- (while (< (point) end)
- (setq ci (current-indentation))
- ;; figure out appropriate target column
- (cond
- ((or (eq (following-char) ?#) ; comment in column 1
- (looking-at "[ \t]*$")) ; entirely blank
- (setq target-column 0))
- ((py-continuation-line-p) ; shift relative to base line
- (setq target-column (+ ci base-shifted-by)))
- (t ; new base line
- (if (> ci (car indents)) ; going deeper; push it
- (setq indents (cons ci indents))
- ;; else we should have seen this indent before
- (setq indents (memq ci indents)) ; pop deeper indents
- (if (null indents)
- (error "Bad indentation in region, at line %d"
- (save-restriction
- (widen)
- (1+ (count-lines 1 (point)))))))
- (setq target-column (+ indent-base
- (* py-indent-offset
- (- (length indents) 2))))
- (setq base-shifted-by (- target-column ci))))
- ;; shift as needed
- (if (/= ci target-column)
- (progn
- (delete-horizontal-space)
- (indent-to target-column)))
- (forward-line 1))))
- (set-marker end nil))
-
-(defun py-comment-region (beg end &optional arg)
- "Like `comment-region' but uses double hash (`#') comment starter."
- (interactive "r\nP")
- (let ((comment-start py-block-comment-prefix))
- (comment-region beg end arg)))
-
-
-;; Functions for moving point
-(defun py-previous-statement (count)
- "Go to the start of the COUNTth preceding Python statement.
-By default, goes to the previous statement. If there is no such
-statement, goes to the first statement. Return count of statements
-left to move. `Statements' do not include blank, comment, or
-continuation lines."
- (interactive "p") ; numeric prefix arg
- (if (< count 0) (py-next-statement (- count))
- (py-goto-initial-line)
- (let (start)
- (while (and
- (setq start (point)) ; always true -- side effect
- (> count 0)
- (zerop (forward-line -1))
- (py-goto-statement-at-or-above))
- (setq count (1- count)))
- (if (> count 0) (goto-char start)))
- count))
-
-(defun py-next-statement (count)
- "Go to the start of next Python statement.
-If the statement at point is the i'th Python statement, goes to the
-start of statement i+COUNT. If there is no such statement, goes to the
-last statement. Returns count of statements left to move. `Statements'
-do not include blank, comment, or continuation lines."
- (interactive "p") ; numeric prefix arg
- (if (< count 0) (py-previous-statement (- count))
- (beginning-of-line)
- (let (start)
- (while (and
- (setq start (point)) ; always true -- side effect
- (> count 0)
- (py-goto-statement-below))
- (setq count (1- count)))
- (if (> count 0) (goto-char start)))
- count))
-
-(defun py-goto-block-up (&optional nomark)
- "Move up to start of current block.
-Go to the statement that starts the smallest enclosing block; roughly
-speaking, this will be the closest preceding statement that ends with a
-colon and is indented less than the statement you started on. If
-successful, also sets the mark to the starting point.
-
-`\\[py-mark-block]' can be used afterward to mark the whole code
-block, if desired.
-
-If called from a program, the mark will not be set if optional argument
-NOMARK is not nil."
- (interactive)
- (let ((start (point))
- (found nil)
- initial-indent)
- (py-goto-initial-line)
- ;; if on blank or non-indenting comment line, use the preceding stmt
- (if (looking-at "[ \t]*\\($\\|#[^ \t\n]\\)")
- (progn
- (py-goto-statement-at-or-above)
- (setq found (py-statement-opens-block-p))))
- ;; search back for colon line indented less
- (setq initial-indent (current-indentation))
- (if (zerop initial-indent)
- ;; force fast exit
- (goto-char (point-min)))
- (while (not (or found (bobp)))
- (setq found
- (and
- (re-search-backward ":[ \t]*\\($\\|[#\\]\\)" nil 'move)
- (or (py-goto-initial-line) t) ; always true -- side effect
- (< (current-indentation) initial-indent)
- (py-statement-opens-block-p))))
- (if found
- (progn
- (or nomark (push-mark start))
- (back-to-indentation))
- (goto-char start)
- (error "Enclosing block not found"))))
-
-(defun py-beginning-of-def-or-class (&optional class count)
- "Move point to start of `def' or `class'.
-
-Searches back for the closest preceding `def'. If you supply a prefix
-arg, looks for a `class' instead. The docs below assume the `def'
-case; just substitute `class' for `def' for the other case.
-Programmatically, if CLASS is `either', then moves to either `class'
-or `def'.
-
-When second optional argument is given programmatically, move to the
-COUNTth start of `def'.
-
-If point is in a `def' statement already, and after the `d', simply
-moves point to the start of the statement.
-
-Otherwise (i.e. when point is not in a `def' statement, or at or
-before the `d' of a `def' statement), searches for the closest
-preceding `def' statement, and leaves point at its start. If no such
-statement can be found, leaves point at the start of the buffer.
-
-Returns t iff a `def' statement is found by these rules.
-
-Note that doing this command repeatedly will take you closer to the
-start of the buffer each time.
-
-To mark the current `def', see `\\[py-mark-def-or-class]'."
- (interactive "P") ; raw prefix arg
- (setq count (or count 1))
- (let ((at-or-before-p (<= (current-column) (current-indentation)))
- (start-of-line (goto-char (py-point 'bol)))
- (start-of-stmt (goto-char (py-point 'bos)))
- (start-re (cond ((eq class 'either) "^[ \t]*\\(class\\|def\\)\\>")
- (class "^[ \t]*class\\>")
- (t "^[ \t]*def\\>")))
- )
- ;; searching backward
- (if (and (< 0 count)
- (or (/= start-of-stmt start-of-line)
- (not at-or-before-p)))
- (end-of-line))
- ;; search forward
- (if (and (> 0 count)
- (zerop (current-column))
- (looking-at start-re))
- (end-of-line))
- (if (re-search-backward start-re nil 'move count)
- (goto-char (match-beginning 0)))))
-
-;; Backwards compatibility
-(defalias 'beginning-of-python-def-or-class 'py-beginning-of-def-or-class)
-
-(defun py-end-of-def-or-class (&optional class count)
- "Move point beyond end of `def' or `class' body.
-
-By default, looks for an appropriate `def'. If you supply a prefix
-arg, looks for a `class' instead. The docs below assume the `def'
-case; just substitute `class' for `def' for the other case.
-Programmatically, if CLASS is `either', then moves to either `class'
-or `def'.
-
-When second optional argument is given programmatically, move to the
-COUNTth end of `def'.
-
-If point is in a `def' statement already, this is the `def' we use.
-
-Else, if the `def' found by `\\[py-beginning-of-def-or-class]'
-contains the statement you started on, that's the `def' we use.
-
-Otherwise, we search forward for the closest following `def', and use that.
-
-If a `def' can be found by these rules, point is moved to the start of
-the line immediately following the `def' block, and the position of the
-start of the `def' is returned.
-
-Else point is moved to the end of the buffer, and nil is returned.
-
-Note that doing this command repeatedly will take you closer to the
-end of the buffer each time.
-
-To mark the current `def', see `\\[py-mark-def-or-class]'."
- (interactive "P") ; raw prefix arg
- (if (and count (/= count 1))
- (py-beginning-of-def-or-class (- 1 count)))
- (let ((start (progn (py-goto-initial-line) (point)))
- (which (cond ((eq class 'either) "\\(class\\|def\\)")
- (class "class")
- (t "def")))
- (state 'not-found))
- ;; move point to start of appropriate def/class
- (if (looking-at (concat "[ \t]*" which "\\>")) ; already on one
- (setq state 'at-beginning)
- ;; else see if py-beginning-of-def-or-class hits container
- (if (and (py-beginning-of-def-or-class class)
- (progn (py-goto-beyond-block)
- (> (point) start)))
- (setq state 'at-end)
- ;; else search forward
- (goto-char start)
- (if (re-search-forward (concat "^[ \t]*" which "\\>") nil 'move)
- (progn (setq state 'at-beginning)
- (beginning-of-line)))))
- (cond
- ((eq state 'at-beginning) (py-goto-beyond-block) t)
- ((eq state 'at-end) t)
- ((eq state 'not-found) nil)
- (t (error "Internal error in `py-end-of-def-or-class'")))))
-
-;; Backwards compabitility
-(defalias 'end-of-python-def-or-class 'py-end-of-def-or-class)
-
-
-;; Functions for marking regions
-(defun py-mark-block (&optional extend just-move)
- "Mark following block of lines. With prefix arg, mark structure.
-Easier to use than explain. It sets the region to an `interesting'
-block of succeeding lines. If point is on a blank line, it goes down to
-the next non-blank line. That will be the start of the region. The end
-of the region depends on the kind of line at the start:
-
- - If a comment, the region will include all succeeding comment lines up
- to (but not including) the next non-comment line (if any).
-
- - Else if a prefix arg is given, and the line begins one of these
- structures:
-
- if elif else try except finally for while def class
-
- the region will be set to the body of the structure, including
- following blocks that `belong' to it, but excluding trailing blank
- and comment lines. E.g., if on a `try' statement, the `try' block
- and all (if any) of the following `except' and `finally' blocks
- that belong to the `try' structure will be in the region. Ditto
- for if/elif/else, for/else and while/else structures, and (a bit
- degenerate, since they're always one-block structures) def and
- class blocks.
-
- - Else if no prefix argument is given, and the line begins a Python
- block (see list above), and the block is not a `one-liner' (i.e.,
- the statement ends with a colon, not with code), the region will
- include all succeeding lines up to (but not including) the next
- code statement (if any) that's indented no more than the starting
- line, except that trailing blank and comment lines are excluded.
- E.g., if the starting line begins a multi-statement `def'
- structure, the region will be set to the full function definition,
- but without any trailing `noise' lines.
-
- - Else the region will include all succeeding lines up to (but not
- including) the next blank line, or code or indenting-comment line
- indented strictly less than the starting line. Trailing indenting
- comment lines are included in this case, but not trailing blank
- lines.
-
-A msg identifying the location of the mark is displayed in the echo
-area; or do `\\[exchange-point-and-mark]' to flip down to the end.
-
-If called from a program, optional argument EXTEND plays the role of
-the prefix arg, and if optional argument JUST-MOVE is not nil, just
-moves to the end of the block (& does not set mark or display a msg)."
- (interactive "P") ; raw prefix arg
- (py-goto-initial-line)
- ;; skip over blank lines
- (while (and
- (looking-at "[ \t]*$") ; while blank line
- (not (eobp))) ; & somewhere to go
- (forward-line 1))
- (if (eobp)
- (error "Hit end of buffer without finding a non-blank stmt"))
- (let ((initial-pos (point))
- (initial-indent (current-indentation))
- last-pos ; position of last stmt in region
- (followers
- '((if elif else) (elif elif else) (else)
- (try except finally) (except except) (finally)
- (for else) (while else)
- (def) (class) ) )
- first-symbol next-symbol)
-
- (cond
- ;; if comment line, suck up the following comment lines
- ((looking-at "[ \t]*#")
- (re-search-forward "^[ \t]*[^ \t#]" nil 'move) ; look for non-comment
- (re-search-backward "^[ \t]*#") ; and back to last comment in block
- (setq last-pos (point)))
-
- ;; else if line is a block line and EXTEND given, suck up
- ;; the whole structure
- ((and extend
- (setq first-symbol (py-suck-up-first-keyword) )
- (assq first-symbol followers))
- (while (and
- (or (py-goto-beyond-block) t) ; side effect
- (forward-line -1) ; side effect
- (setq last-pos (point)) ; side effect
- (py-goto-statement-below)
- (= (current-indentation) initial-indent)
- (setq next-symbol (py-suck-up-first-keyword))
- (memq next-symbol (cdr (assq first-symbol followers))))
- (setq first-symbol next-symbol)))
-
- ;; else if line *opens* a block, search for next stmt indented <=
- ((py-statement-opens-block-p)
- (while (and
- (setq last-pos (point)) ; always true -- side effect
- (py-goto-statement-below)
- (> (current-indentation) initial-indent)
- )))
-
- ;; else plain code line; stop at next blank line, or stmt or
- ;; indenting comment line indented <
- (t
- (while (and
- (setq last-pos (point)) ; always true -- side effect
- (or (py-goto-beyond-final-line) t)
- (not (looking-at "[ \t]*$")) ; stop at blank line
- (or
- (>= (current-indentation) initial-indent)
- (looking-at "[ \t]*#[^ \t\n]"))) ; ignore non-indenting #
- nil)))
-
- ;; skip to end of last stmt
- (goto-char last-pos)
- (py-goto-beyond-final-line)
-
- ;; set mark & display
- (if just-move
- () ; just return
- (push-mark (point) 'no-msg)
- (forward-line -1)
- (message "Mark set after: %s" (py-suck-up-leading-text))
- (goto-char initial-pos))))
-
-(defun py-mark-def-or-class (&optional class)
- "Set region to body of def (or class, with prefix arg) enclosing point.
-Pushes the current mark, then point, on the mark ring (all language
-modes do this, but although it's handy it's never documented ...).
-
-In most Emacs language modes, this function bears at least a
-hallucinogenic resemblance to `\\[py-end-of-def-or-class]' and
-`\\[py-beginning-of-def-or-class]'.
-
-And in earlier versions of Python mode, all 3 were tightly connected.
-Turned out that was more confusing than useful: the `goto start' and
-`goto end' commands are usually used to search through a file, and
-people expect them to act a lot like `search backward' and `search
-forward' string-search commands. But because Python `def' and `class'
-can nest to arbitrary levels, finding the smallest def containing
-point cannot be done via a simple backward search: the def containing
-point may not be the closest preceding def, or even the closest
-preceding def that's indented less. The fancy algorithm required is
-appropriate for the usual uses of this `mark' command, but not for the
-`goto' variations.
-
-So the def marked by this command may not be the one either of the
-`goto' commands find: If point is on a blank or non-indenting comment
-line, moves back to start of the closest preceding code statement or
-indenting comment line. If this is a `def' statement, that's the def
-we use. Else searches for the smallest enclosing `def' block and uses
-that. Else signals an error.
-
-When an enclosing def is found: The mark is left immediately beyond
-the last line of the def block. Point is left at the start of the
-def, except that: if the def is preceded by a number of comment lines
-followed by (at most) one optional blank line, point is left at the
-start of the comments; else if the def is preceded by a blank line,
-point is left at its start.
-
-The intent is to mark the containing def/class and its associated
-documentation, to make moving and duplicating functions and classes
-pleasant."
- (interactive "P") ; raw prefix arg
- (let ((start (point))
- (which (cond ((eq class 'either) "\\(class\\|def\\)")
- (class "class")
- (t "def"))))
- (push-mark start)
- (if (not (py-go-up-tree-to-keyword which))
- (progn (goto-char start)
- (error "Enclosing %s not found"
- (if (eq class 'either)
- "def or class"
- which)))
- ;; else enclosing def/class found
- (setq start (point))
- (py-goto-beyond-block)
- (push-mark (point))
- (goto-char start)
- (if (zerop (forward-line -1)) ; if there is a preceding line
- (progn
- (if (looking-at "[ \t]*$") ; it's blank
- (setq start (point)) ; so reset start point
- (goto-char start)) ; else try again
- (if (zerop (forward-line -1))
- (if (looking-at "[ \t]*#") ; a comment
- ;; look back for non-comment line
- ;; tricky: note that the regexp matches a blank
- ;; line, cuz \n is in the 2nd character class
- (and
- (re-search-backward "^[ \t]*[^ \t#]" nil 'move)
- (forward-line 1))
- ;; no comment, so go back
- (goto-char start)))))))
- (exchange-point-and-mark)
- (py-keep-region-active))
-
-;; ripped from cc-mode
-(defun py-forward-into-nomenclature (&optional arg)
- "Move forward to end of a nomenclature section or word.
-With \\[universal-argument] (programmatically, optional argument ARG),
-do it that many times.
-
-A `nomenclature' is a fancy way of saying AWordWithMixedCaseNotUnderscores."
- (interactive "p")
- (let ((case-fold-search nil))
- (if (> arg 0)
- (re-search-forward
- "\\(\\W\\|[_]\\)*\\([A-Z]*[a-z0-9]*\\)"
- (point-max) t arg)
- (while (and (< arg 0)
- (re-search-backward
- "\\(\\W\\|[a-z0-9]\\)[A-Z]+\\|\\(\\W\\|[_]\\)\\w+"
- (point-min) 0))
- (forward-char 1)
- (setq arg (1+ arg)))))
- (py-keep-region-active))
-
-(defun py-backward-into-nomenclature (&optional arg)
- "Move backward to beginning of a nomenclature section or word.
-With optional ARG, move that many times. If ARG is negative, move
-forward.
-
-A `nomenclature' is a fancy way of saying AWordWithMixedCaseNotUnderscores."
- (interactive "p")
- (py-forward-into-nomenclature (- arg))
- (py-keep-region-active))
-
-
-
-;; pdbtrack functions
-(defun py-pdbtrack-toggle-stack-tracking (arg)
- (interactive "P")
- (if (not (get-buffer-process (current-buffer)))
- (error "No process associated with buffer '%s'" (current-buffer)))
- ;; missing or 0 is toggle, >0 turn on, <0 turn off
- (if (or (not arg)
- (zerop (setq arg (prefix-numeric-value arg))))
- (setq py-pdbtrack-do-tracking-p (not py-pdbtrack-do-tracking-p))
- (setq py-pdbtrack-do-tracking-p (> arg 0)))
- (message "%sabled Python's pdbtrack"
- (if py-pdbtrack-do-tracking-p "En" "Dis")))
-
-(defun turn-on-pdbtrack ()
- (interactive)
- (py-pdbtrack-toggle-stack-tracking 1))
-
-(defun turn-off-pdbtrack ()
- (interactive)
- (py-pdbtrack-toggle-stack-tracking 0))
-
-
-
-;; Pychecker
-
-;; hack for FSF Emacs
-(unless (fboundp 'read-shell-command)
- (defalias 'read-shell-command 'read-string))
-
-(defun py-pychecker-run (command)
- "*Run pychecker (default on the file currently visited)."
- (interactive
- (let ((default
- (format "%s %s %s" py-pychecker-command
- (mapconcat 'identity py-pychecker-command-args " ")
- (buffer-file-name)))
- (last (when py-pychecker-history
- (let* ((lastcmd (car py-pychecker-history))
- (cmd (cdr (reverse (split-string lastcmd))))
- (newcmd (reverse (cons (buffer-file-name) cmd))))
- (mapconcat 'identity newcmd " ")))))
-
- (list
- (if (fboundp 'read-shell-command)
- (read-shell-command "Run pychecker like this: "
- (if last
- last
- default)
- 'py-pychecker-history)
- (read-string "Run pychecker like this: "
- (if last
- last
- default)
- 'py-pychecker-history))
- )))
- (save-some-buffers (not py-ask-about-save) nil)
- (compile-internal command "No more errors"))
-
-
-
-;; pydoc commands. The guts of this function is stolen from XEmacs's
-;; symbol-near-point, but without the useless regexp-quote call on the
-;; results, nor the interactive bit. Also, we've added the temporary
-;; syntax table setting, which Skip originally had broken out into a
-;; separate function. Note that Emacs doesn't have the original
-;; function.
-(defun py-symbol-near-point ()
- "Return the first textual item to the nearest point."
- ;; alg stolen from etag.el
- (save-excursion
- (with-syntax-table py-dotted-expression-syntax-table
- (if (or (bobp) (not (memq (char-syntax (char-before)) '(?w ?_))))
- (while (not (looking-at "\\sw\\|\\s_\\|\\'"))
- (forward-char 1)))
- (while (looking-at "\\sw\\|\\s_")
- (forward-char 1))
- (if (re-search-backward "\\sw\\|\\s_" nil t)
- (progn (forward-char 1)
- (buffer-substring (point)
- (progn (forward-sexp -1)
- (while (looking-at "\\s'")
- (forward-char 1))
- (point))))
- nil))))
-
-(defun py-help-at-point ()
- "Get help from Python based on the symbol nearest point."
- (interactive)
- (let* ((sym (py-symbol-near-point))
- (base (substring sym 0 (or (search "." sym :from-end t) 0)))
- cmd)
- (if (not (equal base ""))
- (setq cmd (concat "import " base "\n")))
- (setq cmd (concat "import pydoc\n"
- cmd
- "try: pydoc.help('" sym "')\n"
- "except: print 'No help available on:', \"" sym "\""))
- (message cmd)
- (py-execute-string cmd)
- (set-buffer "*Python Output*")
- ;; BAW: Should we really be leaving the output buffer in help-mode?
- (help-mode)))
-
-
-
-;; Documentation functions
-
-;; dump the long form of the mode blurb; does the usual doc escapes,
-;; plus lines of the form ^[vc]:name$ to suck variable & command docs
-;; out of the right places, along with the keys they're on & current
-;; values
-(defun py-dump-help-string (str)
- (with-output-to-temp-buffer "*Help*"
- (let ((locals (buffer-local-variables))
- funckind funcname func funcdoc
- (start 0) mstart end
- keys )
- (while (string-match "^%\\([vc]\\):\\(.+\\)\n" str start)
- (setq mstart (match-beginning 0) end (match-end 0)
- funckind (substring str (match-beginning 1) (match-end 1))
- funcname (substring str (match-beginning 2) (match-end 2))
- func (intern funcname))
- (princ (substitute-command-keys (substring str start mstart)))
- (cond
- ((equal funckind "c") ; command
- (setq funcdoc (documentation func)
- keys (concat
- "Key(s): "
- (mapconcat 'key-description
- (where-is-internal func py-mode-map)
- ", "))))
- ((equal funckind "v") ; variable
- (setq funcdoc (documentation-property func 'variable-documentation)
- keys (if (assq func locals)
- (concat
- "Local/Global values: "
- (prin1-to-string (symbol-value func))
- " / "
- (prin1-to-string (default-value func)))
- (concat
- "Value: "
- (prin1-to-string (symbol-value func))))))
- (t ; unexpected
- (error "Error in py-dump-help-string, tag `%s'" funckind)))
- (princ (format "\n-> %s:\t%s\t%s\n\n"
- (if (equal funckind "c") "Command" "Variable")
- funcname keys))
- (princ funcdoc)
- (terpri)
- (setq start end))
- (princ (substitute-command-keys (substring str start))))
- (print-help-return-message)))
-
-(defun py-describe-mode ()
- "Dump long form of Python-mode docs."
- (interactive)
- (py-dump-help-string "Major mode for editing Python files.
-Knows about Python indentation, tokens, comments and continuation lines.
-Paragraphs are separated by blank lines only.
-
-Major sections below begin with the string `@'; specific function and
-variable docs begin with `->'.
-
- at EXECUTING PYTHON CODE
-
-\\[py-execute-import-or-reload]\timports or reloads the file in the Python interpreter
-\\[py-execute-buffer]\tsends the entire buffer to the Python interpreter
-\\[py-execute-region]\tsends the current region
-\\[py-execute-def-or-class]\tsends the current function or class definition
-\\[py-execute-string]\tsends an arbitrary string
-\\[py-shell]\tstarts a Python interpreter window; this will be used by
-\tsubsequent Python execution commands
-%c:py-execute-import-or-reload
-%c:py-execute-buffer
-%c:py-execute-region
-%c:py-execute-def-or-class
-%c:py-execute-string
-%c:py-shell
-
- at VARIABLES
-
-py-indent-offset\tindentation increment
-py-block-comment-prefix\tcomment string used by comment-region
-
-py-python-command\tshell command to invoke Python interpreter
-py-temp-directory\tdirectory used for temp files (if needed)
-
-py-beep-if-tab-change\tring the bell if tab-width is changed
-%v:py-indent-offset
-%v:py-block-comment-prefix
-%v:py-python-command
-%v:py-temp-directory
-%v:py-beep-if-tab-change
-
- at KINDS OF LINES
-
-Each physical line in the file is either a `continuation line' (the
-preceding line ends with a backslash that's not part of a comment, or
-the paren/bracket/brace nesting level at the start of the line is
-non-zero, or both) or an `initial line' (everything else).
-
-An initial line is in turn a `blank line' (contains nothing except
-possibly blanks or tabs), a `comment line' (leftmost non-blank
-character is `#'), or a `code line' (everything else).
-
-Comment Lines
-
-Although all comment lines are treated alike by Python, Python mode
-recognizes two kinds that act differently with respect to indentation.
-
-An `indenting comment line' is a comment line with a blank, tab or
-nothing after the initial `#'. The indentation commands (see below)
-treat these exactly as if they were code lines: a line following an
-indenting comment line will be indented like the comment line. All
-other comment lines (those with a non-whitespace character immediately
-following the initial `#') are `non-indenting comment lines', and
-their indentation is ignored by the indentation commands.
-
-Indenting comment lines are by far the usual case, and should be used
-whenever possible. Non-indenting comment lines are useful in cases
-like these:
-
-\ta = b # a very wordy single-line comment that ends up being
-\t #... continued onto another line
-
-\tif a == b:
-##\t\tprint 'panic!' # old code we've `commented out'
-\t\treturn a
-
-Since the `#...' and `##' comment lines have a non-whitespace
-character following the initial `#', Python mode ignores them when
-computing the proper indentation for the next line.
-
-Continuation Lines and Statements
-
-The Python-mode commands generally work on statements instead of on
-individual lines, where a `statement' is a comment or blank line, or a
-code line and all of its following continuation lines (if any)
-considered as a single logical unit. The commands in this mode
-generally (when it makes sense) automatically move to the start of the
-statement containing point, even if point happens to be in the middle
-of some continuation line.
-
-
- at INDENTATION
-
-Primarily for entering new code:
-\t\\[indent-for-tab-command]\t indent line appropriately
-\t\\[py-newline-and-indent]\t insert newline, then indent
-\t\\[py-electric-backspace]\t reduce indentation, or delete single character
-
-Primarily for reindenting existing code:
-\t\\[py-guess-indent-offset]\t guess py-indent-offset from file content; change locally
-\t\\[universal-argument] \\[py-guess-indent-offset]\t ditto, but change globally
-
-\t\\[py-indent-region]\t reindent region to match its context
-\t\\[py-shift-region-left]\t shift region left by py-indent-offset
-\t\\[py-shift-region-right]\t shift region right by py-indent-offset
-
-Unlike most programming languages, Python uses indentation, and only
-indentation, to specify block structure. Hence the indentation supplied
-automatically by Python-mode is just an educated guess: only you know
-the block structure you intend, so only you can supply correct
-indentation.
-
-The \\[indent-for-tab-command] and \\[py-newline-and-indent] keys try to suggest plausible indentation, based on
-the indentation of preceding statements. E.g., assuming
-py-indent-offset is 4, after you enter
-\tif a > 0: \\[py-newline-and-indent]
-the cursor will be moved to the position of the `_' (_ is not a
-character in the file, it's just used here to indicate the location of
-the cursor):
-\tif a > 0:
-\t _
-If you then enter `c = d' \\[py-newline-and-indent], the cursor will move
-to
-\tif a > 0:
-\t c = d
-\t _
-Python-mode cannot know whether that's what you intended, or whether
-\tif a > 0:
-\t c = d
-\t_
-was your intent. In general, Python-mode either reproduces the
-indentation of the (closest code or indenting-comment) preceding
-statement, or adds an extra py-indent-offset blanks if the preceding
-statement has `:' as its last significant (non-whitespace and non-
-comment) character. If the suggested indentation is too much, use
-\\[py-electric-backspace] to reduce it.
-
-Continuation lines are given extra indentation. If you don't like the
-suggested indentation, change it to something you do like, and Python-
-mode will strive to indent later lines of the statement in the same way.
-
-If a line is a continuation line by virtue of being in an unclosed
-paren/bracket/brace structure (`list', for short), the suggested
-indentation depends on whether the current line contains the first item
-in the list. If it does, it's indented py-indent-offset columns beyond
-the indentation of the line containing the open bracket. If you don't
-like that, change it by hand. The remaining items in the list will mimic
-whatever indentation you give to the first item.
-
-If a line is a continuation line because the line preceding it ends with
-a backslash, the third and following lines of the statement inherit their
-indentation from the line preceding them. The indentation of the second
-line in the statement depends on the form of the first (base) line: if
-the base line is an assignment statement with anything more interesting
-than the backslash following the leftmost assigning `=', the second line
-is indented two columns beyond that `='. Else it's indented to two
-columns beyond the leftmost solid chunk of non-whitespace characters on
-the base line.
-
-Warning: indent-region should not normally be used! It calls \\[indent-for-tab-command]
-repeatedly, and as explained above, \\[indent-for-tab-command] can't guess the block
-structure you intend.
-%c:indent-for-tab-command
-%c:py-newline-and-indent
-%c:py-electric-backspace
-
-
-The next function may be handy when editing code you didn't write:
-%c:py-guess-indent-offset
-
-
-The remaining `indent' functions apply to a region of Python code. They
-assume the block structure (equals indentation, in Python) of the region
-is correct, and alter the indentation in various ways while preserving
-the block structure:
-%c:py-indent-region
-%c:py-shift-region-left
-%c:py-shift-region-right
-
- at MARKING & MANIPULATING REGIONS OF CODE
-
-\\[py-mark-block]\t mark block of lines
-\\[py-mark-def-or-class]\t mark smallest enclosing def
-\\[universal-argument] \\[py-mark-def-or-class]\t mark smallest enclosing class
-\\[comment-region]\t comment out region of code
-\\[universal-argument] \\[comment-region]\t uncomment region of code
-%c:py-mark-block
-%c:py-mark-def-or-class
-%c:comment-region
-
- at MOVING POINT
-
-\\[py-previous-statement]\t move to statement preceding point
-\\[py-next-statement]\t move to statement following point
-\\[py-goto-block-up]\t move up to start of current block
-\\[py-beginning-of-def-or-class]\t move to start of def
-\\[universal-argument] \\[py-beginning-of-def-or-class]\t move to start of class
-\\[py-end-of-def-or-class]\t move to end of def
-\\[universal-argument] \\[py-end-of-def-or-class]\t move to end of class
-
-The first two move to one statement beyond the statement that contains
-point. A numeric prefix argument tells them to move that many
-statements instead. Blank lines, comment lines, and continuation lines
-do not count as `statements' for these commands. So, e.g., you can go
-to the first code statement in a file by entering
-\t\\[beginning-of-buffer]\t to move to the top of the file
-\t\\[py-next-statement]\t to skip over initial comments and blank lines
-Or do `\\[py-previous-statement]' with a huge prefix argument.
-%c:py-previous-statement
-%c:py-next-statement
-%c:py-goto-block-up
-%c:py-beginning-of-def-or-class
-%c:py-end-of-def-or-class
-
- at LITTLE-KNOWN EMACS COMMANDS PARTICULARLY USEFUL IN PYTHON MODE
-
-`\\[indent-new-comment-line]' is handy for entering a multi-line comment.
-
-`\\[set-selective-display]' with a `small' prefix arg is ideally suited for viewing the
-overall class and def structure of a module.
-
-`\\[back-to-indentation]' moves point to a line's first non-blank character.
-
-`\\[indent-relative]' is handy for creating odd indentation.
-
- at OTHER EMACS HINTS
-
-If you don't like the default value of a variable, change its value to
-whatever you do like by putting a `setq' line in your .emacs file.
-E.g., to set the indentation increment to 4, put this line in your
-.emacs:
-\t(setq py-indent-offset 4)
-To see the value of a variable, do `\\[describe-variable]' and enter the variable
-name at the prompt.
-
-When entering a key sequence like `C-c C-n', it is not necessary to
-release the CONTROL key after doing the `C-c' part -- it suffices to
-press the CONTROL key, press and release `c' (while still holding down
-CONTROL), press and release `n' (while still holding down CONTROL), &
-then release CONTROL.
-
-Entering Python mode calls with no arguments the value of the variable
-`python-mode-hook', if that value exists and is not nil; for backward
-compatibility it also tries `py-mode-hook'; see the `Hooks' section of
-the Elisp manual for details.
-
-Obscure: When python-mode is first loaded, it looks for all bindings
-to newline-and-indent in the global keymap, and shadows them with
-local bindings to py-newline-and-indent."))
-
-(require 'info-look)
-;; The info-look package does not always provide this function (it
-;; appears this is the case with XEmacs 21.1)
-(when (fboundp 'info-lookup-maybe-add-help)
- (info-lookup-maybe-add-help
- :mode 'python-mode
- :regexp "[a-zA-Z0-9_]+"
- :doc-spec '(("(python-lib)Module Index")
- ("(python-lib)Class-Exception-Object Index")
- ("(python-lib)Function-Method-Variable Index")
- ("(python-lib)Miscellaneous Index")))
- )
-
-
-;; Helper functions
-(defvar py-parse-state-re
- (concat
- "^[ \t]*\\(elif\\|else\\|while\\|def\\|class\\)\\>"
- "\\|"
- "^[^ #\t\n]"))
-
-(defun py-parse-state ()
- "Return the parse state at point (see `parse-partial-sexp' docs)."
- (save-excursion
- (let ((here (point))
- pps done)
- (while (not done)
- ;; back up to the first preceding line (if any; else start of
- ;; buffer) that begins with a popular Python keyword, or a
- ;; non- whitespace and non-comment character. These are good
- ;; places to start parsing to see whether where we started is
- ;; at a non-zero nesting level. It may be slow for people who
- ;; write huge code blocks or huge lists ... tough beans.
- (re-search-backward py-parse-state-re nil 'move)
- (beginning-of-line)
- ;; In XEmacs, we have a much better way to test for whether
- ;; we're in a triple-quoted string or not. Emacs does not
- ;; have this built-in function, which is its loss because
- ;; without scanning from the beginning of the buffer, there's
- ;; no accurate way to determine this otherwise.
- (save-excursion (setq pps (parse-partial-sexp (point) here)))
- ;; make sure we don't land inside a triple-quoted string
- (setq done (or (not (nth 3 pps))
- (bobp)))
- ;; Just go ahead and short circuit the test back to the
- ;; beginning of the buffer. This will be slow, but not
- ;; nearly as slow as looping through many
- ;; re-search-backwards.
- (if (not done)
- (goto-char (point-min))))
- pps)))
-
-(defun py-nesting-level ()
- "Return the buffer position of the last unclosed enclosing list.
-If nesting level is zero, return nil."
- (let ((status (py-parse-state)))
- (if (zerop (car status))
- nil ; not in a nest
- (car (cdr status))))) ; char# of open bracket
-
-(defun py-backslash-continuation-line-p ()
- "Return t iff preceding line ends with backslash that is not in a comment."
- (save-excursion
- (beginning-of-line)
- (and
- ;; use a cheap test first to avoid the regexp if possible
- ;; use 'eq' because char-after may return nil
- (eq (char-after (- (point) 2)) ?\\ )
- ;; make sure; since eq test passed, there is a preceding line
- (forward-line -1) ; always true -- side effect
- (looking-at py-continued-re))))
-
-(defun py-continuation-line-p ()
- "Return t iff current line is a continuation line."
- (save-excursion
- (beginning-of-line)
- (or (py-backslash-continuation-line-p)
- (py-nesting-level))))
-
-(defun py-goto-beginning-of-tqs (delim)
- "Go to the beginning of the triple quoted string we find ourselves in.
-DELIM is the TQS string delimiter character we're searching backwards
-for."
- (let ((skip (and delim (make-string 1 delim)))
- (continue t))
- (when skip
- (save-excursion
- (while continue
- (py-safe (search-backward skip))
- (setq continue (and (not (bobp))
- (= (char-before) ?\\))))
- (if (and (= (char-before) delim)
- (= (char-before (1- (point))) delim))
- (setq skip (make-string 3 delim))))
- ;; we're looking at a triple-quoted string
- (py-safe (search-backward skip)))))
-
-(defun py-goto-initial-line ()
- "Go to the initial line of the current statement.
-Usually this is the line we're on, but if we're on the 2nd or
-following lines of a continuation block, we need to go up to the first
-line of the block."
- ;; Tricky: We want to avoid quadratic-time behavior for long
- ;; continued blocks, whether of the backslash or open-bracket
- ;; varieties, or a mix of the two. The following manages to do that
- ;; in the usual cases.
- ;;
- ;; Also, if we're sitting inside a triple quoted string, this will
- ;; drop us at the line that begins the string.
- (let (open-bracket-pos)
- (while (py-continuation-line-p)
- (beginning-of-line)
- (if (py-backslash-continuation-line-p)
- (while (py-backslash-continuation-line-p)
- (forward-line -1))
- ;; else zip out of nested brackets/braces/parens
- (while (setq open-bracket-pos (py-nesting-level))
- (goto-char open-bracket-pos)))))
- (beginning-of-line))
-
-(defun py-goto-beyond-final-line ()
- "Go to the point just beyond the fine line of the current statement.
-Usually this is the start of the next line, but if this is a
-multi-line statement we need to skip over the continuation lines."
- ;; Tricky: Again we need to be clever to avoid quadratic time
- ;; behavior.
- ;;
- ;; XXX: Not quite the right solution, but deals with multi-line doc
- ;; strings
- (if (looking-at (concat "[ \t]*\\(" py-stringlit-re "\\)"))
- (goto-char (match-end 0)))
- ;;
- (forward-line 1)
- (let (state)
- (while (and (py-continuation-line-p)
- (not (eobp)))
- ;; skip over the backslash flavor
- (while (and (py-backslash-continuation-line-p)
- (not (eobp)))
- (forward-line 1))
- ;; if in nest, zip to the end of the nest
- (setq state (py-parse-state))
- (if (and (not (zerop (car state)))
- (not (eobp)))
- (progn
- (parse-partial-sexp (point) (point-max) 0 nil state)
- (forward-line 1))))))
-
-(defun py-statement-opens-block-p ()
- "Return t iff the current statement opens a block.
-I.e., iff it ends with a colon that is not in a comment. Point should
-be at the start of a statement."
- (save-excursion
- (let ((start (point))
- (finish (progn (py-goto-beyond-final-line) (1- (point))))
- (searching t)
- (answer nil)
- state)
- (goto-char start)
- (while searching
- ;; look for a colon with nothing after it except whitespace, and
- ;; maybe a comment
- (if (re-search-forward ":\\([ \t]\\|\\\\\n\\)*\\(#.*\\)?$"
- finish t)
- (if (eq (point) finish) ; note: no `else' clause; just
- ; keep searching if we're not at
- ; the end yet
- ;; sure looks like it opens a block -- but it might
- ;; be in a comment
- (progn
- (setq searching nil) ; search is done either way
- (setq state (parse-partial-sexp start
- (match-beginning 0)))
- (setq answer (not (nth 4 state)))))
- ;; search failed: couldn't find another interesting colon
- (setq searching nil)))
- answer)))
-
-(defun py-statement-closes-block-p ()
- "Return t iff the current statement closes a block.
-I.e., if the line starts with `return', `raise', `break', `continue',
-and `pass'. This doesn't catch embedded statements."
- (let ((here (point)))
- (py-goto-initial-line)
- (back-to-indentation)
- (prog1
- (looking-at (concat py-block-closing-keywords-re "\\>"))
- (goto-char here))))
-
-(defun py-goto-beyond-block ()
- "Go to point just beyond the final line of block begun by the current line.
-This is the same as where `py-goto-beyond-final-line' goes unless
-we're on colon line, in which case we go to the end of the block.
-Assumes point is at the beginning of the line."
- (if (py-statement-opens-block-p)
- (py-mark-block nil 'just-move)
- (py-goto-beyond-final-line)))
-
-(defun py-goto-statement-at-or-above ()
- "Go to the start of the first statement at or preceding point.
-Return t if there is such a statement, otherwise nil. `Statement'
-does not include blank lines, comments, or continuation lines."
- (py-goto-initial-line)
- (if (looking-at py-blank-or-comment-re)
- ;; skip back over blank & comment lines
- ;; note: will skip a blank or comment line that happens to be
- ;; a continuation line too
- (if (re-search-backward "^[ \t]*[^ \t#\n]" nil t)
- (progn (py-goto-initial-line) t)
- nil)
- t))
-
-(defun py-goto-statement-below ()
- "Go to start of the first statement following the statement containing point.
-Return t if there is such a statement, otherwise nil. `Statement'
-does not include blank lines, comments, or continuation lines."
- (beginning-of-line)
- (let ((start (point)))
- (py-goto-beyond-final-line)
- (while (and
- (or (looking-at py-blank-or-comment-re)
- (py-in-literal))
- (not (eobp)))
- (forward-line 1))
- (if (eobp)
- (progn (goto-char start) nil)
- t)))
-
-(defun py-go-up-tree-to-keyword (key)
- "Go to begining of statement starting with KEY, at or preceding point.
-
-KEY is a regular expression describing a Python keyword. Skip blank
-lines and non-indenting comments. If the statement found starts with
-KEY, then stop, otherwise go back to first enclosing block starting
-with KEY. If successful, leave point at the start of the KEY line and
-return t. Otherwise, leave point at an undefined place and return nil."
- ;; skip blanks and non-indenting #
- (py-goto-initial-line)
- (while (and
- (looking-at "[ \t]*\\($\\|#[^ \t\n]\\)")
- (zerop (forward-line -1))) ; go back
- nil)
- (py-goto-initial-line)
- (let* ((re (concat "[ \t]*" key "\\>"))
- (case-fold-search nil) ; let* so looking-at sees this
- (found (looking-at re))
- (dead nil))
- (while (not (or found dead))
- (condition-case nil ; in case no enclosing block
- (py-goto-block-up 'no-mark)
- (error (setq dead t)))
- (or dead (setq found (looking-at re))))
- (beginning-of-line)
- found))
-
-(defun py-suck-up-leading-text ()
- "Return string in buffer from start of indentation to end of line.
-Prefix with \"...\" if leading whitespace was skipped."
- (save-excursion
- (back-to-indentation)
- (concat
- (if (bolp) "" "...")
- (buffer-substring (point) (progn (end-of-line) (point))))))
-
-(defun py-suck-up-first-keyword ()
- "Return first keyword on the line as a Lisp symbol.
-`Keyword' is defined (essentially) as the regular expression
-([a-z]+). Returns nil if none was found."
- (let ((case-fold-search nil))
- (if (looking-at "[ \t]*\\([a-z]+\\)\\>")
- (intern (buffer-substring (match-beginning 1) (match-end 1)))
- nil)))
-
-(defun py-current-defun ()
- "Python value for `add-log-current-defun-function'.
-This tells add-log.el how to find the current function/method/variable."
- (save-excursion
-
- ;; Move back to start of the current statement.
-
- (py-goto-initial-line)
- (back-to-indentation)
- (while (and (or (looking-at py-blank-or-comment-re)
- (py-in-literal))
- (not (bobp)))
- (backward-to-indentation 1))
- (py-goto-initial-line)
-
- (let ((scopes "")
- (sep "")
- dead assignment)
-
- ;; Check for an assignment. If this assignment exists inside a
- ;; def, it will be overwritten inside the while loop. If it
- ;; exists at top lever or inside a class, it will be preserved.
-
- (when (looking-at "[ \t]*\\([a-zA-Z0-9_]+\\)[ \t]*=")
- (setq scopes (buffer-substring (match-beginning 1) (match-end 1)))
- (setq assignment t)
- (setq sep "."))
-
- ;; Prepend the name of each outer socpe (def or class).
-
- (while (not dead)
- (if (and (py-go-up-tree-to-keyword "\\(class\\|def\\)")
- (looking-at
- "[ \t]*\\(class\\|def\\)[ \t]*\\([a-zA-Z0-9_]+\\)[ \t]*"))
- (let ((name (buffer-substring (match-beginning 2) (match-end 2))))
- (if (and assignment (looking-at "[ \t]*def"))
- (setq scopes name)
- (setq scopes (concat name sep scopes))
- (setq sep "."))))
- (setq assignment nil)
- (condition-case nil ; Terminate nicely at top level.
- (py-goto-block-up 'no-mark)
- (error (setq dead t))))
- (if (string= scopes "")
- nil
- scopes))))
-
-
-
-(defconst py-help-address "python-mode at python.org"
- "Address accepting submission of bug reports.")
-
-(defun py-version ()
- "Echo the current version of `python-mode' in the minibuffer."
- (interactive)
- (message "Using `python-mode' version %s" py-version)
- (py-keep-region-active))
-
-;; only works under Emacs 19
-;(eval-when-compile
-; (require 'reporter))
-
-(defun py-submit-bug-report (enhancement-p)
- "Submit via mail a bug report on `python-mode'.
-With \\[universal-argument] (programmatically, argument ENHANCEMENT-P
-non-nil) just submit an enhancement request."
- (interactive
- (list (not (y-or-n-p
- "Is this a bug report (hit `n' to send other comments)? "))))
- (let ((reporter-prompt-for-summary-p (if enhancement-p
- "(Very) brief summary: "
- t)))
- (require 'reporter)
- (reporter-submit-bug-report
- py-help-address ;address
- (concat "python-mode " py-version) ;pkgname
- ;; varlist
- (if enhancement-p nil
- '(py-python-command
- py-indent-offset
- py-block-comment-prefix
- py-temp-directory
- py-beep-if-tab-change))
- nil ;pre-hooks
- nil ;post-hooks
- "Dear Barry,") ;salutation
- (if enhancement-p nil
- (set-mark (point))
- (insert
-"Please replace this text with a sufficiently large code sample\n\
-and an exact recipe so that I can reproduce your problem. Failure\n\
-to do so may mean a greater delay in fixing your bug.\n\n")
- (exchange-point-and-mark)
- (py-keep-region-active))))
-
-
-(defun py-kill-emacs-hook ()
- "Delete files in `py-file-queue'.
-These are Python temporary files awaiting execution."
- (mapcar #'(lambda (filename)
- (py-safe (delete-file filename)))
- py-file-queue))
-
-;; arrange to kill temp files when Emacs exists
-(add-hook 'kill-emacs-hook 'py-kill-emacs-hook)
-(add-hook 'comint-output-filter-functions 'py-pdbtrack-track-stack-file)
-
-;; Add a designator to the minor mode strings
-(or (assq 'py-pdbtrack-is-tracking-p minor-mode-alist)
- (push '(py-pdbtrack-is-tracking-p py-pdbtrack-minor-mode-string)
- minor-mode-alist))
-
-
-
-;;; paragraph and string filling code from Bernhard Herzog
-;;; see http://mail.python.org/pipermail/python-list/2002-May/103189.html
-
-(defun py-fill-comment (&optional justify)
- "Fill the comment paragraph around point"
- (let (;; Non-nil if the current line contains a comment.
- has-comment
-
- ;; If has-comment, the appropriate fill-prefix for the comment.
- comment-fill-prefix)
-
- ;; Figure out what kind of comment we are looking at.
- (save-excursion
- (beginning-of-line)
- (cond
- ;; A line with nothing but a comment on it?
- ((looking-at "[ \t]*#[# \t]*")
- (setq has-comment t
- comment-fill-prefix (buffer-substring (match-beginning 0)
- (match-end 0))))
-
- ;; A line with some code, followed by a comment? Remember that the hash
- ;; which starts the comment shouldn't be part of a string or character.
- ((progn
- (while (not (looking-at "#\\|$"))
- (skip-chars-forward "^#\n\"'\\")
- (cond
- ((eq (char-after (point)) ?\\) (forward-char 2))
- ((memq (char-after (point)) '(?\" ?')) (forward-sexp 1))))
- (looking-at "#+[\t ]*"))
- (setq has-comment t)
- (setq comment-fill-prefix
- (concat (make-string (current-column) ? )
- (buffer-substring (match-beginning 0) (match-end 0)))))))
-
- (if (not has-comment)
- (fill-paragraph justify)
-
- ;; Narrow to include only the comment, and then fill the region.
- (save-restriction
- (narrow-to-region
-
- ;; Find the first line we should include in the region to fill.
- (save-excursion
- (while (and (zerop (forward-line -1))
- (looking-at "^[ \t]*#")))
-
- ;; We may have gone to far. Go forward again.
- (or (looking-at "^[ \t]*#")
- (forward-line 1))
- (point))
-
- ;; Find the beginning of the first line past the region to fill.
- (save-excursion
- (while (progn (forward-line 1)
- (looking-at "^[ \t]*#")))
- (point)))
-
- ;; Lines with only hashes on them can be paragraph boundaries.
- (let ((paragraph-start (concat paragraph-start "\\|[ \t#]*$"))
- (paragraph-separate (concat paragraph-separate "\\|[ \t#]*$"))
- (fill-prefix comment-fill-prefix))
- ;;(message "paragraph-start %S paragraph-separate %S"
- ;;paragraph-start paragraph-separate)
- (fill-paragraph justify))))
- t))
-
-
-(defun py-fill-string (start &optional justify)
- "Fill the paragraph around (point) in the string starting at start"
- ;; basic strategy: narrow to the string and call the default
- ;; implementation
- (let (;; the start of the string's contents
- string-start
- ;; the end of the string's contents
- string-end
- ;; length of the string's delimiter
- delim-length
- ;; The string delimiter
- delim
- )
-
- (save-excursion
- (goto-char start)
- (if (looking-at "\\('''\\|\"\"\"\\|'\\|\"\\)\\\\?\n?")
- (setq string-start (match-end 0)
- delim-length (- (match-end 1) (match-beginning 1))
- delim (buffer-substring-no-properties (match-beginning 1)
- (match-end 1)))
- (error "The parameter start is not the beginning of a python string"))
-
- ;; if the string is the first token on a line and doesn't start with
- ;; a newline, fill as if the string starts at the beginning of the
- ;; line. this helps with one line docstrings
- (save-excursion
- (beginning-of-line)
- (and (/= (char-before string-start) ?\n)
- (looking-at (concat "[ \t]*" delim))
- (setq string-start (point))))
-
- (forward-sexp (if (= delim-length 3) 2 1))
-
- ;; with both triple quoted strings and single/double quoted strings
- ;; we're now directly behind the first char of the end delimiter
- ;; (this doesn't work correctly when the triple quoted string
- ;; contains the quote mark itself). The end of the string's contents
- ;; is one less than point
- (setq string-end (1- (point))))
-
- ;; Narrow to the string's contents and fill the current paragraph
- (save-restriction
- (narrow-to-region string-start string-end)
- (let ((ends-with-newline (= (char-before (point-max)) ?\n)))
- (fill-paragraph justify)
- (if (and (not ends-with-newline)
- (= (char-before (point-max)) ?\n))
- ;; the default fill-paragraph implementation has inserted a
- ;; newline at the end. Remove it again.
- (save-excursion
- (goto-char (point-max))
- (delete-char -1)))))
-
- ;; return t to indicate that we've done our work
- t))
-
-(defun py-fill-paragraph (&optional justify)
- "Like \\[fill-paragraph], but handle Python comments and strings.
-If any of the current line is a comment, fill the comment or the
-paragraph of it that point is in, preserving the comment's indentation
-and initial `#'s.
-If point is inside a string, narrow to that string and fill.
-"
- (interactive "P")
- ;; fill-paragraph will narrow incorrectly
- (save-restriction
- (widen)
- (let* ((bod (py-point 'bod))
- (pps (parse-partial-sexp bod (point))))
- (cond
- ;; are we inside a comment or on a line with only whitespace before
- ;; the comment start?
- ((or (nth 4 pps)
- (save-excursion (beginning-of-line) (looking-at "[ \t]*#")))
- (py-fill-comment justify))
- ;; are we inside a string?
- ((nth 3 pps)
- (py-fill-string (nth 8 pps)))
- ;; are we at the opening quote of a string, or in the indentation?
- ((save-excursion
- (forward-word 1)
- (eq (py-in-literal) 'string))
- (save-excursion
- (py-fill-string (py-point 'boi))))
- ;; are we at or after the closing quote of a string?
- ((save-excursion
- (backward-word 1)
- (eq (py-in-literal) 'string))
- (save-excursion
- (py-fill-string (py-point 'boi))))
- ;; otherwise use the default
- (t
- (fill-paragraph justify))))))
-
-
-
-(provide 'python-mode)
-;;; python-mode.el ends here
diff --git a/emacs/rst-mode.el b/emacs/rst-mode.el
deleted file mode 100644
index cb3c201..0000000
--- a/emacs/rst-mode.el
+++ /dev/null
@@ -1,698 +0,0 @@
-;;; rst-mode.el --- Mode for viewing and editing reStructuredText-documents.
-
-;; Copyright 2003 Stefan Merten <smerten at oekonux.de>
-;;
-;; This program is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2 of the License, or
-;; (at your option) any later version.
-;;
-;; This program is distributed in the hope that it will be useful,
-;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;; GNU General Public License for more details.
-;;
-;; You should have received a copy of the GNU General Public License
-;; along with this program; if not, write to the Free Software
-;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
-;;; Commentary:
-
-;; This package provides support for documents marked up using the
-;; reStructuredText format
-;; [http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html].
-;; Support includes font locking as well as some convenience functions
-;; for editing.
-
-;; The package is based on `text-mode' and inherits some things from it.
-;; Particularly `text-mode-hook' is run before `rst-mode-hook'.
-
-;; Add the following lines to your `.emacs' file:
-;;
-;; (autoload 'rst-mode "rst-mode" "mode for editing reStructuredText documents" t)
-;; (setq auto-mode-alist
-;; (append '(("\\.rst$" . rst-mode)
-;; ("\\.rest$" . rst-mode)) auto-mode-alist))
-;;
-;; If you are using `.txt' as a standard extension for reST files as
-;; http://docutils.sourceforge.net/FAQ.html#what-s-the-standard-filename-extension-for-a-restructuredtext-file
-;; suggests you may use one of the `Local Variables in Files' mechanism Emacs
-;; provides to set the major mode automatically. For instance you may use
-;;
-;; .. -*- mode: rst -*-
-;;
-;; in the very first line of your file. However, because this is a major
-;; security breach you or your administrator may have chosen to switch that
-;; feature off. See `Local Variables in Files' in the Emacs documentation for a
-;; more complete discussion.
-
-;;; Code:
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;;; Customization:
-
-(defgroup rst nil "Support for reStructuredText documents"
- :group 'wp
- :version "21.1"
- :link '(url-link "http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html"))
-
-(defcustom rst-mode-hook nil
- "Hook run when Rst Mode is turned on. The hook for Text Mode is run before
- this one."
- :group 'rst
- :type '(hook))
-
-(defcustom rst-mode-lazy t
- "*If non-nil Rst Mode font-locks comment, literal blocks, and section titles
-correctly. Because this is really slow it switches on Lazy Lock Mode
-automatically. You may increase Lazy Lock Defer Time for reasonable results.
-
-If nil comments and literal blocks are font-locked only on the line they start.
-
-The value of this variable is used when Rst Mode is turned on."
- :group 'rst
- :type '(boolean))
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
-(defgroup rst-faces nil "Faces used in Rst Mode"
- :group 'rst
- :group 'faces
- :version "21.1")
-
-(defcustom rst-block-face 'font-lock-keyword-face
- "All syntax marking up a special block"
- :group 'rst-faces
- :type '(face))
-
-(defcustom rst-external-face 'font-lock-type-face
- "Field names and interpreted text"
- :group 'rst-faces
- :type '(face))
-
-(defcustom rst-definition-face 'font-lock-function-name-face
- "All other defining constructs"
- :group 'rst-faces
- :type '(face))
-
-(defcustom rst-directive-face
- ;; XEmacs compatibility
- (if (boundp 'font-lock-builtin-face)
- 'font-lock-builtin-face
- 'font-lock-preprocessor-face)
- "Directives and roles"
- :group 'rst-faces
- :type '(face))
-
-(defcustom rst-comment-face 'font-lock-comment-face
- "Comments"
- :group 'rst-faces
- :type '(face))
-
-(defcustom rst-emphasis1-face
- ;; XEmacs compatibility
- (if (facep 'italic)
- ''italic
- 'italic)
- "Simple emphasis"
- :group 'rst-faces
- :type '(face))
-
-(defcustom rst-emphasis2-face
- ;; XEmacs compatibility
- (if (facep 'bold)
- ''bold
- 'bold)
- "Double emphasis"
- :group 'rst-faces
- :type '(face))
-
-(defcustom rst-literal-face 'font-lock-string-face
- "Literal text"
- :group 'rst-faces
- :type '(face))
-
-(defcustom rst-reference-face 'font-lock-variable-name-face
- "References to a definition"
- :group 'rst-faces
- :type '(face))
-
-;; Faces for displaying items on several levels; these definitions define
-;; different shades of grey where the lightest one is used for level 1
-(defconst rst-level-face-max 6
- "Maximum depth of level faces defined")
-(defconst rst-level-face-base-color "grey"
- "The base color to be used for creating level faces")
-(defconst rst-level-face-base-light 85
- "The lightness factor for the base color")
-(defconst rst-level-face-format-light "%2d"
- "The format for the lightness factor for the base color")
-(defconst rst-level-face-step-light -7
- "The step width to use for next color")
-
-;; Define the faces
-(let ((i 1))
- (while (<= i rst-level-face-max)
- (let ((sym (intern (format "rst-level-%d-face" i)))
- (doc (format "Face for showing section title text at level %d" i))
- (col (format (concat "%s" rst-level-face-format-light)
- rst-level-face-base-color
- (+ (* (1- i) rst-level-face-step-light)
- rst-level-face-base-light))))
- (make-empty-face sym)
- (set-face-doc-string sym doc)
- (set-face-background sym col)
- (set sym sym)
- (setq i (1+ i)))))
-
-(defcustom rst-adornment-faces-alist
- '((1 . rst-level-1-face)
- (2 . rst-level-2-face)
- (3 . rst-level-3-face)
- (4 . rst-level-4-face)
- (5 . rst-level-5-face)
- (6 . rst-level-6-face)
- (t . font-lock-keyword-face)
- (nil . font-lock-keyword-face))
- "Provides faces for the various adornment types. Key is a number (for the
-section title text of that level), t (for transitions) or nil (for section
-title adornment)."
- :group 'rst-faces
- :type '(alist :key-type (choice (integer :tag "Section level")
- (boolean :tag "transitions (on) / section title adornment (off)"))
- :value-type (face)))
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
-;; FIXME: Code from `restructuredtext.el' should be integrated
-
-(defvar rst-mode-syntax-table nil
- "Syntax table used while in rst mode.")
-
-(unless rst-mode-syntax-table
- (setq rst-mode-syntax-table (make-syntax-table text-mode-syntax-table))
- (modify-syntax-entry ?$ "." rst-mode-syntax-table)
- (modify-syntax-entry ?% "." rst-mode-syntax-table)
- (modify-syntax-entry ?& "." rst-mode-syntax-table)
- (modify-syntax-entry ?' "." rst-mode-syntax-table)
- (modify-syntax-entry ?* "." rst-mode-syntax-table)
- (modify-syntax-entry ?+ "." rst-mode-syntax-table)
- (modify-syntax-entry ?. "_" rst-mode-syntax-table)
- (modify-syntax-entry ?/ "." rst-mode-syntax-table)
- (modify-syntax-entry ?< "." rst-mode-syntax-table)
- (modify-syntax-entry ?= "." rst-mode-syntax-table)
- (modify-syntax-entry ?> "." rst-mode-syntax-table)
- (modify-syntax-entry ?\\ "\\" rst-mode-syntax-table)
- (modify-syntax-entry ?| "." rst-mode-syntax-table)
- (modify-syntax-entry ?_ "." rst-mode-syntax-table)
- )
-
-(defvar rst-mode-abbrev-table nil
- "Abbrev table used while in rst mode.")
-(define-abbrev-table 'rst-mode-abbrev-table ())
-
-;; FIXME: Movement keys to skip forward / backward over or mark an indented
-;; block could be defined; keys to markup section titles based on
-;; `rst-adornment-level-alist' would be useful
-(defvar rst-mode-map nil
- "Keymap for rst mode. This inherits from Text mode.")
-
-(unless rst-mode-map
- (setq rst-mode-map (copy-keymap text-mode-map)))
-
-(defun rst-mode ()
- "Major mode for editing reStructuredText documents.
-
-You may customize `rst-mode-lazy' to switch font-locking of blocks.
-
-\\{rst-mode-map}
-Turning on `rst-mode' calls the normal hooks `text-mode-hook' and
-`rst-mode-hook'."
- (interactive)
- (kill-all-local-variables)
-
- ;; Maps and tables
- (use-local-map rst-mode-map)
- (setq local-abbrev-table rst-mode-abbrev-table)
- (set-syntax-table rst-mode-syntax-table)
-
- ;; For editing text
- ;;
- ;; FIXME: It would be better if this matches more exactly the start of a reST
- ;; paragraph; however, this not always possible with a simple regex because
- ;; paragraphs are determined by indentation of the following line
- (set (make-local-variable 'paragraph-start)
- (concat page-delimiter "\\|[ \t]*$"))
- (if (eq ?^ (aref paragraph-start 0))
- (setq paragraph-start (substring paragraph-start 1)))
- (set (make-local-variable 'paragraph-separate) paragraph-start)
- (set (make-local-variable 'indent-line-function) 'indent-relative-maybe)
- (set (make-local-variable 'adaptive-fill-mode) t)
- (set (make-local-variable 'comment-start) ".. ")
-
- ;; Special variables
- (make-local-variable 'rst-adornment-level-alist)
-
- ;; Font lock
- (set (make-local-variable 'font-lock-defaults)
- '(rst-font-lock-keywords-function
- t nil nil nil
- (font-lock-multiline . t)
- (font-lock-mark-block-function . mark-paragraph)))
- (when (boundp 'font-lock-support-mode)
- ;; rst-mode has its own mind about font-lock-support-mode
- (make-local-variable 'font-lock-support-mode)
- (cond
- ((and (not rst-mode-lazy) (not font-lock-support-mode)))
- ;; No support mode set and none required - leave it alone
- ((or (not font-lock-support-mode) ;; No support mode set (but required)
- (symbolp font-lock-support-mode)) ;; or a fixed mode for all
- (setq font-lock-support-mode
- (list (cons 'rst-mode (and rst-mode-lazy 'lazy-lock-mode))
- (cons t font-lock-support-mode))))
- ((and (listp font-lock-support-mode)
- (not (assoc 'rst-mode font-lock-support-mode)))
- ;; A list of modes missing rst-mode
- (setq font-lock-support-mode
- (append '((cons 'rst-mode (and rst-mode-lazy 'lazy-lock-mode)))
- font-lock-support-mode)))))
-
- ;; Names and hooks
- (setq mode-name "reST")
- (setq major-mode 'rst-mode)
- (run-hooks 'text-mode-hook)
- (run-hooks 'rst-mode-hook))
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Font lock
-
-(defun rst-font-lock-keywords-function ()
- "Returns keywords to highlight in rst mode according to current settings."
- ;; The reST-links in the comments below all relate to sections in
- ;; http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html
- (let* ( ;; This gets big - so let's define some abbreviations
- ;; horizontal white space
- (re-hws "[\t ]")
- ;; beginning of line with possible indentation
- (re-bol (concat "^" re-hws "*"))
- ;; Separates block lead-ins from their content
- (re-blksep1 (concat "\\(" re-hws "+\\|$\\)"))
- ;; explicit markup tag
- (re-emt "\\.\\.")
- ;; explicit markup start
- (re-ems (concat re-emt re-hws "+"))
- ;; inline markup prefix
- (re-imp1 (concat "\\(^\\|" re-hws "\\|[-'\"([{</:]\\)"))
- ;; inline markup suffix
- (re-ims1 (concat "\\(" re-hws "\\|[]-'\")}>/:.,;!?\\]\\|$\\)"))
- ;; symbol character
- (re-sym1 "\\(\\sw\\|\\s_\\)")
- ;; inline markup content begin
- (re-imbeg2 "\\(\\S \\|\\S \\([^")
-
- ;; There seems to be a bug leading to error "Stack overflow in regexp
- ;; matcher" when "|" or "\\*" are the characters searched for
- (re-imendbeg
- (if (< emacs-major-version 21)
- "]"
- "\\]\\|\\\\."))
- ;; inline markup content end
- (re-imend (concat re-imendbeg "\\)*[^\t \\\\]\\)"))
- ;; inline markup content without asterisk
- (re-ima2 (concat re-imbeg2 "*" re-imend))
- ;; inline markup content without backquote
- (re-imb2 (concat re-imbeg2 "`" re-imend))
- ;; inline markup content without vertical bar
- (re-imv2 (concat re-imbeg2 "|" re-imend))
- ;; Supported URI schemes
- (re-uris1 "\\(acap\\|cid\\|data\\|dav\\|fax\\|file\\|ftp\\|gopher\\|http\\|https\\|imap\\|ldap\\|mailto\\|mid\\|modem\\|news\\|nfs\\|nntp\\|pop\\|prospero\\|rtsp\\|service\\|sip\\|tel\\|telnet\\|tip\\|urn\\|vemmi\\|wais\\)")
- ;; Line starting with adornment and optional whitespace; complete
- ;; adornment is in (match-string 1); there must be at least 3
- ;; characters because otherwise explicit markup start would be
- ;; recognized
- (re-ado2 (concat "^\\(\\(["
- (if (or
- (< emacs-major-version 21)
- (save-match-data
- (string-match "XEmacs\\|Lucid" emacs-version)))
- "^a-zA-Z0-9 \t\x00-\x1F"
- "^[:word:][:space:][:cntrl:]")
- "]\\)\\2\\2+\\)" re-hws "*$"))
- )
- (list
- ;; FIXME: Block markup is not recognized in blocks after explicit markup
- ;; start
-
- ;; Simple `Body Elements`_
- ;; `Bullet Lists`_
- (list
- (concat re-bol "\\([-*+]" re-blksep1 "\\)")
- 1 rst-block-face)
- ;; `Enumerated Lists`_
- (list
- (concat re-bol "\\((?\\([0-9]+\\|[A-Za-z]\\|[IVXLCMivxlcm]+\\)[.)]" re-blksep1 "\\)")
- 1 rst-block-face)
- ;; `Definition Lists`_ FIXME: missing
- ;; `Field Lists`_
- (list
- (concat re-bol "\\(:[^:]+:\\)" re-blksep1)
- 1 rst-external-face)
- ;; `Option Lists`_
- (list
- (concat re-bol "\\(\\(\\(\\([-+/]\\|--\\)\\sw\\(-\\|\\sw\\)*\\([ =]\\S +\\)?\\)\\(,[\t ]\\)?\\)+\\)\\($\\|[\t ]\\{2\\}\\)")
- 1 rst-block-face)
-
- ;; `Tables`_ FIXME: missing
-
- ;; All the `Explicit Markup Blocks`_
- ;; `Footnotes`_ / `Citations`_
- (list
- (concat re-bol "\\(" re-ems "\\[[^[]+\\]\\)" re-blksep1)
- 1 rst-definition-face)
- ;; `Directives`_ / `Substitution Definitions`_
- (list
- (concat re-bol "\\(" re-ems "\\)\\(\\(|[^|]+|[\t ]+\\)?\\)\\(" re-sym1 "+::\\)" re-blksep1)
- (list 1 rst-directive-face)
- (list 2 rst-definition-face)
- (list 4 rst-directive-face))
- ;; `Hyperlink Targets`_
- (list
- (concat re-bol "\\(" re-ems "_\\([^:\\`]\\|\\\\.\\|`[^`]+`\\)+:\\)" re-blksep1)
- 1 rst-definition-face)
- (list
- (concat re-bol "\\(__\\)" re-blksep1)
- 1 rst-definition-face)
-
- ;; All `Inline Markup`_
- ;; FIXME: Condition 5 preventing fontification of e.g. "*" not implemented
- ;; `Strong Emphasis`_
- (list
- (concat re-imp1 "\\(\\*\\*" re-ima2 "\\*\\*\\)" re-ims1)
- 2 rst-emphasis2-face)
- ;; `Emphasis`_
- (list
- (concat re-imp1 "\\(\\*" re-ima2 "\\*\\)" re-ims1)
- 2 rst-emphasis1-face)
- ;; `Inline Literals`_
- (list
- (concat re-imp1 "\\(``" re-imb2 "``\\)" re-ims1)
- 2 rst-literal-face)
- ;; `Inline Internal Targets`_
- (list
- (concat re-imp1 "\\(_`" re-imb2 "`\\)" re-ims1)
- 2 rst-definition-face)
- ;; `Hyperlink References`_
- ;; FIXME: `Embedded URIs`_ not considered
- (list
- (concat re-imp1 "\\(\\(`" re-imb2 "`\\|\\sw+\\)__?\\)" re-ims1)
- 2 rst-reference-face)
- ;; `Interpreted Text`_
- (list
- (concat re-imp1 "\\(\\(:" re-sym1 "+:\\)?\\)\\(`" re-imb2 "`\\)\\(\\(:" re-sym1 "+:\\)?\\)" re-ims1)
- (list 2 rst-directive-face)
- (list 5 rst-external-face)
- (list 8 rst-directive-face))
- ;; `Footnote References`_ / `Citation References`_
- (list
- (concat re-imp1 "\\(\\[[^]]+\\]_\\)" re-ims1)
- 2 rst-reference-face)
- ;; `Substitution References`_
- (list
- (concat re-imp1 "\\(|" re-imv2 "|\\)" re-ims1)
- 2 rst-reference-face)
- ;; `Standalone Hyperlinks`_
- (list
- ;; FIXME: This takes it easy by using a whitespace as delimiter
- (concat re-imp1 "\\(" re-uris1 ":\\S +\\)" re-ims1)
- 2 rst-definition-face)
- (list
- (concat re-imp1 "\\(" re-sym1 "+@" re-sym1 "+\\)" re-ims1)
- 2 rst-definition-face)
-
- ;; Do all block fontification as late as possible so 'append works
-
- ;; Sections_ / Transitions_
- (append
- (list
- re-ado2)
- (if (not rst-mode-lazy)
- (list 1 rst-block-face)
- (list
- (list 'rst-font-lock-handle-adornment
- '(progn
- (setq rst-font-lock-adornment-point (match-end 1))
- (point-max))
- nil
- (list 1 '(cdr (assoc nil rst-adornment-faces-alist))
- 'append t)
- (list 2 '(cdr (assoc rst-font-lock-level rst-adornment-faces-alist))
- 'append t)
- (list 3 '(cdr (assoc nil rst-adornment-faces-alist))
- 'append t)))))
-
- ;; `Comments`_
- (append
- (list
- (concat re-bol "\\(" re-ems "\\)\[^[|_]\\([^:]\\|:\\([^:]\\|$\\)\\)*$")
- (list 1 rst-comment-face))
- (if rst-mode-lazy
- (list
- (list 'rst-font-lock-find-unindented-line
- '(progn
- (setq rst-font-lock-indentation-point (match-end 1))
- (point-max))
- nil
- (list 0 rst-comment-face 'append)))))
- (append
- (list
- (concat re-bol "\\(" re-emt "\\)\\(\\s *\\)$")
- (list 1 rst-comment-face)
- (list 2 rst-comment-face))
- (if rst-mode-lazy
- (list
- (list 'rst-font-lock-find-unindented-line
- '(progn
- (setq rst-font-lock-indentation-point 'next)
- (point-max))
- nil
- (list 0 rst-comment-face 'append)))))
-
- ;; `Literal Blocks`_
- (append
- (list
- (concat re-bol "\\(\\([^.\n]\\|\\.[^.\n]\\).*\\)?\\(::\\)$")
- (list 3 rst-block-face))
- (if rst-mode-lazy
- (list
- (list 'rst-font-lock-find-unindented-line
- '(progn
- (setq rst-font-lock-indentation-point t)
- (point-max))
- nil
- (list 0 rst-literal-face 'append)))))
- )))
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Indented blocks
-
-(defun rst-forward-indented-block (&optional column limit)
- "Move forward across one indented block.
-Find the next non-empty line which is not indented at least to COLUMN (defaults
-to the column of the point). Moves point to first character of this line or the
-first empty line immediately before it and returns that position. If there is
-no such line before LIMIT (defaults to the end of the buffer) returns nil and
-point is not moved."
- (interactive)
- (let ((clm (or column (current-column)))
- (start (point))
- fnd beg cand)
- (if (not limit)
- (setq limit (point-max)))
- (save-match-data
- (while (and (not fnd) (< (point) limit))
- (forward-line 1)
- (when (< (point) limit)
- (setq beg (point))
- (if (looking-at "\\s *$")
- (setq cand (or cand beg)) ; An empty line is a candidate
- (move-to-column clm)
- ;; FIXME: No indentation [(zerop clm)] must be handled in some
- ;; useful way - though it is not clear what this should mean at all
- (if (string-match
- "^\\s *$" (buffer-substring-no-properties beg (point)))
- (setq cand nil) ; An indented line resets a candidate
- (setq fnd (or cand beg)))))))
- (goto-char (or fnd start))
- fnd))
-
-;; Stores the point where the current indentation ends if a number. If `next'
-;; indicates `rst-font-lock-find-unindented-line' shall take the indentation
-;; from the next line if this is not empty. If non-nil indicates
-;; `rst-font-lock-find-unindented-line' shall take the indentation from the
-;; next non-empty line. Also used as a trigger for
-;; `rst-font-lock-find-unindented-line'.
-(defvar rst-font-lock-indentation-point nil)
-
-(defun rst-font-lock-find-unindented-line (limit)
- (let* ((ind-pnt rst-font-lock-indentation-point)
- (beg-pnt ind-pnt))
- ;; May run only once - enforce this
- (setq rst-font-lock-indentation-point nil)
- (when (and ind-pnt (not (numberp ind-pnt)))
- ;; Find indentation point in next line if any
- (setq ind-pnt
- (save-excursion
- (save-match-data
- (if (eq ind-pnt 'next)
- (when (and (zerop (forward-line 1)) (< (point) limit))
- (setq beg-pnt (point))
- (when (not (looking-at "\\s *$"))
- (looking-at "\\s *")
- (match-end 0)))
- (while (and (zerop (forward-line 1)) (< (point) limit)
- (looking-at "\\s *$")))
- (when (< (point) limit)
- (setq beg-pnt (point))
- (looking-at "\\s *")
- (match-end 0)))))))
- (when ind-pnt
- (goto-char ind-pnt)
- ;; Always succeeds because the limit set by PRE-MATCH-FORM is the
- ;; ultimate point to find
- (goto-char (or (rst-forward-indented-block nil limit) limit))
- (set-match-data (list beg-pnt (point)))
- t)))
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Adornments
-
-;; Stores the point where the current adornment ends. Also used as a trigger
-;; for `rst-font-lock-handle-adornment'.
-(defvar rst-font-lock-adornment-point nil)
-
-;; Here `rst-font-lock-handle-adornment' stores the section level of the
-;; current adornment or t for a transition.
-(defvar rst-font-lock-level nil)
-
-;; FIXME: It would be good if this could be used to markup section titles of
-;; given level with a special key; it would be even better to be able to
-;; customize this so it can be used for a generally available personal style
-;;
-;; FIXME: There should be some way to reset and reload this variable - probably
-;; a special key
-;;
-;; FIXME: Some support for `outline-mode' would be nice which should be based
-;; on this information
-(defvar rst-adornment-level-alist nil
- "Associates adornments with section levels.
-The key is a two character string. The first character is the adornment
-character. The second character distinguishes underline section titles (`u')
-from overline/underline section titles (`o'). The value is the section level.
-
-This is made buffer local on start and adornments found during font lock are
-entered.")
-
-;; Returns section level for adornment key KEY. Adds new section level if KEY
-;; is not found and ADD. If KEY is not a string it is simply returned.
-(defun rst-adornment-level (key &optional add)
- (let ((fnd (assoc key rst-adornment-level-alist))
- (new 1))
- (cond
- ((not (stringp key))
- key)
- (fnd
- (cdr fnd))
- (add
- (while (rassoc new rst-adornment-level-alist)
- (setq new (1+ new)))
- (setq rst-adornment-level-alist
- (append rst-adornment-level-alist (list (cons key new))))
- new))))
-
-;; Classifies adornment for section titles and transitions. ADORNMENT is the
-;; complete adornment string as found in the buffer. END is the point after the
-;; last character of ADORNMENT. For overline section adornment LIMIT limits the
-;; search for the matching underline. Returns a list. The first entry is t for
-;; a transition, or a key string for `rst-adornment-level' for a section title.
-;; The following eight values forming four match groups as can be used for
-;; `set-match-data'. First match group contains the maximum points of the whole
-;; construct. Second and last match group matched pure section title adornment
-;; while third match group matched the section title text or the transition.
-;; Each group but the first may or may not exist.
-(defun rst-classify-adornment (adornment end limit)
- (save-excursion
- (save-match-data
- (goto-char end)
- (let ((ado-ch (aref adornment 0))
- (ado-re (regexp-quote adornment))
- (end-pnt (point))
- (beg-pnt (progn
- (forward-line 0)
- (point)))
- (nxt-emp
- (save-excursion
- (or (not (zerop (forward-line 1)))
- (looking-at "\\s *$"))))
- (prv-emp
- (save-excursion
- (or (not (zerop (forward-line -1)))
- (looking-at "\\s *$"))))
- key beg-ovr end-ovr beg-txt end-txt beg-und end-und)
- (cond
- ((and nxt-emp prv-emp)
- ;; A transition
- (setq key t)
- (setq beg-txt beg-pnt)
- (setq end-txt end-pnt))
- (prv-emp
- ;; An overline
- (setq key (concat (list ado-ch) "o"))
- (setq beg-ovr beg-pnt)
- (setq end-ovr end-pnt)
- (forward-line 1)
- (setq beg-txt (point))
- (while (and (< (point) limit) (not end-txt))
- (if (looking-at "\\s *$")
- ;; No underline found
- (setq end-txt (1- (point)))
- (when (looking-at (concat "\\(" ado-re "\\)\\s *$"))
- (setq end-und (match-end 1))
- (setq beg-und (point))
- (setq end-txt (1- beg-und))))
- (forward-line 1)))
- (t
- ;; An underline
- (setq key (concat (list ado-ch) "u"))
- (setq beg-und beg-pnt)
- (setq end-und end-pnt)
- (setq end-txt (1- beg-und))
- (setq beg-txt (progn
- (if (re-search-backward "^\\s *$" 1 'move)
- (forward-line 1))
- (point)))))
- (list key
- (or beg-ovr beg-txt beg-und)
- (or end-und end-txt end-und)
- beg-ovr end-ovr beg-txt end-txt beg-und end-und)))))
-
-;; Handles adornments for font-locking section titles and transitions. Returns
-;; three match groups. First and last match group matched pure overline /
-;; underline adornment while second group matched section title text. Each
-;; group may not exist.
-(defun rst-font-lock-handle-adornment (limit)
- (let ((ado-pnt rst-font-lock-adornment-point))
- ;; May run only once - enforce this
- (setq rst-font-lock-adornment-point nil)
- (if ado-pnt
- (let* ((ado (rst-classify-adornment (match-string-no-properties 1)
- ado-pnt limit))
- (key (car ado))
- (mtc (cdr ado)))
- (setq rst-font-lock-level (rst-adornment-level key t))
- (goto-char (nth 1 mtc))
- (set-match-data mtc)
- t))))
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
-;;; rst-mode.el ends here
diff --git a/emacs/rst.el b/emacs/rst.el
deleted file mode 100644
index 6caa778..0000000
--- a/emacs/rst.el
+++ /dev/null
@@ -1,3431 +0,0 @@
-;;; rst.el --- Mode for viewing and editing reStructuredText-documents.
-
-;; Copyright 2003-2008 by Martin Blais, Stefan Merten, and David Goodger.
-
-;; Authors: Martin Blais <blais at furius.ca>,
-;; Stefan Merten <smerten at oekonux.de>,
-;; David Goodger <goodger at python.org>
-
-;; This program is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License version 2,
-;; as published by the Free Software Foundation.
-;;
-;; This program is distributed in the hope that it will be useful,
-;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;; GNU General Public License for more details.
-;;
-;; You should have received a copy of the GNU General Public License version 2
-;; along with this program and available at
-;; http://docutils.sf.net/licenses/gpl.txt and at
-;; http://www.gnu.org/licenses/gpl.txt.
-
-;;; Commentary:
-
-;; This package provides major mode rst-mode, which supports documents marked up
-;; using the reStructuredText format. Support includes font locking as well as
-;; some convenience functions for editing. It does this by defining a Emacs
-;; major mode: rst-mode (ReST). This mode is derived from text-mode (and
-;; inherits much of it). This package also contains:
-;;
-;; - Functions to automatically adjust and cycle the section underline
-;; decorations;
-;; - A mode that displays the table of contents and allows you to jump anywhere
-;; from it;
-;; - Functions to insert and automatically update a TOC in your source
-;; document;
-;; - Font-lock highlighting of notable reStructuredText structures;
-;; - Some other convenience functions.
-;;
-;; See the accompanying document in the docutils documentation about
-;; the contents of this package and how to use it.
-;;
-;; For more information about reStructuredText, see
-;; http://docutils.sourceforge.net/rst.html
-;;
-;; For full details on how to use the contents of this file, see
-;; http://docutils.sourceforge.net/docs/user/emacs.html
-;;
-;;
-;; There are a number of convenient keybindings provided by rst-mode. The main
-;; one is
-;;
-;; C-c C-a (also C-=): rst-adjust
-;;
-;; Updates or rotates the section title around point or promotes/demotes the
-;; decorations within the region (see full details below). Note that C-= is a
-;; good binding, since it allows you to specify a negative arg easily with C--
-;; C-= (easy to type), as well as ordinary prefix arg with C-u C-=.
-;;
-;; For more on bindings, see rst-mode-map below. There are also many variables
-;; that can be customized, look for defcustom and defvar in this file.
-;;
-;; If you use the table-of-contents feature, you may want to add a hook to
-;; update the TOC automatically everytime you adjust a section title::
-;;
-;; (add-hook 'rst-adjust-hook 'rst-toc-update)
-;;
-;; Syntax highlighting: font-lock is enabled by default. If you want to turn off
-;; syntax highlighting to rst-mode, you can use the following::
-;;
-;; (setq font-lock-global-modes '(not rst-mode ...))
-;;
-
-
-;; CUSTOMIZATION
-;;
-;; rst
-;; ---
-;; This group contains some general customizable features.
-;;
-;; The group is contained in the wp group.
-;;
-;; rst-faces
-;; ---------
-;; This group contains all necessary for customizing fonts. The default
-;; settings use standard font-lock-*-face's so if you set these to your
-;; liking they are probably good in rst-mode also.
-;;
-;; The group is contained in the faces group as well as in the rst group.
-;;
-;; rst-faces-defaults
-;; ------------------
-;; This group contains all necessary for customizing the default fonts used for
-;; section title faces.
-;;
-;; The general idea for section title faces is to have a non-default background
-;; but do not change the background. The section level is shown by the
-;; lightness of the background color. If you like this general idea of
-;; generating faces for section titles but do not like the details this group
-;; is the point where you can customize the details. If you do not like the
-;; general idea, however, you should customize the faces used in
-;; rst-adornment-faces-alist.
-;;
-;; Note: If you are using a dark background please make sure the variable
-;; frame-background-mode is set to the symbol dark. This triggers
-;; some default values which are probably right for you.
-;;
-;; The group is contained in the rst-faces group.
-;;
-;; All customizable features have a comment explaining their meaning. Refer to
-;; the customization of your Emacs (try ``M-x customize``).
-
-
-;;; DOWNLOAD
-
-;; The latest version of this file lies in the docutils source code repository:
-;; http://svn.berlios.de/svnroot/repos/docutils/trunk/docutils/tools/editors/emacs/rst.el
-
-
-;;; INSTALLATION
-
-;; Add the following lines to your `.emacs' file:
-;;
-;; (require 'rst)
-;;
-;; If you are using `.txt' as a standard extension for reST files as
-;; http://docutils.sourceforge.net/FAQ.html#what-s-the-standard-filename-extension-for-a-restructuredtext-file
-;; suggests you may use one of the `Local Variables in Files' mechanism Emacs
-;; provides to set the major mode automatically. For instance you may use::
-;;
-;; .. -*- mode: rst -*-
-;;
-;; in the very first line of your file. The following code is useful if you want
-;; to automatically enter rst-mode from any file with compatible extensions:
-;;
-;; (setq auto-mode-alist
-;; (append '(("\\.txt$" . rst-mode)
-;; ("\\.rst$" . rst-mode)
-;; ("\\.rest$" . rst-mode)) auto-mode-alist))
-;;
-
-;;; BUGS
-
-;; - rst-enumeration-region: Select a single paragraph, with the top at one
-;; blank line before the beginning, and it will fail.
-;; - The active region goes away when we shift it left or right, and this
-;; prevents us from refilling it automatically when shifting many times.
-;; - The suggested decorations when adjusting should not have to cycle
-;; below one below the last section decoration level preceding the
-;; cursor. We need to fix that.
-
-;;; TODO LIST
-
-;; rst-toc-insert features
-;; ------------------------
-;; - rst-toc-insert: We should parse the contents:: options to figure out how
-;; deep to render the inserted TOC.
-;; - On load, detect any existing TOCs and set the properties for links.
-;; - TOC insertion should have an option to add empty lines.
-;; - TOC insertion should deal with multiple lines.
-;; - There is a bug on redo after undo of adjust when rst-adjust-hook uses the
-;; automatic toc update. The cursor ends up in the TOC and this is
-;; annoying. Gotta fix that.
-;; - numbering: automatically detect if we have a section-numbering directive in
-;; the corresponding section, to render the toc.
-;;
-;; bulleted and enumerated list items
-;; ----------------------------------
-;; - We need to provide way to rebullet bulleted lists, and that would include
-;; automatic enumeration as well.
-;;
-;; Other
-;; -----
-;; - It would be nice to differentiate between text files using
-;; reStructuredText_ and other general text files. If we had a
-;; function to automatically guess whether a .txt file is following the
-;; reStructuredText_ conventions, we could trigger rst-mode without
-;; having to hard-code this in every text file, nor forcing the user to
-;; add a local mode variable at the top of the file.
-;; We could perform this guessing by searching for a valid decoration
-;; at the top of the document or searching for reStructuredText_
-;; directives further on.
-;;
-;; - We should support imenu in our major mode, with the menu filled with the
-;; section titles (this should be really easy).
-;;
-;; - We should rename "adornment" to "decoration" or vice-versa in this
-;; document (Stefan's code ("adornment") vs Martin ("decoration")), maybe some
-;; functions even overlap.
-;;
-;; - We need to automatically recenter on rst-forward-section movement commands.
-
-
-;;; HISTORY
-;;
-
-;;; CODE
-
-
-(defgroup rst nil "Support for reStructuredText documents"
- :group 'wp
- :version "21.1"
- :link '(url-link "http://docutils.sourceforge.net/rst.html"))
-
-
-
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Define some generic support functions.
-
-(require 'cl) ;; We need this for destructuring-bind below.
-
-;; Generic Filter function.
-(unless (fboundp 'filter)
- (defun filter (pred list)
- "Returns a list of all the elements fulfilling the pred requirement (that
-is for which (pred elem) is true)"
- (if list
- (let ((head (car list))
- (tail (filter pred (cdr list))))
- (if (funcall pred head)
- (cons head tail)
- tail)))))
-
-
-;; From emacs-22
-(unless (fboundp 'line-number-at-pos)
- (defun line-number-at-pos (&optional pos)
- "Return (narrowed) buffer line number at position POS.
- If POS is nil, use current buffer location."
- (let ((opoint (or pos (point))) start)
- (save-excursion
- (goto-char (point-min))
- (setq start (point))
- (goto-char opoint)
- (forward-line 0)
- (1+ (count-lines start (point)))))) )
-
-
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Mode definition.
-
-(defconst rst-use-unicode
- (string-equal "\u0020" " ")
- "Non-nil if we can use unicode characters.")
-
-;; Key bindings.
-(defvar rst-mode-map
- (let ((map (make-sparse-keymap)))
-
- ;;
- ;; Section Decorations.
- ;;
- ;; The adjustment function that decorates or rotates a section title.
- (define-key map [(control c) (control a)] 'rst-adjust)
- (define-key map [(control c) (control ?=)] 'rst-adjust)
- (define-key map [(control ?=)] 'rst-adjust) ;; (Does not work on the Mac OSX.)
- ;; Display the hierarchy of decorations implied by the current document contents.
- (define-key map [(control c) (control h)] 'rst-display-decorations-hierarchy)
- ;; Homogeneize the decorations in the document.
- (define-key map [(control c) (control s)] 'rst-straighten-decorations)
-;; (define-key map [(control c) (control s)] 'rst-straighten-deco-spacing)
-
- ;;
- ;; Section Movement and Selection.
- ;;
- ;; Mark the subsection where the cursor is.
- (define-key map [(control c) (control m)] 'rst-mark-section)
- ;; Move forward/backward between section titles.
- (define-key map [(control c) (control n)] 'rst-forward-section)
- (define-key map [(control c) (control p)] 'rst-backward-section)
-
- ;;
- ;; Operating on Blocks of Text.
- ;;
- ;; Makes paragraphs in region as a bullet list.
- (define-key map [(control c) (control b)] 'rst-bullet-list-region)
- ;; Makes paragraphs in region as a enumeration.
- (define-key map [(control c) (control e)] 'rst-enumerate-region)
- ;; Converts bullets to an enumeration.
- (define-key map [(control c) (control v)] 'rst-convert-bullets-to-enumeration)
- ;; Makes region a line-block.
- (define-key map [(control c) (control d)] 'rst-line-block-region)
- ;; Make sure that all the bullets in the region are consistent.
- (define-key map [(control c) (control w)] 'rst-straighten-bullets-region)
- ;; Shift region left or right (taking into account of enumerations/bullets, etc.).
- (define-key map [(control c) (control l)] 'rst-shift-region-left)
- (define-key map [(control c) (control r)] 'rst-shift-region-right)
- ;; Comment/uncomment the active region.
- (define-key map [(control c) (control c)] 'comment-region)
-
- ;;
- ;; Table-of-Contents Features.
- ;;
- ;; Enter a TOC buffer to view and move to a specific section.
- (define-key map [(control c) (control t)] 'rst-toc)
- ;; Insert a TOC here.
- (define-key map [(control c) (control i)] 'rst-toc-insert)
- ;; Update the document's TOC (without changing the cursor position).
- (define-key map [(control c) (control u)] 'rst-toc-update)
- ;; Got to the section under the cursor (cursor must be in TOC).
- (define-key map [(control c) (control f)] 'rst-goto-section)
-
- ;;
- ;; Converting Documents from Emacs.
- ;;
- ;; Run one of two pre-configured toolset commands on the document.
- (define-key map [(control c) (?1)] 'rst-compile)
- (define-key map [(control c) (?2)] 'rst-compile-alt-toolset)
- ;; Convert the active region to pseudo-xml using the docutils tools.
- (define-key map [(control c) (?3)] 'rst-compile-pseudo-region)
- ;; Convert the current document to PDF and launch a viewer on the results.
- (define-key map [(control c) (?4)] 'rst-compile-pdf-preview)
- ;; Convert the current document to S5 slides and view in a web browser.
- (define-key map [(control c) (?5)] 'rst-compile-slides-preview)
-
- map)
- "Keymap for ReStructuredText mode commands. This inherits from Text mode.")
-
-
-;; Abbrevs.
-(defvar rst-mode-abbrev-table nil
- "Abbrev table used while in rst mode.")
-(define-abbrev-table 'rst-mode-abbrev-table
- '(
- ("contents" ".. contents::\n..\n " nil 0)
- ("con" ".. contents::\n..\n " nil 0)
- ("cont" "[...]" nil 0)
- ("skip" "\n\n[...]\n\n " nil 0)
- ("seq" "\n\n[...]\n\n " nil 0)
- ;; FIXME: Add footnotes, links, and more.
- ))
-
-
-;; Syntax table.
-(defvar rst-mode-syntax-table
- (let ((st (copy-syntax-table text-mode-syntax-table)))
-
- (modify-syntax-entry ?$ "." st)
- (modify-syntax-entry ?% "." st)
- (modify-syntax-entry ?& "." st)
- (modify-syntax-entry ?' "." st)
- (modify-syntax-entry ?* "." st)
- (modify-syntax-entry ?+ "." st)
- (modify-syntax-entry ?. "_" st)
- (modify-syntax-entry ?/ "." st)
- (modify-syntax-entry ?< "." st)
- (modify-syntax-entry ?= "." st)
- (modify-syntax-entry ?> "." st)
- (modify-syntax-entry ?\\ "\\" st)
- (modify-syntax-entry ?| "." st)
- (modify-syntax-entry ?_ "." st)
- (when rst-use-unicode
- ;; Use strings because unicode literals are not understood before Emacs
- ;; 22
- (modify-syntax-entry (aref "\u00ab" 0) "." st)
- (modify-syntax-entry (aref "\u00bb" 0) "." st)
- (modify-syntax-entry (aref "\u2018" 0) "." st)
- (modify-syntax-entry (aref "\u2019" 0) "." st)
- (modify-syntax-entry (aref "\u201c" 0) "." st)
- (modify-syntax-entry (aref "\u201d" 0) "." st))
-
- st)
- "Syntax table used while in `rst-mode'.")
-
-
-(defcustom rst-mode-hook nil
- "Hook run when Rst Mode is turned on. The hook for Text Mode is run before
- this one."
- :group 'rst
- :type '(hook))
-
-
-;;;###autoload
-(define-derived-mode rst-mode text-mode "ReST"
- :abbrev-table rst-mode-abbrev-table
- :syntax-table rst-mode-syntax-table
- :group 'rst
- "Major mode for editing reStructuredText documents.
-
-There are a number of convenient keybindings provided by
-rst-mode. The main one is \[rst-adjust\], it updates or rotates
-the section title around point or promotes/demotes the
-decorations within the region (see full details below). Use
-negative prefix arg to rotate in the other direction.
-\\{rst-mode-map}
-
-Turning on `rst-mode' calls the normal hooks `text-mode-hook' and
-`rst-mode-hook'. This mode also supports font-lock highlighting."
-
- (set (make-local-variable 'paragraph-separate) paragraph-start)
- (set (make-local-variable 'indent-line-function)
- (if (<= emacs-major-version 21)
- 'indent-relative-maybe
- 'indent-relative))
- (set (make-local-variable 'paragraph-start)
- "\f\\|>*[ \t]*$\\|>*[ \t]*[-+*] \\|>*[ \t]*[0-9#]+\\. ")
- (set (make-local-variable 'adaptive-fill-mode) t)
-
- ;; FIXME: No need to reset this.
- ;; (set (make-local-variable 'indent-line-function) 'indent-relative)
-
- ;; The details of the following comment setup is important because it affects
- ;; auto-fill, and it is pretty common in running text to have an ellipsis
- ;; ("...") which trips because of the rest comment syntax (".. ").
- (set (make-local-variable 'comment-start) ".. ")
- (set (make-local-variable 'comment-start-skip) "^\\.\\. ")
- (set (make-local-variable 'comment-multi-line) nil)
-
- ;; Special variables
- (make-local-variable 'rst-adornment-level-alist)
-
- ;; Font lock
- (set (make-local-variable 'font-lock-defaults)
- '(rst-font-lock-keywords
- t nil nil nil
- (font-lock-multiline . t)
- (font-lock-mark-block-function . mark-paragraph)))
- (when (boundp 'font-lock-support-mode)
- ;; rst-mode does not need font-lock-support-mode and works not well with
- ;; jit-lock-mode because reST is not made for machines
- (set (make-local-variable 'font-lock-support-mode) nil)))
-
-;;;###autoload
-(define-minor-mode rst-minor-mode
- "ReST Minor Mode.
-Toggle ReST minor mode.
-With no argument, this command toggles the mode.
-Non-null prefix argument turns on the mode.
-Null prefix argument turns off the mode.
-
-When ReST minor mode is enabled, the ReST mode
-keybindings are installed on top of the major
-mode bindings. Use this for modes derived from
-text-mode, like mail-mode.."
- ;; The initial value.
- nil
- ;; The indicator for the mode line.
- " ReST"
- ;; The minor mode bindings.
- rst-mode-map
- :group 'rst)
-
-;; FIXME: can I somehow install these too?
-;; :abbrev-table rst-mode-abbrev-table
-;; :syntax-table rst-mode-syntax-table
-
-
-
-
-
-;; Bulleted item lists.
-(defcustom rst-bullets
- '(?- ?* ?+)
- "List of all possible bullet characters for bulleted lists."
- :group 'rst)
-
-
-
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Section Decoration Adjusment
-;; ============================
-;;
-;; The following functions implement a smart automatic title sectioning feature.
-;; The idea is that with the cursor sitting on a section title, we try to get as
-;; much information from context and try to do the best thing automatically.
-;; This function can be invoked many times and/or with prefix argument to rotate
-;; between the various sectioning decorations.
-;;
-;; Definitions: the two forms of sectioning define semantically separate section
-;; levels. A sectioning DECORATION consists in:
-;;
-;; - a CHARACTER
-;;
-;; - a STYLE which can be either of 'simple' or 'over-and-under'.
-;;
-;; - an INDENT (meaningful for the over-and-under style only) which determines
-;; how many characters and over-and-under style is hanging outside of the
-;; title at the beginning and ending.
-;;
-;; Important note: an existing decoration must be formed by at least two
-;; characters to be recognized.
-;;
-;; Here are two examples of decorations (| represents the window border, column
-;; 0):
-;;
-;; |
-;; 1. char: '-' e |Some Title
-;; style: simple |----------
-;; |
-;; 2. char: '=' |==============
-;; style: over-and-under | Some Title
-;; indent: 2 |==============
-;; |
-;;
-;; Some notes:
-;;
-;; - The underlining character that is used depends on context. The file is
-;; scanned to find other sections and an appropriate character is selected.
-;; If the function is invoked on a section that is complete, the character is
-;; rotated among the existing section decorations.
-;;
-;; Note that when rotating the characters, if we come to the end of the
-;; hierarchy of decorations, the variable rst-preferred-decorations is
-;; consulted to propose a new underline decoration, and if continued, we cycle
-;; the decorations all over again. Set this variable to nil if you want to
-;; limit the underlining character propositions to the existing decorations in
-;; the file.
-;;
-;; - A prefix argument can be used to alternate the style.
-;;
-;; - An underline/overline that is not extended to the column at which it should
-;; be hanging is dubbed INCOMPLETE. For example::
-;;
-;; |Some Title
-;; |-------
-;;
-;; Examples of default invocation:
-;;
-;; |Some Title ---> |Some Title
-;; | |----------
-;;
-;; |Some Title ---> |Some Title
-;; |----- |----------
-;;
-;; | |------------
-;; | Some Title ---> | Some Title
-;; | |------------
-;;
-;; In over-and-under style, when alternating the style, a variable is
-;; available to select how much default indent to use (it can be zero). Note
-;; that if the current section decoration already has an indent, we don't
-;; adjust it to the default, we rather use the current indent that is already
-;; there for adjustment (unless we cycle, in which case we use the indent
-;; that has been found previously).
-
-(defgroup rst-adjust nil
- "Settings for adjustment and cycling of section title
-decorations."
- :group 'rst
- :version "21.1")
-
-(defcustom rst-preferred-decorations '( (?= over-and-under 1)
- (?= simple 0)
- (?- simple 0)
- (?~ simple 0)
- (?+ simple 0)
- (?` simple 0)
- (?# simple 0)
- (?@ simple 0) )
- "Preferred ordering of section title decorations.
-
-This sequence is consulted to offer a new decoration suggestion
-when we rotate the underlines at the end of the existing
-hierarchy of characters, or when there is no existing section
-title in the file."
- :group 'rst-adjust)
-
-
-(defcustom rst-default-indent 1
- "Number of characters to indent the section title.
-
-THis is used for when toggling decoration styles, when switching
-from a simple decoration style to a over-and-under decoration
-style."
- :group 'rst-adjust)
-
-
-(defvar rst-section-text-regexp "^[ \t]*\\S-*\\w\\S-*"
- "Regular expression for valid section title text.")
-
-
-(defun rst-line-homogeneous-p (&optional accept-special)
- "Return true if the line is homogeneous.
-
-Predicate that returns the unique char if the current line is
-composed only of a single repeated non-whitespace character. This
-returns the char even if there is whitespace at the beginning of
-the line.
-
-If ACCEPT-SPECIAL is specified we do not ignore special sequences
-which normally we would ignore when doing a search on many lines.
-For example, normally we have cases to ignore commonly occuring
-patterns, such as :: or ...; with the flag do not ignore them."
- (save-excursion
- (back-to-indentation)
- (unless (looking-at "\n")
- (let ((c (thing-at-point 'char)))
- (if (and (looking-at (format "[%s]+[ \t]*$" c))
- (or accept-special
- (and
- ;; Common patterns.
- (not (looking-at "::[ \t]*$"))
- (not (looking-at "\\.\\.\\.[ \t]*$"))
- ;; Discard one char line
- (not (looking-at ".[ \t]*$"))
- )))
- (string-to-char c))
- ))
- ))
-
-(defun rst-line-homogeneous-nodent-p (&optional accept-special)
- "Return true if the line is homogeneous with no indent.
-See `rst-line-homogeneous-p' about ACCEPT-SPECIAL."
- (save-excursion
- (beginning-of-line)
- (if (looking-at "^[ \t]+")
- nil
- (rst-line-homogeneous-p accept-special)
- )))
-
-
-(defun rst-compare-decorations (deco1 deco2)
- "Compare decorations.
-Returns true if both DECO1 and DECO2 decorations are equal,
-according to restructured text semantics (only the character and
-the style are compared, the indentation does not matter."
- (and (eq (car deco1) (car deco2))
- (eq (cadr deco1) (cadr deco2))))
-
-
-(defun rst-get-decoration-match (hier deco)
- "Return the index (level) in hierarchy HIER of decoration DECO.
-This basically just searches for the item using the appropriate
-comparison and returns the index. We return nil if the item is
-not found."
- (let ((cur hier))
- (while (and cur (not (rst-compare-decorations (car cur) deco)))
- (setq cur (cdr cur)))
- cur))
-
-
-(defun rst-suggest-new-decoration (alldecos &optional prev)
- "Suggest a new, different decoration from all that have been seen.
-
-ALLDECOS is the set of all decorations, including the line
-numbers. PREV is the optional previous decoration, in order to
-suggest a better match."
-
- ;; For all the preferred decorations...
- (let* (
- ;; If 'prev' is given, reorder the list to start searching after the
- ;; match.
- (fplist
- (cdr (rst-get-decoration-match rst-preferred-decorations prev)))
-
- ;; List of candidates to search.
- (curpotential (append fplist rst-preferred-decorations)))
- (while
- ;; For all the decorations...
- (let ((cur alldecos)
- found)
- (while (and cur (not found))
- (if (rst-compare-decorations (car cur) (car curpotential))
- ;; Found it!
- (setq found (car curpotential))
- (setq cur (cdr cur))))
- found)
-
- (setq curpotential (cdr curpotential)))
-
- (copy-list (car curpotential)) ))
-
-(defun rst-delete-entire-line ()
- "Delete the entire current line without using the `kill-ring'."
- (delete-region (line-beginning-position) (min (+ 1 (line-end-position))
- (point-max))))
-
-(defun rst-update-section (char style &optional indent)
- "Unconditionally update the style of a section decoration.
-
-Do this using the given character CHAR, with STYLE 'simple or
-'over-and-under, and with indent INDENT. If the STYLE is
-'simple, whitespace before the title is removed (indent is always
-assume to be 0).
-
-If there are existing overline and/or underline from the
-existing decoration, they are removed before adding the
-requested decoration."
-
- (interactive)
- (let (marker
- len)
-
- (end-of-line)
- (setq marker (point-marker))
-
- ;; Fixup whitespace at the beginning and end of the line
- (if (or (null indent) (eq style 'simple))
- (setq indent 0))
- (beginning-of-line)
- (delete-horizontal-space)
- (insert (make-string indent ? ))
-
- (end-of-line)
- (delete-horizontal-space)
-
- ;; Set the current column, we're at the end of the title line
- (setq len (+ (current-column) indent))
-
- ;; Remove previous line if it consists only of a single repeated character
- (save-excursion
- (forward-line -1)
- (and (rst-line-homogeneous-p 1)
- ;; Avoid removing the underline of a title right above us.
- (save-excursion (forward-line -1)
- (not (looking-at rst-section-text-regexp)))
- (rst-delete-entire-line)))
-
- ;; Remove following line if it consists only of a single repeated
- ;; character
- (save-excursion
- (forward-line +1)
- (and (rst-line-homogeneous-p 1)
- (rst-delete-entire-line))
- ;; Add a newline if we're at the end of the buffer, for the subsequence
- ;; inserting of the underline
- (if (= (point) (buffer-end 1))
- (newline 1)))
-
- ;; Insert overline
- (if (eq style 'over-and-under)
- (save-excursion
- (beginning-of-line)
- (open-line 1)
- (insert (make-string len char))))
-
- ;; Insert underline
- (forward-line +1)
- (open-line 1)
- (insert (make-string len char))
-
- (forward-line +1)
- (goto-char marker)
- ))
-
-
-(defun rst-normalize-cursor-position ()
- "Normalize the cursor position.
-If the cursor is on a decoration line or an empty line , place it
-on the section title line (at the end). Returns the line offset
-by which the cursor was moved. This works both over or under a
-line."
- (if (save-excursion (beginning-of-line)
- (or (rst-line-homogeneous-p 1)
- (looking-at "^[ \t]*$")))
- (progn
- (beginning-of-line)
- (cond
- ((save-excursion (forward-line -1)
- (beginning-of-line)
- (and (looking-at rst-section-text-regexp)
- (not (rst-line-homogeneous-p 1))))
- (progn (forward-line -1) -1))
- ((save-excursion (forward-line +1)
- (beginning-of-line)
- (and (looking-at rst-section-text-regexp)
- (not (rst-line-homogeneous-p 1))))
- (progn (forward-line +1) +1))
- (t 0)))
- 0 ))
-
-
-(defun rst-find-all-decorations ()
- "Find all the decorations in the file.
-Return a list of (line, decoration) pairs. Each decoration
-consists in a (char, style, indent) triple.
-
-This function does not detect the hierarchy of decorations, it
-just finds all of them in a file. You can then invoke another
-function to remove redundancies and inconsistencies."
-
- (let (positions
- (curline 1))
- ;; Iterate over all the section titles/decorations in the file.
- (save-excursion
- (goto-char (point-min))
- (while (< (point) (buffer-end 1))
- (if (rst-line-homogeneous-nodent-p)
- (progn
- (setq curline (+ curline (rst-normalize-cursor-position)))
-
- ;; Here we have found a potential site for a decoration,
- ;; characterize it.
- (let ((deco (rst-get-decoration)))
- (if (cadr deco) ;; Style is existing.
- ;; Found a real decoration site.
- (progn
- (push (cons curline deco) positions)
- ;; Push beyond the underline.
- (forward-line 1)
- (setq curline (+ curline 1))
- )))
- ))
- (forward-line 1)
- (setq curline (+ curline 1))
- ))
- (reverse positions)))
-
-
-(defun rst-infer-hierarchy (decorations)
- "Build a hierarchy of decorations using the list of given DECORATIONS.
-
-This function expects a list of (char, style, indent) decoration
-specifications, in order that they appear in a file, and will
-infer a hierarchy of section levels by removing decorations that
-have already been seen in a forward traversal of the decorations,
-comparing just the character and style.
-
-Similarly returns a list of (char, style, indent), where each
-list element should be unique."
-
- (let ((hierarchy-alist (list)))
- (dolist (x decorations)
- (let ((char (car x))
- (style (cadr x)))
- (unless (assoc (cons char style) hierarchy-alist)
- (push (cons (cons char style) x) hierarchy-alist))
- ))
-
- (mapcar 'cdr (nreverse hierarchy-alist))
- ))
-
-
-(defun rst-get-hierarchy (&optional alldecos ignore)
- "Return the hierarchy of section titles in the file.
-
-Return a list of decorations that represents the hierarchy of
-section titles in the file. Reuse the list of decorations
-already computed in ALLDECOS if present. If the line number in
-IGNORE is specified, the decoration found on that line (if there
-is one) is not taken into account when building the hierarchy."
- (let ((all (or alldecos (rst-find-all-decorations))))
- (setq all (assq-delete-all ignore all))
- (rst-infer-hierarchy (mapcar 'cdr all))))
-
-
-(defun rst-get-decoration (&optional point)
- "Get the decoration at POINT.
-
-Looks around point and finds the characteristics of the
-decoration that is found there. We assume that the cursor is
-already placed on the title line (and not on the overline or
-underline).
-
-This function returns a (char, style, indent) triple. If the
-characters of overline and underline are different, we return
-the underline character. The indent is always calculated. A
-decoration can be said to exist if the style is not nil.
-
-A point can be specified to go to the given location before
-extracting the decoration."
-
- (let (char style indent)
- (save-excursion
- (if point (goto-char point))
- (beginning-of-line)
- (if (looking-at rst-section-text-regexp)
- (let* ((over (save-excursion
- (forward-line -1)
- (rst-line-homogeneous-nodent-p)))
-
- (under (save-excursion
- (forward-line +1)
- (rst-line-homogeneous-nodent-p)))
- )
-
- ;; Check that the line above the overline is not part of a title
- ;; above it.
- (if (and over
- (save-excursion
- (and (equal (forward-line -2) 0)
- (looking-at rst-section-text-regexp))))
- (setq over nil))
-
- (cond
- ;; No decoration found, leave all return values nil.
- ((and (eq over nil) (eq under nil)))
-
- ;; Overline only, leave all return values nil.
- ;;
- ;; Note: we don't return the overline character, but it could
- ;; perhaps in some cases be used to do something.
- ((and over (eq under nil)))
-
- ;; Underline only.
- ((and under (eq over nil))
- (setq char under
- style 'simple))
-
- ;; Both overline and underline.
- (t
- (setq char under
- style 'over-and-under))
- )
- )
- )
- ;; Find indentation.
- (setq indent (save-excursion (back-to-indentation) (current-column)))
- )
- ;; Return values.
- (list char style indent)))
-
-
-(defun rst-get-decorations-around (&optional alldecos)
- "Return the decorations around point.
-
-Given the list of all decorations ALLDECOS (with positions), find
-the decorations before and after the given point. A list of the
-previous and next decorations is returned."
- (let* ((all (or alldecos (rst-find-all-decorations)))
- (curline (line-number-at-pos))
- prev next
- (cur all))
-
- ;; Search for the decorations around the current line.
- (while (and cur (< (caar cur) curline))
- (setq prev cur
- cur (cdr cur)))
- ;; 'cur' is the following decoration.
-
- (if (and cur (caar cur))
- (setq next (if (= curline (caar cur)) (cdr cur) cur)))
-
- (mapcar 'cdar (list prev next))
- ))
-
-
-(defun rst-decoration-complete-p (deco)
- "Return true if the decoration DECO around POINT is complete."
- ;; Note: we assume that the detection of the overline as being the underline
- ;; of a preceding title has already been detected, and has been eliminated
- ;; from the decoration that is given to us.
-
- ;; There is some sectioning already present, so check if the current
- ;; sectioning is complete and correct.
- (let* ((char (car deco))
- (style (cadr deco))
- (indent (caddr deco))
- (endcol (save-excursion (end-of-line) (current-column)))
- )
- (if char
- (let ((exps (concat "^"
- (regexp-quote (make-string (+ endcol indent) char))
- "$")))
- (and
- (save-excursion (forward-line +1)
- (beginning-of-line)
- (looking-at exps))
- (or (not (eq style 'over-and-under))
- (save-excursion (forward-line -1)
- (beginning-of-line)
- (looking-at exps))))
- ))
- ))
-
-
-(defun rst-get-next-decoration
- (curdeco hier &optional suggestion reverse-direction)
- "Get the next decoration for CURDECO, in given hierarchy HIER.
-If suggesting, suggest for new decoration SUGGESTION.
-REVERSE-DIRECTION is used to reverse the cycling order."
-
- (let* (
- (char (car curdeco))
- (style (cadr curdeco))
-
- ;; Build a new list of decorations for the rotation.
- (rotdecos
- (append hier
- ;; Suggest a new decoration.
- (list suggestion
- ;; If nothing to suggest, use first decoration.
- (car hier)))) )
- (or
- ;; Search for next decoration.
- (cadr
- (let ((cur (if reverse-direction rotdecos
- (reverse rotdecos))))
- (while (and cur
- (not (and (eq char (caar cur))
- (eq style (cadar cur)))))
- (setq cur (cdr cur)))
- cur))
-
- ;; If not found, take the first of all decorations.
- suggestion
- )))
-
-
-(defun rst-adjust ()
- "Auto-adjust the decoration around point.
-
-Adjust/rotate the section decoration for the section title
-around point or promote/demote the decorations inside the region,
-depending on if the region is active. This function is meant to
-be invoked possibly multiple times, and can vary its behaviour
-with a positive prefix argument (toggle style), or with a
-negative prefix argument (alternate behaviour).
-
-This function is the main focus of this module and is a bit of a
-swiss knife. It is meant as the single most essential function
-to be bound to invoke to adjust the decorations of a section
-title in restructuredtext. It tries to deal with all the
-possible cases gracefully and to do `the right thing' in all
-cases.
-
-See the documentations of `rst-adjust-decoration' and
-`rst-promote-region' for full details.
-
-Prefix Arguments
-================
-
-The method can take either (but not both) of
-
-a. a (non-negative) prefix argument, which means to toggle the
- decoration style. Invoke with a prefix arg for example;
-
-b. a negative numerical argument, which generally inverts the
- direction of search in the file or hierarchy. Invoke with C--
- prefix for example."
- (interactive)
-
- (let* (;; Save our original position on the current line.
- (origpt (set-marker (make-marker) (point)))
-
- ;; Parse the positive and negative prefix arguments.
- (reverse-direction
- (and current-prefix-arg
- (< (prefix-numeric-value current-prefix-arg) 0)))
- (toggle-style
- (and current-prefix-arg (not reverse-direction))))
-
- (if (rst-portable-mark-active-p)
- ;; Adjust decorations within region.
- (rst-promote-region current-prefix-arg)
- ;; Adjust decoration around point.
- (rst-adjust-decoration toggle-style reverse-direction))
-
- ;; Run the hooks to run after adjusting.
- (run-hooks 'rst-adjust-hook)
-
- ;; Make sure to reset the cursor position properly after we're done.
- (goto-char origpt)
-
- ))
-
-(defvar rst-adjust-hook nil
- "Hooks to be run after running `rst-adjust'.")
-
-(defvar rst-new-decoration-down nil
- "If true, a new decoration being added will be initialized to
- be one level down from the previous decoration. If nil, a new
- decoration will be equal to the level of the previous
- decoration.")
-
-(defun rst-adjust-decoration (&optional toggle-style reverse-direction)
-"Adjust/rotate the section decoration for the section title around point.
-
-This function is meant to be invoked possibly multiple times, and
-can vary its behaviour with a true TOGGLE-STYLE argument, or with
-a REVERSE-DIRECTION argument.
-
-General Behaviour
-=================
-
-The next action it takes depends on context around the point, and
-it is meant to be invoked possibly more than once to rotate among
-the various possibilities. Basically, this function deals with:
-
-- adding a decoration if the title does not have one;
-
-- adjusting the length of the underline characters to fit a
- modified title;
-
-- rotating the decoration in the set of already existing
- sectioning decorations used in the file;
-
-- switching between simple and over-and-under styles.
-
-You should normally not have to read all the following, just
-invoke the method and it will do the most obvious thing that you
-would expect.
-
-
-Decoration Definitions
-======================
-
-The decorations consist in
-
-1. a CHARACTER
-
-2. a STYLE which can be either of 'simple' or 'over-and-under'.
-
-3. an INDENT (meaningful for the over-and-under style only)
- which determines how many characters and over-and-under
- style is hanging outside of the title at the beginning and
- ending.
-
-See source code for mode details.
-
-
-Detailed Behaviour Description
-==============================
-
-Here are the gory details of the algorithm (it seems quite
-complicated, but really, it does the most obvious thing in all
-the particular cases):
-
-Before applying the decoration change, the cursor is placed on
-the closest line that could contain a section title.
-
-Case 1: No Decoration
----------------------
-
-If the current line has no decoration around it,
-
-- search backwards for the last previous decoration, and apply
- the decoration one level lower to the current line. If there
- is no defined level below this previous decoration, we suggest
- the most appropriate of the `rst-preferred-decorations'.
-
- If REVERSE-DIRECTION is true, we simply use the previous
- decoration found directly.
-
-- if there is no decoration found in the given direction, we use
- the first of `rst-preferred-decorations'.
-
-The prefix argument forces a toggle of the prescribed decoration
-style.
-
-Case 2: Incomplete Decoration
------------------------------
-
-If the current line does have an existing decoration, but the
-decoration is incomplete, that is, the underline/overline does
-not extend to exactly the end of the title line (it is either too
-short or too long), we simply extend the length of the
-underlines/overlines to fit exactly the section title.
-
-If the prefix argument is given, we toggle the style of the
-decoration as well.
-
-REVERSE-DIRECTION has no effect in this case.
-
-Case 3: Complete Existing Decoration
-------------------------------------
-
-If the decoration is complete (i.e. the underline (overline)
-length is already adjusted to the end of the title line), we
-search/parse the file to establish the hierarchy of all the
-decorations (making sure not to include the decoration around
-point), and we rotate the current title's decoration from within
-that list (by default, going *down* the hierarchy that is present
-in the file, i.e. to a lower section level). This is meant to be
-used potentially multiple times, until the desired decoration is
-found around the title.
-
-If we hit the boundary of the hierarchy, exactly one choice from
-the list of preferred decorations is suggested/chosen, the first
-of those decoration that has not been seen in the file yet (and
-not including the decoration around point), and the next
-invocation rolls over to the other end of the hierarchy (i.e. it
-cycles). This allows you to avoid having to set which character
-to use by always using the
-
-If REVERSE-DIRECTION is true, the effect is to change the
-direction of rotation in the hierarchy of decorations, thus
-instead going *up* the hierarchy.
-
-However, if there is a non-negative prefix argument, we do not
-rotate the decoration, but instead simply toggle the style of the
-current decoration (this should be the most common way to toggle
-the style of an existing complete decoration).
-
-
-Point Location
-==============
-
-The invocation of this function can be carried out anywhere
-within the section title line, on an existing underline or
-overline, as well as on an empty line following a section title.
-This is meant to be as convenient as possible.
-
-
-Indented Sections
-=================
-
-Indented section titles such as ::
-
- My Title
- --------
-
-are illegal in restructuredtext and thus not recognized by the
-parser. This code will thus not work in a way that would support
-indented sections (it would be ambiguous anyway).
-
-
-Joint Sections
-==============
-
-Section titles that are right next to each other may not be
-treated well. More work might be needed to support those, and
-special conditions on the completeness of existing decorations
-might be required to make it non-ambiguous.
-
-For now we assume that the decorations are disjoint, that is,
-there is at least a single line between the titles/decoration
-lines.
-
-
-Suggested Binding
-=================
-
-We suggest that you bind this function on C-=. It is close to
-C-- so a negative argument can be easily specified with a flick
-of the right hand fingers and the binding is unused in `text-mode'."
- (interactive)
-
- ;; If we were invoked directly, parse the prefix arguments into the
- ;; arguments of the function.
- (if current-prefix-arg
- (setq reverse-direction
- (and current-prefix-arg
- (< (prefix-numeric-value current-prefix-arg) 0))
-
- toggle-style
- (and current-prefix-arg (not reverse-direction))))
-
- (let* (;; Check if we're on an underline around a section title, and move the
- ;; cursor to the title if this is the case.
- (moved (rst-normalize-cursor-position))
-
- ;; Find the decoration and completeness around point.
- (curdeco (rst-get-decoration))
- (char (car curdeco))
- (style (cadr curdeco))
- (indent (caddr curdeco))
-
- ;; New values to be computed.
- char-new style-new indent-new
- )
-
- ;; We've moved the cursor... if we're not looking at some text, we have
- ;; nothing to do.
- (if (save-excursion (beginning-of-line)
- (looking-at rst-section-text-regexp))
- (progn
- (cond
- ;;-------------------------------------------------------------------
- ;; Case 1: No Decoration
- ((and (eq char nil) (eq style nil))
-
- (let* ((alldecos (rst-find-all-decorations))
-
- (around (rst-get-decorations-around alldecos))
- (prev (car around))
- cur
-
- (hier (rst-get-hierarchy alldecos))
- )
-
- ;; Advance one level down.
- (setq cur
- (if prev
- (if (not reverse-direction)
- (or (funcall (if rst-new-decoration-down 'cadr 'car)
- (rst-get-decoration-match hier prev))
- (rst-suggest-new-decoration hier prev))
- prev)
- (copy-list (car rst-preferred-decorations))
- ))
-
- ;; Invert the style if requested.
- (if toggle-style
- (setcar (cdr cur) (if (eq (cadr cur) 'simple)
- 'over-and-under 'simple)) )
-
- (setq char-new (car cur)
- style-new (cadr cur)
- indent-new (caddr cur))
- ))
-
- ;;-------------------------------------------------------------------
- ;; Case 2: Incomplete Decoration
- ((not (rst-decoration-complete-p curdeco))
-
- ;; Invert the style if requested.
- (if toggle-style
- (setq style (if (eq style 'simple) 'over-and-under 'simple)))
-
- (setq char-new char
- style-new style
- indent-new indent))
-
- ;;-------------------------------------------------------------------
- ;; Case 3: Complete Existing Decoration
- (t
- (if toggle-style
-
- ;; Simply switch the style of the current decoration.
- (setq char-new char
- style-new (if (eq style 'simple) 'over-and-under 'simple)
- indent-new rst-default-indent)
-
- ;; Else, we rotate, ignoring the decoration around the current
- ;; line...
- (let* ((alldecos (rst-find-all-decorations))
-
- (hier (rst-get-hierarchy alldecos (line-number-at-pos)))
-
- ;; Suggestion, in case we need to come up with something
- ;; new
- (suggestion (rst-suggest-new-decoration
- hier
- (car (rst-get-decorations-around alldecos))))
-
- (nextdeco (rst-get-next-decoration
- curdeco hier suggestion reverse-direction))
-
- )
-
- ;; Indent, if present, always overrides the prescribed indent.
- (setq char-new (car nextdeco)
- style-new (cadr nextdeco)
- indent-new (caddr nextdeco))
-
- )))
- )
-
- ;; Override indent with present indent!
- (setq indent-new (if (> indent 0) indent indent-new))
-
- (if (and char-new style-new)
- (rst-update-section char-new style-new indent-new))
- ))
-
-
- ;; Correct the position of the cursor to more accurately reflect where it
- ;; was located when the function was invoked.
- (unless (= moved 0)
- (forward-line (- moved))
- (end-of-line))
-
- ))
-
-;; Maintain an alias for compatibility.
-(defalias 'rst-adjust-section-title 'rst-adjust)
-
-
-(defun rst-promote-region (&optional demote)
- "Promote the section titles within the region.
-
-With argument DEMOTE or a prefix argument, demote the
-section titles instead. The algorithm used at the boundaries of
-the hierarchy is similar to that used by `rst-adjust-decoration'."
- (interactive)
-
- (let* ((demote (or current-prefix-arg demote))
- (alldecos (rst-find-all-decorations))
- (cur alldecos)
-
- (hier (rst-get-hierarchy alldecos))
- (suggestion (rst-suggest-new-decoration hier))
-
- (region-begin-line (line-number-at-pos (region-beginning)))
- (region-end-line (line-number-at-pos (region-end)))
-
- marker-list
- )
-
- ;; Skip the markers that come before the region beginning
- (while (and cur (< (caar cur) region-begin-line))
- (setq cur (cdr cur)))
-
- ;; Create a list of markers for all the decorations which are found within
- ;; the region.
- (save-excursion
- (let (m line)
- (while (and cur (< (setq line (caar cur)) region-end-line))
- (setq m (make-marker))
- (goto-line line)
- (push (list (set-marker m (point)) (cdar cur)) marker-list)
- (setq cur (cdr cur)) ))
-
- ;; Apply modifications.
- (let (nextdeco)
- (dolist (p marker-list)
- ;; Go to the decoration to promote.
- (goto-char (car p))
-
- ;; Rotate the next decoration.
- (setq nextdeco (rst-get-next-decoration
- (cadr p) hier suggestion demote))
-
- ;; Update the decoration.
- (apply 'rst-update-section nextdeco)
-
- ;; Clear marker to avoid slowing down the editing after we're done.
- (set-marker (car p) nil)
- ))
- (setq deactivate-mark nil)
- )))
-
-
-
-(defun rst-display-decorations-hierarchy (&optional decorations)
- "Display the current file's section title decorations hierarchy.
-This function expects a list of (char, style, indent) triples in
-DECORATIONS."
- (interactive)
-
- (if (not decorations)
- (setq decorations (rst-get-hierarchy)))
- (with-output-to-temp-buffer "*rest section hierarchy*"
- (let ((level 1))
- (with-current-buffer standard-output
- (dolist (x decorations)
- (insert (format "\nSection Level %d" level))
- (apply 'rst-update-section x)
- (goto-char (point-max))
- (insert "\n")
- (incf level)
- ))
- )))
-
-(defun rst-straighten-decorations ()
- "Redo all the decorations in the current buffer.
-This is done using our preferred set of decorations. This can be
-used, for example, when using somebody else's copy of a document,
-in order to adapt it to our preferred style."
- (interactive)
- (save-excursion
- (let* ((alldecos (rst-find-all-decorations))
- (hier (rst-get-hierarchy alldecos))
-
- ;; Get a list of pairs of (level . marker)
- (levels-and-markers (mapcar
- (lambda (deco)
- (cons (position (cdr deco) hier :test 'equal)
- (let ((m (make-marker)))
- (goto-line (car deco))
- (set-marker m (point))
- m)))
- alldecos))
- )
- (dolist (lm levels-and-markers)
- ;; Go to the appropriate position
- (goto-char (cdr lm))
-
- ;; Apply the new styule
- (apply 'rst-update-section (nth (car lm) rst-preferred-decorations))
-
- ;; Reset the market to avoid slowing down editing until it gets GC'ed
- (set-marker (cdr lm) nil)
- )
- )))
-
-
-
-
-(defun rst-straighten-deco-spacing ()
- "Adjust the spacing before and after decorations in the entire document.
-The spacing will be set to two blank lines before the first two
-section levels, and one blank line before any of the other
-section levels."
-;; FIXME: we need to take care of subtitle at some point.
- (interactive)
- (save-excursion
- (let* ((alldecos (rst-find-all-decorations)))
-
- ;; Work the list from the end, so that we don't have to use markers to
- ;; adjust for the changes in the document.
- (dolist (deco (nreverse alldecos))
- ;; Go to the appropriate position.
- (goto-line (car deco))
- (insert "@\n")
-;; FIXME: todo, we
- )
- )))
-
-
-(defun rst-find-pfx-in-region (beg end pfx-re)
- "Find all the positions of prefixes in region between BEG and END.
-This is used to find bullets and enumerated list items. PFX-RE
-is a regular expression for matching the lines with items."
- (let (pfx)
- (save-excursion
- (goto-char beg)
- (while (< (point) end)
- (back-to-indentation)
- (when (and
- (looking-at pfx-re)
- (let ((pfx-col (current-column)))
- (save-excursion
- (forward-line -1)
- (back-to-indentation)
- (or (looking-at "^[ \t]*$")
- (> (current-column) pfx-col)
- (and (= (current-column) pfx-col)
- (looking-at pfx-re))))))
- (setq pfx (cons (cons (point) (current-column))
- pfx)))
- (forward-line 1)) )
- (nreverse pfx)))
-
-(defvar rst-re-bullets
- (format "\\([%s][ \t]\\)[^ \t]" (regexp-quote (concat rst-bullets)))
- "Regexp for finding bullets.")
-
-(defvar rst-re-enumerations
- "\\(\\(#\\|[0-9]+\\)\\.[ \t]\\)[^ \t]"
- "Regexp for finding bullets.")
-
-(defvar rst-re-items
- (format "\\(%s\\|%s\\)[^ \t]"
- (format "[%s][ \t]" (regexp-quote (concat rst-bullets)))
- "\\(#\\|[0-9]+\\)\\.[ \t]")
- "Regexp for finding bullets.")
-
-(defvar rst-preferred-bullets
- '(?- ?* ?+)
- "List of favourite bullets to set for straightening bullets.")
-
-(defun rst-straighten-bullets-region (beg end)
- "Make all the bulleted list items in the region consistent.
-The region is specified between BEG and END. You can use this
-after you have merged multiple bulleted lists to make them use
-the same/correct/consistent bullet characters.
-
-See variable `rst-preferred-bullets' for the list of bullets to
-adjust. If bullets are found on levels beyond the
-`rst-preferred-bullets' list, they are not modified."
- (interactive "r")
-
- (let ((bullets (rst-find-pfx-in-region beg end
- rst-re-bullets))
- (levtable (make-hash-table :size 4)))
-
- ;; Create a map of levels to list of positions.
- (dolist (x bullets)
- (let ((key (cdr x)))
- (puthash key
- (append (gethash key levtable (list))
- (list (car x)))
- levtable)))
-
- ;; Sort this map and create a new map of prefix char and list of positions.
- (let (poslist)
- (maphash (lambda (x y) (setq poslist (cons (cons x y) poslist))) levtable)
-
- (mapcar* (lambda (x char)
- ;; Apply the characters.
- (dolist (pos (cdr x))
- (goto-char pos)
- (delete-char 1)
- (insert (char-to-string char))))
-
- ;; Sorted list of indent . positions
- (sort poslist (lambda (x y) (<= (car x) (car y))))
-
- ;; List of preferred bullets.
- rst-preferred-bullets)
-
- )))
-
-(defun rst-rstrip (str)
- "Strips the whitespace at the end of string STR."
- (string-match "[ \t\n]*\\'" str)
- (substring str 0 (match-beginning 0)))
-
-(defun rst-get-stripped-line ()
- "Return the line at cursor, stripped from whitespace."
- (re-search-forward "\\S-.*\\S-" (line-end-position))
- (buffer-substring-no-properties (match-beginning 0)
- (match-end 0)) )
-
-(defun rst-section-tree (alldecos)
- "Get the hierarchical tree of section titles.
-
-Returns a hierarchical tree of the sections titles in the
-document, for decorations ALLDECOS. This can be used to generate
-a table of contents for the document. The top node will always
-be a nil node, with the top level titles as children (there may
-potentially be more than one).
-
-Each section title consists in a cons of the stripped title
-string and a marker to the section in the original text document.
-
-If there are missing section levels, the section titles are
-inserted automatically, and the title string is set to nil, and
-the marker set to the first non-nil child of itself.
-Conceptually, the nil nodes--i.e. those which have no title--are
-to be considered as being the same line as their first non-nil
-child. This has advantages later in processing the graph."
-
- (let* ((hier (rst-get-hierarchy alldecos))
- (levels (make-hash-table :test 'equal :size 10))
- lines)
-
- (let ((lev 0))
- (dolist (deco hier)
- ;; Compare just the character and indent in the hash table.
- (puthash (cons (car deco) (cadr deco)) lev levels)
- (incf lev)))
-
- ;; Create a list of lines that contains (text, level, marker) for each
- ;; decoration.
- (save-excursion
- (setq lines
- (mapcar (lambda (deco)
- (goto-line (car deco))
- (list (gethash (cons (cadr deco) (caddr deco)) levels)
- (rst-get-stripped-line)
- (let ((m (make-marker)))
- (beginning-of-line 1)
- (set-marker m (point)))
- ))
- alldecos)))
-
- (let ((lcontnr (cons nil lines)))
- (rst-section-tree-rec lcontnr -1))))
-
-
-(defun rst-section-tree-rec (decos lev)
- "Recursive guts of the section tree construction.
-DECOS is a cons cell whose cdr is the remaining list of
-decorations, and we change it as we consume them. LEV is the
-current level of that node. This function returns a pair of the
-subtree that was built. This treats the decos list
-destructively."
-
- (let ((ndeco (cadr decos))
- node
- children)
-
- ;; If the next decoration matches our level
- (when (and ndeco (= (car ndeco) lev))
- ;; Pop the next decoration and create the current node with it
- (setcdr decos (cddr decos))
- (setq node (cdr ndeco)) )
- ;; Else we let the node title/marker be unset.
-
- ;; Build the child nodes
- (while (and (cdr decos) (> (caadr decos) lev))
- (setq children
- (cons (rst-section-tree-rec decos (1+ lev))
- children)))
- (setq children (reverse children))
-
- ;; If node is still unset, we use the marker of the first child.
- (when (eq node nil)
- (setq node (cons nil (cdaar children))))
-
- ;; Return this node with its children.
- (cons node children)
- ))
-
-
-(defun rst-section-tree-point (node &optional point)
- "Find tree node at point.
-Given a computed and valid section tree in NODE and a point
-POINT (default being the current point in the current buffer),
-find and return the node within the sectree where the cursor
-lives.
-
-Return values: a pair of (parent path, container subtree). The
-parent path is simply a list of the nodes above the container
-subtree node that we're returning."
-
- (let (path outtree)
-
- (let* ((curpoint (or point (point))))
-
- ;; Check if we are before the current node.
- (if (and (cadar node) (>= curpoint (cadar node)))
-
- ;; Iterate all the children, looking for one that might contain the
- ;; current section.
- (let ((curnode (cdr node))
- last)
-
- (while (and curnode (>= curpoint (cadaar curnode)))
- (setq last curnode
- curnode (cdr curnode)))
-
- (if last
- (let ((sub (rst-section-tree-point (car last) curpoint)))
- (setq path (car sub)
- outtree (cdr sub)))
- (setq outtree node))
-
- )))
- (cons (cons (car node) path) outtree)
- ))
-
-
-(defun rst-toc-insert (&optional pfxarg)
- "Insert a simple text rendering of the table of contents.
-By default the top level is ignored if there is only one, because
-we assume that the document will have a single title.
-
-If a numeric prefix argument PFXARG is given, insert the TOC up
-to the specified level.
-
-The TOC is inserted indented at the current column."
-
- (interactive "P")
-
- (let* (;; Check maximum level override
- (rst-toc-insert-max-level
- (if (and (integerp pfxarg) (> (prefix-numeric-value pfxarg) 0))
- (prefix-numeric-value pfxarg) rst-toc-insert-max-level))
-
- ;; Get the section tree for the current cursor point.
- (sectree-pair
- (rst-section-tree-point
- (rst-section-tree (rst-find-all-decorations))))
-
- ;; Figure out initial indent.
- (initial-indent (make-string (current-column) ? ))
- (init-point (point)))
-
- (when (cddr sectree-pair)
- (rst-toc-insert-node (cdr sectree-pair) 0 initial-indent "")
-
- ;; Fixup for the first line.
- (delete-region init-point (+ init-point (length initial-indent)))
-
- ;; Delete the last newline added.
- (delete-backward-char 1)
- )))
-
-
-(defgroup rst-toc nil
- "Settings for reStructuredText table of contents."
- :group 'rst
- :version "21.1")
-
-(defcustom rst-toc-indent 2
- "Indentation for table-of-contents display.
-Also used for formatting insertion, when numbering is disabled."
- :group 'rst-toc)
-
-(defcustom rst-toc-insert-style 'fixed
- "Insertion style for table-of-contents.
-Set this to one of the following values to determine numbering and
-indentation style:
-- plain: no numbering (fixed indentation)
-- fixed: numbering, but fixed indentation
-- aligned: numbering, titles aligned under each other
-- listed: numbering, with dashes like list items (EXPERIMENTAL)"
- :group 'rst-toc)
-
-(defcustom rst-toc-insert-number-separator " "
- "Separator that goes between the TOC number and the title."
- :group 'rst-toc)
-
-;; This is used to avoid having to change the user's mode.
-(defvar rst-toc-insert-click-keymap
- (let ((map (make-sparse-keymap)))
- (define-key map [mouse-1] 'rst-toc-mode-mouse-goto)
- map)
- "(Internal) What happens when you click on propertized text in the TOC.")
-
-(defcustom rst-toc-insert-max-level nil
- "If non-nil, maximum depth of the inserted TOC."
- :group 'rst-toc)
-
-(defun rst-toc-insert-node (node level indent pfx)
- "Insert tree node NODE in table-of-contents.
-Recursive function that does printing of the inserted toc. LEVEL
-is the depth level of the sections in the tree. INDENT bis the
-indentation string. PFX is the prefix numbering, that includes
-the alignment necessary for all the children of level to
-align."
-
- ;; Note: we do child numbering from the parent, so we start number the
- ;; children one level before we print them.
- (let ((do-print (> level 0))
- (count 1))
- (when do-print
- (insert indent)
- (let ((b (point)))
- (unless (equal rst-toc-insert-style 'plain)
- (insert pfx rst-toc-insert-number-separator))
- (insert (or (caar node) "[missing node]"))
- ;; Add properties to the text, even though in normal text mode it
- ;; won't be doing anything for now. Not sure that I want to change
- ;; mode stuff. At least the highlighting gives the idea that this
- ;; is generated automatically.
- (put-text-property b (point) 'mouse-face 'highlight)
- (put-text-property b (point) 'rst-toc-target (cadar node))
- (put-text-property b (point) 'keymap rst-toc-insert-click-keymap)
-
- )
- (insert "\n")
-
- ;; Prepare indent for children.
- (setq indent
- (cond
- ((eq rst-toc-insert-style 'plain)
- (concat indent (make-string rst-toc-indent ? )))
-
- ((eq rst-toc-insert-style 'fixed)
- (concat indent (make-string rst-toc-indent ? )))
-
- ((eq rst-toc-insert-style 'aligned)
- (concat indent (make-string (+ (length pfx) 2) ? )))
-
- ((eq rst-toc-insert-style 'listed)
- (concat (substring indent 0 -3)
- (concat (make-string (+ (length pfx) 2) ? ) " - ")))
- ))
- )
-
- (if (or (eq rst-toc-insert-max-level nil)
- (< level rst-toc-insert-max-level))
- (let ((do-child-numbering (>= level 0))
- fmt)
- (if do-child-numbering
- (progn
- ;; Add a separating dot if there is already a prefix
- (if (> (length pfx) 0)
- (setq pfx (concat (rst-rstrip pfx) ".")))
-
- ;; Calculate the amount of space that the prefix will require
- ;; for the numbers.
- (if (cdr node)
- (setq fmt (format "%%-%dd"
- (1+ (floor (log10 (length
- (cdr node))))))))
- ))
-
- (dolist (child (cdr node))
- (rst-toc-insert-node child
- (1+ level)
- indent
- (if do-child-numbering
- (concat pfx (format fmt count)) pfx))
- (incf count)))
-
- )))
-
-
-(defun rst-toc-insert-find-delete-contents ()
- "Find and deletes an existing comment after the first contents directive.
-Delete that region. Return t if found and the cursor is left after the comment."
- (goto-char (point-min))
- ;; We look for the following and the following only (in other words, if your
- ;; syntax differs, this won't work. If you would like a more flexible thing,
- ;; contact the author, I just can't imagine that this requirement is
- ;; unreasonable for now).
- ;;
- ;; .. contents:: [...anything here...]
- ;; ..
- ;; XXXXXXXX
- ;; XXXXXXXX
- ;; [more lines]
- ;;
- (let ((beg
- (re-search-forward "^\\.\\. contents[ \t]*::\\(.*\\)\n\\.\\."
- nil t))
- last-real)
- (when beg
- ;; Look for the first line that starts at the first column.
- (forward-line 1)
- (beginning-of-line)
- (while (and
- (< (point) (point-max))
- (or (and (looking-at "[ \t]+[^ \t]") (setq last-real (point)) t)
- (looking-at "[ \t]*$")))
- (forward-line 1)
- )
- (if last-real
- (progn
- (goto-char last-real)
- (end-of-line)
- (delete-region beg (point)))
- (goto-char beg))
- t
- )))
-
-(defun rst-toc-update ()
- "Automatically find the contents section of a document and update.
-Updates the inserted TOC if present. You can use this in your
-file-write hook to always make it up-to-date automatically."
- (interactive)
- (let ((p (point)))
- (save-excursion
- (when (rst-toc-insert-find-delete-contents)
- (insert "\n ")
- (rst-toc-insert)
- ))
- ;; Somehow save-excursion does not really work well.
- (goto-char p))
- ;; Note: always return nil, because this may be used as a hook.
- )
-
-;; Note: we cannot bind the TOC update on file write because it messes with
-;; undo. If we disable undo, since it adds and removes characters, the
-;; positions in the undo list are not making sense anymore. Dunno what to do
-;; with this, it would be nice to update when saving.
-;;
-;; (add-hook 'write-contents-hooks 'rst-toc-update-fun)
-;; (defun rst-toc-update-fun ()
-;; ;; Disable undo for the write file hook.
-;; (let ((buffer-undo-list t)) (rst-toc-update) ))
-
-(defalias 'rst-toc-insert-update 'rst-toc-update) ;; backwards compat.
-
-;;------------------------------------------------------------------------------
-
-(defun rst-toc-node (node level)
- "Recursive function that does insert NODE at LEVEL in the table-of-contents."
-
- (if (> level 0)
- (let ((b (point)))
- ;; Insert line text.
- (insert (make-string (* rst-toc-indent (1- level)) ? ))
- (insert (or (caar node) "[missing node]"))
-
- ;; Highlight lines.
- (put-text-property b (point) 'mouse-face 'highlight)
-
- ;; Add link on lines.
- (put-text-property b (point) 'rst-toc-target (cadar node))
-
- (insert "\n")
- ))
-
- (dolist (child (cdr node))
- (rst-toc-node child (1+ level))))
-
-(defun rst-toc-count-lines (node target-node)
- "Count the number of lines from NODE to the TARGET-NODE node.
-This recursive function returns a cons of the number of
-additional lines that have been counted for its node and children
-and 't if the node has been found."
-
- (let ((count 1)
- found)
- (if (eq node target-node)
- (setq found t)
- (let ((child (cdr node)))
- (while (and child (not found))
- (let ((cl (rst-toc-count-lines (car child) target-node)))
- (setq count (+ count (car cl))
- found (cdr cl)
- child (cdr child))))))
- (cons count found)))
-
-
-(defun rst-toc ()
- "Display a table-of-contents.
-Finds all the section titles and their decorations in the
-file, and displays a hierarchically-organized list of the
-titles, which is essentially a table-of-contents of the
-document.
-
-The Emacs buffer can be navigated, and selecting a section
-brings the cursor in that section."
- (interactive)
- (let* ((curbuf (current-buffer))
-
- ;; Get the section tree
- (alldecos (rst-find-all-decorations))
- (sectree (rst-section-tree alldecos))
-
- (our-node (cdr (rst-section-tree-point sectree)))
- line
-
- ;; Create a temporary buffer.
- (buf (get-buffer-create rst-toc-buffer-name))
- )
-
- (with-current-buffer buf
- (let ((inhibit-read-only t))
- (rst-toc-mode)
- (delete-region (point-min) (point-max))
- (insert (format "Table of Contents: %s\n" (or (caar sectree) "")))
- (put-text-property (point-min) (point)
- 'face (list '(background-color . "gray")))
- (rst-toc-node sectree 0)
-
- ;; Count the lines to our found node.
- (let ((linefound (rst-toc-count-lines sectree our-node)))
- (setq line (if (cdr linefound) (car linefound) 0)))
- ))
- (display-buffer buf)
- (pop-to-buffer buf)
-
- ;; Save the buffer to return to.
- (set (make-local-variable 'rst-toc-return-buffer) curbuf)
-
- ;; Move the cursor near the right section in the TOC.
- (goto-line line)
- ))
-
-
-(defun rst-toc-mode-find-section ()
- "Get the section from text property at point."
- (let ((pos (get-text-property (point) 'rst-toc-target)))
- (unless pos
- (error "No section on this line"))
- (unless (buffer-live-p (marker-buffer pos))
- (error "Buffer for this section was killed"))
- pos))
-
-(defvar rst-toc-buffer-name "*Table of Contents*"
- "Name of the Table of Contents buffer.")
-
-(defun rst-goto-section (&optional kill)
- "Go to the section the current line describes."
- (interactive)
- (let ((pos (rst-toc-mode-find-section)))
- (when kill
- (kill-buffer (get-buffer rst-toc-buffer-name)))
- (pop-to-buffer (marker-buffer pos))
- (goto-char pos)
- ;; FIXME: make the recentering conditional on scroll.
- (recenter 5)))
-
-(defun rst-toc-mode-goto-section ()
- "Go to the section the current line describes and kill the toc buffer."
- (interactive)
- (rst-goto-section t))
-
-(defun rst-toc-mode-mouse-goto (event)
- "In `rst-toc' mode, go to the occurrence whose line you click on.
-EVENT is the input event."
- (interactive "e")
- (let (pos)
- (save-excursion
- (set-buffer (window-buffer (posn-window (event-end event))))
- (save-excursion
- (goto-char (posn-point (event-end event)))
- (setq pos (rst-toc-mode-find-section))))
- (pop-to-buffer (marker-buffer pos))
- (goto-char pos)
- (recenter 5)))
-
-(defun rst-toc-mode-mouse-goto-kill (event)
- (interactive "e")
- (call-interactively 'rst-toc-mode-mouse-goto event)
- (kill-buffer (get-buffer rst-toc-buffer-name)))
-
-(defvar rst-toc-return-buffer nil
- "Buffer local variable that is used to return to the original
- buffer from the TOC.")
-
-(defun rst-toc-quit-window ()
- (interactive)
- (quit-window)
- (pop-to-buffer rst-toc-return-buffer))
-
-(defvar rst-toc-mode-map
- (let ((map (make-sparse-keymap)))
- (define-key map [mouse-1] 'rst-toc-mode-mouse-goto-kill)
- (define-key map [mouse-2] 'rst-toc-mode-mouse-goto)
- (define-key map "\C-m" 'rst-toc-mode-goto-section)
- (define-key map "f" 'rst-toc-mode-goto-section)
- (define-key map "q" 'rst-toc-quit-window)
- (define-key map "z" 'kill-this-buffer)
- map)
- "Keymap for `rst-toc-mode'.")
-
-(put 'rst-toc-mode 'mode-class 'special)
-
-(defun rst-toc-mode ()
- "Major mode for output from \\[rst-toc], the table-of-contents for the document."
- (interactive)
- (kill-all-local-variables)
- (use-local-map rst-toc-mode-map)
- (setq major-mode 'rst-toc-mode)
- (setq mode-name "ReST-TOC")
- (setq buffer-read-only t)
- )
-
-;; Note: use occur-mode (replace.el) as a good example to complete missing
-;; features.
-
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;;
-;; Section movement commands.
-;;
-
-(defun rst-forward-section (&optional offset)
- "Skip to the next restructured text section title.
- OFFSET specifies how many titles to skip. Use a negative OFFSET to move
- backwards in the file (default is to use 1)."
- (interactive)
- (let* (;; Default value for offset.
- (offset (or offset 1))
-
- ;; Get all the decorations in the file, with their line numbers.
- (alldecos (rst-find-all-decorations))
-
- ;; Get the current line.
- (curline (line-number-at-pos))
-
- (cur alldecos)
- (idx 0)
- )
-
- ;; Find the index of the "next" decoration w.r.t. to the current line.
- (while (and cur (< (caar cur) curline))
- (setq cur (cdr cur))
- (incf idx))
- ;; 'cur' is the decoration on or following the current line.
-
- (if (and (> offset 0) cur (= (caar cur) curline))
- (incf idx))
-
- ;; Find the final index.
- (setq idx (+ idx (if (> offset 0) (- offset 1) offset)))
- (setq cur (nth idx alldecos))
-
- ;; If the index is positive, goto the line, otherwise go to the buffer
- ;; boundaries.
- (if (and cur (>= idx 0))
- (goto-line (car cur))
- (if (> offset 0) (goto-char (point-max)) (goto-char (point-min))))
- ))
-
-(defun rst-backward-section ()
- "Like rst-forward-section, except move back one title.
-With a prefix argument, move backward by a page."
- (interactive)
- (rst-forward-section -1))
-
-(defun rst-mark-section (&optional arg allow-extend)
- "Select the section that point is currently in."
- ;; Cloned from mark-paragraph.
- (interactive "p\np")
- (unless arg (setq arg 1))
- (when (zerop arg)
- (error "Cannot mark zero sections"))
- (cond ((and allow-extend
- (or (and (eq last-command this-command) (mark t))
- (rst-portable-mark-active-p)))
- (set-mark
- (save-excursion
- (goto-char (mark))
- (rst-forward-section arg)
- (point))))
- (t
- (rst-forward-section arg)
- (push-mark nil t t)
- (rst-forward-section (- arg)))))
-
-
-
-
-
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Functions to work on item lists (e.g. indent/dedent, enumerate), which are
-;; always 2 or 3 characters apart horizontally with rest.
-
-;; (FIXME: there is currently a bug that makes the region go away when we do that.)
-(defvar rst-shift-fill-region nil
- "Set to true if you want to automatically re-fill the region that is being
-shifted.")
-
-(defun rst-find-leftmost-column (beg end)
- "Finds the leftmost column in the region."
- (let ((mincol 1000))
- (save-excursion
- (goto-char beg)
- (while (< (point) end)
- (back-to-indentation)
- (unless (looking-at "[ \t]*$")
- (setq mincol (min mincol (current-column))))
- (forward-line 1)
- ))
- mincol))
-
-
-;; What we really need to do is compute all the possible alignment possibilities
-;; and then select one.
-;;
-;; .. line-block::
-;;
-;; a) sdjsds
-;;
-;; - sdjsd jsjds
-;;
-;; sdsdsjdsj
-;;
-;; 11. sjdss jddjs
-;;
-;; * * * * * * *
-;;
-;; Move backwards, accumulate the beginning positions, and also the second
-;; positions, in case the line matches the bullet pattern, and then sort.
-
-(defun rst-compute-bullet-tabs (&optional pt)
- "Search backwards from point (or point PT if specified) to
-build the list of possible horizontal alignment points that
-includes the beginning and contents of a restructuredtext
-bulleted or enumerated list item. Return a sorted list
-of (column-number . line) pairs."
- (save-excursion
- (when pt (goto-char pt))
-
- ;; We work our way backwards and towards the left.
- (let ((leftcol 100000) ;; Current column.
- (tablist nil) ;; List of tab positions.
- )
-
- ;; Start by skipping the current line.
- (beginning-of-line 0)
-
- ;; Search backwards for each line.
- (while (and (> (point) (point-min))
- (> leftcol 0))
-
- ;; Skip empty lines.
- (unless (looking-at "^[ \t]*$")
- ;; Inspect the current non-empty line
- (back-to-indentation)
-
- ;; Skip lines that are beyond the current column (we want to move
- ;; towards the left).
- (let ((col (current-column)))
- (when (< col leftcol)
-
- ;; Add the beginning of the line as a tabbing point.
- (unless (memq col (mapcar 'car tablist))
- (setq tablist (cons (cons col (point)) tablist)))
-
- ;; Look at the line to figure out if it is a bulleted or enumerate
- ;; list item.
- (when (looking-at
- (concat
- "\\(?:"
- "\\(\\(?:[0-9a-zA-Z#]\\{1,3\\}[.):-]\\|[*+-]\\)[ \t]+\\)[^ \t\n]"
- "\\|"
- (format "\\(%s%s+[ \t]+\\)[^ \t\n]"
- (regexp-quote (thing-at-point 'char))
- (regexp-quote (thing-at-point 'char)))
- "\\)"
- ))
- ;; Add the column of the contained item.
- (let* ((matchlen (length (or (match-string 1) (match-string 2))))
- (newcol (+ col matchlen)))
- (unless (or (>= newcol leftcol)
- (memq (+ col matchlen) (mapcar 'car tablist)))
- (setq tablist (cons
- (cons (+ col matchlen) (+ (point) matchlen))
- tablist))))
- )
-
- (setq leftcol col)
- )))
-
- ;; Move backwards one line.
- (beginning-of-line 0))
-
- (sort tablist (lambda (x y) (<= (car x) (car y))))
- )))
-
-(defun rst-debug-print-tabs (tablist)
- "A routine that inserts a line and places special characters at
-the tab points in the given tablist."
- (beginning-of-line)
- (insert (concat "\n" (make-string 1000 ? ) "\n"))
- (beginning-of-line 0)
- (dolist (col tablist)
- (beginning-of-line)
- (forward-char (car col))
- (delete-char 1)
- (insert "@")
- ))
-
-(defun rst-debug-mark-found (tablist)
- "A routine that inserts a line and places special characters at
-the tab points in the given tablist."
- (dolist (col tablist)
- (when (cdr col)
- (goto-char (cdr col))
- (insert "@"))))
-
-
-(defvar rst-shift-basic-offset 2
- "Basic horizontal shift distance when there is no preceding alignment tabs.")
-
-(defun rst-shift-region-guts (find-next-fun offset-fun)
- "(See rst-shift-region-right for a description.)"
- (let* ((mbeg (set-marker (make-marker) (region-beginning)))
- (mend (set-marker (make-marker) (region-end)))
- (tabs (rst-compute-bullet-tabs mbeg))
- (leftmostcol (rst-find-leftmost-column (region-beginning) (region-end)))
- )
- ;; Add basic offset tabs at the end of the list. This is a better
- ;; implementation technique than hysteresis and a basic offset because it
- ;; insures that movement in both directions is consistently using the same
- ;; column positions. This makes it more predictable.
- (setq tabs
- (append tabs
- (mapcar (lambda (x) (cons x nil))
- (let ((maxcol 120)
- (max-lisp-eval-depth 2000))
- (flet ((addnum (x)
- (if (> x maxcol)
- nil
- (cons x (addnum
- (+ x rst-shift-basic-offset))))))
- (addnum (or (caar (last tabs)) 0))))
- )))
-
- ;; (For debugging.)
- ;;; (save-excursion (goto-char mbeg) (forward-char -1) (rst-debug-print-tabs tabs))))
- ;;; (print tabs)
- ;;; (save-excursion (rst-debug-mark-found tabs))
-
- ;; Apply the indent.
- (indent-rigidly
- mbeg mend
-
- ;; Find the next tab after the leftmost columnt.
- (let ((tab (funcall find-next-fun tabs leftmostcol)))
-
- (if tab
- (progn
- (when (cdar tab)
- (message "Aligned on '%s'"
- (save-excursion
- (goto-char (cdar tab))
- (buffer-substring-no-properties
- (line-beginning-position)
- (line-end-position))))
- )
- (- (caar tab) leftmostcol)) ;; Num chars.
-
- ;; Otherwise use the basic offset
- (funcall offset-fun rst-shift-basic-offset)
- )))
-
- ;; Optionally reindent.
- (when rst-shift-fill-region
- (fill-region mbeg mend))
- ))
-
-(defun rst-shift-region-right (pfxarg)
- "Indent region ridigly, by a few characters to the right. This
-function first computes all possible alignment columns by
-inspecting the lines preceding the region for bulleted or
-enumerated list items. If the leftmost column is beyond the
-preceding lines, the region is moved to the right by
-rst-shift-basic-offset. With a prefix argument, do not
-automatically fill the region."
- (interactive "P")
- (let ((rst-shift-fill-region
- (if (not pfxarg) rst-shift-fill-region)))
- (rst-shift-region-guts (lambda (tabs leftmostcol)
- (let ((cur tabs))
- (while (and cur (<= (caar cur) leftmostcol))
- (setq cur (cdr cur)))
- cur))
- 'identity
- )))
-
-(defun rst-shift-region-left (pfxarg)
- "Like rst-shift-region-right, except we move to the left.
-Also, if invoked with a negative prefix arg, the entire
-indentation is removed, up to the leftmost character in the
-region, and automatic filling is disabled."
- (interactive "P")
- (let ((mbeg (set-marker (make-marker) (region-beginning)))
- (mend (set-marker (make-marker) (region-end)))
- (leftmostcol (rst-find-leftmost-column
- (region-beginning) (region-end)))
- (rst-shift-fill-region
- (if (not pfxarg) rst-shift-fill-region)))
-
- (when (> leftmostcol 0)
- (if (and pfxarg (< (prefix-numeric-value pfxarg) 0))
- (progn
- (indent-rigidly (region-beginning) (region-end) (- leftmostcol))
- (when rst-shift-fill-region
- (fill-region mbeg mend))
- )
- (rst-shift-region-guts (lambda (tabs leftmostcol)
- (let ((cur (reverse tabs)))
- (while (and cur (>= (caar cur) leftmostcol))
- (setq cur (cdr cur)))
- cur))
- '-
- ))
- )))
-
-
-;;------------------------------------------------------------------------------
-
-;; FIXME: these next functions should become part of a larger effort to redo the
-;; bullets in bulletted lists. The enumerate would just be one of the possible
-;; outputs.
-;;
-;; FIXME: TODO we need to do the enumeration removal as well.
-
-(defun rst-enumerate-region (beg end)
- "Add enumeration to all the leftmost paragraphs in the given region.
-The region is specified between BEG and END. With prefix argument,
-do all lines instead of just paragraphs."
- (interactive "r")
- (let ((count 0)
- (last-insert-len nil))
- (rst-iterate-leftmost-paragraphs
- beg end (not current-prefix-arg)
- (let ((ins-string (format "%d. " (incf count))))
- (setq last-insert-len (length ins-string))
- (insert ins-string))
- (insert (make-string last-insert-len ?\ ))
- )))
-
-(defun rst-bullet-list-region (beg end)
- "Add bullets to all the leftmost paragraphs in the given region.
-The region is specified between BEG and END. With prefix argument,
-do all lines instead of just paragraphs."
- (interactive "r")
- (rst-iterate-leftmost-paragraphs
- beg end (not current-prefix-arg)
- (insert "- ")
- (insert " ")
- ))
-
-(defmacro rst-iterate-leftmost-paragraphs
- (beg end first-only body-consequent body-alternative)
- "FIXME This definition is old and deprecated / we need to move
-to the newer version below:
-
-Call FUN at the beginning of each line, with an argument that
-specifies whether we are at the first line of a paragraph that
-starts at the leftmost column of the given region BEG and END.
-Set FIRST-ONLY to true if you want to callback on the first line
-of each paragraph only."
- `(save-excursion
- (let ((leftcol (rst-find-leftmost-column ,beg ,end))
- (endm (set-marker (make-marker) ,end))
- ,(when first-only '(in-par nil))
- )
-
- (do* (;; Iterate lines
- (l (progn (goto-char ,beg) (back-to-indentation))
- (progn (forward-line 1) (back-to-indentation)))
-
- (previous nil valid)
-
- (curcol (current-column)
- (current-column))
-
- (valid (and (= curcol leftcol)
- (not (looking-at "[ \t]*$")))
- (and (= curcol leftcol)
- (not (looking-at "[ \t]*$"))))
- )
- ((>= (point-marker) endm))
-
- (if (if ,first-only
- (and valid (not previous))
- valid)
- ,body-consequent
- ,body-alternative)
-
- ))))
-
-
-(defmacro rst-iterate-leftmost-paragraphs-2 (spec &rest body)
- "Evaluate BODY for each line in region defined by BEG END.
-LEFTMOST is set to true if the line is one of the leftmost of the
-entire paragraph. PARABEGIN is set to true if the line is the
-first of a paragraph."
- (destructuring-bind
- (beg end parabegin leftmost isleftmost isempty) spec
-
- `(save-excursion
- (let ((,leftmost (rst-find-leftmost-column ,beg ,end))
- (endm (set-marker (make-marker) ,end))
- (in-par nil)
- )
-
- (do* (;; Iterate lines
- (l (progn (goto-char ,beg) (back-to-indentation))
- (progn (forward-line 1) (back-to-indentation)))
-
- (empty-line-previous nil ,isempty)
-
- (,isempty (looking-at "[ \t]*$")
- (looking-at "[ \t]*$"))
-
- (,parabegin (not ,isempty)
- (and empty-line-previous
- (not ,isempty)))
-
- (,isleftmost (and (not ,isempty)
- (= (current-column) ,leftmost))
- (and (not ,isempty)
- (= (current-column) ,leftmost)))
- )
- ((>= (point-marker) endm))
-
- (progn , at body)
-
- )))))
-
-
-;; FIXME: there are some problems left with the following function
-;; implementation:
-;;
-;; * It does not deal with a varying number of digits appropriately
-;; * It does not deal with multiple levels independently, and it should.
-;;
-;; I suppose it does 90% of the job for now.
-
-(defun rst-convert-bullets-to-enumeration (beg end)
- "Convert all the bulleted items and enumerated items in the
- region to enumerated lists, renumbering as necessary."
- (interactive "r")
- (let* (;; Find items and convert the positions to markers.
- (items (mapcar
- (lambda (x)
- (cons (let ((m (make-marker)))
- (set-marker m (car x))
- m)
- (cdr x)))
- (rst-find-pfx-in-region beg end rst-re-items)))
- (count 1)
- )
- (save-excursion
- (dolist (x items)
- (goto-char (car x))
- (looking-at rst-re-items)
- (replace-match (format "%d. " count) nil nil nil 1)
- (incf count)
- ))
- ))
-
-
-
-;;------------------------------------------------------------------------------
-
-(defun rst-line-block-region (rbeg rend &optional pfxarg)
- "Toggle line block prefixes for a region. With prefix argument
-set the empty lines too."
- (interactive "r\nP")
- (let ((comment-start "| ")
- (comment-end "")
- (comment-start-skip "| ")
- (comment-style 'indent)
- (force current-prefix-arg))
- (rst-iterate-leftmost-paragraphs-2
- (rbeg rend parbegin leftmost isleft isempty)
- (if force
- (progn
- (move-to-column leftmost t)
- (delete-region (point) (+ (point) (- (current-indentation) leftmost)))
- (insert "| "))
- (when (not isempty)
- (move-to-column leftmost)
- (delete-region (point) (+ (point) (- (current-indentation) leftmost)))
- (insert "| ")))
- )))
-
-
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
-(require 'font-lock)
-
-(defgroup rst-faces nil "Faces used in Rst Mode"
- :group 'rst
- :group 'faces
- :version "21.1")
-
-(defcustom rst-block-face 'font-lock-keyword-face
- "All syntax marking up a special block"
- :group 'rst-faces
- :type '(face))
-
-(defcustom rst-external-face 'font-lock-type-face
- "Field names and interpreted text"
- :group 'rst-faces
- :type '(face))
-
-(defcustom rst-definition-face 'font-lock-function-name-face
- "All other defining constructs"
- :group 'rst-faces
- :type '(face))
-
-(defcustom rst-directive-face
- ;; XEmacs compatibility
- (if (boundp 'font-lock-builtin-face)
- 'font-lock-builtin-face
- 'font-lock-preprocessor-face)
- "Directives and roles"
- :group 'rst-faces
- :type '(face))
-
-(defcustom rst-comment-face 'font-lock-comment-face
- "Comments"
- :group 'rst-faces
- :type '(face))
-
-(defcustom rst-emphasis1-face
- ;; XEmacs compatibility
- (if (facep 'italic)
- ''italic
- 'italic)
- "Simple emphasis"
- :group 'rst-faces
- :type '(face))
-
-(defcustom rst-emphasis2-face
- ;; XEmacs compatibility
- (if (facep 'bold)
- ''bold
- 'bold)
- "Double emphasis"
- :group 'rst-faces
- :type '(face))
-
-(defcustom rst-literal-face 'font-lock-string-face
- "Literal text"
- :group 'rst-faces
- :type '(face))
-
-(defcustom rst-reference-face 'font-lock-variable-name-face
- "References to a definition"
- :group 'rst-faces
- :type '(face))
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
-(defgroup rst-faces-defaults nil
- "Values used to generate default faces for section titles on all levels.
-Tweak these if you are content with how section title faces are built in
-general but you do not like the details."
- :group 'rst-faces
- :version "21.1")
-
-(defun rst-define-level-faces ()
- "Define the faces for the section title text faces from the values."
- ;; All variables used here must be checked in `rst-set-level-default'
- (let ((i 1))
- (while (<= i rst-level-face-max)
- (let ((sym (intern (format "rst-level-%d-face" i)))
- (doc (format "Face for showing section title text at level %d" i))
- (col (format (concat "%s" rst-level-face-format-light)
- rst-level-face-base-color
- (+ (* (1- i) rst-level-face-step-light)
- rst-level-face-base-light))))
- (make-empty-face sym)
- (set-face-doc-string sym doc)
- (set-face-background sym col)
- (set sym sym)
- (setq i (1+ i))))))
-
-(defun rst-set-level-default (sym val)
- "Set a customized value affecting section title text face and recompute the
-faces."
- (custom-set-default sym val)
- ;; Also defines the faces initially when all values are available
- (and (boundp 'rst-level-face-max)
- (boundp 'rst-level-face-format-light)
- (boundp 'rst-level-face-base-color)
- (boundp 'rst-level-face-step-light)
- (boundp 'rst-level-face-base-light)
- (rst-define-level-faces)))
-
-;; Faces for displaying items on several levels; these definitions define
-;; different shades of grey where the lightest one (i.e. least contrasting) is
-;; used for level 1
-(defcustom rst-level-face-max 6
- "Maximum depth of levels for which section title faces are defined."
- :group 'rst-faces-defaults
- :type '(integer)
- :set 'rst-set-level-default)
-(defcustom rst-level-face-base-color "grey"
- "The base name of the color to be used for creating background colors in
-ection title faces for all levels."
- :group 'rst-faces-defaults
- :type '(string)
- :set 'rst-set-level-default)
-(defcustom rst-level-face-base-light
- (if (eq frame-background-mode 'dark)
- 15
- 85)
- "The lightness factor for the base color. This value is used for level 1. The
-default depends on whether the value of `frame-background-mode' is `dark' or
-not."
- :group 'rst-faces-defaults
- :type '(integer)
- :set 'rst-set-level-default)
-(defcustom rst-level-face-format-light "%2d"
- "The format for the lightness factor appended to the base name of the color.
-This value is expanded by `format' with an integer."
- :group 'rst-faces-defaults
- :type '(string)
- :set 'rst-set-level-default)
-(defcustom rst-level-face-step-light
- (if (eq frame-background-mode 'dark)
- 7
- -7)
- "The step width to use for the next color. The formula
-
- `rst-level-face-base-light'
- + (`rst-level-face-max' - 1) * `rst-level-face-step-light'
-
-must result in a color level which appended to `rst-level-face-base-color'
-using `rst-level-face-format-light' results in a valid color such as `grey50'.
-This color is used as background for section title text on level
-`rst-level-face-max'."
- :group 'rst-faces-defaults
- :type '(integer)
- :set 'rst-set-level-default)
-
-(defcustom rst-adornment-faces-alist
- (let ((alist '((t . font-lock-keyword-face)
- (nil . font-lock-keyword-face)))
- (i 1))
- (while (<= i rst-level-face-max)
- (nconc alist (list (cons i (intern (format "rst-level-%d-face" i)))))
- (setq i (1+ i)))
- alist)
- "Provides faces for the various adornment types. Key is a number (for the
-section title text of that level), t (for transitions) or nil (for section
-title adornment). If you generally do not like how section title text faces are
-set up tweak here. If the general idea is ok for you but you do not like the
-details check the Rst Faces Defaults group."
- :group 'rst-faces
- :type '(alist
- :key-type
- (choice
- (integer
- :tag
- "Section level (may not be bigger than `rst-level-face-max')")
- (boolean :tag "transitions (on) / section title adornment (off)"))
- :value-type (face))
- :set-after '(rst-level-face-max))
-
-
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Font lock
-
-(defconst rst-use-char-classes
- (string-match "[[:alpha:]]" "b")
- "Non-nil if we can use the character classes in our regexps.")
-
-(defvar rst-font-lock-keywords
- ;; The reST-links in the comments below all relate to sections in
- ;; http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html
- (let* ( ;; This gets big - so let's define some abbreviations; the trailing
- ;; numbers in the names give the number of regex groups contained
- ;; horizontal white space
- (re-hws "[\t ]")
- ;; beginning of line with possible indentation
- (re-bol (concat "^" re-hws "*"))
- ;; Separates block lead-ins from their content
- (re-blksep1 (concat "\\(" re-hws "+\\|$\\)"))
- ;; explicit markup tag
- (re-emt "\\.\\.")
- ;; explicit markup start
- (re-ems (concat re-emt re-hws "+"))
- ;; inline markup prefix
- (re-imp1 (concat "\\(^\\|" re-hws "\\|[-'\"([{<"
- (if rst-use-unicode
- "\u2018\u201c\u00ab\u2019"
- "")
- "/:]\\)"))
- ;; inline markup suffix
- (re-ims1 (concat "\\(" re-hws "\\|[]-'\")}>"
- (if rst-use-unicode
- "\u2019\u201d\u00bb"
- "")
- "/:.,;!?\\]\\|$\\)"))
- ;; symbol character
- (re-sym1 "\\(\\sw\\|\\s_\\)")
- ;; inline markup content begin
- (re-imbeg2 "\\(\\S \\|\\S \\([^")
-
- ;; There seems to be a bug leading to error "Stack overflow in regexp
- ;; matcher" when "|" or "\\*" are the characters searched for
- (re-imendbeg
- (if (< emacs-major-version 21)
- "]"
- "\\]\\|\\\\."))
- ;; inline markup content end
- (re-imend (concat re-imendbeg "\\)*[^\t \\\\]\\)"))
- ;; inline markup content without asterisk
- (re-ima2 (concat re-imbeg2 "*" re-imend))
- ;; inline markup content without backquote
- (re-imb2 (concat re-imbeg2 "`" re-imend))
- ;; inline markup content without vertical bar
- (re-imv2 (concat re-imbeg2 "|" re-imend))
- ;; Supported URI schemes
- (re-uris1 "\\(acap\\|cid\\|data\\|dav\\|fax\\|file\\|ftp\\|gopher\\|http\\|https\\|imap\\|ldap\\|mailto\\|mid\\|modem\\|news\\|nfs\\|nntp\\|pop\\|prospero\\|rtsp\\|service\\|sip\\|tel\\|telnet\\|tip\\|urn\\|vemmi\\|wais\\)")
- ;; Line starting with adornment and optional whitespace; complete
- ;; adornment is in (match-string 1); there must be at least 3
- ;; characters because otherwise explicit markup start would be
- ;; recognized
- (re-ado2 (concat "^\\(\\(["
- (if rst-use-char-classes
- "^[:word:][:space:][:cntrl:]"
- "^\\w \t\x00-\x1F")
- "]\\)\\2\\2+\\)" re-hws "*$"))
- )
- (list
- ;; FIXME: Block markup is not recognized in blocks after explicit markup
- ;; start
-
- ;; Simple `Body Elements`_
- ;; `Bullet Lists`_
- (list
- (concat re-bol "\\([-*+]" re-blksep1 "\\)")
- 1 rst-block-face)
- ;; `Enumerated Lists`_
- (list
- (concat re-bol "\\((?\\(#\\|[0-9]+\\|[A-Za-z]\\|[IVXLCMivxlcm]+\\)[.)]"
- re-blksep1 "\\)")
- 1 rst-block-face)
- ;; `Definition Lists`_ FIXME: missing
- ;; `Field Lists`_
- (list
- (concat re-bol "\\(:[^:\n]+:\\)" re-blksep1)
- 1 rst-external-face)
- ;; `Option Lists`_
- (list
- (concat re-bol "\\(\\(\\(\\([-+/]\\|--\\)\\sw\\(-\\|\\sw\\)*"
- "\\([ =]\\S +\\)?\\)\\(,[\t ]\\)?\\)+\\)\\($\\|[\t ]\\{2\\}\\)")
- 1 rst-block-face)
-
- ;; `Tables`_ FIXME: missing
-
- ;; All the `Explicit Markup Blocks`_
- ;; `Footnotes`_ / `Citations`_
- (list
- (concat re-bol "\\(" re-ems "\\[[^[\n]+\\]\\)" re-blksep1)
- 1 rst-definition-face)
- ;; `Directives`_ / `Substitution Definitions`_
- (list
- (concat re-bol "\\(" re-ems "\\)\\(\\(|[^|\n]+|[\t ]+\\)?\\)\\("
- re-sym1 "+::\\)" re-blksep1)
- (list 1 rst-directive-face)
- (list 2 rst-definition-face)
- (list 4 rst-directive-face))
- ;; `Hyperlink Targets`_
- (list
- (concat re-bol "\\(" re-ems "_\\([^:\\`\n]\\|\\\\.\\|`[^`\n]+`\\)+:\\)"
- re-blksep1)
- 1 rst-definition-face)
- (list
- (concat re-bol "\\(__\\)" re-blksep1)
- 1 rst-definition-face)
-
- ;; All `Inline Markup`_
- ;; FIXME: Condition 5 preventing fontification of e.g. "*" not implemented
- ;; `Strong Emphasis`_
- (list
- (concat re-imp1 "\\(\\*\\*" re-ima2 "\\*\\*\\)" re-ims1)
- 2 rst-emphasis2-face)
- ;; `Emphasis`_
- (list
- (concat re-imp1 "\\(\\*" re-ima2 "\\*\\)" re-ims1)
- 2 rst-emphasis1-face)
- ;; `Inline Literals`_
- (list
- (concat re-imp1 "\\(``" re-imb2 "``\\)" re-ims1)
- 2 rst-literal-face)
- ;; `Inline Internal Targets`_
- (list
- (concat re-imp1 "\\(_`" re-imb2 "`\\)" re-ims1)
- 2 rst-definition-face)
- ;; `Hyperlink References`_
- ;; FIXME: `Embedded URIs`_ not considered
- (list
- (concat re-imp1 "\\(\\(`" re-imb2 "`\\|\\(\\sw\\(\\sw\\|-\\)+\\sw\\)\\)__?\\)" re-ims1)
- 2 rst-reference-face)
- ;; `Interpreted Text`_
- (list
- (concat re-imp1 "\\(\\(:" re-sym1 "+:\\)?\\)\\(`" re-imb2 "`\\)\\(\\(:"
- re-sym1 "+:\\)?\\)" re-ims1)
- (list 2 rst-directive-face)
- (list 5 rst-external-face)
- (list 8 rst-directive-face))
- ;; `Footnote References`_ / `Citation References`_
- (list
- (concat re-imp1 "\\(\\[[^]]+\\]_\\)" re-ims1)
- 2 rst-reference-face)
- ;; `Substitution References`_
- (list
- (concat re-imp1 "\\(|" re-imv2 "|\\)" re-ims1)
- 2 rst-reference-face)
- ;; `Standalone Hyperlinks`_
- (list
- ;; FIXME: This takes it easy by using a whitespace as delimiter
- (concat re-imp1 "\\(" re-uris1 ":\\S +\\)" re-ims1)
- 2 rst-definition-face)
- (list
- (concat re-imp1 "\\(" re-sym1 "+@" re-sym1 "+\\)" re-ims1)
- 2 rst-definition-face)
-
- ;; Do all block fontification as late as possible so 'append works
-
- ;; Sections_ / Transitions_
- (list
- re-ado2
- (list 'rst-font-lock-handle-adornment-match
- '(rst-font-lock-handle-adornment-limit
- (match-string-no-properties 1) (match-end 1))
- nil
- (list 1 '(cdr (assoc nil rst-adornment-faces-alist))
- 'append t)
- (list 2 '(cdr (assoc rst-font-lock-adornment-level
- rst-adornment-faces-alist))
- 'append t)
- (list 3 '(cdr (assoc nil rst-adornment-faces-alist))
- 'append t)))
-
- ;; `Comments`_
- (list
- (concat re-bol "\\(" re-ems "\\)\[^[|_]\\([^:\n]\\|:\\([^:\n]\\|$\\)\\)*$")
- (list 1 rst-comment-face)
- (list 'rst-font-lock-find-unindented-line-match
- '(rst-font-lock-find-unindented-line-limit (match-end 1))
- nil
- (list 0 rst-comment-face 'append)))
- (list
- (concat re-bol "\\(" re-emt "\\)\\(\\s *\\)$")
- (list 1 rst-comment-face)
- (list 2 rst-comment-face)
- (list 'rst-font-lock-find-unindented-line-match
- '(rst-font-lock-find-unindented-line-limit 'next)
- nil
- (list 0 rst-comment-face 'append)))
-
- ;; `Literal Blocks`_
- (list
- (concat re-bol "\\(\\([^.\n]\\|\\.[^.\n]\\).*\\)?\\(::\\)$")
- (list 3 rst-block-face)
- (list 'rst-font-lock-find-unindented-line-match
- '(rst-font-lock-find-unindented-line-limit t)
- nil
- (list 0 rst-literal-face 'append)))
-
- ;; `Doctest Blocks`_
- (list
- (concat re-bol "\\(>>>\\|\\.\\.\\.\\)\\(.+\\)")
- (list 1 rst-block-face)
- (list 2 rst-literal-face))
- ))
- "Returns keywords to highlight in rst mode according to current settings.")
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Indented blocks
-
-(defun rst-forward-indented-block (&optional column limit)
- "Move forward across one indented block.
-Find the next non-empty line which is not indented at least to COLUMN (defaults
-to the column of the point). Moves point to first character of this line or the
-first empty line immediately before it and returns that position. If there is
-no such line before LIMIT (defaults to the end of the buffer) returns nil and
-point is not moved."
- (interactive)
- (let ((clm (or column (current-column)))
- (start (point))
- fnd beg cand)
- (if (not limit)
- (setq limit (point-max)))
- (save-match-data
- (while (and (not fnd) (< (point) limit))
- (forward-line 1)
- (when (< (point) limit)
- (setq beg (point))
- (if (looking-at "\\s *$")
- (setq cand (or cand beg)) ; An empty line is a candidate
- (move-to-column clm)
- ;; FIXME: No indentation [(zerop clm)] must be handled in some
- ;; useful way - though it is not clear what this should mean at all
- (if (string-match
- "^\\s *$" (buffer-substring-no-properties beg (point)))
- (setq cand nil) ; An indented line resets a candidate
- (setq fnd (or cand beg)))))))
- (goto-char (or fnd start))
- fnd))
-
-;; Beginning of the match if `rst-font-lock-find-unindented-line-end'.
-(defvar rst-font-lock-find-unindented-line-begin nil)
-
-;; End of the match as determined by
-;; `rst-font-lock-find-unindented-line-limit'. Also used as a trigger for
-;; `rst-font-lock-find-unindented-line-match'.
-(defvar rst-font-lock-find-unindented-line-end nil)
-
-;; Finds the next unindented line relative to indenation at IND-PNT and returns
-;; this point, the end of the buffer or nil if nothing found. If IND-PNT is
-;; `next' takes the indentation from the next line if this is not empty. If
-;; IND-PNT is non-nil but not a number takes the indentation from the next
-;; non-empty line.
-(defun rst-font-lock-find-unindented-line-limit (ind-pnt)
- (setq rst-font-lock-find-unindented-line-begin ind-pnt)
- (setq rst-font-lock-find-unindented-line-end
- (save-excursion
- (when (not (numberp ind-pnt))
- ;; Find indentation point in next line if any
- (setq ind-pnt
- ;; FIXME: Should be refactored to two different functions
- ;; giving their result to this function, may be
- ;; integrated in caller
- (save-match-data
- (if (eq ind-pnt 'next)
- (when (and (zerop (forward-line 1))
- (< (point) (point-max)))
- ;; Not at EOF
- (setq rst-font-lock-find-unindented-line-begin (point))
- (when (not (looking-at "\\s *$"))
- ;; Use end of indentation if non-empty line
- (looking-at "\\s *")
- (match-end 0)))
- ;; Skip until non-empty line or EOF
- (while (and (zerop (forward-line 1))
- (< (point) (point-max))
- (looking-at "\\s *$")))
- (when (< (point) (point-max))
- ;; Not at EOF
- (setq rst-font-lock-find-unindented-line-begin (point))
- (looking-at "\\s *")
- (match-end 0))))))
- (when ind-pnt
- (goto-char ind-pnt)
- (or (rst-forward-indented-block nil (point-max))
- (point-max))))))
-
-;; Sets the match found by `rst-font-lock-find-unindented-line-limit' the first
-;; time called or nil.
-(defun rst-font-lock-find-unindented-line-match (limit)
- (when rst-font-lock-find-unindented-line-end
- (set-match-data
- (list rst-font-lock-find-unindented-line-begin
- rst-font-lock-find-unindented-line-end))
- ;; Make sure this is called only once
- (setq rst-font-lock-find-unindented-line-end nil)
- t))
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Adornments
-
-;; Here `rst-font-lock-handle-adornment-match' stores the section level of the
-;; current adornment or t for a transition.
-(defvar rst-font-lock-adornment-level nil)
-
-;; FIXME: It would be good if this could be used to markup section titles of
-;; given level with a special key; it would be even better to be able to
-;; customize this so it can be used for a generally available personal style
-;;
-;; FIXME: There should be some way to reset and reload this variable - probably
-;; a special key
-;;
-;; FIXME: Some support for `outline-mode' would be nice which should be based
-;; on this information
-(defvar rst-adornment-level-alist nil
- "Associates adornments with section levels.
-The key is a two character string. The first character is the adornment
-character. The second character distinguishes underline section titles (`u')
-from overline/underline section titles (`o'). The value is the section level.
-
-This is made buffer local on start and adornments found during font lock are
-entered.")
-
-;; Returns section level for adornment key KEY. Adds new section level if KEY
-;; is not found and ADD. If KEY is not a string it is simply returned.
-(defun rst-adornment-level (key &optional add)
- (let ((fnd (assoc key rst-adornment-level-alist))
- (new 1))
- (cond
- ((not (stringp key))
- key)
- (fnd
- (cdr fnd))
- (add
- (while (rassoc new rst-adornment-level-alist)
- (setq new (1+ new)))
- (setq rst-adornment-level-alist
- (append rst-adornment-level-alist (list (cons key new))))
- new))))
-
-;; Classifies adornment for section titles and transitions. ADORNMENT is the
-;; complete adornment string as found in the buffer. END is the point after the
-;; last character of ADORNMENT. For overline section adornment LIMIT limits the
-;; search for the matching underline. Returns a list. The first entry is t for
-;; a transition, or a key string for `rst-adornment-level' for a section title.
-;; The following eight values forming four match groups as can be used for
-;; `set-match-data'. First match group contains the maximum points of the whole
-;; construct. Second and last match group matched pure section title adornment
-;; while third match group matched the section title text or the transition.
-;; Each group but the first may or may not exist.
-(defun rst-classify-adornment (adornment end limit)
- (save-excursion
- (save-match-data
- (goto-char end)
- (let ((ado-ch (aref adornment 0))
- (ado-re (regexp-quote adornment))
- (end-pnt (point))
- (beg-pnt (progn
- (forward-line 0)
- (point)))
- (nxt-emp
- (save-excursion
- (or (not (zerop (forward-line 1)))
- (looking-at "\\s *$"))))
- (prv-emp
- (save-excursion
- (or (not (zerop (forward-line -1)))
- (looking-at "\\s *$"))))
- key beg-ovr end-ovr beg-txt end-txt beg-und end-und)
- (cond
- ((and nxt-emp prv-emp)
- ;; A transition
- (setq key t)
- (setq beg-txt beg-pnt)
- (setq end-txt end-pnt))
- (prv-emp
- ;; An overline
- (setq key (concat (list ado-ch) "o"))
- (setq beg-ovr beg-pnt)
- (setq end-ovr end-pnt)
- (forward-line 1)
- (setq beg-txt (point))
- (while (and (<= (point) limit) (not end-txt))
- (if (or (= (point) limit) (looking-at "\\s *$"))
- ;; No underline found
- (setq end-txt (1- (point)))
- (when (looking-at (concat "\\(" ado-re "\\)\\s *$"))
- (setq end-und (match-end 1))
- (setq beg-und (point))
- (setq end-txt (1- beg-und))))
- (forward-line 1)))
- (t
- ;; An underline
- (setq key (concat (list ado-ch) "u"))
- (setq beg-und beg-pnt)
- (setq end-und end-pnt)
- (setq end-txt (1- beg-und))
- (setq beg-txt (progn
- (goto-char end-txt)
- (forward-line 0)
- (point)))
- (when (and (zerop (forward-line -1))
- (looking-at (concat "\\(" ado-re "\\)\\s *$")))
- ;; There is a matching overline
- (setq key (concat (list ado-ch) "o"))
- (setq beg-ovr (point))
- (setq end-ovr (match-end 1)))))
- (list key
- (or beg-ovr beg-txt beg-und)
- (or end-und end-txt end-und)
- beg-ovr end-ovr beg-txt end-txt beg-und end-und)))))
-
-;; Stores the result of `rst-classify-adornment'. Also used as a trigger
-;; for `rst-font-lock-handle-adornment-match'.
-(defvar rst-font-lock-adornment-data nil)
-
-;; Determines limit for adornments for font-locking section titles and
-;; transitions. In fact it determines all things necessary and puts the result
-;; to `rst-font-lock-adornment-data'. ADO is the complete adornment matched.
-;; ADO-END is the point where ADO ends. Returns the point where the whole
-;; adorned construct ends.
-(defun rst-font-lock-handle-adornment-limit (ado ado-end)
- (let ((ado-data (rst-classify-adornment ado ado-end (point-max))))
- (setq rst-font-lock-adornment-level (rst-adornment-level (car ado-data) t))
- (setq rst-font-lock-adornment-data (cdr ado-data))
- (goto-char (nth 1 ado-data))
- (nth 2 ado-data)))
-
-;; Sets the match found by `rst-font-lock-handle-adornment-limit' the first
-;; time called or nil.
-(defun rst-font-lock-handle-adornment-match (limit)
- (let ((ado-data rst-font-lock-adornment-data))
- ;; May run only once - enforce this
- (setq rst-font-lock-adornment-data nil)
- (when ado-data
- (goto-char (nth 1 ado-data))
- (set-match-data ado-data)
- t)))
-
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Support for conversion from within Emacs
-
-(defgroup rst-compile nil
- "Settings for support of conversion of reStructuredText
-document with \\[rst-compile]."
- :group 'rst
- :version "21.1")
-
-(defvar rst-compile-toolsets
- '((html . ("rst2html.py" ".html" nil))
- (latex . ("rst2latex.py" ".tex" nil))
- (newlatex . ("rst2newlatex.py" ".tex" nil))
- (pseudoxml . ("rst2pseudoxml.py" ".xml" nil))
- (xml . ("rst2xml.py" ".xml" nil)))
- "An association list of the toolset to a list of the (command to use,
-extension of produced filename, options to the tool (nil or a
-string)) to be used for converting the document.")
-
-;; Note for Python programmers not familiar with association lists: you can set
-;; values in an alists like this, e.g. :
-;; (setcdr (assq 'html rst-compile-toolsets)
-;; '("rst2html.py" ".htm" "--stylesheet=/docutils.css"))
-
-
-(defvar rst-compile-primary-toolset 'html
- "The default toolset for rst-compile.")
-
-(defvar rst-compile-secondary-toolset 'latex
- "The default toolset for rst-compile with a prefix argument.")
-
-(defun rst-compile-find-conf ()
- "Look for the configuration file in the parents of the current path."
- (interactive)
- (let ((file-name "docutils.conf")
- (buffer-file (buffer-file-name)))
- ;; Move up in the dir hierarchy till we find a change log file.
- (let* ((dir (file-name-directory buffer-file))
- (prevdir nil))
- (while (and (or (not (string= dir prevdir))
- (setq dir nil)
- nil)
- (not (file-exists-p (concat dir file-name))))
- ;; Move up to the parent dir and try again.
- (setq prevdir dir)
- (setq dir (expand-file-name (file-name-directory
- (directory-file-name
- (file-name-directory dir)))))
- )
- (or (and dir (concat dir file-name)) nil)
- )))
-
-
-(require 'compile)
-
-(defun rst-compile (&optional pfxarg)
- "Compile command to convert reST document into some output file.
-Attempts to find configuration file, if it can, overrides the
-options. There are two commands to choose from, with a prefix
-argument, select the alternative toolset."
- (interactive "P")
- ;; Note: maybe we want to check if there is a Makefile too and not do anything
- ;; if that is the case. I dunno.
- (let* ((toolset (cdr (assq (if pfxarg
- rst-compile-secondary-toolset
- rst-compile-primary-toolset)
- rst-compile-toolsets)))
- (command (car toolset))
- (extension (cadr toolset))
- (options (caddr toolset))
- (conffile (rst-compile-find-conf))
- (bufname (file-name-nondirectory buffer-file-name))
- (outname (file-name-sans-extension bufname)))
-
- ;; Set compile-command before invocation of compile.
- (set (make-local-variable 'compile-command)
- (mapconcat 'identity
- (list command
- (or options "")
- (if conffile
- (concat "--config=\"" conffile "\"")
- "")
- bufname
- (concat outname extension))
- " "))
-
- ;; Invoke the compile command.
- (if (or compilation-read-command current-prefix-arg)
- (call-interactively 'compile)
- (compile compile-command))
- ))
-
-(defun rst-compile-alt-toolset ()
- "Compile command with the alternative toolset."
- (interactive)
- (rst-compile 't))
-
-(defun rst-compile-pseudo-region ()
- "Show the pseudo-XML rendering of the current active region, or
-of the entire buffer, if the region is not selected."
- (interactive)
- (with-output-to-temp-buffer "*pseudoxml*"
- (shell-command-on-region
- (if mark-active (region-beginning) (point-min))
- (if mark-active (region-end) (point-max))
- "rst2pseudoxml.py"
- standard-output)))
-
-(defvar rst-pdf-program "xpdf"
- "Program used to preview PDF files.")
-
-(defun rst-compile-pdf-preview ()
- "Convert the document to a PDF file and launch a preview program."
- (interactive)
- (let* ((tmp-filename "/tmp/out.pdf")
- (command (format "rst2pdf.py %s %s && %s %s"
- buffer-file-name tmp-filename
- rst-pdf-program tmp-filename)))
- (start-process-shell-command "rst-pdf-preview" nil command)
- ;; Note: you could also use (compile command) to view the compilation
- ;; output.
- ))
-
-(defvar rst-slides-program "firefox"
- "Program used to preview S5 slides.")
-
-(defun rst-compile-slides-preview ()
- "Convert the document to an S5 slide presentation and launch a preview program."
- (interactive)
- (let* ((tmp-filename "/tmp/slides.html")
- (command (format "rst2s5.py %s %s && %s %s"
- buffer-file-name tmp-filename
- rst-slides-program tmp-filename)))
- (start-process-shell-command "rst-slides-preview" nil command)
- ;; Note: you could also use (compile command) to view the compilation
- ;; output.
- ))
-
-
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;;
-;; Generic text functions that are more convenient than the defaults.
-;;
-
-(defun rst-replace-lines (fromchar tochar)
- "Replace flush-left lines, consisting of multiple FROMCHAR characters,
-with equal-length lines of TOCHAR."
- (interactive "\
-cSearch for flush-left lines of char:
-cand replace with char: ")
- (save-excursion
- (let* ((fromstr (string fromchar))
- (searchre (concat "^" (regexp-quote fromstr) "+ *$"))
- (found 0))
- (condition-case err
- (while t
- (search-forward-regexp searchre)
- (setq found (1+ found))
- (search-backward fromstr) ;; point will be *before* last char
- (setq p (1+ (point)))
- (beginning-of-line)
- (setq l (- p (point)))
- (rst-delete-entire-line)
- (insert-char tochar l))
- (search-failed
- (message (format "%d lines replaced." found)))))))
-
-(defun rst-join-paragraph ()
- "Join lines in current paragraph into one line, removing end-of-lines."
- (interactive)
- (let ((fill-column 65000)) ; some big number
- (call-interactively 'fill-paragraph)))
-
-(defun rst-force-fill-paragraph ()
- "Fill paragraph at point, first joining the paragraph's lines into one.
-This is useful for filling list item paragraphs."
- (interactive)
- (rst-join-paragraph)
- (fill-paragraph nil))
-
-
-;; Generic character repeater function.
-;; For sections, better to use the specialized function above, but this can
-;; be useful for creating separators.
-(defun rst-repeat-last-character (&optional tofill)
- "Fills the current line up to the length of the preceding line (if not
-empty), using the last character on the current line. If the preceding line is
-empty, we use the fill-column.
-
-If a prefix argument is provided, use the next line rather than the preceding
-line.
-
-If the current line is longer than the desired length, shave the characters off
-the current line to fit the desired length.
-
-As an added convenience, if the command is repeated immediately, the alternative
-column is used (fill-column vs. end of previous/next line)."
- (interactive)
- (let* ((curcol (current-column))
- (curline (+ (count-lines (point-min) (point))
- (if (eq curcol 0) 1 0)))
- (lbp (line-beginning-position 0))
- (prevcol (if (and (= curline 1) (not current-prefix-arg))
- fill-column
- (save-excursion
- (forward-line (if current-prefix-arg 1 -1))
- (end-of-line)
- (skip-chars-backward " \t" lbp)
- (let ((cc (current-column)))
- (if (= cc 0) fill-column cc)))))
- (rightmost-column
- (cond (tofill fill-column)
- ((equal last-command 'rst-repeat-last-character)
- (if (= curcol fill-column) prevcol fill-column))
- (t (save-excursion
- (if (= prevcol 0) fill-column prevcol)))
- )) )
- (end-of-line)
- (if (> (current-column) rightmost-column)
- ;; shave characters off the end
- (delete-region (- (point)
- (- (current-column) rightmost-column))
- (point))
- ;; fill with last characters
- (insert-char (preceding-char)
- (- rightmost-column (current-column))))
- ))
-
-
-(defun rst-portable-mark-active-p ()
- "A portable function that returns non-nil if the mark is active."
- (cond
- ((fboundp 'region-active-p) (region-active-p))
- ((boundp 'transient-mark-mode) transient-mark-mode mark-active)))
-
-
-
-(provide 'rst)
-;;; rst.el ends here
diff --git a/examples/grammars/Makefile b/examples/grammars/Makefile
deleted file mode 100644
index b19e127..0000000
--- a/examples/grammars/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-# NLTK: Documentation Makefile
-#
-# Copyright (C) 2001-2014 NLTK Project
-# Author: Ewan Klein <ewan at inf.ed.ac.uk>
-# URL: <http://nltk.org/>
-# For license information, see LICENSE.TXT
-
-DATADIR = ../../../nltk_data
-PUBLISH = $(DATADIR)/packages/grammars
-
-PACKAGE_DIRS = book_grammars sample_grammars #basque_grammars spanish_grammars
-PACKAGES := $(addsuffix .zip, $(PACKAGE_DIRS))
-
-ZIP = zip
-
-define remove
- $(if $(wildcard $1), rm $1,)
-endef
-
-all: publish
-
-ci:
- git ci -m "updated grammar files"
-
-zip: clean $(PACKAGES)
-
-
-clean:
- $(call remove, *.zip)
-
-%.zip: %
- $(ZIP) -r $< $<
-# git add *zip
-
-publish: zip
- cp $(PACKAGES) $(PUBLISH)
- $(MAKE) -C $(DATADIR) grammars
- $(MAKE) -C $(DATADIR) pkg_index
diff --git a/examples/grammars/basque_grammars/basque1.cfg b/examples/grammars/basque_grammars/basque1.cfg
deleted file mode 100755
index 39d74cb..0000000
--- a/examples/grammars/basque_grammars/basque1.cfg
+++ /dev/null
@@ -1,11 +0,0 @@
- P -> IS AS
- AS -> IS ADI
- AS -> ADI
- IS -> IM erl_atz
- IM -> ize_arr
- IM -> ize_izb
- ADI -> adt
- erl_atz -> "k" | "a"
- ize_arr -> "ardo" | "egunkari" | "baloi"
- ize_izb -> "Pintxo" | "Kepa"
- adt -> "dakar" | "darama"
diff --git a/examples/grammars/basque_grammars/basque1.fcfg b/examples/grammars/basque_grammars/basque1.fcfg
deleted file mode 100755
index 61faea5..0000000
--- a/examples/grammars/basque_grammars/basque1.fcfg
+++ /dev/null
@@ -1,22 +0,0 @@
-% start AS
-# ############################
-# Grammar Rules
-# ############################
-# AS expansion rules
-AS[ergnum=?n1, absnum=?n2] -> IS[kas=erg, num=?n1] AS[ergnum=?n1, absnum=?n2]
-AS[ergnum=?n1, absnum=?n2] -> AS[ergnum=?n1, absnum=?n2] IS[kas=erg, num=?n1]
-AS[ergnum=?n1, absnum=?n2] -> IS[kas=abs, num=?n2] AS[ergnum=?n1, absnum=?n2]
-AS[ergnum=?n1, absnum=?n2] -> AS[ergnum=?n1, absnum=?n2] IS[kas=abs, num=?n2]
-IS[kas=?k, num=?n] -> ize[azp=arr] knmdek[kas=?k, num=?n]
-AS[ergnum=?n1, absnum=?n2] -> adt[ergnum=?n1, absnum=?n2]
-# ############################
-# Lexicon
-# ############################
-adt[ergnum=hu, absnum=hu] -> 'dakar' | 'darama'
-adt[ergnum=hk, absnum=hu] -> 'dakarte' | 'daramate'
-knmdek[kas=erg, num=hu] -> 'ak'
-knmdek[kas=erg, num=hk] -> 'ek'
-knmdek[kas=abs, num=hk] -> 'ak'
-knmdek[kas=abs, num=hu] -> 'a'
-ize[azp=arr] -> 'zakur' | 'gizon'
-
diff --git a/examples/grammars/basque_grammars/basque1.pcfg b/examples/grammars/basque_grammars/basque1.pcfg
deleted file mode 100755
index 162aa85..0000000
--- a/examples/grammars/basque_grammars/basque1.pcfg
+++ /dev/null
@@ -1,21 +0,0 @@
- as -> mendekoa as [0.15]
- as -> adlg mendekoa as [0.31]
- as -> adlg adlg mendekoa as [0.08]
- as -> adi adl [0.46]
- mendekoa -> adlg mendekoa [0.37]
- mendekoa -> adlg adlg mendekoa [0.09]
- mendekoa -> 'joatea' [0.18]
- mendekoa -> 'joateko' [0.27]
- mendekoa -> 'sartzera' [0.09]
- adi -> 'esan' [0.5]
- adi -> 'debekatzen' [0.33]
- adi -> 'eraman' [0.17]
- adl -> 'zuen' [0.17]
- adl -> 'zioten' [0.83]
- adlg -> 'bozgorailuarekin' [0.28]
- adlg -> 'euskal_presoekin' [0.18]
- adlg -> 'epaitegian' [0.09]
- adlg -> 'mendira' [0.18]
- adlg -> 'ejertzitoan' [0.09]
- adlg -> 'derrigorrean' [0.09]
- adlg -> 'lagunekin' [0.09]
diff --git a/examples/grammars/basque_grammars/basque1.regexp b/examples/grammars/basque_grammars/basque1.regexp
deleted file mode 100755
index 2dcb91e..0000000
--- a/examples/grammars/basque_grammars/basque1.regexp
+++ /dev/null
@@ -1 +0,0 @@
-NP: {<IZE.*>+<ADJ.*>*<DET.*>*} """ # adjetibo edo determinatzaileei loturiko izenak nahiz izen segidak topatzen ditu
diff --git a/examples/grammars/basque_grammars/basque2.cfg b/examples/grammars/basque_grammars/basque2.cfg
deleted file mode 100755
index 929c70a..0000000
--- a/examples/grammars/basque_grammars/basque2.cfg
+++ /dev/null
@@ -1,10 +0,0 @@
- S -> is as
- is -> ize adj | ior
- ize -> 'gaizkile' | 'epaile' | 'bizilagun'
- adj -> 'gaiztoek' | 'gaiztoak' | 'kanpotarrak' | 'kanpotarrek' | 'berriak' | 'berriek'
- ior -> 'haiek' | 'hark'
- as -> mendekoa as | adlg mendekoa as | adlg adlg mendekoa as | adi adl
- mendekoa -> adlg mendekoa | adlg adlg mendekoa | 'joatea' | 'joateko' | 'sartzera'
- adi -> 'esan' | 'debekatzen' | 'eraman'
- adl -> 'zuen' |'zioten'
- adlg -> 'bozgorailuarekin' | 'euskal_presoekin' | 'epaitegian' | 'mendira' | 'ejertzitoan' | 'derrigorrean' | 'lagunekin'
diff --git a/examples/grammars/basque_grammars/basque2.fcfg b/examples/grammars/basque_grammars/basque2.fcfg
deleted file mode 100755
index 5865a84..0000000
--- a/examples/grammars/basque_grammars/basque2.fcfg
+++ /dev/null
@@ -1,26 +0,0 @@
-% start S
-# ############################
-# Grammar Rules
-# ############################
-S -> IS[kas=erg] AS/IS
-# IS erregelak
-IS[kas=?k, num=?n] -> ize[azp=arr] knmdek[kas=?k, num=?n]
-IS[kas=?k, num=?n] -> ize[azp=ber] knmdek[kas=?k, num=?n]
-IS[kas=?k, num=?n]/IS ->
-# AS erregelak
-AS[ergnum=?n1, absnum=?n2]/?x -> IS[kas=abs, num=?n1]/?x AS[ergnum=?n1, absnum=?n2]
-AS[ergnum=?n1, absnum=?n2] -> adi adl[ergnum=?n1, absnum=?n2]
-# ############################
-# Lexicon
-# ############################
-knmdek[kas=erg, num=hu] -> 'ak'
-knmdek[kas=erg, num=hk] -> 'ek'
-knmdek[kas=abs, num=hk] -> 'ak'
-knmdek[kas=abs, num=hu] -> 'a'
-ize[azp=arr] -> 'bizilagun' | 'aita' | 'gizon' | 'emakume'
-ize[azp=ber] -> 'Kepa' | 'Ainara'
-adi -> 'ekarri' | 'eraman' | 'puskatu' | 'lapurtu'
-adl[ergnum=hu, absnum=hu] -> 'du' | 'zuen'
-adl[ergnum=hk, absnum=hu] -> 'dute' | 'zuten'
-adl[ergnum=hu, absnum=hk] -> 'ditu' | 'zituen'
-adl[ergnum=hk, absnum=hk] -> 'dituzte' | 'zituzten'
diff --git a/examples/grammars/basque_grammars/basque2.pcfg b/examples/grammars/basque_grammars/basque2.pcfg
deleted file mode 100755
index b022778..0000000
--- a/examples/grammars/basque_grammars/basque2.pcfg
+++ /dev/null
@@ -1,4 +0,0 @@
- IS -> IZE_ARR [0.5] | IZE_ARR ADJ [0.3] | IS LOT IS [0.2]
- IZE_ARR -> 'gizon' [0.1] | 'emakume' [0.2] | 'ume' [0.3] | IZE_ARR LOT IZE_ARR [0.4]
- ADJ -> 'zaharrak' [0.4] | 'gazteak' [0.6]
- LOT -> 'eta' [0.9] | 'edo' [0.1]
diff --git a/examples/grammars/basque_grammars/basque2.regexp b/examples/grammars/basque_grammars/basque2.regexp
deleted file mode 100755
index 4f18460..0000000
--- a/examples/grammars/basque_grammars/basque2.regexp
+++ /dev/null
@@ -1,2 +0,0 @@
- NP: {<IZE.*><ADJ.*>*<DET.*>*} # adjetibo edo determinatzaileei loturiko izenak topatzen ditu
- NP: {<IZE.*>+} # izen segidak topatzen ditu
diff --git a/examples/grammars/basque_grammars/basque3.cfg b/examples/grammars/basque_grammars/basque3.cfg
deleted file mode 100755
index 5e56868..0000000
--- a/examples/grammars/basque_grammars/basque3.cfg
+++ /dev/null
@@ -1,4 +0,0 @@
- IS -> IZE_ARR | IZE_ARR ADJ | IS LOT IS
- IZE_ARR -> 'gizon' | 'emakume' | 'ume' | IZE_ARR LOT IZE_ARR
- ADJ -> 'zaharrak' | 'gazteak'
- LOT -> 'eta' | 'edo'
diff --git a/examples/grammars/basque_grammars/basque3.fcfg b/examples/grammars/basque_grammars/basque3.fcfg
deleted file mode 100755
index 8d69c9f..0000000
--- a/examples/grammars/basque_grammars/basque3.fcfg
+++ /dev/null
@@ -1,36 +0,0 @@
-% start S
-# ############################
-# Grammar Rules
-# ############################
-
-## NORK-NOR Kasuak
-
-S -> IS[kas=erg] AS/IS
-# IS erregelak
-IS[kas=?k, num=?n] -> ize[azp=arr] knmdek[kas=?k, num=?n]
-IS[kas=?k, num=?n] -> ize[azp=ber] knmdek[kas=?k, num=?n]
-
-IS[kas=?k, num=?n]/IS ->
-
-# AS erregelak
-AS[ergnum=?n1, absnum=?n2]/?x -> IS[kas=abs, num=?n1]/?x AS[ergnum=?n1, absnum=?n2]
-AS[ergnum=?n1, absnum=?n2] -> adi adl[ergnum=?n1, absnum=?n2]
-# ############################
-# Lexicon
-# ############################
-
-knmdek[kas=erg, num=hu] -> 'ak'
-knmdek[kas=erg, num=hk] -> 'ek'
-
-knmdek[kas=abs, num=hk] -> 'ak'
-knmdek[kas=abs, num=hu] -> 'a'
-
-ize[azp=arr] -> 'bizilagun' | 'aita' | 'gizon' | 'emakume'
-ize[azp=ber] -> 'Kepa' | 'Ainara'
-
-adi -> 'ekarri' | 'eraman' | 'puskatu' | 'lapurtu'
-
-adl[ergnum=hu, absnum=hu] -> 'du' | 'zuen'
-adl[ergnum=hk, absnum=hu] -> 'dute' | 'zuten'
-adl[ergnum=hu, absnum=hk] -> 'ditu' | 'zituen'
-adl[ergnum=hk, absnum=hk] -> 'dituzte' | 'zituzten'
diff --git a/examples/grammars/basque_grammars/basque3.regexp b/examples/grammars/basque_grammars/basque3.regexp
deleted file mode 100755
index 3ea283a..0000000
--- a/examples/grammars/basque_grammars/basque3.regexp
+++ /dev/null
@@ -1,3 +0,0 @@
-IS:
- {<.*>+} # Edozer Onartzen Duen Chunkerra
- }<ADI.*|ADL.*|ADT.*|PUNT.*|POST.*|LOT.*|ADB.*>+{ # Chink Bezala Barneratu Aditzak (ADI.*, ADT.* eta ADL.*), Adberbioak (ADB.*), Preposizioak (POST.*), Loturak (LOT.*) Eta Puntuazio Ikurrak (PUNT.*)
diff --git a/examples/grammars/basque_grammars/basque4.regexp b/examples/grammars/basque_grammars/basque4.regexp
deleted file mode 100755
index 6b5f8a8..0000000
--- a/examples/grammars/basque_grammars/basque4.regexp
+++ /dev/null
@@ -1,3 +0,0 @@
- IS: {(<ADJ.*>*<DET.*>*<IZE.*>+<ADJ.*>*<DET.*>*)*} #noun phrase chunks
- AS: {(<ADI.*|ADL.*|ADT.*>*)+} # verb phrase chunks
- PS: {<POST.*>+} # prepositional phrase chunks
diff --git a/examples/grammars/basque_grammars/basque5.regexp b/examples/grammars/basque_grammars/basque5.regexp
deleted file mode 100755
index 996abcd..0000000
--- a/examples/grammars/basque_grammars/basque5.regexp
+++ /dev/null
@@ -1,5 +0,0 @@
- IS: {(<ADJ.*>*<DET.*>*<IZE.*>*<ADJ.*>*<DET.*>*)*} #noun phrase chunks
- AS: {(<ADI.*|ADL.*|ADT.*>+)+<POST.*>*} # verb phrase chunks
- PS: {<POST.*>+} # prepositional phrase chunks
- S: {<IS><AS>}
- {<AS><IS>} # Chunk NP, VP
diff --git a/examples/grammars/book_grammars/background.fol b/examples/grammars/book_grammars/background.fol
deleted file mode 100644
index f9d32f0..0000000
--- a/examples/grammars/book_grammars/background.fol
+++ /dev/null
@@ -1,22 +0,0 @@
-## Natural Language Toolkit: background1.fol
-##
-## Illustration of simple knowledge base for use with inference tools.
-## To accompany sem4.fcfg
-##
-## Author: Ewan Klein <ewan at inf.ed.ac.uk>
-## URL: <http://nltk.sourceforge.net>
-## For license information, see LICENSE.TXT
-
-all x. (boxerdog(x) -> dog(x))
-all x. (boxer(x) -> person(x))
-
-all x. (-(dog(x) & person(x)))
-
-all x. (married(x) <-> exists y. marry(x,y))
-all x. (bark(x) -> dog(x))
-
-all x. all y. (marry(x,y) -> (person(x) & person(y)))
-
-(-(Vincent = Mia))
-(-(Vincent = Fido))
-(-(Mia = Fido))
diff --git a/examples/grammars/book_grammars/discourse.fcfg b/examples/grammars/book_grammars/discourse.fcfg
deleted file mode 100644
index 903ff90..0000000
--- a/examples/grammars/book_grammars/discourse.fcfg
+++ /dev/null
@@ -1,125 +0,0 @@
-## Natural Language Toolkit: discourse.fcfg
-##
-## Grammar to illustrate simple 2-3 sentence discourse processing.
-##
-## Developed as an extension of sem3.fcfg
-## Main additions:
-## - a few more lexical entries (including 'no' and 'the')
-## - 'is', 'does' and auxiliary negation
-## - Predicate categories, including predicate nominals and adjectives
-##
-## Author: Ewan Klein <ewan at inf.ed.ac.uk>
-## URL: <http://nltk.sourceforge.net>
-## For license information, see LICENSE.TXT
-
-% start S
-############################
-# Grammar Rules
-#############################
-
-S[SEM = <app(?subj,?vp)>] -> NP[NUM=?n,SEM=?subj] VP[NUM=?n,SEM=?vp]
-
-NP[NUM=?n,SEM=<app(?det,?nom)> ] -> Det[NUM=?n,SEM=?det] Nom[NUM=?n,SEM=?nom]
-NP[LOC=?l,NUM=?n,SEM=?np] -> PropN[LOC=?l,NUM=?n,SEM=?np]
-
-NP[-LOC,NUM=sg,SEM=<\Q. (- exists x. (person(x) & Q(x)))>] -> 'nobody' | 'Nobody'
-NP[-LOC,NUM=sg,SEM=<\Q. exists x. (person(x) & Q(x))>] -> 'somebody' | 'Somebody'
-
-## Copular predicates
-Pred[SEM=?prd] -> PredN[SEM=?prd] | PP[+LOC,+PRED,SEM=?prd] | Adj[SEM=?prd]
-
-## Predicative NPs
-## Doesn't bLOCk 'is every dog', but determiner SEMantics is ignored
-PredN[NUM=?n, SEM=?nom] -> Det[NUM=?n] Nom[NUM=?n, SEM=?nom]
-
-Nom[NUM=?n,SEM=?nom] -> N[NUM=?n,SEM=?nom]
-Nom[NUM=?n,SEM=<app(?pp,?nom)>] -> N[NUM=?n,SEM=?nom] PP[SEM=?pp]
-
-## Transitive verbs
-VP[NUM=?n,SEM=<app(?v,?obj)>] -> TV[NUM=?n,SEM=?v] NP[SEM=?obj]
-
-## Copular VPs
-VP[NUM=?n,SEM=<app(?v,?prd)>] -> AuxP[+COP,NUM=?n,SEM=?v] Pred[SEM=?prd]
-
-## Do auxiliaries
-VP[+neg,NUM=?n,SEM=<app(?v,?vp)>] -> AuxP[-COP,NUM=?n,SEM=?v] VP[NUM=pl,SEM=?vp]
-
-AuxP[COP=?c,NUM=?n,SEM=<app(?neg,?aux)>] -> Aux[COP=?c,NUM=?n,SEM=?aux] Neg[SEM=?neg]
-AuxP[COP=?c,NUM=?n,SEM=?aux] -> Aux[COP=?c,NUM=?n,SEM=?aux]
-
-## Intransitive verbs
-VP[NUM=?n,SEM=?v] -> IV[NUM=?n,SEM=?v]
-
-## VP-level PPs
-VP[NUM=?n,SEM=<app(?pp,?vp)>] -> VP[NUM=?n,SEM=?vp] PP[-PRED,SEM=?pp]
-
-PP[LOC=?l,PRED=?prd,SEM=<app(?p,?np)>] -> P[LOC=?l,PRED=?prd,SEM=?p] NP[LOC=?l,SEM=?np]
-
-#############################
-# Lexical Rules
-#############################
-
-PropN[-LOC,NUM=sg,SEM=<\P.P(John)>] -> 'John'
-PropN[-LOC,NUM=sg,SEM=<\P.P(Mary)>] -> 'Mary'
-PropN[-LOC,NUM=sg,SEM=<\P.P(Suzie)>] -> 'Suzie'
-PropN[-LOC,NUM=sg,SEM=<\P.P(Vincent)>] -> 'Vincent'
-PropN[-LOC,NUM=sg,SEM=<\P.P(Mia)>] -> 'Mia'
-PropN[-LOC,NUM=sg,SEM=<\P.P(Marsellus)>] -> 'Marsellus'
-PropN[-LOC,NUM=sg,SEM=<\P.P(Fido)>] -> 'Fido'
-PropN[+LOC, NUM=sg,SEM=<\P.P(Noosa)>] -> 'Noosa'
-
-NP[-LOC, NUM=sg, SEM=<\P.\x.P(x)>] -> 'who' | 'Who'
-
-Det[NUM=sg,SEM=<\P Q.all x.(P(x) -> Q(x))>] -> 'every' | 'Every'
-Det[NUM=pl,SEM=<\P Q.all x.(P(x) -> Q(x))>] -> 'all' | 'All'
-Det[SEM=<\P Q.exists x.(P(x) & Q(x))>] -> 'some' | 'Some'
-Det[NUM=sg,SEM=<\P Q.exists x.(P(x) & Q(x))>] -> 'a' | 'A'
-Det[NUM=sg,SEM=<\P Q.(- exists x.(P(x) & Q(x)))>] -> 'no' | 'No'
-Det[NUM=sg,SEM=<\P Q.exists x.((P(x) & Q(x)) & all y.(P(y) -> (x = y)))>] -> 'the' | 'The'
-
-N[NUM=sg,SEM=<\x.boy(x)>] -> 'boy'
-N[NUM=pl,SEM=<\x.boy(x)>] -> 'boys'
-N[NUM=sg,SEM=<\x.girl(x)>] -> 'girl'
-N[NUM=pl,SEM=<\x.girl(x)>] -> 'girls'
-N[NUM=sg,SEM=<\x.dog(x)>] -> 'dog'
-N[NUM=pl,SEM=<\x.dog(x)>] -> 'dogs'
-N[NUM=sg,SEM=<\x.student(x)>] -> 'student'
-N[NUM=pl,SEM=<\x.student(x)>] -> 'students'
-N[NUM=sg,SEM=<\x.person(x)>] -> 'person'
-N[NUM=pl,SEM=<\x.person(x)>] -> 'persons'
-N[NUM=sg,SEM=<\x.boxerdog(x)>] -> 'boxer'
-N[NUM=pl,SEM=<\x.boxerdog(x)>] -> 'boxers'
-N[NUM=sg,SEM=<\x.boxer(x)>] -> 'boxer'
-N[NUM=pl,SEM=<\x.boxer(x)>] -> 'boxers'
-N[NUM=sg,SEM=<\x.garden(x)>] -> 'garden'
-N[NUM=sg,SEM=<\x.kitchen(x)>] -> 'kitchen'
-
-Adj[SEM=<\x.happy(x)>] -> 'happy'
-Adj[SEM=<\x.drunk(x)>] -> 'drunk'
-Adj[SEM=<\x.married(x)>] -> 'married'
-
-TV[NUM=sg,SEM=<\X y.X(\x.chase(y,x))>,tns=pres] -> 'chases'
-TV[NUM=pl,SEM=<\X y.X(\x.chase(y,x))>,tns=pres] -> 'chase'
-TV[NUM=sg,SEM=<\X y.X(\x.marry(y,x))>,tns=pres] -> 'marries'
-TV[NUM=pl,SEM=<\X y.X(\x.marry(y,x))>,tns=pres] -> 'marry'
-TV[NUM=sg,SEM=<\X y.X(\x.know(y,x))>,tns=pres] -> 'knows'
-TV[NUM=pl,SEM=<\X y.X(\x.know(y,x))>,tns=pres] -> 'know'
-TV[NUM=sg,SEM=<\X y.X(\x.see(y,x))>,tns=pres] -> 'sees'
-TV[NUM=pl,SEM=<\X y.X(\x.see(y,x))>,tns=pres] -> 'see'
-IV[NUM=sg,SEM=<\x.bark(x)>,tns=pres] -> 'barks'
-IV[NUM=pl,SEM=<\x.bark(x)>,tns=pres] -> 'bark'
-IV[NUM=sg,SEM=<\x.walk(x)>,tns=pres] -> 'walks'
-IV[NUM=pl,SEM=<\x.walk(x)>,tns=pres] -> 'walk'
-IV[NUM=pl,SEM=<\x.dance(x)>,tns=pres] -> 'dance'
-IV[NUM=sg,SEM=<\x.dance(x)>,tns=pres] -> 'dances'
-
-Aux[+COP,NUM=sg,SEM=<\P x.P(x)>,tns=pres] -> 'is'
-Aux[+COP,NUM=pl,SEM=<\P x.P(x)>,tns=pres] -> 'are'
-Aux[-COP,NUM=sg,SEM=<\P x.P(x)>,tns=pres] -> 'does'
-Aux[-COP,NUM=pl,SEM=<\P x.P(x)>,tns=pres] -> 'do'
-
-P[+LOC,-PRED,SEM=<\X P x.X(\y.(P(x) & in(x,y)))>] -> 'in'
-P[+LOC,+PRED,SEM=<\X x.X(\y.in(x,y))>] -> 'in'
-P[-LOC,SEM=<\X P x.X(\y.(P(x) & with(x,y)))>] -> 'with'
-
-Neg[SEM=<\T P.T(\x.(- P(x)))>] -> 'not'
diff --git a/examples/grammars/book_grammars/drt.fcfg b/examples/grammars/book_grammars/drt.fcfg
deleted file mode 100644
index 1bda654..0000000
--- a/examples/grammars/book_grammars/drt.fcfg
+++ /dev/null
@@ -1,82 +0,0 @@
-## Natural Language Toolkit: drt.fcfg
-##
-## Author: Dan Garrette <dhgarrette at gmail.com>
-## URL: <http://nltk.orgt>
-## For license information, see LICENSE.TXT
-
-% start S
-############################
-# Grammar Rules
-#############################
-
-S[SEM = <app(?subj,?vp)>] -> NP[NUM=?n,SEM=?subj] VP[NUM=?n,SEM=?vp]
-
-NP[NUM=?n,SEM=<app(?det,?nom)> ] -> Det[NUM=?n,SEM=?det] Nom[NUM=?n,SEM=?nom]
-NP[LOC=?l,NUM=?n,SEM=?np] -> PropN[LOC=?l,NUM=?n,SEM=?np]
-
-Nom[NUM=?n,SEM=?nom] -> N[NUM=?n,SEM=?nom]
-Nom[NUM=?n,SEM=<app(?pp,?nom)>] -> N[NUM=?n,SEM=?nom] PP[SEM=?pp]
-
-VP[NUM=?n,SEM=?v] -> IV[NUM=?n,SEM=?v]
-VP[NUM=?n,SEM=<app(?v,?obj)>] -> TV[NUM=?n,SEM=?v] NP[SEM=?obj]
-
-#############################
-# Lexical Rules
-#############################
-
-PropN[-LOC,NUM=sg,SEM=<\P.(DRS([x],[Angus(x)])+P(x))>] -> 'Angus'
-PropN[-LOC,NUM=sg,SEM=<\P.(DRS([x],[Irene(x)])+P(x))>] -> 'Irene'
-PropN[-LOC,NUM=sg,SEM=<\P.(DRS([x],[John(x)])+P(x))>] -> 'John'
-PropN[-LOC,NUM=sg,SEM=<\P.(DRS([x],[Mary(x)])+P(x))>] -> 'Mary'
-PropN[-LOC,NUM=sg,SEM=<\P.(DRS([x],[Suzie(x)])+P(x))>] -> 'Suzie'
-PropN[-LOC,NUM=sg,SEM=<\P.(DRS([x],[Vincent(x)])+P(x))>] -> 'Vincent'
-PropN[-LOC,NUM=sg,SEM=<\P.(DRS([x],[Mia(x)])+P(x))>] -> 'Mia'
-PropN[-LOC,NUM=sg,SEM=<\P.(DRS([x],[Marsellus(x)])+P(x))>] -> 'Marsellus'
-PropN[-LOC,NUM=sg,SEM=<\P.(DRS([x],[Fido(x)])+P(x))>] -> 'Fido'
-PropN[+LOC,NUM=sg,SEM=<\P.(DRS([x],[Noosa(x)])+P(x))>] -> 'Noosa'
-PropN[-LOC,NUM=sg,SEM=<\P.(DRS([x],[PRO(x)])+P(x))>] -> 'he'
-PropN[-LOC,NUM=sg,SEM=<\P.(DRS([x],[PRO(x)])+P(x))>] -> 'she'
-PropN[-LOC,NUM=sg,SEM=<\P.(DRS([x],[PRO(x)])+P(x))>] -> 'it'
-
-Det[NUM=sg,SEM=<\P Q.DRS([],[((DRS([x],[])+P(x)) implies Q(x))])>] -> 'every' | 'Every'
-Det[NUM=pl,SEM=<\P Q.DRS([],[((DRS([x],[])+P(x)) implies Q(x))])>] -> 'all' | 'All'
-Det[SEM=<\P Q.((DRS([x],[])+P(x))+Q(x))>] -> 'some' | 'Some'
-Det[NUM=sg,SEM=<\P Q.((DRS([x],[])+P(x))+Q(x))>] -> 'a' | 'A'
-Det[NUM=sg,SEM=<\P Q.(not ((DRS([x],[])+P(x))+Q(x)))>] -> 'no' | 'No'
-
-N[NUM=sg,SEM=<\x.DRS([],[boy(x)])>] -> 'boy'
-N[NUM=pl,SEM=<\x.DRS([],[boy(x)])>] -> 'boys'
-N[NUM=sg,SEM=<\x.DRS([],[girl(x)])>] -> 'girl'
-N[NUM=pl,SEM=<\x.DRS([],[girl(x)])>] -> 'girls'
-N[NUM=sg,SEM=<\x.DRS([],[dog(x)])>] -> 'dog'
-N[NUM=pl,SEM=<\x.DRS([],[dog(x)])>] -> 'dogs'
-N[NUM=sg,SEM=<\x.DRS([],[student(x)])>] -> 'student'
-N[NUM=pl,SEM=<\x.DRS([],[student(x)])>] -> 'students'
-N[NUM=sg,SEM=<\x.DRS([],[person(x)])>] -> 'person'
-N[NUM=pl,SEM=<\x.DRS([],[person(x)])>] -> 'persons'
-N[NUM=sg,SEM=<\x.DRS([],[boxerdog(x)])>] -> 'boxer'
-N[NUM=pl,SEM=<\x.DRS([],[boxerdog(x)])>] -> 'boxers'
-N[NUM=sg,SEM=<\x.DRS([],[boxer(x)])>] -> 'boxer'
-N[NUM=pl,SEM=<\x.DRS([],[boxer(x)])>] -> 'boxers'
-N[NUM=sg,SEM=<\x.DRS([],[garden(x)])>] -> 'garden'
-N[NUM=sg,SEM=<\x.DRS([],[kitchen(x)])>] -> 'kitchen'
-
-IV[NUM=sg,SEM=<\x.DRS([],[bark(x)])>,tns=pres] -> 'barks'
-IV[NUM=pl,SEM=<\x.DRS([],[bark(x)])>,tns=pres] -> 'bark'
-IV[NUM=sg,SEM=<\x.DRS([],[walk(x)])>,tns=pres] -> 'walks'
-IV[NUM=pl,SEM=<\x.DRS([],[walk(x)])>,tns=pres] -> 'walk'
-IV[NUM=pl,SEM=<\x.DRS([],[dance(x)])>,tns=pres] -> 'dance'
-IV[NUM=sg,SEM=<\x.DRS([],[dance(x)])>,tns=pres] -> 'dances'
-
-TV[NUM=sg,SEM=<\X x.X(\y.DRS([],[own(x,y)]))>,tns=pres] -> 'owns'
-TV[NUM=pl,SEM=<\X x.X(\y.DRS([],[own(x,y)]))>,tns=pres] -> 'own'
-TV[NUM=sg,SEM=<\X x.X(\y.DRS([],[bite(x,y)]))>,tns=pres] -> 'bites'
-TV[NUM=pl,SEM=<\X x.X(\y.DRS([],[bite(x,y)]))>,tns=pres] -> 'bite'
-TV[NUM=sg,SEM=<\X x.X(\y.DRS([],[chase(x,y)]))>,tns=pres] -> 'chases'
-TV[NUM=pl,SEM=<\X x.X(\y.DRS([],[chase(x,y)]))>,tns=pres] -> 'chase'
-TV[NUM=sg,SEM=<\X x.X(\y.DRS([],[marry(x,y)]))>,tns=pres] -> 'marries'
-TV[NUM=pl,SEM=<\X x.X(\y.DRS([],[marry(x,y)]))>,tns=pres] -> 'marry'
-TV[NUM=sg,SEM=<\X x.X(\y.DRS([],[know(x,y)]))>,tns=pres] -> 'knows'
-TV[NUM=pl,SEM=<\X x.X(\y.DRS([],[know(x,y)]))>,tns=pres] -> 'know'
-TV[NUM=sg,SEM=<\X x.X(\y.DRS([],[see(x,y)]))>,tns=pres] -> 'sees'
-TV[NUM=pl,SEM=<\X x.X(\y.DRS([],[see(x,y)]))>,tns=pres] -> 'see'
diff --git a/examples/grammars/book_grammars/feat0.fcfg b/examples/grammars/book_grammars/feat0.fcfg
deleted file mode 100644
index 2fc8c01..0000000
--- a/examples/grammars/book_grammars/feat0.fcfg
+++ /dev/null
@@ -1,49 +0,0 @@
-## Natural Language Toolkit: feat0.fcfg
-##
-## First example of a feature-based grammar for English, illustrating
-## value-sharing of NUM and TENSE features.
-## Used in Feature-Based Grammars chapter.
-##
-## Author: Ewan Klein <ewan at inf.ed.ac.uk>
-## URL: <http://nltk.sourceforge.net>
-## For license information, see LICENSE.TXT
-
-% start S
-# ###################
-# Grammar Productions
-# ###################
-
-# S expansion productions
-S -> NP[NUM=?n] VP[NUM=?n]
-
-# NP expansion productions
-NP[NUM=?n] -> N[NUM=?n]
-NP[NUM=?n] -> PropN[NUM=?n]
-NP[NUM=?n] -> Det[NUM=?n] N[NUM=?n]
-NP[NUM=pl] -> N[NUM=pl]
-
-# VP expansion productions
-VP[TENSE=?t, NUM=?n] -> IV[TENSE=?t, NUM=?n]
-VP[TENSE=?t, NUM=?n] -> TV[TENSE=?t, NUM=?n] NP
-
-# ###################
-# Lexical Productions
-# ###################
-
-Det[NUM=sg] -> 'this' | 'every'
-Det[NUM=pl] -> 'these' | 'all'
-Det -> 'the' | 'some' | 'several'
-
-PropN[NUM=sg]-> 'Kim' | 'Jody'
-
-N[NUM=sg] -> 'dog' | 'girl' | 'car' | 'child'
-N[NUM=pl] -> 'dogs' | 'girls' | 'cars' | 'children'
-
-IV[TENSE=pres, NUM=sg] -> 'disappears' | 'walks'
-TV[TENSE=pres, NUM=sg] -> 'sees' | 'likes'
-
-IV[TENSE=pres, NUM=pl] -> 'disappear' | 'walk'
-TV[TENSE=pres, NUM=pl] -> 'see' | 'like'
-
-IV[TENSE=past] -> 'disappeared' | 'walked'
-TV[TENSE=past] -> 'saw' | 'liked'
diff --git a/examples/grammars/book_grammars/feat1.fcfg b/examples/grammars/book_grammars/feat1.fcfg
deleted file mode 100644
index b1e2784..0000000
--- a/examples/grammars/book_grammars/feat1.fcfg
+++ /dev/null
@@ -1,55 +0,0 @@
-## Natural Language Toolkit: feat1.fcfg
-##
-## Second example of a feature-based grammar, illustrating
-## SUBCAT and slash features. Also introduces SBar and embedded
-## clauses.
-## Used in Feature-Based Grammars chapter.
-##
-## Author: Ewan Klein <ewan at inf.ed.ac.uk>
-## URL: <http://nltk.sourceforge.net>
-## For license information, see LICENSE.TXT
-
-% start S
-# ###################
-# Grammar Productions
-# ###################
-
-S[-INV] -> NP VP
-S[-INV]/?x -> NP VP/?x
-
-S[-INV] -> NP S/NP
-S[-INV] -> Adv[+NEG] S[+INV]
-
-S[+INV] -> V[+AUX] NP VP
-S[+INV]/?x -> V[+AUX] NP VP/?x
-
-SBar -> Comp S[-INV]
-SBar/?x -> Comp S[-INV]/?x
-
-VP -> V[SUBCAT=intrans, -AUX]
-
-VP -> V[SUBCAT=trans, -AUX] NP
-VP/?x -> V[SUBCAT=trans, -AUX] NP/?x
-
-VP -> V[SUBCAT=clause, -AUX] SBar
-VP/?x -> V[SUBCAT=clause, -AUX] SBar/?x
-
-VP -> V[+AUX] VP
-VP/?x -> V[+AUX] VP/?x
-
-# ###################
-# Lexical Productions
-# ###################
-V[SUBCAT=intrans, -AUX] -> 'walk' | 'sing'
-V[SUBCAT=trans, -AUX] -> 'see' | 'like'
-V[SUBCAT=clause, -AUX] -> 'say' | 'claim'
-V[+AUX] -> 'do' | 'can'
-
-NP[-WH] -> 'you' | 'cats'
-NP[+WH] -> 'who'
-
-Adv[+NEG] -> 'rarely' | 'never'
-
-NP/NP ->
-
-Comp -> 'that'
diff --git a/examples/grammars/book_grammars/german.fcfg b/examples/grammars/book_grammars/german.fcfg
deleted file mode 100644
index 0ef79df..0000000
--- a/examples/grammars/book_grammars/german.fcfg
+++ /dev/null
@@ -1,86 +0,0 @@
-## Natural Language Toolkit: german.fcfg
-##
-## Example of a feature-based grammar for German, illustrating
-## CASE and AGR features (PER, GND, NUM) working as a bundle.
-## Used in Feature-Based Grammars chapter.
-##
-## Author: Michaela Atterer <atterer at ims.uni-stuttgart.de>
-## Ewan Klein <ewan at inf.ed.ac.uk>
-##
-## Plural transitive verbs productions by Jordan Boyd-Graber (ezubaric at users.sourceforge.net)
-
-% start S
-#####################
-# Grammar Productions
-#####################
-S -> NP[CASE=nom, AGR=?a] VP[AGR=?a]
-
-NP[CASE=?c, AGR=?a] -> PRO[CASE=?c, AGR=?a]
-NP[CASE=?c, AGR=?a] -> Det[CASE=?c, AGR=?a] N[CASE=?c, AGR=?a]
-
-VP[AGR=?a] -> IV[AGR=?a]
-VP[AGR=?a] -> TV[OBJCASE=?c, AGR=?a] NP[CASE=?c]
-
-#####################
-# Lexical Productions
-#####################
-# Singular determiners
-
-# masc
-Det[CASE=nom, AGR=[GND=masc,PER=3,NUM=sg]] -> 'der'
-Det[CASE=dat, AGR=[GND=masc,PER=3,NUM=sg]] -> 'dem'
-Det[CASE=acc, AGR=[GND=masc,PER=3,NUM=sg]] -> 'den'
-
-# fem
-Det[CASE=nom, AGR=[GND=fem,PER=3,NUM=sg]] -> 'die'
-Det[CASE=dat, AGR=[GND=fem,PER=3,NUM=sg]] -> 'der'
-Det[CASE=acc, AGR=[GND=fem,PER=3,NUM=sg]] -> 'die'
-
-# Plural determiners
-Det[CASE=nom, AGR=[PER=3,NUM=pl]] -> 'die'
-Det[CASE=dat, AGR=[PER=3,NUM=pl]] -> 'den'
-Det[CASE=acc, AGR=[PER=3,NUM=pl]] -> 'die'
-
-# Nouns
-N[AGR=[GND=masc,PER=3,NUM=sg]] -> 'Hund'
-N[CASE=nom, AGR=[GND=masc,PER=3,NUM=pl]] -> 'Hunde'
-N[CASE=dat, AGR=[GND=masc,PER=3,NUM=pl]] -> 'Hunden'
-N[CASE=acc, AGR=[GND=masc,PER=3,NUM=pl]] -> 'Hunde'
-
-N[AGR=[GND=fem,PER=3,NUM=sg]] -> 'Katze'
-N[AGR=[GND=fem,PER=3,NUM=pl]] -> 'Katzen'
-
-# Pronouns
-PRO[CASE=nom, AGR=[PER=1,NUM=sg]] -> 'ich'
-PRO[CASE=acc, AGR=[PER=1,NUM=sg]] -> 'mich'
-PRO[CASE=dat, AGR=[PER=1,NUM=sg]] -> 'mir'
-PRO[CASE=nom, AGR=[PER=2,NUM=sg]] -> 'du'
-PRO[CASE=nom, AGR=[PER=3,NUM=sg]] -> 'er' | 'sie' | 'es'
-PRO[CASE=nom, AGR=[PER=1,NUM=pl]] -> 'wir'
-PRO[CASE=acc, AGR=[PER=1,NUM=pl]] -> 'uns'
-PRO[CASE=dat, AGR=[PER=1,NUM=pl]] -> 'uns'
-PRO[CASE=nom, AGR=[PER=2,NUM=pl]] -> 'ihr'
-PRO[CASE=nom, AGR=[PER=3,NUM=pl]] -> 'sie'
-
-# Verbs
-IV[AGR=[NUM=sg,PER=1]] -> 'komme'
-IV[AGR=[NUM=sg,PER=2]] -> 'kommst'
-IV[AGR=[NUM=sg,PER=3]] -> 'kommt'
-IV[AGR=[NUM=pl, PER=1]] -> 'kommen'
-IV[AGR=[NUM=pl, PER=2]] -> 'kommt'
-IV[AGR=[NUM=pl, PER=3]] -> 'kommen'
-
-TV[OBJCASE=acc, AGR=[NUM=sg,PER=1]] -> 'sehe' | 'mag'
-TV[OBJCASE=acc, AGR=[NUM=sg,PER=2]] -> 'siehst' | 'magst'
-TV[OBJCASE=acc, AGR=[NUM=sg,PER=3]] -> 'sieht' | 'mag'
-TV[OBJCASE=dat, AGR=[NUM=sg,PER=1]] -> 'folge' | 'helfe'
-TV[OBJCASE=dat, AGR=[NUM=sg,PER=2]] -> 'folgst' | 'hilfst'
-TV[OBJCASE=dat, AGR=[NUM=sg,PER=3]] -> 'folgt' | 'hilft'
-TV[OBJCASE=acc, AGR=[NUM=pl,PER=1]] -> 'sehen' | 'moegen'
-TV[OBJCASE=acc, AGR=[NUM=pl,PER=2]] -> 'sieht' | 'moegt'
-TV[OBJCASE=acc, AGR=[NUM=pl,PER=3]] -> 'sehen' | 'moegen'
-TV[OBJCASE=dat, AGR=[NUM=pl,PER=1]] -> 'folgen' | 'helfen'
-TV[OBJCASE=dat, AGR=[NUM=pl,PER=2]] -> 'folgt' | 'helft'
-TV[OBJCASE=dat, AGR=[NUM=pl,PER=3]] -> 'folgen' | 'helfen'
-
-
diff --git a/examples/grammars/book_grammars/simple-sem.fcfg b/examples/grammars/book_grammars/simple-sem.fcfg
deleted file mode 100644
index 473fed2..0000000
--- a/examples/grammars/book_grammars/simple-sem.fcfg
+++ /dev/null
@@ -1,65 +0,0 @@
-## Natural Language Toolkit: sem3.fcfg
-##
-## Alternative simple grammar with transitive verbs and
-## quantifiers for the book.
-##
-## Author: Ewan Klein <ewan at inf.ed.ac.uk>
-## URL: <http://nltk.sourceforge.net>
-## For license information, see LICENSE.TXT
-
-
-% start S
-############################
-# Grammar Rules
-#############################
-
-S[SEM = <?subj(?vp)>] -> NP[NUM=?n,SEM=?subj] VP[NUM=?n,SEM=?vp]
-
-NP[NUM=?n,SEM=<?det(?nom)> ] -> Det[NUM=?n,SEM=?det] Nom[NUM=?n,SEM=?nom]
-NP[LOC=?l,NUM=?n,SEM=?np] -> PropN[LOC=?l,NUM=?n,SEM=?np]
-
-Nom[NUM=?n,SEM=?nom] -> N[NUM=?n,SEM=?nom]
-
-VP[NUM=?n,SEM=?v] -> IV[NUM=?n,SEM=?v]
-VP[NUM=?n,SEM=<?v(?obj)>] -> TV[NUM=?n,SEM=?v] NP[SEM=?obj]
-VP[NUM=?n,SEM=<?v(?obj,?pp)>] -> DTV[NUM=?n,SEM=?v] NP[SEM=?obj] PP[+TO,SEM=?pp]
-
-PP[+TO, SEM=?np] -> P[+TO] NP[SEM=?np]
-
-#############################
-# Lexical Rules
-#############################
-
-PropN[-LOC,NUM=sg,SEM=<\P.P(angus)>] -> 'Angus'
-PropN[-LOC,NUM=sg,SEM=<\P.P(cyril)>] -> 'Cyril'
-PropN[-LOC,NUM=sg,SEM=<\P.P(irene)>] -> 'Irene'
-
-Det[NUM=sg,SEM=<\P Q.all x.(P(x) -> Q(x))>] -> 'every'
-Det[NUM=pl,SEM=<\P Q.all x.(P(x) -> Q(x))>] -> 'all'
-Det[SEM=<\P Q.exists x.(P(x) & Q(x))>] -> 'some'
-Det[NUM=sg,SEM=<\P Q.exists x.(P(x) & Q(x))>] -> 'a'
-Det[NUM=sg,SEM=<\P Q.exists x.(P(x) & Q(x))>] -> 'an'
-
-N[NUM=sg,SEM=<\x.man(x)>] -> 'man'
-N[NUM=sg,SEM=<\x.girl(x)>] -> 'girl'
-N[NUM=sg,SEM=<\x.boy(x)>] -> 'boy'
-N[NUM=sg,SEM=<\x.bone(x)>] -> 'bone'
-N[NUM=sg,SEM=<\x.ankle(x)>] -> 'ankle'
-N[NUM=sg,SEM=<\x.dog(x)>] -> 'dog'
-N[NUM=pl,SEM=<\x.dog(x)>] -> 'dogs'
-
-IV[NUM=sg,SEM=<\x.bark(x)>,TNS=pres] -> 'barks'
-IV[NUM=pl,SEM=<\x.bark(x)>,TNS=pres] -> 'bark'
-IV[NUM=sg,SEM=<\x.walk(x)>,TNS=pres] -> 'walks'
-IV[NUM=pl,SEM=<\x.walk(x)>,TNS=pres] -> 'walk'
-TV[NUM=sg,SEM=<\X x.X(\y.chase(x,y))>,TNS=pres] -> 'chases'
-TV[NUM=pl,SEM=<\X x.X(\y.chase(x,y))>,TNS=pres] -> 'chase'
-TV[NUM=sg,SEM=<\X x.X(\y.see(x,y))>,TNS=pres] -> 'sees'
-TV[NUM=pl,SEM=<\X x.X(\y.see(x,y))>,TNS=pres] -> 'see'
-TV[NUM=sg,SEM=<\X x.X(\y.bite(x,y))>,TNS=pres] -> 'bites'
-TV[NUM=pl,SEM=<\X x.X(\y.bite(x,y))>,TNS=pres] -> 'bite'
-DTV[NUM=sg,SEM=<\Y X x.X(\z.Y(\y.give(x,y,z)))>,TNS=pres] -> 'gives'
-DTV[NUM=pl,SEM=<\Y X x.X(\z.Y(\y.give(x,y,z)))>,TNS=pres] -> 'give'
-
-P[+to] -> 'to'
-
diff --git a/examples/grammars/book_grammars/sql0.fcfg b/examples/grammars/book_grammars/sql0.fcfg
deleted file mode 100644
index 888e8a6..0000000
--- a/examples/grammars/book_grammars/sql0.fcfg
+++ /dev/null
@@ -1,32 +0,0 @@
-## Natural Language Toolkit: sql.fcfg
-##
-## Deliberately naive string-based grammar for
-## deriving SQL queries from English
-##
-## Author: Ewan Klein <ewan at inf.ed.ac.uk>
-## URL: <http://nltk.sourceforge.net>
-## For license information, see LICENSE.TXT
-
-% start S
-
-S[SEM=(?np + WHERE + ?vp)] -> NP[SEM=?np] VP[SEM=?vp]
-
-VP[SEM=(?v + ?pp)] -> IV[SEM=?v] PP[SEM=?pp]
-VP[SEM=(?v + ?ap)] -> IV[SEM=?v] AP[SEM=?ap]
-NP[SEM=(?det + ?n)] -> Det[SEM=?det] N[SEM=?n]
-PP[SEM=(?p + ?np)] -> P[SEM=?p] NP[SEM=?np]
-AP[SEM=?pp] -> A[SEM=?a] PP[SEM=?pp]
-
-NP[SEM='Country="greece"'] -> 'Greece'
-NP[SEM='Country="china"'] -> 'China'
-
-Det[SEM='SELECT'] -> 'Which' | 'What'
-
-N[SEM='City FROM city_table'] -> 'cities'
-
-IV[SEM=''] -> 'are'
-A[SEM=''] -> 'located'
-P[SEM=''] -> 'in'
-
-
-
diff --git a/examples/grammars/book_grammars/sql1.fcfg b/examples/grammars/book_grammars/sql1.fcfg
deleted file mode 100644
index 8638e13..0000000
--- a/examples/grammars/book_grammars/sql1.fcfg
+++ /dev/null
@@ -1,44 +0,0 @@
-## Natural Language Toolkit: sql.fcfg
-##
-## Deliberately naive string-based grammar for
-## deriving SQL queries from English
-##
-## Author: Ewan Klein <ewan at inf.ed.ac.uk>
-## URL: <http://nltk.sourceforge.net>
-## For license information, see LICENSE.TXT
-
-% start S
-
-S[SEM=(?np + WHERE + ?vp)] -> NP[SEM=?np] VP[SEM=?vp]
-
-VP[SEM=(?v + ?pp)] -> IV[SEM=?v] PP[SEM=?pp]
-VP[SEM=(?v + ?ap)] -> IV[SEM=?v] AP[SEM=?ap]
-VP[SEM=(?v + ?np)] -> TV[SEM=?v] NP[SEM=?np]
-VP[SEM=(?vp1 + ?c + ?vp2)] -> VP[SEM=?vp1] Conj[SEM=?c] VP[SEM=?vp2]
-
-NP[SEM=(?det + ?n)] -> Det[SEM=?det] N[SEM=?n]
-NP[SEM=(?n + ?pp)] -> N[SEM=?n] PP[SEM=?pp]
-NP[SEM=?n] -> N[SEM=?n] | CardN[SEM=?n]
-
-## NB Numbers in the Chat-80 database represent thousands.
-CardN[SEM='1000'] -> '1,000,000'
-
-PP[SEM=(?p + ?np)] -> P[SEM=?p] NP[SEM=?np]
-AP[SEM=?pp] -> A[SEM=?a] PP[SEM=?pp]
-
-NP[SEM='Country="greece"'] -> 'Greece'
-NP[SEM='Country="china"'] -> 'China'
-
-Det[SEM='SELECT'] -> 'Which' | 'What'
-Conj[SEM='AND'] -> 'and'
-
-N[SEM='City FROM city_table'] -> 'cities'
-N[SEM='Population'] -> 'populations'
-
-IV[SEM=''] -> 'are'
-TV[SEM=''] -> 'have'
-A -> 'located'
-P[SEM=''] -> 'in'
-P[SEM='>'] -> 'above'
-
-
diff --git a/examples/grammars/book_grammars/storage.fcfg b/examples/grammars/book_grammars/storage.fcfg
deleted file mode 100644
index fb0c17a..0000000
--- a/examples/grammars/book_grammars/storage.fcfg
+++ /dev/null
@@ -1,54 +0,0 @@
-## Natural Language Toolkit: storage.fcfg
-##
-## Feature-based grammar that implements Cooper storage by dividing the
-## semantics for each phrase into two pieces: the core semantics
-## ('SEM','CORE') and a sequence of binding operators ('SEM','STORE').
-## Each binding operator is encoded as a logic term <bo(quant, var)>,
-## where <quant> is a quantifier expression and the individual variable
-## <@var> specifies the 'address' of the quantifier in the core
-## semantics. and <predicate> is a predicate describing that variable.
-
-## In order for this grammar to generate the correct results, all
-## variables of the form <@var> must be instantiated (i.e., replaced
-## by unique new variables) whenever they are used. This can be
-## accomplished by using the InstantiateVarsChart class when parsing.
-##
-## Author: Edward Loper <edloper at gmail.com>,
-## Ewan Klein <ewan at inf.ed.ac.uk>
-## Robin Cooper <robin.cooper at ling.gu.se>
-## URL: <http://nltk.sourceforge.net>
-## For license information, see LICENSE.TXT
-
-%start S
-
-S[SEM=[CORE=<?vp(?subj)>, STORE=(?b1+?b2)]] -> NP[SEM=[CORE=?subj, STORE=?b1]] VP[SEM=[CORE=?vp, STORE=?b2]]
-
-VP[SEM=?s] -> IV[SEM=?s]
-VP[SEM=[CORE=<?v(?obj)>, STORE=(?b1+?b2)]] -> TV[SEM=[CORE=?v, STORE=?b1]] NP[SEM=[CORE=?obj, STORE=?b2]]
-VP[SEM=[CORE=<?v(?pp)(?obj)>, STORE=(?b1+?b2+?b3)]] -> DTV[SEM=[CORE=?v, STORE=?b1]] NP[SEM=[CORE=?obj, STORE=?b2]] PP[+TO, SEM=[CORE=?pp, STORE=?b3]]
-
-NP[SEM=[CORE=<@x>, STORE=((<bo(?det(?n), at x)>)+?b1+?b2)]] -> Det[SEM=[CORE=?det, STORE=?b1]] N[SEM=[CORE=?n, STORE=?b2]]
-
-PP[+TO, SEM=[CORE=?np, STORE=?b1]] -> P NP[SEM=[CORE=?np, STORE=?b1]]
-
-# Lexical items:
-Det[SEM=[CORE=<\Q P.exists x.(Q(x) & P(x))>, STORE=(/)]] -> 'a'
-Det[SEM=[CORE=<\Q P.all x.(Q(x) implies P(x))>, STORE=(/)]] -> 'every'
-
-N[SEM=[CORE=<dog>, STORE=(/)]] -> 'dog'
-N[SEM=[CORE=<bone>, STORE=(/)]] -> 'bone'
-N[SEM=[CORE=<girl>, STORE=(/)]] -> 'girl'
-N[SEM=[CORE=<man>, STORE=(/)]] -> 'man'
-
-IV[SEM=[CORE=<\x.smile(x)>, STORE=(/)]] -> 'smiles'
-IV[SEM=[CORE=<\x.walk(x)>, STORE=(/)]] -> 'walks'
-
-TV[SEM=[CORE=<\y x.feed(x,y)>, STORE=(/)]] -> 'feeds'
-TV[SEM=[CORE=<\y x.chase(x,y)>, STORE=(/)]] -> 'chases'
-
-DTV[SEM=[CORE=<\z y x.give(x,y,z)>, STORE=(/)]] -> 'gives'
-
-NP[SEM=[CORE=<@x>, STORE=(<bo(\P.P(angus), at x)>)]] -> 'Angus'
-NP[SEM=[CORE=<@x>, STORE=(<bo(\P.P(cyril), at x)>)]] -> 'Cyril'
-
-P[+TO] -> 'to'
diff --git a/examples/grammars/sample_grammars/background0.fol b/examples/grammars/sample_grammars/background0.fol
deleted file mode 100644
index d6fe8ef..0000000
--- a/examples/grammars/sample_grammars/background0.fol
+++ /dev/null
@@ -1,19 +0,0 @@
-## Natural Language Toolkit: background0.fol
-##
-## Illustration of simple knowledge base for use with inference tools.
-## To accompany sem4.fcfg
-##
-## Author: Ewan Klein <ewan at inf.ed.ac.uk>
-## URL: <http://nltk.sourceforge.net>
-## For license information, see LICENSE.TXT
-
-all x. (boxerdog(x) -> dog(x))
-all x. (boxer(x) -> person(x))
-
-all x. (-(dog(x) & person(x)))
-
-some x. boxer(x)
-some x. boxerdog(x)
-
-
-
diff --git a/examples/grammars/sample_grammars/bindop.fcfg b/examples/grammars/sample_grammars/bindop.fcfg
deleted file mode 100644
index c1243b1..0000000
--- a/examples/grammars/sample_grammars/bindop.fcfg
+++ /dev/null
@@ -1,42 +0,0 @@
-## Natural Language Toolkit: sem0.fcfg
-##
-## Feature-based grammar that divides the semantics for each element
-## into two pieces: the core semantics, with path ('SEM','CORE'), and a set of
-## binding operators, with path ('SEM','BO'). Each binding operator is encoded
-## as a lambda-calculus expression <bo(expr, @var)>, specifying
-## that <@var> is an individual variable that should be instantiated,
-## and <expr> is an expression that can bind that variable.
-##
-## In order for this grammar to generate the correct results, all
-## variables of the form <@var> must be instantiated (i.e., replaced
-## by unique new variables) whenever they are used. This can be
-## accomplished by using the InstantiateVarsChart class when parsing.
-##
-## Author: Edward Loper <edloper at gmail.com>,
-## Ewan Klein <ewan at inf.ed.ac.uk>
-## URL: <http://nltk.sourceforge.net>
-## For license information, see LICENSE.TXT
-
-%start S
-## Grammar summary:
-## S -> NP VP
-## VP -> TV NP | IV
-## NP -> Det N | proper nouns...
-## TV -> transitive verbs...
-## IV -> intransitive verbs...
-## Det -> determiners...
-
-S[SEM=[CORE=<?vp(?subj)>, BO={?b1+?b2}]] -> NP[SEM=[CORE=?subj, BO=?b1]] VP[SEM=[CORE=?vp, BO=?b2]]
-
-VP[SEM=[CORE=<?v(?obj)>, BO={?b1+?b2}]] -> TV[SEM=[CORE=?v, BO=?b1]] NP[SEM=[CORE=?obj, BO=?b2]]
-
-VP[SEM=?s] -> IV[SEM=?s]
-
-NP[SEM=[CORE=<@x>, BO={{<bo(?det(?n), @x)>}+?b1+?b2}]] -> Det[SEM=[CORE=?det, BO=?b1]] N[SEM=[CORE=?n, BO=?b2]]
-
-# Lexical items:
-Det[SEM=[CORE=<\Q P.exists x.(Q(x) & P(x))>, BO={/}]] -> 'a'
-N[SEM=[CORE=<dog>, BO={/}]] -> 'dog' | 'cat' | 'mouse'
-IV[SEM=[CORE=<\x.bark(x)>, BO={/}]] -> 'barks' | 'eats' | 'walks'
-TV[SEM=[CORE=<\x y.feed(y,x)>, BO={/}]] -> 'feeds' | 'walks'
-NP[SEM=[CORE=<@x>, BO={<bo(\P. P(John), @x)>}]] -> 'john' | 'alex'
diff --git a/examples/grammars/sample_grammars/chat80.fcfg b/examples/grammars/sample_grammars/chat80.fcfg
deleted file mode 100644
index e023295..0000000
--- a/examples/grammars/sample_grammars/chat80.fcfg
+++ /dev/null
@@ -1,95 +0,0 @@
-## Natural Language Toolkit: chat80.fcfg
-##
-##
-## Grammar used to illustrate querying the Chat-80 database.
-##
-## Author: Ewan Klein <ewan at inf.ed.ac.uk>
-## URL: <http://nltk.sourceforge.net>
-## For license information, see LICENSE.TXT
-
-% start S
-# ###########################
-# Grammar Rules
-# ############################
-
-S[SEM=<app(?subj,?vp)>] -> NP[-PRED,NUM=?n,SEM=?subj] VP[NUM=?n,SEM=?vp]
-
-Rel[NUM=?n,SEM=<app(?comp,?vp)>] -> Comp[SEM=?comp] VP[NUM=?n,SEM=?vp]
-
-NP[-PRED, NUM=pl,SEM=<(\P Q. exists x. (Q(x) and P(x)) ?nom)>] -> Nom[NUM=pl,SEM=?nom]
-NP[WH=?wh,-PRED,NUM=?n,SEM=<app(?det,?nom)>] -> Det[WH=?wh, NUM=?n,SEM=?det] Nom[NUM=?n,SEM=?nom]
-
-
-NP[+PRED,NUM=sg,SEM=?nom] -> Det[NUM=sg,SEM=?det] Nom[NUM=sg,SEM=?nom]
-NP[+PRED,NUM=pl,SEM=?nom] -> Nom[NUM=pl,SEM=?nom]
-
-NP[LOC=?l,NUM=?n,SEM=?np] -> PropN[LOC=?l,NUM=?n,SEM=?np]
-
-Nom[NUM=?n,SEM=?nom] -> N[NUM=?n,SEM=?nom]
-Nom[NUM=sg,SEM=<app(?pp,?nom)>] -> N[subcat=11,NUM=sg,SEM=?nom] PP[pform=of,SEM=?pp]
-Nom[NUM=?n,SEM=<app(?mod,?nom)>] -> Nom[NUM=?n,SEM=?nom] Rel[NUM=?n,SEM=?mod]
-Nom[NUM=?n,SEM=<app(?adj,?nom)>] -> A[SEM=?adj] Nom[NUM=?n,SEM=?nom]
-
-##VP[NUM=?n,SEM=?v] -> V[SUBCAT=1,NUM=?n,SEM=?v]
-VP[NUM=?n,SEM=<app(?v,?obj)>] -> V[SUBCAT=2, NUM=?n,SEM=?v] NP[-PRED,SEM=?obj]
-VP[NUM=?n,SEM=<app(?v,?PRED)>] -> V[SUBCAT=3, NUM=?n,SEM=?v] NP[+PRED,SEM=?PRED]
-
-PP[PFORM=?pf,SEM=<app(?p,?np)>] -> P[PFORM=?pf, LOC=?l,SEM=?p] NP[LOC=?l,SEM=?np]
-
-
-# ############################
-# Lexical Rules
-# ############################
-
-% include chat_pnames.cfg
-
-Comp[SEM=<\P Q x.(P(x) and Q(x))>] -> 'that'
-
-NP[+WH, NUM=sg, SEM=<\P.\x.P(x)>] -> 'what'
-
-Det[-WH,NUM=sg,SEM=<\P Q. all x. (P(x) -> Q(x))>] -> 'every'
-Det[-WH,NUM=pl,SEM=<\P Q. all x. (P(x) -> Q(x))>] -> 'all'
-Det[-WH,SEM=<\P Q. exists x. (P(x) & Q(x))>] -> 'some'
-Det[-WH,NUM=sg,SEM=<\P Q. exists x. (P(x) & Q(x))>] -> 'a'
-Det[-WH,NUM=sg,SEM=<\P Q. exists x. (P(x) & Q(x))>] -> 'the'
-Det[+WH,SEM=<\P Q x. (Q(x) & P(x))>] -> 'which'
-
-N[SUBCAT=10,NUM=sg,SEM=<\x.city(x)>] -> 'city'
-N[SUBCAT=10,NUM=pl,SEM=<\x.city(x)>] -> 'cities'
-N[SUBCAT=10,NUM=sg,SEM=<\x.continent(x)>] -> 'continent'
-N[SUBCAT=10,NUM=pl,SEM=<\x.continent(x)>] -> 'continents'
-N[SUBCAT=10,NUM=sg,SEM=<\x.country(x)>] -> 'country'
-N[SUBCAT=10,NUM=pl,SEM=<\x.country(x)>] -> 'countries'
-N[SUBCAT=10,NUM=sg,SEM=<\x.sea(x)>] -> 'sea'
-N[SUBCAT=10,NUM=pl,SEM=<\x.sea(x)>] -> 'seas'
-N[SUBCAT=10,NUM=sg,SEM=<\x.ocean(x)>] -> 'ocean'
-N[SUBCAT=10,NUM=pl,SEM=<\x.ocean(x)>] -> 'oceans'
-
-PL[SEM=<\P Q. exists x. (P(x) & Q(x))>] -> ' '
-
-N[SUBCAT=11,NUM=sg,SEM=<\x y.area_of(x,y))>] -> 'area'
-N[SUBCAT=11,NUM=sg,SEM=<\x y.capital_of(x,y))>] -> 'capital'
-N[SUBCAT=11,NUM=sg,SEM=<\x y.currency_of(x,y))>] -> 'currency'
-N[SUBCAT=11,NUM=sg,SEM=<\x y.region_of(x,y))>] -> 'region'
-N[SUBCAT=11,NUM=sg,SEM=<\x y.longitude_of(x,y))>] -> 'longitude'
-N[SUBCAT=11,NUM=sg,SEM=<\x y.latitude_of(x,y))>] -> 'latitude'
-N[SUBCAT=11,NUM=sg,SEM=<\x y.population_of(x,y))>] -> 'population'
-
-
-## V[SUBCAT=3,NUM=sg,SEM=<\X y.(X \x.(x = y))>,tns=pres] -> 'is'
-## V[SUBCAT=3,NUM=pl,SEM=<\P.P))>,tns=pres] -> 'are'
-V[SUBCAT=3,NUM=sg,SEM=<\P.P>,tns=pres] -> 'is'
-V[SUBCAT=3,NUM=pl,SEM=<\P.P>,tns=pres] -> 'are'
-V[SUBCAT=2,NUM=sg,SEM=<\X y.(X \x.border(y,x))>,tns=pres] -> 'borders'
-V[SUBCAT=2,NUM=pl,SEM=<\X y.(X \x.border(y,x))>,tns=pres] -> 'border'
-V[SUBCAT=2,NUM=sg,SEM=<\X y.(X \x.contain(y,x))>,tns=pres] -> 'contains'
-V[SUBCAT=2,NUM=pl,SEM=<\X y.(X \x.contain(y,x))>,tns=pres] -> 'contain'
-
-A[SEM=<\P x.(contain(asia,x) & P(x))>] -> 'Asian'
-
-P[PFORM=of,SEM=<\X.X>] -> 'of'
-P[+LOC,SEM=<\X P x.(X \y.(P(x) & in(x,y)))>] -> 'in'
-P[-LOC,SEM=<\X P x.(X \y.(P(x) & with(x,y)))>] -> 'with'
-
-
-
diff --git a/examples/grammars/sample_grammars/chat_pnames.fcfg b/examples/grammars/sample_grammars/chat_pnames.fcfg
deleted file mode 100644
index c32c768..0000000
--- a/examples/grammars/sample_grammars/chat_pnames.fcfg
+++ /dev/null
@@ -1,545 +0,0 @@
-
-##################################################################
-# Lexical rules automatically generated by running 'chat80.py -x'.
-##################################################################
-
-PropN[num=sg, sem=<\P.P(abidjan)>] -> 'Abidjan'
-PropN[num=sg, sem=<\P.P(abu_dhabi)>] -> 'Abu_Dhabi'
-PropN[num=sg, sem=<\P.P(accra)>] -> 'Accra'
-PropN[num=sg, sem=<\P.P(addis_ababa)>] -> 'Addis_Ababa'
-PropN[num=sg, sem=<\P.P(aden)>] -> 'Aden'
-PropN[num=sg, sem=<\P.P(afghani)>] -> 'Afghani'
-PropN[num=sg, sem=<\P.P(afghanistan)>] -> 'Afghanistan'
-PropN[num=sg, sem=<\P.P(africa)>] -> 'Africa'
-PropN[num=sg, sem=<\P.P(albania)>] -> 'Albania'
-PropN[num=sg, sem=<\P.P(algeria)>] -> 'Algeria'
-PropN[num=sg, sem=<\P.P(algiers)>] -> 'Algiers'
-PropN[num=sg, sem=<\P.P(amazon)>] -> 'Amazon'
-PropN[num=sg, sem=<\P.P(america)>] -> 'America'
-PropN[num=sg, sem=<\P.P(amman)>] -> 'Amman'
-PropN[num=sg, sem=<\P.P(amsterdam)>] -> 'Amsterdam'
-PropN[num=sg, sem=<\P.P(amu_darya)>] -> 'Amu_Darya'
-PropN[num=sg, sem=<\P.P(amur)>] -> 'Amur'
-PropN[num=sg, sem=<\P.P(andorra)>] -> 'Andorra'
-PropN[num=sg, sem=<\P.P(andorra_la_villa)>] -> 'Andorra_La_Villa'
-PropN[num=sg, sem=<\P.P(angola)>] -> 'Angola'
-PropN[num=sg, sem=<\P.P(ankara)>] -> 'Ankara'
-PropN[num=sg, sem=<\P.P(antarctic_circle)>] -> 'Antarctic_Circle'
-PropN[num=sg, sem=<\P.P(antarctica)>] -> 'Antarctica'
-PropN[num=sg, sem=<\P.P(apia)>] -> 'Apia'
-PropN[num=sg, sem=<\P.P(arctic_circle)>] -> 'Arctic_Circle'
-PropN[num=sg, sem=<\P.P(arctic_ocean)>] -> 'Arctic_Ocean'
-PropN[num=sg, sem=<\P.P(argentina)>] -> 'Argentina'
-PropN[num=sg, sem=<\P.P(ariary)>] -> 'Ariary'
-PropN[num=sg, sem=<\P.P(asia)>] -> 'Asia'
-PropN[num=sg, sem=<\P.P(asuncion)>] -> 'Asuncion'
-PropN[num=sg, sem=<\P.P(athens)>] -> 'Athens'
-PropN[num=sg, sem=<\P.P(atlantic)>] -> 'Atlantic'
-PropN[num=sg, sem=<\P.P(australasia)>] -> 'Australasia'
-PropN[num=sg, sem=<\P.P(australia)>] -> 'Australia'
-PropN[num=sg, sem=<\P.P(australian_dollar)>] -> 'Australian_Dollar'
-PropN[num=sg, sem=<\P.P(austria)>] -> 'Austria'
-PropN[num=sg, sem=<\P.P(baghdad)>] -> 'Baghdad'
-PropN[num=sg, sem=<\P.P(bahamas)>] -> 'Bahamas'
-PropN[num=sg, sem=<\P.P(bahamian_dollar)>] -> 'Bahamian_Dollar'
-PropN[num=sg, sem=<\P.P(bahrain)>] -> 'Bahrain'
-PropN[num=sg, sem=<\P.P(baht)>] -> 'Baht'
-PropN[num=sg, sem=<\P.P(balboa)>] -> 'Balboa'
-PropN[num=sg, sem=<\P.P(baltic)>] -> 'Baltic'
-PropN[num=sg, sem=<\P.P(bamako)>] -> 'Bamako'
-PropN[num=sg, sem=<\P.P(bangkok)>] -> 'Bangkok'
-PropN[num=sg, sem=<\P.P(bangladesh)>] -> 'Bangladesh'
-PropN[num=sg, sem=<\P.P(bangui)>] -> 'Bangui'
-PropN[num=sg, sem=<\P.P(banjul)>] -> 'Banjul'
-PropN[num=sg, sem=<\P.P(barbados)>] -> 'Barbados'
-PropN[num=sg, sem=<\P.P(barcelona)>] -> 'Barcelona'
-PropN[num=sg, sem=<\P.P(beirut)>] -> 'Beirut'
-PropN[num=sg, sem=<\P.P(belgium)>] -> 'Belgium'
-PropN[num=sg, sem=<\P.P(belgrade)>] -> 'Belgrade'
-PropN[num=sg, sem=<\P.P(belize)>] -> 'Belize'
-PropN[num=sg, sem=<\P.P(belize_town)>] -> 'Belize_Town'
-PropN[num=sg, sem=<\P.P(berlin)>] -> 'Berlin'
-PropN[num=sg, sem=<\P.P(bern)>] -> 'Bern'
-PropN[num=sg, sem=<\P.P(bhutan)>] -> 'Bhutan'
-PropN[num=sg, sem=<\P.P(birmingham)>] -> 'Birmingham'
-PropN[num=sg, sem=<\P.P(bissau)>] -> 'Bissau'
-PropN[num=sg, sem=<\P.P(black_sea)>] -> 'Black_Sea'
-PropN[num=sg, sem=<\P.P(bogota)>] -> 'Bogota'
-PropN[num=sg, sem=<\P.P(bolivar)>] -> 'Bolivar'
-PropN[num=sg, sem=<\P.P(bolivia)>] -> 'Bolivia'
-PropN[num=sg, sem=<\P.P(bombay)>] -> 'Bombay'
-PropN[num=sg, sem=<\P.P(bonn)>] -> 'Bonn'
-PropN[num=sg, sem=<\P.P(botswana)>] -> 'Botswana'
-PropN[num=sg, sem=<\P.P(brahmaputra)>] -> 'Brahmaputra'
-PropN[num=sg, sem=<\P.P(brasilia)>] -> 'Brasilia'
-PropN[num=sg, sem=<\P.P(brazil)>] -> 'Brazil'
-PropN[num=sg, sem=<\P.P(brazzaville)>] -> 'Brazzaville'
-PropN[num=sg, sem=<\P.P(bridgetown)>] -> 'Bridgetown'
-PropN[num=sg, sem=<\P.P(brussels)>] -> 'Brussels'
-PropN[num=sg, sem=<\P.P(bucharest)>] -> 'Bucharest'
-PropN[num=sg, sem=<\P.P(budapest)>] -> 'Budapest'
-PropN[num=sg, sem=<\P.P(buenos_aires)>] -> 'Buenos_Aires'
-PropN[num=sg, sem=<\P.P(bujumbura)>] -> 'Bujumbura'
-PropN[num=sg, sem=<\P.P(bulgaria)>] -> 'Bulgaria'
-PropN[num=sg, sem=<\P.P(burma)>] -> 'Burma'
-PropN[num=sg, sem=<\P.P(burundi)>] -> 'Burundi'
-PropN[num=sg, sem=<\P.P(cairo)>] -> 'Cairo'
-PropN[num=sg, sem=<\P.P(calcutta)>] -> 'Calcutta'
-PropN[num=sg, sem=<\P.P(cambodia)>] -> 'Cambodia'
-PropN[num=sg, sem=<\P.P(cameroon)>] -> 'Cameroon'
-PropN[num=sg, sem=<\P.P(canada)>] -> 'Canada'
-PropN[num=sg, sem=<\P.P(canadian_dollar)>] -> 'Canadian_Dollar'
-PropN[num=sg, sem=<\P.P(canberra)>] -> 'Canberra'
-PropN[num=sg, sem=<\P.P(canton)>] -> 'Canton'
-PropN[num=sg, sem=<\P.P(caracas)>] -> 'Caracas'
-PropN[num=sg, sem=<\P.P(caribbean)>] -> 'Caribbean'
-PropN[num=sg, sem=<\P.P(caspian)>] -> 'Caspian'
-PropN[num=sg, sem=<\P.P(cayenne)>] -> 'Cayenne'
-PropN[num=sg, sem=<\P.P(cedi)>] -> 'Cedi'
-PropN[num=sg, sem=<\P.P(central_africa)>] -> 'Central_Africa'
-PropN[num=sg, sem=<\P.P(central_african_republic)>] -> 'Central_African_Republic'
-PropN[num=sg, sem=<\P.P(central_america)>] -> 'Central_America'
-PropN[num=sg, sem=<\P.P(cfa_franc)>] -> 'Cfa_Franc'
-PropN[num=sg, sem=<\P.P(chad)>] -> 'Chad'
-PropN[num=sg, sem=<\P.P(chicago)>] -> 'Chicago'
-PropN[num=sg, sem=<\P.P(chile)>] -> 'Chile'
-PropN[num=sg, sem=<\P.P(china)>] -> 'China'
-PropN[num=sg, sem=<\P.P(chungking)>] -> 'Chungking'
-PropN[num=sg, sem=<\P.P(colombia)>] -> 'Colombia'
-PropN[num=sg, sem=<\P.P(colombo)>] -> 'Colombo'
-PropN[num=sg, sem=<\P.P(colon)>] -> 'Colon'
-PropN[num=sg, sem=<\P.P(colorado)>] -> 'Colorado'
-PropN[num=sg, sem=<\P.P(conakry)>] -> 'Conakry'
-PropN[num=sg, sem=<\P.P(congo)>] -> 'Congo'
-PropN[num=sg, sem=<\P.P(congo_river)>] -> 'Congo_River'
-PropN[num=sg, sem=<\P.P(copenhagen)>] -> 'Copenhagen'
-PropN[num=sg, sem=<\P.P(cordoba)>] -> 'Cordoba'
-PropN[num=sg, sem=<\P.P(costa_rica)>] -> 'Costa_Rica'
-PropN[num=sg, sem=<\P.P(cruzeiro)>] -> 'Cruzeiro'
-PropN[num=sg, sem=<\P.P(cuba)>] -> 'Cuba'
-PropN[num=sg, sem=<\P.P(cubango)>] -> 'Cubango'
-PropN[num=sg, sem=<\P.P(cyprus)>] -> 'Cyprus'
-PropN[num=sg, sem=<\P.P(czechoslovakia)>] -> 'Czechoslovakia'
-PropN[num=sg, sem=<\P.P(dacca)>] -> 'Dacca'
-PropN[num=sg, sem=<\P.P(dahomey)>] -> 'Dahomey'
-PropN[num=sg, sem=<\P.P(dairen)>] -> 'Dairen'
-PropN[num=sg, sem=<\P.P(dakar)>] -> 'Dakar'
-PropN[num=sg, sem=<\P.P(dalasi)>] -> 'Dalasi'
-PropN[num=sg, sem=<\P.P(damascus)>] -> 'Damascus'
-PropN[num=sg, sem=<\P.P(danube)>] -> 'Danube'
-PropN[num=sg, sem=<\P.P(dar_es_salaam)>] -> 'Dar_Es_Salaam'
-PropN[num=sg, sem=<\P.P(ddr_mark)>] -> 'Ddr_Mark'
-PropN[num=sg, sem=<\P.P(delhi)>] -> 'Delhi'
-PropN[num=sg, sem=<\P.P(denmark)>] -> 'Denmark'
-PropN[num=sg, sem=<\P.P(detroit)>] -> 'Detroit'
-PropN[num=sg, sem=<\P.P(deutsche_mark)>] -> 'Deutsche_Mark'
-PropN[num=sg, sem=<\P.P(dinar)>] -> 'Dinar'
-PropN[num=sg, sem=<\P.P(dirham)>] -> 'Dirham'
-PropN[num=sg, sem=<\P.P(djibouti)>] -> 'Djibouti'
-PropN[num=sg, sem=<\P.P(doha)>] -> 'Doha'
-PropN[num=sg, sem=<\P.P(dollar)>] -> 'Dollar'
-PropN[num=sg, sem=<\P.P(dominican_republic)>] -> 'Dominican_Republic'
-PropN[num=sg, sem=<\P.P(don)>] -> 'Don'
-PropN[num=sg, sem=<\P.P(dong)>] -> 'Dong'
-PropN[num=sg, sem=<\P.P(drachma)>] -> 'Drachma'
-PropN[num=sg, sem=<\P.P(dublin)>] -> 'Dublin'
-PropN[num=sg, sem=<\P.P(east_africa)>] -> 'East_Africa'
-PropN[num=sg, sem=<\P.P(east_berlin)>] -> 'East_Berlin'
-PropN[num=sg, sem=<\P.P(east_caribbean_dollar)>] -> 'East_Caribbean_Dollar'
-PropN[num=sg, sem=<\P.P(east_carribean_dollar)>] -> 'East_Carribean_Dollar'
-PropN[num=sg, sem=<\P.P(east_germany)>] -> 'East_Germany'
-PropN[num=sg, sem=<\P.P(eastern_europe)>] -> 'Eastern_Europe'
-PropN[num=sg, sem=<\P.P(ecuador)>] -> 'Ecuador'
-PropN[num=sg, sem=<\P.P(egypt)>] -> 'Egypt'
-PropN[num=sg, sem=<\P.P(egyptian_pound)>] -> 'Egyptian_Pound'
-PropN[num=sg, sem=<\P.P(eire)>] -> 'Eire'
-PropN[num=sg, sem=<\P.P(el_salvador)>] -> 'El_Salvador'
-PropN[num=sg, sem=<\P.P(elbe)>] -> 'Elbe'
-PropN[num=sg, sem=<\P.P(equator)>] -> 'Equator'
-PropN[num=sg, sem=<\P.P(equatorial_guinea)>] -> 'Equatorial_Guinea'
-PropN[num=sg, sem=<\P.P(escudo)>] -> 'Escudo'
-PropN[num=sg, sem=<\P.P(ethiopean_dollar)>] -> 'Ethiopean_Dollar'
-PropN[num=sg, sem=<\P.P(ethiopia)>] -> 'Ethiopia'
-PropN[num=sg, sem=<\P.P(euphrates)>] -> 'Euphrates'
-PropN[num=sg, sem=<\P.P(europe)>] -> 'Europe'
-PropN[num=sg, sem=<\P.P(far_east)>] -> 'Far_East'
-PropN[num=sg, sem=<\P.P(fiji)>] -> 'Fiji'
-PropN[num=sg, sem=<\P.P(fiji_dollar)>] -> 'Fiji_Dollar'
-PropN[num=sg, sem=<\P.P(finland)>] -> 'Finland'
-PropN[num=sg, sem=<\P.P(forint)>] -> 'Forint'
-PropN[num=sg, sem=<\P.P(franc)>] -> 'Franc'
-PropN[num=sg, sem=<\P.P(franc_peseta)>] -> 'Franc_Peseta'
-PropN[num=sg, sem=<\P.P(france)>] -> 'France'
-PropN[num=sg, sem=<\P.P(freetown)>] -> 'Freetown'
-PropN[num=sg, sem=<\P.P(french_franc)>] -> 'French_Franc'
-PropN[num=sg, sem=<\P.P(french_guiana)>] -> 'French_Guiana'
-PropN[num=sg, sem=<\P.P(gabon)>] -> 'Gabon'
-PropN[num=sg, sem=<\P.P(gaborone)>] -> 'Gaborone'
-PropN[num=sg, sem=<\P.P(gambia)>] -> 'Gambia'
-PropN[num=sg, sem=<\P.P(ganges)>] -> 'Ganges'
-PropN[num=sg, sem=<\P.P(georgetown)>] -> 'Georgetown'
-PropN[num=sg, sem=<\P.P(ghana)>] -> 'Ghana'
-PropN[num=sg, sem=<\P.P(glasgow)>] -> 'Glasgow'
-PropN[num=sg, sem=<\P.P(gourde)>] -> 'Gourde'
-PropN[num=sg, sem=<\P.P(greece)>] -> 'Greece'
-PropN[num=sg, sem=<\P.P(greenland)>] -> 'Greenland'
-PropN[num=sg, sem=<\P.P(grenada)>] -> 'Grenada'
-PropN[num=sg, sem=<\P.P(guarani)>] -> 'Guarani'
-PropN[num=sg, sem=<\P.P(guatamala_city)>] -> 'Guatamala_City'
-PropN[num=sg, sem=<\P.P(guatemala)>] -> 'Guatemala'
-PropN[num=sg, sem=<\P.P(guilder)>] -> 'Guilder'
-PropN[num=sg, sem=<\P.P(guinea)>] -> 'Guinea'
-PropN[num=sg, sem=<\P.P(guinea_bissau)>] -> 'Guinea_Bissau'
-PropN[num=sg, sem=<\P.P(guyana)>] -> 'Guyana'
-PropN[num=sg, sem=<\P.P(guyana_dollar)>] -> 'Guyana_Dollar'
-PropN[num=sg, sem=<\P.P(haiti)>] -> 'Haiti'
-PropN[num=sg, sem=<\P.P(hamburg)>] -> 'Hamburg'
-PropN[num=sg, sem=<\P.P(hanoi)>] -> 'Hanoi'
-PropN[num=sg, sem=<\P.P(harbin)>] -> 'Harbin'
-PropN[num=sg, sem=<\P.P(havana)>] -> 'Havana'
-PropN[num=sg, sem=<\P.P(helsinki)>] -> 'Helsinki'
-PropN[num=sg, sem=<\P.P(honduras)>] -> 'Honduras'
-PropN[num=sg, sem=<\P.P(hongkong)>] -> 'Hongkong'
-PropN[num=sg, sem=<\P.P(hongkong_city)>] -> 'Hongkong_City'
-PropN[num=sg, sem=<\P.P(hungary)>] -> 'Hungary'
-PropN[num=sg, sem=<\P.P(hwang_ho)>] -> 'Hwang_Ho'
-PropN[num=sg, sem=<\P.P(hyderabad)>] -> 'Hyderabad'
-PropN[num=sg, sem=<\P.P(iceland)>] -> 'Iceland'
-PropN[num=sg, sem=<\P.P(india)>] -> 'India'
-PropN[num=sg, sem=<\P.P(indian_ocean)>] -> 'Indian_Ocean'
-PropN[num=sg, sem=<\P.P(indian_rupee)>] -> 'Indian_Rupee'
-PropN[num=sg, sem=<\P.P(indian_subcontinent)>] -> 'Indian_Subcontinent'
-PropN[num=sg, sem=<\P.P(indonesia)>] -> 'Indonesia'
-PropN[num=sg, sem=<\P.P(indus)>] -> 'Indus'
-PropN[num=sg, sem=<\P.P(iran)>] -> 'Iran'
-PropN[num=sg, sem=<\P.P(iraq)>] -> 'Iraq'
-PropN[num=sg, sem=<\P.P(irish_pound)>] -> 'Irish_Pound'
-PropN[num=sg, sem=<\P.P(irrawaddy)>] -> 'Irrawaddy'
-PropN[num=sg, sem=<\P.P(islamad)>] -> 'Islamad'
-PropN[num=sg, sem=<\P.P(israel)>] -> 'Israel'
-PropN[num=sg, sem=<\P.P(israeli_pound)>] -> 'Israeli_Pound'
-PropN[num=sg, sem=<\P.P(istanbul)>] -> 'Istanbul'
-PropN[num=sg, sem=<\P.P(italian_lira)>] -> 'Italian_Lira'
-PropN[num=sg, sem=<\P.P(italy)>] -> 'Italy'
-PropN[num=sg, sem=<\P.P(ivory_coast)>] -> 'Ivory_Coast'
-PropN[num=sg, sem=<\P.P(jakarta)>] -> 'Jakarta'
-PropN[num=sg, sem=<\P.P(jamaica)>] -> 'Jamaica'
-PropN[num=sg, sem=<\P.P(jamaican_dollar)>] -> 'Jamaican_Dollar'
-PropN[num=sg, sem=<\P.P(japan)>] -> 'Japan'
-PropN[num=sg, sem=<\P.P(jerusalem)>] -> 'Jerusalem'
-PropN[num=sg, sem=<\P.P(johannesburg)>] -> 'Johannesburg'
-PropN[num=sg, sem=<\P.P(jordan)>] -> 'Jordan'
-PropN[num=sg, sem=<\P.P(kabul)>] -> 'Kabul'
-PropN[num=sg, sem=<\P.P(kampala)>] -> 'Kampala'
-PropN[num=sg, sem=<\P.P(karachi)>] -> 'Karachi'
-PropN[num=sg, sem=<\P.P(katmandu)>] -> 'Katmandu'
-PropN[num=sg, sem=<\P.P(kenya)>] -> 'Kenya'
-PropN[num=sg, sem=<\P.P(kenya_shilling)>] -> 'Kenya_Shilling'
-PropN[num=sg, sem=<\P.P(khartoum)>] -> 'Khartoum'
-PropN[num=sg, sem=<\P.P(kiev)>] -> 'Kiev'
-PropN[num=sg, sem=<\P.P(kigali)>] -> 'Kigali'
-PropN[num=sg, sem=<\P.P(kingston)>] -> 'Kingston'
-PropN[num=sg, sem=<\P.P(kinshasa)>] -> 'Kinshasa'
-PropN[num=sg, sem=<\P.P(kip)>] -> 'Kip'
-PropN[num=sg, sem=<\P.P(kobe)>] -> 'Kobe'
-PropN[num=sg, sem=<\P.P(koruna)>] -> 'Koruna'
-PropN[num=sg, sem=<\P.P(kowloon)>] -> 'Kowloon'
-PropN[num=sg, sem=<\P.P(krona)>] -> 'Krona'
-PropN[num=sg, sem=<\P.P(krone)>] -> 'Krone'
-PropN[num=sg, sem=<\P.P(kuala_lumpa)>] -> 'Kuala_Lumpa'
-PropN[num=sg, sem=<\P.P(kuwait)>] -> 'Kuwait'
-PropN[num=sg, sem=<\P.P(kuwait_city)>] -> 'Kuwait_City'
-PropN[num=sg, sem=<\P.P(kuwaiti_dinar)>] -> 'Kuwaiti_Dinar'
-PropN[num=sg, sem=<\P.P(kwacha)>] -> 'Kwacha'
-PropN[num=sg, sem=<\P.P(kyat)>] -> 'Kyat'
-PropN[num=sg, sem=<\P.P(kyoto)>] -> 'Kyoto'
-PropN[num=sg, sem=<\P.P(lagos)>] -> 'Lagos'
-PropN[num=sg, sem=<\P.P(laos)>] -> 'Laos'
-PropN[num=sg, sem=<\P.P(lebanese_pound)>] -> 'Lebanese_Pound'
-PropN[num=sg, sem=<\P.P(lebanon)>] -> 'Lebanon'
-PropN[num=sg, sem=<\P.P(lek)>] -> 'Lek'
-PropN[num=sg, sem=<\P.P(lempira)>] -> 'Lempira'
-PropN[num=sg, sem=<\P.P(lena)>] -> 'Lena'
-PropN[num=sg, sem=<\P.P(leningrad)>] -> 'Leningrad'
-PropN[num=sg, sem=<\P.P(leone)>] -> 'Leone'
-PropN[num=sg, sem=<\P.P(lesotho)>] -> 'Lesotho'
-PropN[num=sg, sem=<\P.P(leu)>] -> 'Leu'
-PropN[num=sg, sem=<\P.P(lev)>] -> 'Lev'
-PropN[num=sg, sem=<\P.P(liberia)>] -> 'Liberia'
-PropN[num=sg, sem=<\P.P(libreville)>] -> 'Libreville'
-PropN[num=sg, sem=<\P.P(libya)>] -> 'Libya'
-PropN[num=sg, sem=<\P.P(libyan_dinar)>] -> 'Libyan_Dinar'
-PropN[num=sg, sem=<\P.P(liechtenstein)>] -> 'Liechtenstein'
-PropN[num=sg, sem=<\P.P(lilageru)>] -> 'Lilageru'
-PropN[num=sg, sem=<\P.P(lima)>] -> 'Lima'
-PropN[num=sg, sem=<\P.P(limpopo)>] -> 'Limpopo'
-PropN[num=sg, sem=<\P.P(lira)>] -> 'Lira'
-PropN[num=sg, sem=<\P.P(lisbon)>] -> 'Lisbon'
-PropN[num=sg, sem=<\P.P(lome)>] -> 'Lome'
-PropN[num=sg, sem=<\P.P(london)>] -> 'London'
-PropN[num=sg, sem=<\P.P(los_angeles)>] -> 'Los_Angeles'
-PropN[num=sg, sem=<\P.P(luanda)>] -> 'Luanda'
-PropN[num=sg, sem=<\P.P(lusaka)>] -> 'Lusaka'
-PropN[num=sg, sem=<\P.P(luxembourg)>] -> 'Luxembourg'
-PropN[num=sg, sem=<\P.P(luxembourg_franc)>] -> 'Luxembourg_Franc'
-PropN[num=sg, sem=<\P.P(mackenzie)>] -> 'Mackenzie'
-PropN[num=sg, sem=<\P.P(madras)>] -> 'Madras'
-PropN[num=sg, sem=<\P.P(madrid)>] -> 'Madrid'
-PropN[num=sg, sem=<\P.P(malagasy)>] -> 'Malagasy'
-PropN[num=sg, sem=<\P.P(malawi)>] -> 'Malawi'
-PropN[num=sg, sem=<\P.P(malaysia)>] -> 'Malaysia'
-PropN[num=sg, sem=<\P.P(malaysian_dollar)>] -> 'Malaysian_Dollar'
-PropN[num=sg, sem=<\P.P(maldives)>] -> 'Maldives'
-PropN[num=sg, sem=<\P.P(male)>] -> 'Male'
-PropN[num=sg, sem=<\P.P(mali)>] -> 'Mali'
-PropN[num=sg, sem=<\P.P(mali_franc)>] -> 'Mali_Franc'
-PropN[num=sg, sem=<\P.P(malta)>] -> 'Malta'
-PropN[num=sg, sem=<\P.P(managua)>] -> 'Managua'
-PropN[num=sg, sem=<\P.P(manama)>] -> 'Manama'
-PropN[num=sg, sem=<\P.P(manila)>] -> 'Manila'
-PropN[num=sg, sem=<\P.P(maputo)>] -> 'Maputo'
-PropN[num=sg, sem=<\P.P(markka)>] -> 'Markka'
-PropN[num=sg, sem=<\P.P(masero)>] -> 'Masero'
-PropN[num=sg, sem=<\P.P(mauritania)>] -> 'Mauritania'
-PropN[num=sg, sem=<\P.P(mauritius)>] -> 'Mauritius'
-PropN[num=sg, sem=<\P.P(mbabane)>] -> 'Mbabane'
-PropN[num=sg, sem=<\P.P(mediterranean)>] -> 'the_Mediterranean'
-PropN[num=sg, sem=<\P.P(mekong)>] -> 'Mekong'
-PropN[num=sg, sem=<\P.P(melbourne)>] -> 'Melbourne'
-PropN[num=sg, sem=<\P.P(mexico)>] -> 'Mexico'
-PropN[num=sg, sem=<\P.P(mexico_city)>] -> 'Mexico_City'
-PropN[num=sg, sem=<\P.P(middle_east)>] -> 'Middle_East'
-PropN[num=sg, sem=<\P.P(milan)>] -> 'Milan'
-PropN[num=sg, sem=<\P.P(mississippi)>] -> 'Mississippi'
-PropN[num=sg, sem=<\P.P(mogadishu)>] -> 'Mogadishu'
-PropN[num=sg, sem=<\P.P(monaco)>] -> 'Monaco'
-PropN[num=sg, sem=<\P.P(mongolia)>] -> 'Mongolia'
-PropN[num=sg, sem=<\P.P(monrovia)>] -> 'Monrovia'
-PropN[num=sg, sem=<\P.P(montevideo)>] -> 'Montevideo'
-PropN[num=sg, sem=<\P.P(montreal)>] -> 'Montreal'
-PropN[num=sg, sem=<\P.P(morocco)>] -> 'Morocco'
-PropN[num=sg, sem=<\P.P(moscow)>] -> 'Moscow'
-PropN[num=sg, sem=<\P.P(mozambique)>] -> 'Mozambique'
-PropN[num=sg, sem=<\P.P(mukden)>] -> 'Mukden'
-PropN[num=sg, sem=<\P.P(murray)>] -> 'Murray'
-PropN[num=sg, sem=<\P.P(muscat)>] -> 'Muscat'
-PropN[num=sg, sem=<\P.P(n_djamena)>] -> 'N_Djamena'
-PropN[num=sg, sem=<\P.P(nagoya)>] -> 'Nagoya'
-PropN[num=sg, sem=<\P.P(naira)>] -> 'Naira'
-PropN[num=sg, sem=<\P.P(nairobi)>] -> 'Nairobi'
-PropN[num=sg, sem=<\P.P(nanking)>] -> 'Nanking'
-PropN[num=sg, sem=<\P.P(naples)>] -> 'Naples'
-PropN[num=sg, sem=<\P.P(nassau)>] -> 'Nassau'
-PropN[num=sg, sem=<\P.P(nepal)>] -> 'Nepal'
-PropN[num=sg, sem=<\P.P(nepalese_rupee)>] -> 'Nepalese_Rupee'
-PropN[num=sg, sem=<\P.P(netherlands)>] -> 'Netherlands'
-PropN[num=sg, sem=<\P.P(new_delhi)>] -> 'New_Delhi'
-PropN[num=sg, sem=<\P.P(new_york)>] -> 'New_York'
-PropN[num=sg, sem=<\P.P(new_zealand)>] -> 'New_Zealand'
-PropN[num=sg, sem=<\P.P(new_zealand_dollar)>] -> 'New_Zealand_Dollar'
-PropN[num=sg, sem=<\P.P(niamey)>] -> 'Niamey'
-PropN[num=sg, sem=<\P.P(nicaragua)>] -> 'Nicaragua'
-PropN[num=sg, sem=<\P.P(nicosia)>] -> 'Nicosia'
-PropN[num=sg, sem=<\P.P(niger)>] -> 'Niger'
-PropN[num=sg, sem=<\P.P(niger_river)>] -> 'Niger_River'
-PropN[num=sg, sem=<\P.P(nigeria)>] -> 'Nigeria'
-PropN[num=sg, sem=<\P.P(nile)>] -> 'Nile'
-PropN[num=sg, sem=<\P.P(north_africa)>] -> 'North_Africa'
-PropN[num=sg, sem=<\P.P(north_america)>] -> 'North_America'
-PropN[num=sg, sem=<\P.P(north_korea)>] -> 'North_Korea'
-PropN[num=sg, sem=<\P.P(northern_asia)>] -> 'Northern_Asia'
-PropN[num=sg, sem=<\P.P(norway)>] -> 'Norway'
-PropN[num=sg, sem=<\P.P(nouakchott)>] -> 'Nouakchott'
-PropN[num=sg, sem=<\P.P(nukualofa)>] -> 'Nukualofa'
-PropN[num=sg, sem=<\P.P(ob)>] -> 'Ob'
-PropN[num=sg, sem=<\P.P(oder)>] -> 'Oder'
-PropN[num=sg, sem=<\P.P(oman)>] -> 'Oman'
-PropN[num=sg, sem=<\P.P(orange)>] -> 'Orange'
-PropN[num=sg, sem=<\P.P(orinoco)>] -> 'Orinoco'
-PropN[num=sg, sem=<\P.P(osaka)>] -> 'Osaka'
-PropN[num=sg, sem=<\P.P(oslo)>] -> 'Oslo'
-PropN[num=sg, sem=<\P.P(ottawa)>] -> 'Ottawa'
-PropN[num=sg, sem=<\P.P(ouagadougou)>] -> 'Ouagadougou'
-PropN[num=sg, sem=<\P.P(ouguiya)>] -> 'Ouguiya'
-PropN[num=sg, sem=<\P.P(pa_anga)>] -> 'Pa_Anga'
-PropN[num=sg, sem=<\P.P(pacific)>] -> 'Pacific'
-PropN[num=sg, sem=<\P.P(pakistan)>] -> 'Pakistan'
-PropN[num=sg, sem=<\P.P(panama)>] -> 'Panama'
-PropN[num=sg, sem=<\P.P(papua_new_guinea)>] -> 'Papua_New_Guinea'
-PropN[num=sg, sem=<\P.P(paraguay)>] -> 'Paraguay'
-PropN[num=sg, sem=<\P.P(paramaribo)>] -> 'Paramaribo'
-PropN[num=sg, sem=<\P.P(parana)>] -> 'Parana'
-PropN[num=sg, sem=<\P.P(paris)>] -> 'Paris'
-PropN[num=sg, sem=<\P.P(pataca)>] -> 'Pataca'
-PropN[num=sg, sem=<\P.P(peking)>] -> 'Peking'
-PropN[num=sg, sem=<\P.P(persian_gulf)>] -> 'Persian_Gulf'
-PropN[num=sg, sem=<\P.P(peru)>] -> 'Peru'
-PropN[num=sg, sem=<\P.P(peseta)>] -> 'Peseta'
-PropN[num=sg, sem=<\P.P(peso)>] -> 'Peso'
-PropN[num=sg, sem=<\P.P(peveta)>] -> 'Peveta'
-PropN[num=sg, sem=<\P.P(philadelphia)>] -> 'Philadelphia'
-PropN[num=sg, sem=<\P.P(philippines)>] -> 'Philippines'
-PropN[num=sg, sem=<\P.P(phnom_penh)>] -> 'Phnom_Penh'
-PropN[num=sg, sem=<\P.P(piso)>] -> 'Piso'
-PropN[num=sg, sem=<\P.P(poland)>] -> 'Poland'
-PropN[num=sg, sem=<\P.P(port_au_prince)>] -> 'Port_Au_Prince'
-PropN[num=sg, sem=<\P.P(port_harcourt)>] -> 'Port_Harcourt'
-PropN[num=sg, sem=<\P.P(port_louis)>] -> 'Port_Louis'
-PropN[num=sg, sem=<\P.P(port_of_spain)>] -> 'Port_Of_Spain'
-PropN[num=sg, sem=<\P.P(porto_novo)>] -> 'Porto_Novo'
-PropN[num=sg, sem=<\P.P(portugal)>] -> 'Portugal'
-PropN[num=sg, sem=<\P.P(pound)>] -> 'Pound'
-PropN[num=sg, sem=<\P.P(prague)>] -> 'Prague'
-PropN[num=sg, sem=<\P.P(pretoria)>] -> 'Pretoria'
-PropN[num=sg, sem=<\P.P(pusan)>] -> 'Pusan'
-PropN[num=sg, sem=<\P.P(pvongvang)>] -> 'Pvongvang'
-PropN[num=sg, sem=<\P.P(qatar)>] -> 'Qatar'
-PropN[num=sg, sem=<\P.P(quetzal)>] -> 'Quetzal'
-PropN[num=sg, sem=<\P.P(quezon_city)>] -> 'Quezon_City'
-PropN[num=sg, sem=<\P.P(quito)>] -> 'Quito'
-PropN[num=sg, sem=<\P.P(rabat)>] -> 'Rabat'
-PropN[num=sg, sem=<\P.P(rand)>] -> 'Rand'
-PropN[num=sg, sem=<\P.P(rangoon)>] -> 'Rangoon'
-PropN[num=sg, sem=<\P.P(red_sea)>] -> 'Red_Sea'
-PropN[num=sg, sem=<\P.P(reykjavik)>] -> 'Reykjavik'
-PropN[num=sg, sem=<\P.P(rhine)>] -> 'Rhine'
-PropN[num=sg, sem=<\P.P(rhodesian_dollar)>] -> 'Rhodesian_Dollar'
-PropN[num=sg, sem=<\P.P(rhone)>] -> 'Rhone'
-PropN[num=sg, sem=<\P.P(rial)>] -> 'Rial'
-PropN[num=sg, sem=<\P.P(riel)>] -> 'Riel'
-PropN[num=sg, sem=<\P.P(rio_de_janeiro)>] -> 'Rio_De_Janeiro'
-PropN[num=sg, sem=<\P.P(rio_grande)>] -> 'Rio_Grande'
-PropN[num=sg, sem=<\P.P(riyadh)>] -> 'Riyadh'
-PropN[num=sg, sem=<\P.P(riyal)>] -> 'Riyal'
-PropN[num=sg, sem=<\P.P(riyal_omani)>] -> 'Riyal_Omani'
-PropN[num=sg, sem=<\P.P(romania)>] -> 'Romania'
-PropN[num=sg, sem=<\P.P(rome)>] -> 'Rome'
-PropN[num=sg, sem=<\P.P(ruble)>] -> 'Ruble'
-PropN[num=sg, sem=<\P.P(rupee)>] -> 'Rupee'
-PropN[num=sg, sem=<\P.P(rupiah)>] -> 'Rupiah'
-PropN[num=sg, sem=<\P.P(rwanda)>] -> 'Rwanda'
-PropN[num=sg, sem=<\P.P(rwanda_franc)>] -> 'Rwanda_Franc'
-PropN[num=sg, sem=<\P.P(saigon)>] -> 'Saigon'
-PropN[num=sg, sem=<\P.P(salisbury)>] -> 'Salisbury'
-PropN[num=sg, sem=<\P.P(salween)>] -> 'Salween'
-PropN[num=sg, sem=<\P.P(san_jose)>] -> 'San_Jose'
-PropN[num=sg, sem=<\P.P(san_marino)>] -> 'San_Marino'
-PropN[num=sg, sem=<\P.P(san_salvador)>] -> 'San_Salvador'
-PropN[num=sg, sem=<\P.P(sana)>] -> 'Sana'
-PropN[num=sg, sem=<\P.P(santa_domingo)>] -> 'Santa_Domingo'
-PropN[num=sg, sem=<\P.P(santa_isabel)>] -> 'Santa_Isabel'
-PropN[num=sg, sem=<\P.P(santiago)>] -> 'Santiago'
-PropN[num=sg, sem=<\P.P(sao_paulo)>] -> 'Sao_Paulo'
-PropN[num=sg, sem=<\P.P(saudi_arabia)>] -> 'Saudi_Arabia'
-PropN[num=sg, sem=<\P.P(scandinavia)>] -> 'Scandinavia'
-PropN[num=sg, sem=<\P.P(schilling)>] -> 'Schilling'
-PropN[num=sg, sem=<\P.P(senegal)>] -> 'Senegal'
-PropN[num=sg, sem=<\P.P(senegal_river)>] -> 'Senegal_River'
-PropN[num=sg, sem=<\P.P(seoul)>] -> 'Seoul'
-PropN[num=sg, sem=<\P.P(seychelles)>] -> 'Seychelles'
-PropN[num=sg, sem=<\P.P(shanghai)>] -> 'Shanghai'
-PropN[num=sg, sem=<\P.P(sian)>] -> 'Sian'
-PropN[num=sg, sem=<\P.P(sierra_leone)>] -> 'Sierra_Leone'
-PropN[num=sg, sem=<\P.P(singapore)>] -> 'Singapore'
-PropN[num=sg, sem=<\P.P(singapore_city)>] -> 'Singapore_City'
-PropN[num=sg, sem=<\P.P(singapore_dollar)>] -> 'Singapore_Dollar'
-PropN[num=sg, sem=<\P.P(sofia)>] -> 'Sofia'
-PropN[num=sg, sem=<\P.P(sol)>] -> 'Sol'
-PropN[num=sg, sem=<\P.P(somali_shilling)>] -> 'Somali_Shilling'
-PropN[num=sg, sem=<\P.P(somalia)>] -> 'Somalia'
-PropN[num=sg, sem=<\P.P(south_africa)>] -> 'South_Africa'
-PropN[num=sg, sem=<\P.P(south_african_rand)>] -> 'South_African_Rand'
-PropN[num=sg, sem=<\P.P(south_america)>] -> 'South_America'
-PropN[num=sg, sem=<\P.P(south_korea)>] -> 'South_Korea'
-PropN[num=sg, sem=<\P.P(south_yemen)>] -> 'South_Yemen'
-PropN[num=sg, sem=<\P.P(southeast_east)>] -> 'Southeast_East'
-PropN[num=sg, sem=<\P.P(southern_africa)>] -> 'Southern_Africa'
-PropN[num=sg, sem=<\P.P(southern_europe)>] -> 'Southern_Europe'
-PropN[num=sg, sem=<\P.P(southern_ocean)>] -> 'Southern_Ocean'
-PropN[num=sg, sem=<\P.P(soviet_union)>] -> 'Soviet_Union'
-PropN[num=sg, sem=<\P.P(spain)>] -> 'Spain'
-PropN[num=sg, sem=<\P.P(sri_lanka)>] -> 'Sri_Lanka'
-PropN[num=sg, sem=<\P.P(st_georges)>] -> 'St_Georges'
-PropN[num=sg, sem=<\P.P(stockholm)>] -> 'Stockholm'
-PropN[num=sg, sem=<\P.P(sucre)>] -> 'Sucre'
-PropN[num=sg, sem=<\P.P(sudan)>] -> 'Sudan'
-PropN[num=sg, sem=<\P.P(surinam)>] -> 'Surinam'
-PropN[num=sg, sem=<\P.P(suva)>] -> 'Suva'
-PropN[num=sg, sem=<\P.P(swaziland)>] -> 'Swaziland'
-PropN[num=sg, sem=<\P.P(sweden)>] -> 'Sweden'
-PropN[num=sg, sem=<\P.P(swiss_franc)>] -> 'Swiss_Franc'
-PropN[num=sg, sem=<\P.P(switzerland)>] -> 'Switzerland'
-PropN[num=sg, sem=<\P.P(sydney)>] -> 'Sydney'
-PropN[num=sg, sem=<\P.P(syli)>] -> 'Syli'
-PropN[num=sg, sem=<\P.P(syria)>] -> 'Syria'
-PropN[num=sg, sem=<\P.P(syrian_pound)>] -> 'Syrian_Pound'
-PropN[num=sg, sem=<\P.P(tagus)>] -> 'Tagus'
-PropN[num=sg, sem=<\P.P(taipei)>] -> 'Taipei'
-PropN[num=sg, sem=<\P.P(taiwan)>] -> 'Taiwan'
-PropN[num=sg, sem=<\P.P(taiwan_dollar)>] -> 'Taiwan_Dollar'
-PropN[num=sg, sem=<\P.P(taka)>] -> 'Taka'
-PropN[num=sg, sem=<\P.P(tala)>] -> 'Tala'
-PropN[num=sg, sem=<\P.P(tananarive)>] -> 'Tananarive'
-PropN[num=sg, sem=<\P.P(tanzania)>] -> 'Tanzania'
-PropN[num=sg, sem=<\P.P(tanzanian_shilling)>] -> 'Tanzanian_Shilling'
-PropN[num=sg, sem=<\P.P(tegucigalpa)>] -> 'Tegucigalpa'
-PropN[num=sg, sem=<\P.P(tehran)>] -> 'Tehran'
-PropN[num=sg, sem=<\P.P(thailand)>] -> 'Thailand'
-PropN[num=sg, sem=<\P.P(thimphu)>] -> 'Thimphu'
-PropN[num=sg, sem=<\P.P(tientsin)>] -> 'Tientsin'
-PropN[num=sg, sem=<\P.P(tighrik)>] -> 'Tighrik'
-PropN[num=sg, sem=<\P.P(tirana)>] -> 'Tirana'
-PropN[num=sg, sem=<\P.P(togo)>] -> 'Togo'
-PropN[num=sg, sem=<\P.P(tokyo)>] -> 'Tokyo'
-PropN[num=sg, sem=<\P.P(tonga)>] -> 'Tonga'
-PropN[num=sg, sem=<\P.P(toronto)>] -> 'Toronto'
-PropN[num=sg, sem=<\P.P(trinidad_and_tobago)>] -> 'Trinidad_And_Tobago'
-PropN[num=sg, sem=<\P.P(trinidad_and_tobago_dollar)>] -> 'Trinidad_And_Tobago_Dollar'
-PropN[num=sg, sem=<\P.P(tripoli)>] -> 'Tripoli'
-PropN[num=sg, sem=<\P.P(tropic_of_cancer)>] -> 'Tropic_Of_Cancer'
-PropN[num=sg, sem=<\P.P(tropic_of_capricorn)>] -> 'Tropic_Of_Capricorn'
-PropN[num=sg, sem=<\P.P(tunis)>] -> 'Tunis'
-PropN[num=sg, sem=<\P.P(tunisia)>] -> 'Tunisia'
-PropN[num=sg, sem=<\P.P(turkey)>] -> 'Turkey'
-PropN[num=sg, sem=<\P.P(uganda)>] -> 'Uganda'
-PropN[num=sg, sem=<\P.P(uganda_shilling)>] -> 'Uganda_Shilling'
-PropN[num=sg, sem=<\P.P(ulan_bator)>] -> 'Ulan_Bator'
-PropN[num=sg, sem=<\P.P(united_arab_emirates)>] -> 'United_Arab_Emirates'
-PropN[num=sg, sem=<\P.P(united_kingdom)>] -> 'United_Kingdom'
-PropN[num=sg, sem=<\P.P(united_states)>] -> 'United_States'
-PropN[num=sg, sem=<\P.P(upper_volta)>] -> 'Upper_Volta'
-PropN[num=sg, sem=<\P.P(uruguay)>] -> 'Uruguay'
-PropN[num=sg, sem=<\P.P(us_dollar)>] -> 'Us_Dollar'
-PropN[num=sg, sem=<\P.P(vaduz)>] -> 'Vaduz'
-PropN[num=sg, sem=<\P.P(valetta)>] -> 'Valetta'
-PropN[num=sg, sem=<\P.P(venezuela)>] -> 'Venezuela'
-PropN[num=sg, sem=<\P.P(victoria)>] -> 'Victoria'
-PropN[num=sg, sem=<\P.P(vienna)>] -> 'Vienna'
-PropN[num=sg, sem=<\P.P(vientiane)>] -> 'Vientiane'
-PropN[num=sg, sem=<\P.P(vietnam)>] -> 'Vietnam'
-PropN[num=sg, sem=<\P.P(vistula)>] -> 'Vistula'
-PropN[num=sg, sem=<\P.P(volga)>] -> 'Volga'
-PropN[num=sg, sem=<\P.P(volta)>] -> 'Volta'
-PropN[num=sg, sem=<\P.P(warsaw)>] -> 'Warsaw'
-PropN[num=sg, sem=<\P.P(washington)>] -> 'Washington'
-PropN[num=sg, sem=<\P.P(wellington)>] -> 'Wellington'
-PropN[num=sg, sem=<\P.P(west_africa)>] -> 'West_Africa'
-PropN[num=sg, sem=<\P.P(west_germany)>] -> 'West_Germany'
-PropN[num=sg, sem=<\P.P(western_europe)>] -> 'Western_Europe'
-PropN[num=sg, sem=<\P.P(western_samoa)>] -> 'Western_Samoa'
-PropN[num=sg, sem=<\P.P(won)>] -> 'Won'
-PropN[num=sg, sem=<\P.P(yangtze)>] -> 'Yangtze'
-PropN[num=sg, sem=<\P.P(yaounde)>] -> 'Yaounde'
-PropN[num=sg, sem=<\P.P(yemen)>] -> 'Yemen'
-PropN[num=sg, sem=<\P.P(yen)>] -> 'Yen'
-PropN[num=sg, sem=<\P.P(yenisei)>] -> 'Yenisei'
-PropN[num=sg, sem=<\P.P(yokohama)>] -> 'Yokohama'
-PropN[num=sg, sem=<\P.P(yuan)>] -> 'Yuan'
-PropN[num=sg, sem=<\P.P(yugoslavia)>] -> 'Yugoslavia'
-PropN[num=sg, sem=<\P.P(yukon)>] -> 'Yukon'
-PropN[num=sg, sem=<\P.P(zaire)>] -> 'Zaire'
-PropN[num=sg, sem=<\P.P(zambesi)>] -> 'Zambesi'
-PropN[num=sg, sem=<\P.P(zambia)>] -> 'Zambia'
-PropN[num=sg, sem=<\P.P(zimbabwe)>] -> 'Zimbabwe'
-PropN[num=sg, sem=<\P.P(zloty)>] -> 'Zloty'
-PropN[num=sg, sem=<\P.P(zomba)>] -> 'Zomba'
diff --git a/examples/grammars/sample_grammars/dep_test2.dep b/examples/grammars/sample_grammars/dep_test2.dep
deleted file mode 100644
index 4bcd74e..0000000
--- a/examples/grammars/sample_grammars/dep_test2.dep
+++ /dev/null
@@ -1,4 +0,0 @@
-1 John _ NNP _ _ 2 SUBJ _ _
-2 sees _ VB _ _ 0 ROOT _ _
-3 a _ DT _ _ 4 SPEC _ _
-4 dog _ NN _ _ 2 OBJ _ _
diff --git a/examples/grammars/sample_grammars/drt_glue.semtype b/examples/grammars/sample_grammars/drt_glue.semtype
deleted file mode 100644
index dba4ead..0000000
--- a/examples/grammars/sample_grammars/drt_glue.semtype
+++ /dev/null
@@ -1,61 +0,0 @@
-########################################################################
-# DRT-Glue Semantics Formulas Using DRT and Event Representation
-#
-# Entries are made up of three parts, separated by colons (":")
-#
-# 1) The semtype name.
-# - May appear multiple times with different relationship sets (3)
-# - May "extend" other semtypes: "type(parent)"
-#
-# 2) The glue formulas.
-# - A comma-separated list of tuples representing glue formulas
-# - If the entry is an extension, then the listed formulas will be added to
-# the list from the super type
-#
-# 3) The relationship set (OPTIONAL)
-# - If not specified, then assume the entry covers ALL relationship sets
-# - If the entry is an extension, then the relationship set dictates which
-# particular entry should be extended. If no relationship set is
-# specified, then every entry of the parent type is extended.
-#
-########################################################################
-
-#Quantifiers
-def_art : (\P Q.([x],[((([y],[])+Q(y)) <-> (x = y)), P(x)]), ((v -o r) -o ((f -o Var) -o Var)))
-ex_quant : (\P Q.(([x],[])+P(x)+Q(x)), ((super.v -o super.r) -o ((super.f -o super.var) -o super.var)))
-univ_quant : (\P Q.([],[((([x],[])+P(x)) -> Q(x))]), ((super.v -o super.r) -o ((super.f -o super.var) -o super.var)))
-no_quant : (\P Q.(-(([x],[])+P(x)+Q(x))), ((super.v -o super.r) -o ((super.f -o super.var) -o super.var)))
-
-#Nouns
-NN : (\Q.(([x],[<word>(x)])+Q(x)), ((f -o Var) -o Var)) : [] # treat a noun missing its spec as implicitly existentially quantified
-
-NN : (\x.([],[<word>(x)]), (v -o r)) : [spec]
-NN : (\P Q.(([x],[]) + P(x) + Q(x)), ((v -o r) -o ((f -o var) -o var))), (\x.([],[<word>(x)]), (v -o r)) : [] # treat a noun missing its spec as implicitly existentially quantified
-NNP : (\P Q.(([x],[]) + P(x) + Q(x)), ((v -o r) -o ((f -o var) -o var))), (\x.([],[<word>(x)]), (v -o r))
-NNS(NN)
-PRP : (\P Q.(([x],[]) + P(x) + Q(x)), ((v -o r) -o ((f -o var) -o var))), (\x.([],[PRO(x)]), (v -o r))
-
-#Verbs
-VB : (\x.([],[<word>(x)]), (subj -o f)) : [subj] #iv
-VB : (\x y.([],[<word>(x,y)]), (subj -o (obj -o f))) : [subj, obj] #tv
-VB : (\y.exists x.([],[<word>(x,y)]), (obj -o f)) : [obj] #incomplete tv
-VB : (\x y z.([],[<word>(x,y,z)]), (subj -o (obj -o (theme -o f)))) : [subj, obj, theme] #dtv
-VB : (\y z.exists x.([],[<word>(x,y,z)]), obj -o (theme -o f)) : [obj, theme] #incomplete dtv
-VB : (\x z.exists y.([],[<word>(x,y,z)]), subj -o (theme -o f)) : [subj, theme] #incomplete dtv
-VB : (\z.exists x y.([],[<word>(x,y,z)]), theme -o f) : [theme] #incomplete dtv
-VB : (\x y.([],[<word>(x,y)]), (subj -o (comp -o f))) : [subj, comp] #tv_comp
-VB : (\x P.([],[<word>(x,P)]), (subj -o ((xcomp.subj -o xcomp) -o f))) : [subj, xcomp] #equi
-VB : (\x y P.([],[<word>(x,y,P)]), (subj -o (obj -o ((xcomp.subj -o xcomp) -o f)))) : [subj, obj, xcomp] # object equi
-VB : (\P.([],[<word>(P)]), (xcomp -o f)) : [xcomp] #raising
-VBD(VB) : (\P.PAST(P), (f -o f))
-VBZ(VB)
-
-#Modifiers
-nmod : (\x.([],[<word>(x)]), f), (\P Q x.(P(x)+Q(x)), (f -o ((super.v -o super.r) -o (super.v -o super.r))))
-JJ(nmod)
-vmod : (\x.([],[<word>(x)]), f), (\P Q x.P(Q(x)), (f -o (super -o super)))
-RB(vmod)
-tense : (\P.([],[<word>(P)]), (super.f -o super.f))
-
-#Conjunctions
-cc_clause : (\P Q.(P + Q), (a -o (b -o f)))
diff --git a/examples/grammars/sample_grammars/drt_glue_event.semtype b/examples/grammars/sample_grammars/drt_glue_event.semtype
deleted file mode 100644
index bddb43a..0000000
--- a/examples/grammars/sample_grammars/drt_glue_event.semtype
+++ /dev/null
@@ -1,62 +0,0 @@
-########################################################################
-# DRT-Glue Semantics Formulas Using DRT and Event Representation
-#
-# Entries are made up of three parts, separated by colons (":")
-#
-# 1) The semtype name.
-# - May appear multiple times with different relationship sets (3)
-# - May "extend" other semtypes: "type(parent)"
-#
-# 2) The glue formulas.
-# - A comma-separated list of tuples representing glue formulas
-# - If the entry is an extension, then the listed formulas will be added to
-# the list from the super type
-#
-# 3) The relationship set (OPTIONAL)
-# - If not specified, then assume the entry covers ALL relationship sets
-# - If the entry is an extension, then the relationship set dictates which
-# particular entry should be extended. If no relationship set is
-# specified, then every entry of the parent type is extended.
-#
-########################################################################
-
-#Quantifiers
-def_art : (\P Q.([x],[((([y],[])+Q(y)) <-> (x = y)), P(x)]), ((v -o r) -o ((f -o Var) -o Var)))
-ex_quant : (\P Q.(([x],[])+P(x)+Q(x)), ((super.v -o super.r) -o ((super.f -o super.var) -o super.var)))
-univ_quant : (\P Q.([],[((([x],[])+P(x)) -> Q(x))]), ((super.v -o super.r) -o ((super.f -o super.var) -o super.var)))
-no_quant : (\P Q.(-(([x],[])+P(x)+Q(x))), ((super.v -o super.r) -o ((super.f -o super.var) -o super.var)))
-
-#Nouns
-NN : (\x.([],[<word>(x)]), (v -o r)) : [spec]
-NN : (\P Q e.(([x],[]) + P(x) + Q(x,e)), ((v -o r) -o ((f -o var) -o var))), (\x.([],[<word>(x)]), (v -o r)) : [] # treat a noun missing its spec as implicitly existentially quantified
-NNP : (\P Q e.(([x],[]) + P(x) + Q(x,e)), ((v -o r) -o ((f -o var) -o var))), (\x.([],[<word>(x)]), (v -o r))
-NNS(NN)
-PRP : (\P Q e.(([x],[]) + P(x) + Q(x,e)), ((v -o r) -o ((f -o var) -o var))), (\x.([],[PRO(x)]), (v -o r))
-
-#Verbs
-VB : (\x e.([],[<word>(e),subj(e,x)]), (subj -o f)) [subj] #iv
-VB : (\x y e.([],[<word>(e), subj(e,x), obj(e,y)]), (subj -o (obj -o f))) : [subj, obj] #tv
-VB : (\x y z e.([],[<word>(e), subj(e,x), obj(e,y), theme(e,z)]), (subj -o (obj -o (theme -o f)))) : [subj, obj, theme] #dtv
-VB : (\y z e.([x],[<word>(e), subj(e,x), obj(e,y), theme(e,z)]), obj -o (theme -o f)) : [obj, theme] #incomplete dtv
-VB : (\x z e.([y],[<word>(e), subj(e,x), obj(e,y), theme(e,z)]), subj -o (theme -o f)) : [subj, theme] #incomplete dtv
-VB : (\z e.([x,y],[<word>(e), subj(e,x), obj(e,y), theme(e,z)]), theme -o f) : [theme] #incomplete dtv
-VB : (\x y e.(([],[<word>(e), subj(e,x), comp(e,y)])+P(e)), (subj -o (comp -o f))) : [subj, comp] #tv_comp
-VB : (\x P e.([],[<word>(e), subj(e,x), xcomp(e,P)]), (subj -o ((xcomp.subj -o xcomp) -o f))) : [subj, xcomp] #equi
-VB : (\x y P e.([],[<word>(e), subj(e,x), obj(e,y), (xcomp e P)]), (subj -o (obj -o ((xcomp.subj -o xcomp) -o f)))) : [subj, obj, xcomp] # object equi
-VB : (\P e.([],[<word>(e), xcomp(e,P)]), (xcomp -o f)) : [xcomp] #raising
-VBD(VB) : (\P.PAST(P), (f -o f))
-VBZ(VB)
-
-#Modifiers
-nmod : (\x.([],[<word>(x)]), f), (\P Q x.(P(x)+Q(x)), (f -o ((super.v -o super.r) -o (super.v -o super.r)))) : []
-JJ(nmod) : []
-vmod : (\x.([],[<word>(x)]), f), (\P Q x.P(Q(x)), (f -o (super -o super))) : []
-RB(vmod) : []
-tense(vmod) : []
-
-#Prepositions
-IN : (\P Q e1.P(\x e2.(([],[<word>(e2,x)]) + Q(e2)),e1), ((subj -o subj.var) -o subj.var) -o (super -o super)) : [subj]
-IN(vmod) : []
-
-#Conjunctions
-cc_clause : (\P Q.(P + Q), (a -o (b -o f)))
diff --git a/examples/grammars/sample_grammars/event.fcfg b/examples/grammars/sample_grammars/event.fcfg
deleted file mode 100644
index 96179b4..0000000
--- a/examples/grammars/sample_grammars/event.fcfg
+++ /dev/null
@@ -1,72 +0,0 @@
-## Natural Language Toolkit: event.fcfg
-##
-## Illustrating Davidson-style event semantics
-##
-## Author: Ewan Klein <ewan at inf.ed.ac.uk>
-## URL: <http://nltk.sourceforge.net>
-## For license information, see LICENSE.TXT
-
-% start S
-############################
-# Grammar Rules
-#############################
-
-S[sem = <exists e.?subj(e,?vp)>] -> NP[num=?n,sem=?subj] VP[num=?n,sem=?vp]
-
-NP[num=?n,sem=<?det(?nom)> ] -> Det[num=?n,sem=?det] Nom[num=?n,sem=?nom]
-NP[loc=?l,num=?n,sem=?np] -> PropN[loc=?l,num=?n,sem=?np]
-
-Nom[num=?n,sem=?nom] -> N[num=?n,sem=?nom]
-Nom[num=?n,sem=<?pp(?nom)>] -> N[num=?n,sem=?nom] PP[sem=?pp]
-
-VP[num=?n,sem=?v] -> IV[num=?n,sem=?v]
-VP[num=?n,sem=<?v(?obj)>] -> TV[num=?n,sem=?v] NP[sem=?obj]
-VP[num=?n,sem=<?v(?obj,?pp)>] -> DTV[num=?n,sem=?v] NP[sem=?obj] PP[+to, sem=?pp]
-
-
-VP[num=?n,sem=<?pp(?vp)>] -> VP[num=?n,sem=?vp] PP[sem=?pp]
-VP[num=?n,sem=<?adv(?vp)>] -> VP[num=?n,sem=?vp] Adv[sem=?adv]
-
-PP[sem=<?p(?np)>] -> P[loc=?l,sem=?p] NP[loc=?l,sem=?np]
-
-#############################
-# Lexical Rules
-#############################
-
-PropN[-loc,num=sg,sem=<\e R.R(e,angus)>] -> 'Angus'
-PropN[-loc,num=sg,sem=<\e R.R(e,pat)>] -> 'Pat'
-PropN[-loc,num=sg,sem=<\e R.R(e,irene)>] -> 'Irene'
-PropN[-loc,num=sg,sem=<\e R.R(e,cyril)>] -> 'Cyril'
-PropN[+loc, num=sg,sem=<\e R.R(e,stockbridge)>] -> 'Stockbridge'
-
-NP[-loc, num=sg, sem=<\P.\x.P(x)>] -> 'who'
-
-Det[num=sg,sem=<\P R e.all x.(P(x) -> R(e,x))>] -> 'every'
-Det[num=pl,sem=<\P R e.all x.(P(x) -> R(e,x))>] -> 'all'
-Det[sem=<\P R e.exists x.(P(x) & R(e,x))>] -> 'some'
-Det[num=sg,sem=<\P R e.exists x.(P(x) & R(e,x))>] -> 'a'
-
-N[num=sg,sem=<boy>] -> 'boy'
-N[num=pl,sem=<boy>] -> 'boys'
-N[num=sg,sem=<girl>] -> 'girl'
-N[num=pl,sem=<girl>] -> 'girls'
-N[num=sg,sem=<bone>] -> 'bone'
-N[num=sg,sem=<dog>] -> 'dog'
-
-IV[num=sg,sem=<\e x.(bark(e) & agent(e,x))>,tns=pres] -> 'barks'
-IV[num=pl,sem=<\e x.(bark(e) & agent(e,x))>,tns=pres] -> 'bark'
-IV[num=sg,sem=<\e x.(walk(e) & agent(e,x))>,tns=pres] -> 'walks'
-IV[num=pl,sem=<\e x.( walk(e) & agent(e,x))>,tns=pres] -> 'walk'
-TV[num=sg,sem=<\X y.X(\e x.(chase(e) & agent(e,y) & patient(e,x)))>,tns=pres] -> 'chases'
-TV[num=pl,sem=<\X y.X(\e x.(chase(e) & agent(e,y) & patient(e,x)))>,tns=pres] -> 'chase'
-TV[num=sg,sem=<\X y.X(\e x.(see(e) & agent(e,y) & patient(e,x)))>,tns=pres] -> 'sees'
-TV[num=pl,sem=<\X y.X(\e x.(see(e) & agent(e,y) & patient(e,x)))>,tns=pres] -> 'see'
-DTV[num=sg,sem=<\Y X x.X(\z.Y(\e y.(give(e) & agent(e,x) & theme(e,y) & recip(e,z))))>,tns=pres] -> 'gives'
-DTV[num=pl,sem=<\Y X x.X(\z.Y(\e y.(give(e) & agent(e,x) & theme(e,y) & recip(e,z))))>,tns=pres] -> 'give'
-
-P[+loc,sem=<\X P e.X(\y.(P(e) & in(e,y)))>] -> 'in'
-P[-loc,sem=<\X P e.X(\y.(P(e) & with(e,y)))>] -> 'with'
-P[+to,sem=<\X.X>] -> 'to'
-
-Adv[sem=<\R e x.(slow(e) & R(e,x))>] -> 'slowly'
-Adv[sem=<\R e x.(thoughtful(e) & R(e,x))>] -> 'thoughtfully'
diff --git a/examples/grammars/sample_grammars/glue.semtype b/examples/grammars/sample_grammars/glue.semtype
deleted file mode 100644
index 910ee19..0000000
--- a/examples/grammars/sample_grammars/glue.semtype
+++ /dev/null
@@ -1,59 +0,0 @@
-########################################################################
-# Glue Semantics Formulas Using Event Representation
-#
-# Entries are made up of three parts, separated by colons (":")
-#
-# 1) The semtype name.
-# - May appear multiple times with different relationship sets (3)
-# - May "extend" other semtypes: "type(parent)"
-#
-# 2) The glue formulas.
-# - A comma-separated list of tuples representing glue formulas
-# - If the entry is an extension, then the listed formulas will be added to
-# the list from the super type
-#
-# 3) The relationship set (OPTIONAL)
-# - If not specified, then assume the entry covers ALL relationship sets
-# - If the entry is an extension, then the relationship set dictates which
-# particular entry should be extended. If no relationship set is
-# specified, then every entry of the parent type is extended.
-#
-########################################################################
-
-#Quantifiers
-def_art : (\P Q.exists x.(P(x) & all y.(Q(y) <-> (x = y))), ((super.v -o super.r) -o ((super.f -o super.var) -o super.var)))
-ex_quant : (\P Q.exists x.(P(x) & Q(x)), ((super.v -o super.r) -o ((super.f -o super.var) -o super.var)))
-univ_quant : (\P Q.all x.(P(x) -> Q(x)), ((super.v -o super.r) -o ((super.f -o super.var) -o super.var)))
-no_quant : (\P Q.-exists x.(P(x) & Q(x)), ((super.v -o super.r) -o ((super.f -o super.var) -o super.var)))
-
-#Nouns
-NN : (\x.<word>(x), (v -o r)) : [spec]
-NN : (\P Q.exists x.(P(x) & Q(x)), ((v -o r) -o ((f -o var) -o var))), (\x.<word>(x), (v -o r)) : [] # treat a noun missing its spec as implicitly existentially quantified
-NNP : (\P Q.exists x.(P(x) & Q(x)), ((v -o r) -o ((f -o var) -o var))), (\x.<word>(x), (v -o r))
-NNS(NN)
-PRP : (\P Q.exists x.(P(x) & Q(x)), ((v -o r) -o ((f -o var) -o var))), (\x.PRO(x), (v -o r))
-
-#Verbs
-VB : (\x.<word>(x), (subj -o f)) : [subj] #iv
-VB : (\x y.<word>(x,y), (subj -o (obj -o f))) : [subj, obj] #tv
-VB : (\y.exists x.<word>(x,y), (obj -o f)) : [obj] #incomplete tv
-VB : (\x y z.<word>(x,y,z), (subj -o (obj -o (theme -o f)))) : [subj, obj, theme] #dtv
-VB : (\y z.exists x.<word>(x,y,z), obj -o (theme -o f)) : [obj, theme] #incomplete dtv
-VB : (\x z.exists y.<word>(x,y,z), subj -o (theme -o f)) : [subj, theme] #incomplete dtv
-VB : (\z.exists x y.<word>(x,y,z), theme -o f) : [theme] #incomplete dtv
-VB : (\x y.<word>(x,y), (subj -o (comp -o f))) : [subj, comp] #tv_comp
-VB : (\x P.<word>(x,P), (subj -o ((xcomp.subj -o xcomp) -o f))) : [subj, xcomp] #equi
-VB : (\x y P.<word>(x,y,P), (subj -o (obj -o ((xcomp.subj -o xcomp) -o f)))) : [subj, obj, xcomp] # object equi
-VB : (\P.<word>(P), (xcomp -o f)) : [xcomp] #raising
-VBD(VB) : (\P.PAST(P), (f -o f))
-VBZ(VB)
-
-#Modifiers
-nmod : (\Q P x.(P(x) & Q(x)), (f -o ((super.v -o super.r) -o (super.v -o super.r)))), (\x.<word>(x), f)
-JJ(nmod)
-vmod : (\P.<word>(P), (super.f -o super.f))
-RB(vmod)
-tense : (\P.<word>(P), (super.f -o super.f))
-
-#Conjunctions
-cc_clause : (\P Q.(P & Q), (a -o (b -o f)))
diff --git a/examples/grammars/sample_grammars/glue_event.semtype b/examples/grammars/sample_grammars/glue_event.semtype
deleted file mode 100644
index 8120a8e..0000000
--- a/examples/grammars/sample_grammars/glue_event.semtype
+++ /dev/null
@@ -1,66 +0,0 @@
-########################################################################
-# Glue Semantics Formulas Using Event Representation
-#
-# Entries are made up of three parts, separated by colons (":")
-#
-# 1) The semtype name.
-# - May appear multiple times with different relationship sets (3)
-# - May "extend" other semtypes: "type(parent)"
-#
-# 2) The glue formulas.
-# - A comma-separated list of tuples representing glue formulas
-# - If the entry is an extension, then the listed formulas will be added to
-# the list from the super type
-#
-# 3) The relationship set (OPTIONAL)
-# - If not specified, then assume the entry covers ALL relationship sets
-# - If the entry is an extension, then the relationship set dictates which
-# particular entry should be extended. If no relationship set is
-# specified, then every entry of the parent type is extended.
-#
-########################################################################
-
-#Quantifiers
-def_art : (\P Q.exists x.(P(x) & all y.(Q(y) <-> (x = y))), ((super.v -o super.r) -o ((super.f -o super.var) -o super.var)))
-ex_quant : (\P Q.exists x.(P(x) & Q(x)), ((super.v -o super.r) -o ((super.f -o super.var) -o super.var)))
-univ_quant : (\P Q.all x.(P(x) -> Q(x)), ((super.v -o super.r) -o ((super.f -o super.var) -o super.var)))
-no_quant : (\P Q.-exists x.(P(x) & Q(x)), ((super.v -o super.r) -o ((super.f -o super.var) -o super.var)))
-
-#Nouns
-NN : (\x.<word>(x), (v -o r)) : [spec]
-NN : (\P Q e.exists x.(P(x) & Q(x,e)), ((v -o r) -o ((f -o var) -o var))), (\x.<word>(x), (v -o r)) : [] # treat a noun missing its spec as implicitly existentially quantified
-NNP : (\P Q e.exists x.(P(x) & Q(x,e)), ((v -o r) -o ((f -o var) -o var))), (\x.<word>(x), (v -o r))
-NNS(NN)
-PRP : (\P Q e.exists x.(P(x) & Q(x,e)), ((v -o r) -o ((f -o var) -o var))), (\x.PRO(x), (v -o r))
-
-#Verbs
-VB : (\x e.(<word>(e) & subj(e,x)), (subj -o f)) : [subj] #iv
-VB : (\x y e.(<word>(e) & subj(e,x) & obj(e,y)), (subj -o (obj -o f))) : [subj, obj] #tv
-VB : (\y e.exists x.(<word>(e) & subj(e,x) & obj(e,y)), (obj -o f)) : [obj] #incomplete tv
-VB : (\x y z e.(<word>(e) & subj(e,x) & obj(e,y) & theme(e,z)), (subj -o (obj -o (theme -o f)))) : [subj, obj, theme] #dtv
-VB : (\y z e.exists x.(<word>(e) & subj(e,x) & obj(e,y) & theme(e,z)), obj -o (theme -o f)) : [obj, theme] #incomplete dtv
-VB : (\x z e.exists y.(<word>(e) & subj(e,x) & obj(e,y) & theme(e,z)), subj -o (theme -o f)) : [subj, theme] #incomplete dtv
-VB : (\z e.exists x y.(<word>(e) & subj(e,x) & obj(e,y) & theme(e,z)), theme -o f) : [theme] #incomplete dtv
-VB : (\x y e.(<word>(e) & subj(e,x) & comp(e,y) & P(e)), (subj -o (comp -o f))) : [subj, comp] #tv_comp
-VB : (\x P e.(<word>(e) & subj(e,x) & xcomp(e,P)), (subj -o ((xcomp.subj -o xcomp) -o f))) : [subj, xcomp] #equi
-VB : (\x y P e.(<word>(e) & subj(e,x) & obj(e,y) & (xcomp e P)), (subj -o (obj -o ((xcomp.subj -o xcomp) -o f)))) : [subj, obj, xcomp] # object equi
-VB : (\P e.(<word>(e) & xcomp(e,P)), (xcomp -o f)) : [xcomp] #raising
-VBD(VB) : (\P.PAST(P), (f -o f))
-VBZ(VB)
-
-#Auxillary Verbs
-MD : (\P Q e1.P(\x e2.(<word>(e2,x) & Q(e2)),e1), ((subj -o subj.var) -o subj.var) -o (main -o main)) : [subj]
-
-#Modifiers
-nmod : (\Q P x.(P(x) & Q(x)), (f -o ((super.v -o super.r) -o (super.v -o super.r)))), (\x.<word>(x), f) : []
-JJ(nmod) : []
-vmod : (\P.<word>(P), (super.f -o super.f)) : []
-RB(vmod) : []
-tense : (\P.<word>(P), (super.f -o super.f)) : []
-
-#Prepositions
-IN : (\P Q e1.P(\x e2.(<word>(e2,x) & Q(e2)),e1), ((subj -o subj.var) -o subj.var) -o (super -o super)) : [subj]
-IN(vmod) : []
-
-#Conjunctions
-cc_clause : (\P Q.(P & Q), (a -o (b -o f)))
diff --git a/examples/grammars/sample_grammars/glue_train.conll b/examples/grammars/sample_grammars/glue_train.conll
deleted file mode 100644
index e97e148..0000000
--- a/examples/grammars/sample_grammars/glue_train.conll
+++ /dev/null
@@ -1,27 +0,0 @@
-1 John _ NNP _ _ 2 SUBJ _ _
-2 runs _ VB _ _ 0 ROOT _ _
-
-1 a _ DT _ _ 2 SPEC _ _
-2 man _ NN _ _ 3 SUBJ _ _
-3 runs _ VB _ _ 0 ROOT _ _
-
-1 John _ NNP _ _ 2 SUBJ _ _
-2 sees _ VB _ _ 0 ROOT _ _
-3 Mary _ NNP _ _ 2 OBJ _ _
-
-1 every _ DT _ _ 2 SPEC _ _
-2 girl _ NN _ _ 3 SUBJ _ _
-3 chases _ VB _ _ 0 ROOT _ _
-4 an _ DT _ _ 5 SPEC _ _
-5 animal _ NN _ _ 3 OBJ _ _
-
-1 Bill _ NNP _ _ 2 SUBJ _ _
-2 sees _ VB _ _ 0 ROOT _ _
-3 a _ DT _ _ 4 SPEC _ _
-4 dog _ NN _ _ 2 OBJ _ _
-
-1 every _ DT _ _ 2 SPEC _ _
-2 girl _ NN _ _ 3 SUBJ _ _
-3 chases _ VB _ _ 0 ROOT _ _
-4 John _ NNP _ _ 3 OBJ _ _
-
diff --git a/examples/grammars/sample_grammars/gluesemantics.fcfg b/examples/grammars/sample_grammars/gluesemantics.fcfg
deleted file mode 100644
index 4dff781..0000000
--- a/examples/grammars/sample_grammars/gluesemantics.fcfg
+++ /dev/null
@@ -1,131 +0,0 @@
-% start S
-
-#############################
-# Grammar Rules
-#############################
-
-# S expansion rules
-S -> NP[num=?n, case=nom] VP[num=?n]
-S -> S CC[sem=cc_clause] S
-
-# NP expansion rules
-NP[num=?n, gender=?g] -> Det[num=?n] N[num=?n, gender=?g]
-NP[num=?n, gender=?g] -> PropN[num=?n, gender=?g]
-NP[num=?n, case=?c, gender=?g] -> Pro[num=?n, case=?c, gender=?g]
-NP[num=pl, gender=?g] -> N[num=pl]
-NP[num=?n, gender=?g] -> NP[num=?n, gender=?g] PP
-NP[num=pl] -> NP CC[sem=cc_np] NP
-
-# N's can have Adjectives in front
-N[num=?n] -> JJ[type=attributive] N[num=?n]
-
-# JJs can have ADVs in front
-JJ -> ADV JJ
-
-# VP expansion rules
-VP[tense=?t, num=?n] -> IV[tense=?t, num=?n]
-VP[tense=?t, num=?n] -> TV[tense=?t, num=?n] NP[case=acc]
-VP[tense=?t, num=?n] -> TVComp[tense=?t, num=?n] S
-VP[tense=?t, num=?n] -> DTV[tense=?t, num=?n] NP[case=acc] NP[case=acc]
-VP[tense=?t, num=?n] -> EquiV[tense=?t, num=?n] TO VP[tense=inf]
-VP[tense=?t, num=?n] -> ObjEquiV[tense=?t, num=?n] NP[case=acc] TO VP[tense=inf]
-VP[tense=?t, num=?n] -> RaisingV[tense=?t, num=?n] TO VP[tense=inf]
-VP[tense=?t, num=?n] -> ADV VP[tense=?t, num=?n]
-VP[tense=?t, num=?n] -> VP[tense=?t, num=?n] PP
-VP[tense=?t, num=?n] -> VP[tense=?t, num=?n] CC[sem=cc_vp] VP[tense=?t, num=?n]
-
-# PP expansion
-PP -> IN NP
-
-# Det types
-Det[num=sg] -> DT
-Det[num=pl] -> DTS
-Det -> AT
-Det[num=?n] -> DTI[num=?n]
-Det[num=?n] -> ABN[num=?n]
-
-
-#############################
-# Lexical Rules
-#############################
-
-DT -> 'this' | 'each'
-DTS -> 'these'
-AT[num=sg, sem=ex_quant] -> 'a' | 'an'
-AT[sem=art_def] -> 'the'
-DTI[num=sg, sem=univ_quant] -> 'every'
-DTI[sem=ex_quant] -> 'some'
-ABN[num=sg] -> 'half'
-ABN[num=pl, sem=univ_quant] -> 'all'
-
-PropN[num=sg, gender=m, sem=pn] -> 'Kim' | 'Jody' | 'Mary' | 'Sue'
-PropN[num=sg, gender=m, sem=pn] -> 'David' | 'John' | 'Tom'
-PropN[num=pl, sem=pn] -> 'JM'
-
-N[num=sg, sem=n] -> 'boy' | 'car' | 'cat' | 'child' | 'criminal' | 'dog' | 'gift' | 'girl' | 'man' | 'mouse' | 'person' | 'pizza' | 'racketeer' | 'sandwich' | 'senator' | 'student' | 'telescope' | 'thing' | 'unicorn' | 'woman'
-N[num=pl, sem=n] -> 'boys' | 'cars' | 'cats' | 'children' | 'criminals' | 'dogs' | 'gifts' | 'girls' | 'men' | 'mice' | 'people' | 'pizzas' | 'racketeers' | 'sandwiches' | 'senators' | 'students' | 'telescopes' | 'things' | 'unicorns' | 'women'
-
-IV[tense=pres, num=sg, sem=iv] -> 'approaches' | 'comes' | 'disappears' | 'goes' | 'leaves' | 'vanishes' | 'walks' | 'yawns'
-IV[tense=pres, num=pl, sem=iv] -> 'approach' | 'come' | 'disappear' | 'go' | 'leave' | 'vanish' | 'walk' | 'yawn'
-IV[tense=past, num=?n, sem=iv] -> 'approached' | 'came' | 'disappeared' | 'went' | 'left' | 'vanished' | 'walked' | 'yawned'
-IV[tense=inf, num=na, sem=iv] -> 'approach' | 'come' | 'disappear' | 'go' | 'leave' | 'vanish' | 'walk' | 'yawn'
-
-TV[tense=pres, num=sg, sem=tv] -> 'chases' | 'eats' | 'finds' | 'likes' | 'sees' | 'orders'
-TV[tense=pres, num=pl, sem=tv] -> 'chase' | 'eat' | 'find' | 'like' | 'see' | 'order'
-TV[tense=past, num=?n, sem=tv] -> 'chased' | 'ate' | 'found' | 'liked' | 'saw' | 'ordered'
-TV[tense=inf, num=na, sem=tv] -> 'chase' | 'eat' | 'find' | 'like' | 'see' | 'order'
-
-DTV[tense=pres, num=sg, sem=dtv] -> 'gives'
-DTV[tense=pres, num=pl, sem=dtv] -> 'give'
-DTV[tense=past, num=?n, sem=dtv] -> 'gave'
-DTV[tense=inf, num=na, sem=dtv] -> 'give'
-
-TVComp[tense=pres, num=sg, sem=tv_comp] -> 'believes'
-TVComp[tense=pres, num=pl, sem=tv_comp] -> 'believe'
-TVComp[tense=past, num=?n, sem=tv_comp] -> 'believed'
-TVComp[tense=inf, num=na, sem=tv_comp] -> 'believe'
-
-EquiV[tense=pres, num=sg, sem=equi] -> 'tries'
-EquiV[tense=pres, num=pl, sem=equi] -> 'try'
-EquiV[tense=past, num=?n, sem=equi] -> 'tried'
-EquiV[tense=inf, num=na, sem=equi] -> 'try'
-
-ObjEquiV[tense=pres, num=sg, sem=obj_equi] -> 'persuades'
-ObjEquiV[tense=pres, num=pl, sem=obj_equi] -> 'persuade'
-ObjEquiV[tense=past, num=?n, sem=obj_equi] -> 'persuaded'
-ObjEquiV[tense=inf, num=na, sem=obj_equi] -> 'persuade'
-
-RaisingV[tense=pres, num=sg, sem=raising] -> 'seems'
-RaisingV[tense=pres, num=pl, sem=raising] -> 'seem'
-RaisingV[tense=past, num=?n, sem=raising] -> 'seemed'
-RaisingV[tense=inf, num=na, sem=raising] -> 'seem'
-
-#infinitive marker
-TO -> 'to'
-
-JJ[type=attributive, sem=adj_attributive_intersective] -> 'gray' | 'swedish'
-JJ[type=attributive, sem=adj_attributive_nonintersective] -> 'alleged'
-JJ[type=attributive, sem=adj_attributive_relative_intersective] -> 'big' | 'fat'
-JJ[type=attributive, sem=adj_attributive_relative_nonintersective] -> 'confessed' | 'former'
-JJ[type=predicative, sem=adj_predicative] -> 'gray' | 'swedish'
-
-ADV[sem=adv] -> 'apparently' | 'possibly' | 'very'
-ADV[sem=adv_ModifyingRelativeAdj] -> 'very'
-
-CC[sem=cc_clause] -> 'and'
-CC[sem=cc_np] -> 'and'
-CC[sem=cc_vp] -> 'and'
-
-IN -> 'at' | 'by' | 'from' | 'on' | 'with'
-
-Pro[num=sg, gender=m, -reflex, case=nom, sem=pro] -> 'he'
-Pro[num=sg, gender=m, -reflex, case=acc, sem=pro] -> 'him'
-Pro[num=sg, gender=m, +reflex, case=acc, sem=pro] -> 'himself'
-Pro[num=sg, gender=f, -reflex, sem=pro] -> 'her'
-Pro[num=sg, gender=f, +reflex, case=acc, sem=pro] -> 'herself'
-Pro[num=sg, gender=n, -reflex, sem=pro] -> 'it'
-Pro[num=sg, gender=n, +reflex, case=acc, sem=pro] -> 'itself'
-Pro[num=pl, -reflex, case=nom, sem=pro] -> 'they'
-Pro[num=pl, -reflex, case=acc, sem=pro] -> 'them'
-Pro[num=pl, +reflex, case=acc, sem=pro] -> 'themselves'
-Pro[num=pl, +reflex, case=acc, sem=recip] -> 'eachother'
diff --git a/examples/grammars/sample_grammars/hole.fcfg b/examples/grammars/sample_grammars/hole.fcfg
deleted file mode 100644
index b8e58a3..0000000
--- a/examples/grammars/sample_grammars/hole.fcfg
+++ /dev/null
@@ -1,23 +0,0 @@
-## Natural Language Toolkit: hole.fcfg
-##
-## Minimal feature-based grammar with lambda semantics for use by the hole.py
-## module for Hole Semantics (see Blackburn and Bos).
-##
-## Author: Dan Garrette <DHGarrette at gmail.com>
-## Robin Cooper <robin.cooper at ling.gu.se>
-## URL: <http://nltk.org>
-## For license information, see LICENSE.TXT
-
-% start S
-
-S[SEM=<?subj(?vp)>] -> NP[SEM=?subj] VP[SEM=?vp]
-VP[SEM=?v] -> IV[SEM=?v]
-VP[NUM=?n,SEM=<?v(?obj)>] -> TV[NUM=?n,SEM=?v] NP[SEM=?obj]
-NP[SEM=<?det(?n)>] -> Det[SEM=?det] N[SEM=?n]
-
-Det[SEM=<\P Q h l.exists h1 l1 l2 l3 x.(ALL(l2,x,l3) & IMP(l3,l1,h1) & LEQ(l,h1) & LEQ(l2,h) & P(x)(h)(l1) & Q(x)(h)(l) & HOLE(h) & HOLE(h1) & LABEL(l) & LABEL(l1) & LABEL(l2) & LABEL(l3))>] -> 'every'
-Det[SEM=<\P Q h l.exists h1 l1 l2 l3 x.(EXISTS(l2,x,l3) & AND(l3,l1,h1) & LEQ(l,h1) & LEQ(l2,h) & P(x)(h)(l1) & Q(x)(h)(l) & HOLE(h) & HOLE(h1) & LABEL(l) & LABEL(l1) & LABEL(l2) & LABEL(l3))>] -> 'a'
-N[SEM=<\x h l.(PRED(l,girl,x) & LEQ(l,h) & HOLE(h) & LABEL(l))>] -> 'girl'
-N[SEM=<\x h l.(PRED(l,dog,x) & LEQ(l,h) & HOLE(h) & LABEL(l))>] -> 'dog'
-IV[SEM=<\x h l.(PRED(l,bark,x) & LEQ(l,h) & HOLE(h) & LABEL(l))>] -> 'barks'
-TV[SEM=<\P x.P(\y h l.(PRED(l,chase,x,y) & LEQ(l,h) & HOLE(h) & LABEL(l)))>] -> 'chases'
diff --git a/examples/grammars/sample_grammars/np.fcfg b/examples/grammars/sample_grammars/np.fcfg
deleted file mode 100644
index ddd2a39..0000000
--- a/examples/grammars/sample_grammars/np.fcfg
+++ /dev/null
@@ -1,12 +0,0 @@
-% start NP
-NP[AGR=?a] -> Det[AGR=?a] N[AGR=?a]
-Det[AGR=[NUM='sg', PER=3]] -> 'this' | 'that'
-Det[AGR=[NUM='pl', PER=3]] -> 'these' | 'those'
-Det[AGR=[NUM='pl', PER=1]] -> 'we'
-Det[AGR=[PER=2]] -> 'you'
-N[AGR=[NUM='sg', GND='m']] -> 'boy'
-N[AGR=[NUM='pl', GND='m']] -> 'boys'
-N[AGR=[NUM='sg', GND='f']] -> 'girl'
-N[AGR=[NUM='pl', GND='f']] -> 'girls'
-N[AGR=[NUM='sg']] -> 'student'
-N[AGR=[NUM='pl']] -> 'students'
diff --git a/examples/grammars/sample_grammars/sem0.fcfg b/examples/grammars/sample_grammars/sem0.fcfg
deleted file mode 100644
index 9bc4ef4..0000000
--- a/examples/grammars/sample_grammars/sem0.fcfg
+++ /dev/null
@@ -1,14 +0,0 @@
-## Natural Language Toolkit: sem0.fcfg
-##
-## Minimal feature-based grammar with lambda semantics.
-##
-## Author: Ewan Klein <ewan at inf.ed.ac.uk>
-## URL: <http://nltk.sourceforge.net>
-## For license information, see LICENSE.TXT
-
-% start S
-
-S[SEM=<?vp(?subj)>] -> NP[SEM=?subj] VP[SEM=?vp]
-VP[SEM=?v] -> V[SEM=?v]
-NP[SEM=<cyril>] -> 'Cyril'
-V[SEM=<\x.bark(x)>] -> 'barks'
diff --git a/examples/grammars/sample_grammars/sem1.fcfg b/examples/grammars/sample_grammars/sem1.fcfg
deleted file mode 100644
index 401092b..0000000
--- a/examples/grammars/sample_grammars/sem1.fcfg
+++ /dev/null
@@ -1,19 +0,0 @@
-## Natural Language Toolkit: sem1.fcfg
-##
-## Minimal feature-based grammar to illustrate the interpretation of
-## determiner phrases.
-##
-## Author: Ewan Klein <ewan at inf.ed.ac.uk>
-## URL: <http://nltk.sourceforge.net>
-## For license information, see LICENSE.TXT
-
-% start S
-
-S[SEM = <?subj(?vp)>] -> NP[SEM=?subj] VP[SEM=?vp]
-VP[SEM=?v] -> IV[SEM=?v]
-NP[SEM=<?det(?n)>] -> Det[SEM=?det] N[SEM=?n]
-
-Det[SEM=<\Q P.exists x.(Q(x) & P(x))>] -> 'a'
-Det[SEM=<\Q P.all x.(Q(x) -> P(x))>] -> 'every'
-N[SEM=<\x.dog(x)>] -> 'dog'
-IV[SEM=<\x.bark(x)>] -> 'barks'
diff --git a/examples/grammars/sample_grammars/sem2.fcfg b/examples/grammars/sample_grammars/sem2.fcfg
deleted file mode 100644
index 1bd4c98..0000000
--- a/examples/grammars/sample_grammars/sem2.fcfg
+++ /dev/null
@@ -1,68 +0,0 @@
-## Natural Language Toolkit: sem2.fcfg
-##
-## Longer feature-based grammar with more quantifers, and illustrating
-## transitive verbs and prepositional phrases (PPs). The
-## interpretation of PPs is a bit weird and could do with further
-## work.
-##
-## Author: Ewan Klein <ewan at inf.ed.ac.uk>
-## URL: <http://nltk.sourceforge.net>
-## For license information, see LICENSE.TXT
-
-% start S
-############################
-# Grammar Rules
-#############################
-
-S[SEM = <?subj(?vp)>] -> NP[NUM=?n,SEM=?subj] VP[NUM=?n,SEM=?vp]
-
-NP[NUM=?n,SEM=<?det(?nom)> ] -> Det[NUM=?n,SEM=?det] Nom[NUM=?n,SEM=?nom]
-NP[LOC=?l,NUM=?n,SEM=?np] -> PropN[LOC=?l,NUM=?n,SEM=?np]
-
-Nom[NUM=?n,SEM=?nom] -> N[NUM=?n,SEM=?nom]
-Nom[NUM=?n,SEM=<?pp(?nom)>] -> N[NUM=?n,SEM=?nom] PP[SEM=?pp]
-
-VP[NUM=?n,SEM=<?v(?obj)>] -> TV[NUM=?n,SEM=?v] NP[SEM=?obj]
-VP[NUM=?n,SEM=?v] -> IV[NUM=?n,SEM=?v]
-
-VP[NUM=?n,SEM=<?pp(?vp)>] -> VP[NUM=?n,SEM=?vp] PP[SEM=?pp]
-
-PP[SEM=<?p(?np)>] -> P[LOC=?l,SEM=?p] NP[LOC=?l,SEM=?np]
-
-#############################
-# Lexical Rules
-#############################
-
-PropN[-LOC,NUM=sg,SEM=<\P.P(john)>] -> 'John'
-PropN[-LOC,NUM=sg,SEM=<\P.P(mary)>] -> 'Mary'
-PropN[-LOC,NUM=sg,SEM=<\P.P(suzie)>] -> 'Suzie'
-PropN[-LOC,NUM=sg,SEM=<\P.P(fido)>] -> 'Fido'
-PropN[+LOC, NUM=sg,SEM=<\P.P(noosa)>] -> 'Noosa'
-
-NP[-LOC, NUM=sg, SEM=<\P.\x.P(x)>] -> 'who'
-
-Det[NUM=sg,SEM=<\P Q.all x.(P(x) -> Q(x))>] -> 'every'
-Det[NUM=pl,SEM=<\P Q.all x.(P(x) -> Q(x))>] -> 'all'
-Det[SEM=<\P Q.exists x.(P(x) & Q(x))>] -> 'some'
-Det[NUM=sg,SEM=<\P Q.exists x.(P(x) & Q(x))>] -> 'a'
-
-N[NUM=sg,SEM=<\x.boy(x)>] -> 'boy'
-N[NUM=pl,SEM=<\x.boy(x)>] -> 'boys'
-N[NUM=sg,SEM=<\x.girl(x)>] -> 'girl'
-N[NUM=pl,SEM=<\x.girl(x)>] -> 'girls'
-N[NUM=sg,SEM=<\x.dog(x)>] -> 'dog'
-N[NUM=pl,SEM=<\x.dog(x)>] -> 'dogs'
-
-TV[NUM=sg,SEM=<\X y.X(\x.chase(y,x))>,TNS=pres] -> 'chases'
-TV[NUM=pl,SEM=<\X y.X(\x.chase(y,x))>,TNS=pres] -> 'chase'
-TV[NUM=sg,SEM=<\X y.X(\x.see(y,x))>,TNS=pres] -> 'sees'
-TV[NUM=pl,SEM=<\X y.X(\x.see(y,x))>,TNS=pres] -> 'see'
-TV[NUM=sg,SEM=<\X y.X(\x.chase(y,x))>,TNS=pres] -> 'chases'
-TV[NUM=pl,SEM=<\X y.X(\x.chase(y,x))>,TNS=pres] -> 'chase'
-IV[NUM=sg,SEM=<\x.bark(x)>,TNS=pres] -> 'barks'
-IV[NUM=pl,SEM=<\x.bark(x)>,TNS=pres] -> 'bark'
-IV[NUM=sg,SEM=<\x.walk(x)>,TNS=pres] -> 'walks'
-IV[NUM=pl,SEM=<\x.walk(x)>,TNS=pres] -> 'walk'
-
-P[+LOC,SEM=<\X P x.X(\y.(P(x) & in(x,y)))>] -> 'in'
-P[-LOC,SEM=<\X P x.X(\y.(P(x) & with(x,y)))>] -> 'with'
diff --git a/examples/grammars/sample_grammars/sql.fcfg b/examples/grammars/sample_grammars/sql.fcfg
deleted file mode 100644
index abdd830..0000000
--- a/examples/grammars/sample_grammars/sql.fcfg
+++ /dev/null
@@ -1,27 +0,0 @@
-## Natural Language Toolkit: sql.fcfg
-##
-## Deliberately naive string-based grammar for
-## deriving SQL queries from English
-##
-## Author: Ewan Klein <ewan at inf.ed.ac.uk>
-## URL: <http://nltk.sourceforge.net>
-## For license information, see LICENSE.TXT
-
-% start S
-
-S[sem=(?np + ?vp)] -> NP[sem=?np] VP[sem=?vp]
-
-VP[sem=(?v + ?pp)] -> IV[sem=?v] PP[sem=?pp]
-VP[sem=(?v + ?np)] -> TV[sem=?v] NP[sem=?np]
-
-NP[sem=(?det + ?n)] -> Det[sem=?det] N[sem=?n]
-NP[sem='Country="japan"'] -> 'Japan'
-NP[sem='Country="united_states"'] -> 'USA'
-
-Det[sem='SELECT'] -> 'Which'
-N[sem='City FROM city_table'] -> 'cities'
-
-IV[sem='WHERE'] -> 'are'
-PP[sem=?np] -> P[sem=?p] NP[sem=?np]
-P -> 'in'
-
diff --git a/examples/grammars/sample_grammars/toy.cfg b/examples/grammars/sample_grammars/toy.cfg
deleted file mode 100644
index 0977292..0000000
--- a/examples/grammars/sample_grammars/toy.cfg
+++ /dev/null
@@ -1,9 +0,0 @@
-S -> NP VP
-PP -> P NP
-NP -> Det N | NP PP
-VP -> V NP | VP PP
-Det -> 'a' | 'the'
-N -> 'dog' | 'cat'
-V -> 'chased' | 'sat'
-P -> 'on' | 'in'
-
diff --git a/examples/grammars/sample_grammars/valuation1.val b/examples/grammars/sample_grammars/valuation1.val
deleted file mode 100644
index a66dae5..0000000
--- a/examples/grammars/sample_grammars/valuation1.val
+++ /dev/null
@@ -1,15 +0,0 @@
-john => b1
-mary => g1
-suzie => g2
-fido => d1
-tess => d2
-noosa => n
-girl => {g1, g2}
-boy => {b1, b2}
-dog => {d1, d2}
-bark => {d1, d2}
-walk => {b1, g2, d1}
-chase => {(b1, g1), (b2, g1), (g1, d1), (g2, d2)}
-see => {(b1, g1), (b2, d2), (g1, b1),(d2, b1), (g2, n)}
-in => {(b1, n), (b2, n), (d2, n)}
-with => {(b1, g1), (g1, b1), (d1, b1), (b1, d1)}
diff --git a/examples/grammars/spanish_grammars/spanish1.cfg b/examples/grammars/spanish_grammars/spanish1.cfg
deleted file mode 100755
index 581c73a..0000000
--- a/examples/grammars/spanish_grammars/spanish1.cfg
+++ /dev/null
@@ -1,10 +0,0 @@
- S -> SN SV
- SV -> v SN
- SV -> v
- SN -> det GN
- GN -> nom_com
- GN -> nom_prop
- det -> "el" | "la" | "los" | "las" | "un" | "una" | "unos" | "unas"
- nom_com -> "vecino" | "ladrones" | "mujeres" | "bosques" | "noche" | "flauta" | "ventana"
- nom_prop -> "Jose" | "Lucas" | "Pedro" | "Marta"
- v -> "toca" | "moja" | "adoran" | "robaron" | "escondieron" | "rompió"
diff --git a/examples/grammars/spanish_grammars/spanish1.fcfg b/examples/grammars/spanish_grammars/spanish1.fcfg
deleted file mode 100755
index 6601c39..0000000
--- a/examples/grammars/spanish_grammars/spanish1.fcfg
+++ /dev/null
@@ -1,32 +0,0 @@
-% start S
-# ############################
-# Grammar Rules
-# ############################
-S -> SN[num=?n,gen=?g] SV[num=?n,tiempo=?t]
-SN[num=?n,gen=?g,+PROP] -> NP[num=?n]
-SN[num=?n,gen=?g,-PROP] -> DET[num=?n,gen=?g] NC[num=?n,gen=?g]
-SN[num=plural,gen=?g,-PROP] -> DET[num=plural,gen=?g] NC[num=plural,gen=?g]
-SV[tiempo=?t,num=?n] -> VI[tiempo=?t,num=?n]
-SV[tiempo=?t,num=?n] -> VT[tiempo=?t,num=?n] SN[-PROP]
-SV[tiempo=?t,num=?n] -> VT[tiempo=?t,num=?n] PREP SN
-# ############################
-# Lexical Rules
-# ############################
-DET[num=singular,gen=masculino] -> 'un' | 'el'
-DET[num=singular,gen=femenino] -> 'una' | 'la'
-DET[num=plural,gen=masculino] -> 'unos' | 'los'
-DET[num=plural,gen=femenino] -> 'unas' | 'las'
-PREP -> 'a'
-NP[num=singular] -> 'Miguel' | 'Sara' | 'Pedro'
-NC[num=singular,gen=masculino] -> 'perro' | 'gato' | 'vecino' | 'profesor'
-NC[num=singular,gen=femenino] -> 'perra' | 'gata' | 'vecina' | 'profesora'
-NC[num=plural,gen=masculino] -> 'perros' | 'gatos' | 'vecinos' | 'profesores'
-NC[num=plural,gen=femenino] -> 'perras' | 'gatas' | 'vecinas' | 'profesoras'
-VI[tiempo=pasado,num=singular] -> 'desaparecio' | 'anduvo' | 'murio'
-VI[tiempo=presente,num=singular] -> 'desaparece' | 'anda' | 'muere'
-VI[tiempo=pasado,num=plural] -> 'desaparecion' | 'anduvieron' | 'murieron'
-VI[tiempo=presente,num=plural] -> 'desaparecen' | 'andan' | 'mueren'
-VT[tiempo=pasado,num=singular] -> 'vio' | 'adoró' | 'gritó' | 'odio'
-VT[tiempo=presente,num=singular] -> 've' | 'adora' | 'grita' | 'odia'
-VT[tiempo=pasado,num=plural] -> 'vieron' | 'adoraron' | 'gritaron' | 'odiaron'
-VT[tiempo=presente,num=plural] -> 'ven' | 'adoran' | 'gritan' | 'odian'
diff --git a/examples/grammars/spanish_grammars/spanish1.pcfg b/examples/grammars/spanish_grammars/spanish1.pcfg
deleted file mode 100755
index 490f6ab..0000000
--- a/examples/grammars/spanish_grammars/spanish1.pcfg
+++ /dev/null
@@ -1,9 +0,0 @@
- S -> SN SV [1.0]
- SV -> VTrans SN [0.4]
- SV -> VIntrans [0.3]
- SV -> VSupl SN SN [0.3]
- VTrans -> "bebió" [1.0]
- VIntrans -> "murió" [1.0]
- VSupl -> "regaló" [1.0]
- SN -> "flores" [0.6]
- SN -> "agua" [0.4]
diff --git a/examples/grammars/spanish_grammars/spanish1.regexp b/examples/grammars/spanish_grammars/spanish1.regexp
deleted file mode 100755
index cb08d09..0000000
--- a/examples/grammars/spanish_grammars/spanish1.regexp
+++ /dev/null
@@ -1,2 +0,0 @@
-
-NP: {<d.*>*<n.*>+<a.*>*} # busca determinantes y adjetivos que acompañen a nombres
diff --git a/examples/grammars/spanish_grammars/spanish2.cfg b/examples/grammars/spanish_grammars/spanish2.cfg
deleted file mode 100755
index e67359b..0000000
--- a/examples/grammars/spanish_grammars/spanish2.cfg
+++ /dev/null
@@ -1,8 +0,0 @@
- S -> SN SV
- SP -> P SN
- SN -> Det N | SN SP
- SV -> V SN | SV SP
- Det -> "el" | "la" | "un" | "una" | "los" | "las"
- N -> "tren" | "telescopio" | "noticia" | "mesa" | "hombre" | "casa" | "amiga"
- V -> "vio" | "leí" | "encontró"
- P -> "en" | "sobre" | "con" | "de" | "a"
diff --git a/examples/grammars/spanish_grammars/spanish2.fcfg b/examples/grammars/spanish_grammars/spanish2.fcfg
deleted file mode 100755
index b3b3404..0000000
--- a/examples/grammars/spanish_grammars/spanish2.fcfg
+++ /dev/null
@@ -1,17 +0,0 @@
-% start S
-# ############################
-# Grammar Rules
-# ############################
-S -> SN S/SN
-S/?x -> SV/?x
-S/?x -> V[+aux] COMP SV/?x
-SN/SN ->
-SV/?x -> V[-aux] SN/?x
-# ############################
-# Lexical Rules
-# ############################
-V[-aux] -> 'adoras' | 'odias'
-V[+aux] -> 'dices'
-
-SN -> 'quien' | 'que'
-COMP -> 'que'
diff --git a/examples/grammars/spanish_grammars/spanish2.pcfg b/examples/grammars/spanish_grammars/spanish2.pcfg
deleted file mode 100755
index 93b9f63..0000000
--- a/examples/grammars/spanish_grammars/spanish2.pcfg
+++ /dev/null
@@ -1,4 +0,0 @@
- SN -> N [0.5]| N Adj [0.3]| SN Conj SN [0.2]
- N -> 'hombres' [0.1]| 'mujeres' [0.2]| 'niños' [0.3]| N Conj N [0.4]
- Adj -> 'mayores' [0.3]| 'jovenes' [0.7]
- Conj -> 'y' [0.6]| 'o' [0.3] | 'e' [0.1]
diff --git a/examples/grammars/spanish_grammars/spanish2.regexp b/examples/grammars/spanish_grammars/spanish2.regexp
deleted file mode 100755
index 01275cb..0000000
--- a/examples/grammars/spanish_grammars/spanish2.regexp
+++ /dev/null
@@ -1,4 +0,0 @@
-
- NP: {<d.*>*<n.*><a.*>*} # Busca det + nombre + adjetivo
- NP: {<d.*>*<n.*>+} # Busca seguidas de nombres
-
diff --git a/examples/grammars/spanish_grammars/spanish3.cfg b/examples/grammars/spanish_grammars/spanish3.cfg
deleted file mode 100755
index 81665bb..0000000
--- a/examples/grammars/spanish_grammars/spanish3.cfg
+++ /dev/null
@@ -1,4 +0,0 @@
- SN -> N | N Adj | SN Conj SN
- N -> 'hombres' | 'mujeres' | 'niños' | N Conj N
- Adj -> 'mayores' | 'jovenes'
- Conj -> 'y' | 'o' | 'e'
diff --git a/examples/grammars/spanish_grammars/spanish3.regexp b/examples/grammars/spanish_grammars/spanish3.regexp
deleted file mode 100755
index b5a5d11..0000000
--- a/examples/grammars/spanish_grammars/spanish3.regexp
+++ /dev/null
@@ -1,4 +0,0 @@
-
- SN:
- {<.*>+} # Crea Un Chunk Con Cualquier Cosa
- }<v.*|sp.*|F.*>+{ # Considerar Como Chink Apariciones De Verbos (v.*), Preposiciones (sp.*) y Signos De Puntuación (F.*)
diff --git a/examples/grammars/spanish_grammars/spanish4.regexp b/examples/grammars/spanish_grammars/spanish4.regexp
deleted file mode 100755
index aee335d..0000000
--- a/examples/grammars/spanish_grammars/spanish4.regexp
+++ /dev/null
@@ -1,5 +0,0 @@
-
- SN: {<d.*>?<n.*>+<a.*>*} # noun phrase chunks
- SV: {<p.*>?<v.*>} # verb phrase chunks
- SP: {<sp.*>} # prepositional phrase chunks
-
diff --git a/examples/grammars/spanish_grammars/spanish5.regexp b/examples/grammars/spanish_grammars/spanish5.regexp
deleted file mode 100755
index 7df465b..0000000
--- a/examples/grammars/spanish_grammars/spanish5.regexp
+++ /dev/null
@@ -1,6 +0,0 @@
-
- SN: {<d.*>?<n.*>+<a.*>*} # noun phrase chunks
- SV: {<p.*>?<v.*>+<SN|sp.*|S>*} # verb phrase chunks
- SP: {<sp.*>} # prepositional phrase chunks
- S: {<SN><SV>} # Chunk NP, VP
-
diff --git a/examples/school/README b/examples/school/README
deleted file mode 100644
index 21cfc9f..0000000
--- a/examples/school/README
+++ /dev/null
@@ -1,3 +0,0 @@
-The files in this directory were created for teaching computational
-linguistics in secondary school English classes. For instructions
-and lesson plans, please see http://nltk.org/index.php/Electronic_Grammar
diff --git a/examples/school/categories.py b/examples/school/categories.py
deleted file mode 100644
index 72352ae..0000000
--- a/examples/school/categories.py
+++ /dev/null
@@ -1,222 +0,0 @@
-from __future__ import print_function
-
-from words import *
-from nltk.wordnet import *
-from operator import itemgetter
-import nltk
-import re
-from string import join
-
-def build_word_associations():
- cfd = nltk.ConditionalFreqDist()
-
- # get a list of all English stop words
- stopwords_list = nltk.corpus.stopwords.words('english')
-
- # count words that occur within a window of size 5 ahead of other words
- for sentence in nltk.corpus.brown.tagged_sents():
- sentence = [(token.lower(), tag) for (token, tag) in sentence if token.lower() not in stopwords_list]
- for (index, (token, tag)) in enumerate(sentence):
- if token not in stopwords_list:
- window = sentence[index+1:index+5]
- for (window_token, window_tag) in window:
- if window_token not in stopwords_list and window_tag[0] is tag[0]:
- cfd[token].inc(window_token)
- return cfd
-
-def associate():
- while True:
- word = raw_input("Enter a word: ")
- for i in range(100):
- next = cfd[word].max()
- if next:
- print("->", next,)
- word = next
- else:
- break
- print()
-
-def build_word_contexts(words):
- contexts_to_words = {}
- words = [w.lower() for w in words]
- for i in range(1,len(words)-1):
- context = words[i-1]+"_"+words[i+1]
- if context not in contexts_to_words:
- contexts_to_words[context] = []
- contexts_to_words[context].append(words[i])
- # inverted structure, tracking frequency
- words_to_contexts = {}
- for context in contexts_to_words:
- for word in contexts_to_words[context]:
- if word not in words_to_contexts:
- words_to_contexts[word] = []
- words_to_contexts[word].append(context)
- return words_to_contexts, contexts_to_words
-
-def search_contexts(words):
- words_to_contexts, contexts_to_words = build_word_contexts(words)
- while True:
- hits = []
- word = raw_input("word> ")
- if word not in words_to_contexts:
- print("Word not found")
- continue
- contexts = words_to_contexts[word]
- for w in words_to_contexts: # all words
- for context in words_to_contexts[w]:
- if context in contexts:
- hits.append(w)
- hit_freqs = count_words(hits).items()
- sorted_hits = sorted(hit_freqs, key=itemgetter(1), reverse=True)
- words = [word for (word, count) in sorted_hits[1:] if count > 1]
- print(join(words))
-
-def lookup(word):
- for category in [N, V, ADJ, ADV]:
- if word in category:
- for synset in category[word]:
- print(category[word], ":", synset.gloss)
-
-############################################
-# Simple Tagger
-############################################
-
-# map brown pos tags
-# http://khnt.hit.uib.no/icame/manuals/brown/INDEX.HTM
-
-def map1(tag):
- tag = re.sub(r'fw-', '', tag) # foreign words
- tag = re.sub(r'-[th]l', '', tag) # headlines, titles
- tag = re.sub(r'-nc', '', tag) # cited
- tag = re.sub(r'ber?', 'vb', tag) # verb "to be"
- tag = re.sub(r'hv', 'vb', tag) # verb "to have"
- tag = re.sub(r'do', 'vb', tag) # verb "to do"
- tag = re.sub(r'nc', 'nn', tag) # cited word
- tag = re.sub(r'z', '', tag) # third-person singular
- return tag
-
-def map2(tag):
- tag = re.sub(r'\bj[^-+]*', 'J', tag) # adjectives
- tag = re.sub(r'\bp[^-+]*', 'P', tag) # pronouns
- tag = re.sub(r'\bm[^-+]*', 'M', tag) # modals
- tag = re.sub(r'\bq[^-+]*', 'Q', tag) # qualifiers
- tag = re.sub(r'\babl', 'Q', tag) # qualifiers
- tag = re.sub(r'\bab[nx]', 'D', tag) # determiners
- tag = re.sub(r'\bap', 'D', tag) # determiners
- tag = re.sub(r'\bd[^-+]*', 'D', tag) # determiners
- tag = re.sub(r'\bat', 'D', tag) # determiners
- tag = re.sub(r'\bw[^-+]*', 'W', tag) # wh words
- tag = re.sub(r'\br[^-+]*', 'R', tag) # adverbs
- tag = re.sub(r'\bto', 'T', tag) # "to"
- tag = re.sub(r'\bc[cs]', 'C', tag) # conjunctions
- tag = re.sub(r's', '', tag) # plurals
- tag = re.sub(r'\bin', 'I', tag) # prepositions
- tag = re.sub(r'\buh', 'U', tag) # interjections (uh)
- tag = re.sub(r'\bex', 'E', tag) # existential "there"
- tag = re.sub(r'\bvbn', 'VN', tag) # past participle
- tag = re.sub(r'\bvbd', 'VD', tag) # past tense
- tag = re.sub(r'\bvbg', 'VG', tag) # gerund
- tag = re.sub(r'\bvb', 'V', tag) # verb
- tag = re.sub(r'\bnn', 'N', tag) # noun
- tag = re.sub(r'\bnp', 'NP', tag) # proper noun
- tag = re.sub(r'\bnr', 'NR', tag) # adverbial noun
- tag = re.sub(r'\bex', 'E', tag) # existential "there"
- tag = re.sub(r'\bod', 'OD', tag) # ordinal
- tag = re.sub(r'\bcd', 'CD', tag) # cardinal
- tag = re.sub(r'-t', '', tag) # misc
- tag = re.sub(r'[a-z\*]', '', tag) # misc
- return tag
-
-def map(tag):
- return map2(map1(tag.lower()))
-
-# print(sorted(set(map2(map1(tag)) for s in brown.tagged() for w,tag in s)))
-
-def load_brown_corpus(sections):
- global map
- corpus = nltk.corpus.brown.tagged_sents(tuple(sections))
- return [[(w.lower(), map(t)) for w, t in sent] for sent in corpus]
-
-def train_tagger(corpus):
- t0 = nltk.tag.Default('N')
- t1 = nltk.tag.Unigram(cutoff=0, backoff=t0)
- t2 = nltk.tag.Bigram(cutoff=0, backoff=t1)
- t3 = nltk.tag.Trigram(cutoff=1, backoff=t2)
-
- t1.train(corpus, verbose=True)
- t2.train(corpus, verbose=True)
- t3.train(corpus, verbose=True)
- return t3
-
-def tag(corpus):
- print("Training tagger...")
- tagger = train_tagger(corpus)
- while True:
- text = raw_input("sentence> ")
- words = text.split()
- print(join(word+"/"+tag for word, tag in tagger.tag(words)))
-
-WORD_OR_TAG = '[^/ ]+'
-BOUNDARY = r'\b'
-
-def process(pattern):
- new = []
- for term in pattern.split():
- if re.match('[A-Z]+$', term):
- new.append(BOUNDARY + WORD_OR_TAG + '/' + term + BOUNDARY)
- elif '/' in term:
- new.append(BOUNDARY + term + BOUNDARY)
- else:
- new.append(BOUNDARY + term + '/' + WORD_OR_TAG + BOUNDARY)
- return join(new)
-
-def search(corpus, num=25):
- print("Loading corpus...")
- strings = [join(w+'/'+t for (w,t) in sent) for sent in corpus]
- while True:
- pattern = ""
- while not pattern:
- pattern = raw_input("search> ")
- pattern = process(pattern)
- i = 0
- for sent in strings:
- m = re.search(pattern, sent)
- if m:
- sent = ' '*35 + sent + ' '*45
- print(sent[m.start():m.start()+80])
- i += 1
- if i > num:
- break
-
-############################################
-# Wordnet Browser
-# now incorporated into NLTK as wordnet.browse
-############################################
-
-############################################
-# Mad Libs
-############################################
-
-madlib = """Britney Spears will meet up with her %(NP)s label for
-crisis talks about the future of her %(N)s this week reports Digital Spy.
-%(NP)s Records plan to tell Spears to stop %(VG)s and take more
-care of her %(J)s image if she wants to avoid being %(VD)s by the noun.
-The news %(V)s shortly after Britney posted a message on her
-website promising a new album and tour. The last couple of years
-have been quite a ride for me, the media has criticized %(P)s every
-noun %(C)s printed a skewed perception of who I really am as a human
-being, she wrote in a letter posted %(NR)s."""
-
-# mapping = {}
-# mapping['NP'] =
-# mapping['N'] =
-# mapping['VG'] =
-# mapping['J'] =
-# mapping['VD'] =
-# mapping['V'] =
-# mapping['P'] =
-# mapping['C'] =
-# mapping['NR'] =
-
-# print(madlib % mapping)
-
diff --git a/examples/school/count.py b/examples/school/count.py
deleted file mode 100644
index 9f89a09..0000000
--- a/examples/school/count.py
+++ /dev/null
@@ -1,16 +0,0 @@
-from words import *
-words = read_words('corpus/telephone.txt')
-counts = count_words(words)
-print_freq(counts)
-
-
-
-
-from words import *
-words = read_words('corpus/rural.txt')
-counts = count_pairs(words)
-print_freq(counts)
-
-
-
-
diff --git a/examples/school/generate.py b/examples/school/generate.py
deleted file mode 100644
index 37a9be8..0000000
--- a/examples/school/generate.py
+++ /dev/null
@@ -1,14 +0,0 @@
-from words import *
-
-telephone_words = read_words('corpus/telephone.txt')
-model = train(telephone_words)
-generate(model)
-
-
-
-
-
-
-
-
-
diff --git a/examples/school/parse1.py b/examples/school/parse1.py
deleted file mode 100644
index 4966b57..0000000
--- a/examples/school/parse1.py
+++ /dev/null
@@ -1,14 +0,0 @@
-from parser import *
-
-grammar = """
- NP -> P | D J N
- D -> 'a'
- J -> 'red' | 'green'
- N -> 'chair' | 'house'
-"""
-
-phrase = 'a red chair'
-
-parse_draw(phrase, grammar)
-
-
diff --git a/examples/school/parse2.py b/examples/school/parse2.py
deleted file mode 100644
index c3498b2..0000000
--- a/examples/school/parse2.py
+++ /dev/null
@@ -1,17 +0,0 @@
-from parser import *
-
-grammar = """
- S -> NP VP | VP
- VP -> V NP | VP PP
- NP -> Det N | NP PP
- PP -> P NP
- NP -> 'I'
- Det -> 'the' | 'my'
- N -> 'elephant' | 'pajamas'
- V -> 'shot'
- P -> 'in'
-"""
-
-sent = 'I shot the elephant in my pajamas'
-parse_draw(sent, grammar)
-
diff --git a/examples/school/parse3.py b/examples/school/parse3.py
deleted file mode 100644
index 6eebacd..0000000
--- a/examples/school/parse3.py
+++ /dev/null
@@ -1,22 +0,0 @@
-from parser import *
-
-grammar = """
- S -> NP VP | VP
- PP -> P NP
- NP -> N | Det N | N N | NP PP | N VP
- VP -> V | V NP | VP PP | VP ADVP
- ADVP -> ADV NP
- Det -> 'a' | 'an' | 'the'
- N -> 'flies' | 'banana' | 'fruit' | 'arrow' | 'time'
- V -> 'like' | 'flies' | 'time'
- P -> 'on' | 'in' | 'by'
- ADV -> 'like'
-"""
-
-sent = 'time flies like an arrow'
-
-parse_draw(sent, grammar)
-
-
-
-
diff --git a/examples/school/parser.py b/examples/school/parser.py
deleted file mode 100644
index 51a6921..0000000
--- a/examples/school/parser.py
+++ /dev/null
@@ -1,18 +0,0 @@
-from __future__ import print_function
-
-import nltk
-
-def parse(sent, grammar):
- gr = nltk.parse_cfg(grammar)
- parser = nltk.parse.ChartParse(gr, nltk.parse.TD_STRATEGY)
- return parser.get_parse_list(sent.split())
-
-def parse_draw(sent, grammar):
- trees = parse(sent, grammar)
- nltk.draw.draw_trees(*trees)
-
-def parse_print(sent, grammar):
- trees = parse(sent, grammar)
- for tree in trees:
- print(tree)
-
diff --git a/examples/school/search.py b/examples/school/search.py
deleted file mode 100644
index e716e0c..0000000
--- a/examples/school/search.py
+++ /dev/null
@@ -1,6 +0,0 @@
-from words import *
-words = read_text('corpus/telephone.txt')
-concordance(" um", words)
-
-
-
diff --git a/examples/school/words.py b/examples/school/words.py
deleted file mode 100644
index bf36394..0000000
--- a/examples/school/words.py
+++ /dev/null
@@ -1,105 +0,0 @@
-from __future__ import print_function
-
-import re, random
-
-from collections import defaultdict
-
-###############################################################################
-### FILE ACCESS
-###############################################################################
-
-def read_words(filename):
- "Get the words out of the file, ignoring case and punctuation."
- text = open(filename).read().lower()
- return re.split('\W+', text)
-
-def read_text(filename):
- "Load the file into a text string, normalising whitespace."
- text = open(filename).read()
- return re.sub('\s+', ' ', text)
-
-###############################################################################
-### SEARCHING
-###############################################################################
-
-def print_conc(pattern, text, num=25):
- "Print segments of the file that match the pattern."
- for i in range(num):
- m = re.search(pattern, text)
- if not m:
- break
- print(text[m.start()-30:m.start()+40])
- text = text[m.start()+1:]
-
-###############################################################################
-### COUNTING
-###############################################################################
-
-def count_words(words):
- "Count the number of times each word has appeared."
- wordcounts = {}
- for word in words:
- if word not in wordcounts:
- wordcounts[word] = 0
- wordcounts[word] += 1
- return wordcounts
-
-def print_freq(counts, num=25):
- "Print the words and their counts, in order of decreasing frequency."
- from operator import itemgetter
- total = sum(counts.values())
- cumulative = 0.0
- sorted_word_counts = sorted(counts.items(), key=itemgetter(1), reverse=True)
- for i in range(num):
- word, count = sorted_word_counts[i]
- cumulative += count * 100.0 / total
- print("%3d %3.2d%% %s" % (i, cumulative, word))
-
-###############################################################################
-### COLLOCATIONS
-###############################################################################
-
-def count_pairs(words, num=50):
- "Print the frequent bigrams, omitting short words"
- paircounts = {}
- for i in range(len(words)-1):
- if len(words[i]) > 4 and len(words[i+1]) > 4:
- pair = words[i] + ' ' + words[i+1]
- if pair not in paircounts:
- paircounts[pair] = 0
- paircounts[pair] += 1
- return paircounts
-
-###############################################################################
-### RANDOM TEXT GENERATION
-###############################################################################
-
-def train(words):
- prev1 = ''
- prev2 = ''
- model = defaultdict(list)
- for word in words:
- key = (prev1, prev2)
- if word not in model[key]:
- model[key].append(word)
- model[prev2].append(word)
- prev2 = prev1
- prev1 = word
- return model
-
-def generate(model, num=100):
- prev2 = ''
- prev1 = ''
- for i in range(num):
- next = model[(prev1,prev2)]
- if next:
- word = random.choice(next)
- else:
- word = random.choice(model[prev2])
- print(word, end='')
- prev2 = prev1
- prev1 = word
- print()
-
-
-
diff --git a/examples/semantics/chat.db b/examples/semantics/chat.db
deleted file mode 100644
index c80316f..0000000
Binary files a/examples/semantics/chat.db and /dev/null differ
diff --git a/examples/semantics/chat80.cfg b/examples/semantics/chat80.cfg
deleted file mode 100644
index 401451e..0000000
--- a/examples/semantics/chat80.cfg
+++ /dev/null
@@ -1,96 +0,0 @@
-## Natural Language Toolkit: chat80.cfg
-##
-##
-## Grammar used to illustrate querying the Chat-80 database.
-##
-## Author: Ewan Klein <ewan at inf.ed.ac.uk>
-## URL: <http://nltk.sourceforge.net>
-## For license information, see LICENSE.TXT
-
-% start S
-# ###########################
-# Grammar Rules
-# ############################
-
-S[sem=<app(?subj,?vp)>] -> NP[-pred,num=?n,sem=?subj] VP[num=?n,sem=?vp]
-
-Rel[num=?n,sem=<app(?comp,?vp)>] -> Comp[sem=?comp] VP[num=?n,sem=?vp]
-
-NP[-pred, num=pl,sem=<(\P Q. some x. ((Q x) and (P x)) ?nom)>] -> Nom[num=pl,sem=?nom]
-NP[wh=?wh,-pred,num=?n,sem=<app(?det,?nom)>] -> Det[wh=?wh, num=?n,sem=?det] Nom[num=?n,sem=?nom]
-
-
-NP[+pred,num=sg,sem=?nom] -> Det[num=sg,sem=?det] Nom[num=sg,sem=?nom]
-NP[+pred,num=pl,sem=?nom] -> Nom[num=pl,sem=?nom]
-
-NP[loc=?l,num=?n,sem=?np] -> PropN[loc=?l,num=?n,sem=?np]
-
-Nom[num=?n,sem=?nom] -> N[num=?n,sem=?nom]
-Nom[num=sg,sem=<app(?pp,?nom)>] -> N[subcat=11,num=sg,sem=?nom] PP[pform=of,sem=?pp]
-Nom[num=?n,sem=<app(?mod,?nom)>] -> Nom[num=?n,sem=?nom] Rel[num=?n,sem=?mod]
-Nom[num=?n,sem=<app(?adj,?nom)>] -> A[sem=?adj] Nom[num=?n,sem=?nom]
-
-##VP[num=?n,sem=?v] -> V[subcat=1,num=?n,sem=?v]
-VP[num=?n,sem=<app(?v,?obj)>] -> V[subcat=2, num=?n,sem=?v] NP[-pred,sem=?obj]
-VP[num=?n,sem=<app(?v,?pred)>] -> V[subcat=3, num=?n,sem=?v] NP[+pred,sem=?pred]
-
-PP[pform=?pf,sem=<app(?p,?np)>] -> P[pform=?pf, loc=?l,sem=?p] NP[loc=?l,sem=?np]
-
-
-# ############################
-# Lexical Rules
-# ############################
-
-% include chat_pnames.cfg
-
-Comp[sem=<\P Q x. ((P x) and (Q x))>] -> 'that'
-
-NP[+wh, num=sg, sem=<\P.\x.(P x)>] -> 'what'
-
-Det[-wh,num=sg,sem=<\P Q. all x. ((P x) implies (Q x))>] -> 'every'
-Det[-wh,num=pl,sem=<\P Q. all x. ((P x) implies (Q x))>] -> 'all'
-Det[-wh,sem=<\P Q. some x. ((P x) and (Q x))>] -> 'some'
-Det[-wh,num=sg,sem=<\P Q. some x. ((P x) and (Q x))>] -> 'a'
-Det[-wh,num=sg,sem=<\P Q. some x. ((P x) and (Q x))>] -> 'the'
-Det[+wh,sem=<\P Q x. ((Q x) and (P x))>] -> 'which'
-
-N[subcat=10,num=sg,sem=<city>] -> 'city'
-N[subcat=10,num=pl,sem=<city>] -> 'cities'
-N[subcat=10,num=sg,sem=<continent>] -> 'continent'
-N[subcat=10,num=pl,sem=<continent>] -> 'continents'
-N[subcat=10,num=sg,sem=<country>] -> 'country'
-N[subcat=10,num=pl,sem=<country>] -> 'countries'
-N[subcat=10,num=sg,sem=<sea>] -> 'sea'
-N[subcat=10,num=pl,sem=<sea>] -> 'seas'
-N[subcat=10,num=sg,sem=<ocean>] -> 'ocean'
-N[subcat=10,num=pl,sem=<ocean>] -> 'oceans'
-
-PL[sem=<\P Q. some x. ((P x) and (Q x))>] -> ' '
-
-N[subcat=11,num=sg,sem=<\x y. (area_of y x))>] -> 'area'
-N[subcat=11,num=sg,sem=<\x y. (capital_of y x))>] -> 'capital'
-N[subcat=11,num=sg,sem=<\x y. (currency_of y x))>] -> 'currency'
-N[subcat=11,num=sg,sem=<\x y. (region_of y x))>] -> 'region'
-N[subcat=11,num=sg,sem=<\x y. (longitude_of y x))>] -> 'longitude'
-N[subcat=11,num=sg,sem=<\x y. (latitude_of y x))>] -> 'latitude'
-N[subcat=11,num=sg,sem=<\x y. (population_of y x))>] -> 'population'
-
-
-
-## V[subcat=3,num=sg,sem=<\X y. (X \x. (x = y))>,tns=pres] -> 'is'
-## V[subcat=3,num=pl,sem=<\P. P))>,tns=pres] -> 'are'
-V[subcat=3,num=sg,sem=<\P. P>,tns=pres] -> 'is'
-V[subcat=3,num=pl,sem=<\P. P>,tns=pres] -> 'are'
-V[subcat=2,num=sg,sem=<\X y. (X \x. (border x y))>,tns=pres] -> 'borders'
-V[subcat=2,num=pl,sem=<\X y. (X \x. (border x y))>,tns=pres] -> 'border'
-V[subcat=2,num=sg,sem=<\X y. (X \x. (contain x y))>,tns=pres] -> 'contains'
-V[subcat=2,num=pl,sem=<\X y. (X \x. (contain x y))>,tns=pres] -> 'contain'
-
-A[sem=<\P x. ((contain x asia) and (P x))>] -> 'Asian'
-
-P[pform=of,sem=<\X.X>] -> 'of'
-P[+loc,sem=<\X P x. (X \y. ((P x) and (in y x)))>] -> 'in'
-P[-loc,sem=<\X P x. (X \y. ((P x) and (with y x)))>] -> 'with'
-
-
-
diff --git a/examples/semantics/chat_pnames.cfg b/examples/semantics/chat_pnames.cfg
deleted file mode 100644
index 00937ba..0000000
--- a/examples/semantics/chat_pnames.cfg
+++ /dev/null
@@ -1,545 +0,0 @@
-
-##################################################################
-# Lexical rules automatically generated by running 'chat80.py -x'.
-##################################################################
-
-PropN[num=sg, sem=<\P.(P abidjan)>] -> 'Abidjan'
-PropN[num=sg, sem=<\P.(P abu_dhabi)>] -> 'Abu_Dhabi'
-PropN[num=sg, sem=<\P.(P accra)>] -> 'Accra'
-PropN[num=sg, sem=<\P.(P addis_ababa)>] -> 'Addis_Ababa'
-PropN[num=sg, sem=<\P.(P aden)>] -> 'Aden'
-PropN[num=sg, sem=<\P.(P afghani)>] -> 'Afghani'
-PropN[num=sg, sem=<\P.(P afghanistan)>] -> 'Afghanistan'
-PropN[num=sg, sem=<\P.(P africa)>] -> 'Africa'
-PropN[num=sg, sem=<\P.(P albania)>] -> 'Albania'
-PropN[num=sg, sem=<\P.(P algeria)>] -> 'Algeria'
-PropN[num=sg, sem=<\P.(P algiers)>] -> 'Algiers'
-PropN[num=sg, sem=<\P.(P amazon)>] -> 'Amazon'
-PropN[num=sg, sem=<\P.(P america)>] -> 'America'
-PropN[num=sg, sem=<\P.(P amman)>] -> 'Amman'
-PropN[num=sg, sem=<\P.(P amsterdam)>] -> 'Amsterdam'
-PropN[num=sg, sem=<\P.(P amu_darya)>] -> 'Amu_Darya'
-PropN[num=sg, sem=<\P.(P amur)>] -> 'Amur'
-PropN[num=sg, sem=<\P.(P andorra)>] -> 'Andorra'
-PropN[num=sg, sem=<\P.(P andorra_la_villa)>] -> 'Andorra_La_Villa'
-PropN[num=sg, sem=<\P.(P angola)>] -> 'Angola'
-PropN[num=sg, sem=<\P.(P ankara)>] -> 'Ankara'
-PropN[num=sg, sem=<\P.(P antarctic_circle)>] -> 'Antarctic_Circle'
-PropN[num=sg, sem=<\P.(P antarctica)>] -> 'Antarctica'
-PropN[num=sg, sem=<\P.(P apia)>] -> 'Apia'
-PropN[num=sg, sem=<\P.(P arctic_circle)>] -> 'Arctic_Circle'
-PropN[num=sg, sem=<\P.(P arctic_ocean)>] -> 'Arctic_Ocean'
-PropN[num=sg, sem=<\P.(P argentina)>] -> 'Argentina'
-PropN[num=sg, sem=<\P.(P ariary)>] -> 'Ariary'
-PropN[num=sg, sem=<\P.(P asia)>] -> 'Asia'
-PropN[num=sg, sem=<\P.(P asuncion)>] -> 'Asuncion'
-PropN[num=sg, sem=<\P.(P athens)>] -> 'Athens'
-PropN[num=sg, sem=<\P.(P atlantic)>] -> 'Atlantic'
-PropN[num=sg, sem=<\P.(P australasia)>] -> 'Australasia'
-PropN[num=sg, sem=<\P.(P australia)>] -> 'Australia'
-PropN[num=sg, sem=<\P.(P australian_dollar)>] -> 'Australian_Dollar'
-PropN[num=sg, sem=<\P.(P austria)>] -> 'Austria'
-PropN[num=sg, sem=<\P.(P baghdad)>] -> 'Baghdad'
-PropN[num=sg, sem=<\P.(P bahamas)>] -> 'Bahamas'
-PropN[num=sg, sem=<\P.(P bahamian_dollar)>] -> 'Bahamian_Dollar'
-PropN[num=sg, sem=<\P.(P bahrain)>] -> 'Bahrain'
-PropN[num=sg, sem=<\P.(P baht)>] -> 'Baht'
-PropN[num=sg, sem=<\P.(P balboa)>] -> 'Balboa'
-PropN[num=sg, sem=<\P.(P baltic)>] -> 'Baltic'
-PropN[num=sg, sem=<\P.(P bamako)>] -> 'Bamako'
-PropN[num=sg, sem=<\P.(P bangkok)>] -> 'Bangkok'
-PropN[num=sg, sem=<\P.(P bangladesh)>] -> 'Bangladesh'
-PropN[num=sg, sem=<\P.(P bangui)>] -> 'Bangui'
-PropN[num=sg, sem=<\P.(P banjul)>] -> 'Banjul'
-PropN[num=sg, sem=<\P.(P barbados)>] -> 'Barbados'
-PropN[num=sg, sem=<\P.(P barcelona)>] -> 'Barcelona'
-PropN[num=sg, sem=<\P.(P beirut)>] -> 'Beirut'
-PropN[num=sg, sem=<\P.(P belgium)>] -> 'Belgium'
-PropN[num=sg, sem=<\P.(P belgrade)>] -> 'Belgrade'
-PropN[num=sg, sem=<\P.(P belize)>] -> 'Belize'
-PropN[num=sg, sem=<\P.(P belize_town)>] -> 'Belize_Town'
-PropN[num=sg, sem=<\P.(P berlin)>] -> 'Berlin'
-PropN[num=sg, sem=<\P.(P bern)>] -> 'Bern'
-PropN[num=sg, sem=<\P.(P bhutan)>] -> 'Bhutan'
-PropN[num=sg, sem=<\P.(P birmingham)>] -> 'Birmingham'
-PropN[num=sg, sem=<\P.(P bissau)>] -> 'Bissau'
-PropN[num=sg, sem=<\P.(P black_sea)>] -> 'Black_Sea'
-PropN[num=sg, sem=<\P.(P bogota)>] -> 'Bogota'
-PropN[num=sg, sem=<\P.(P bolivar)>] -> 'Bolivar'
-PropN[num=sg, sem=<\P.(P bolivia)>] -> 'Bolivia'
-PropN[num=sg, sem=<\P.(P bombay)>] -> 'Bombay'
-PropN[num=sg, sem=<\P.(P bonn)>] -> 'Bonn'
-PropN[num=sg, sem=<\P.(P botswana)>] -> 'Botswana'
-PropN[num=sg, sem=<\P.(P brahmaputra)>] -> 'Brahmaputra'
-PropN[num=sg, sem=<\P.(P brasilia)>] -> 'Brasilia'
-PropN[num=sg, sem=<\P.(P brazil)>] -> 'Brazil'
-PropN[num=sg, sem=<\P.(P brazzaville)>] -> 'Brazzaville'
-PropN[num=sg, sem=<\P.(P bridgetown)>] -> 'Bridgetown'
-PropN[num=sg, sem=<\P.(P brussels)>] -> 'Brussels'
-PropN[num=sg, sem=<\P.(P bucharest)>] -> 'Bucharest'
-PropN[num=sg, sem=<\P.(P budapest)>] -> 'Budapest'
-PropN[num=sg, sem=<\P.(P buenos_aires)>] -> 'Buenos_Aires'
-PropN[num=sg, sem=<\P.(P bujumbura)>] -> 'Bujumbura'
-PropN[num=sg, sem=<\P.(P bulgaria)>] -> 'Bulgaria'
-PropN[num=sg, sem=<\P.(P burma)>] -> 'Burma'
-PropN[num=sg, sem=<\P.(P burundi)>] -> 'Burundi'
-PropN[num=sg, sem=<\P.(P cairo)>] -> 'Cairo'
-PropN[num=sg, sem=<\P.(P calcutta)>] -> 'Calcutta'
-PropN[num=sg, sem=<\P.(P cambodia)>] -> 'Cambodia'
-PropN[num=sg, sem=<\P.(P cameroon)>] -> 'Cameroon'
-PropN[num=sg, sem=<\P.(P canada)>] -> 'Canada'
-PropN[num=sg, sem=<\P.(P canadian_dollar)>] -> 'Canadian_Dollar'
-PropN[num=sg, sem=<\P.(P canberra)>] -> 'Canberra'
-PropN[num=sg, sem=<\P.(P canton)>] -> 'Canton'
-PropN[num=sg, sem=<\P.(P caracas)>] -> 'Caracas'
-PropN[num=sg, sem=<\P.(P caribbean)>] -> 'Caribbean'
-PropN[num=sg, sem=<\P.(P caspian)>] -> 'Caspian'
-PropN[num=sg, sem=<\P.(P cayenne)>] -> 'Cayenne'
-PropN[num=sg, sem=<\P.(P cedi)>] -> 'Cedi'
-PropN[num=sg, sem=<\P.(P central_africa)>] -> 'Central_Africa'
-PropN[num=sg, sem=<\P.(P central_african_republic)>] -> 'Central_African_Republic'
-PropN[num=sg, sem=<\P.(P central_america)>] -> 'Central_America'
-PropN[num=sg, sem=<\P.(P cfa_franc)>] -> 'Cfa_Franc'
-PropN[num=sg, sem=<\P.(P chad)>] -> 'Chad'
-PropN[num=sg, sem=<\P.(P chicago)>] -> 'Chicago'
-PropN[num=sg, sem=<\P.(P chile)>] -> 'Chile'
-PropN[num=sg, sem=<\P.(P china)>] -> 'China'
-PropN[num=sg, sem=<\P.(P chungking)>] -> 'Chungking'
-PropN[num=sg, sem=<\P.(P colombia)>] -> 'Colombia'
-PropN[num=sg, sem=<\P.(P colombo)>] -> 'Colombo'
-PropN[num=sg, sem=<\P.(P colon)>] -> 'Colon'
-PropN[num=sg, sem=<\P.(P colorado)>] -> 'Colorado'
-PropN[num=sg, sem=<\P.(P conakry)>] -> 'Conakry'
-PropN[num=sg, sem=<\P.(P congo)>] -> 'Congo'
-PropN[num=sg, sem=<\P.(P congo_river)>] -> 'Congo_River'
-PropN[num=sg, sem=<\P.(P copenhagen)>] -> 'Copenhagen'
-PropN[num=sg, sem=<\P.(P cordoba)>] -> 'Cordoba'
-PropN[num=sg, sem=<\P.(P costa_rica)>] -> 'Costa_Rica'
-PropN[num=sg, sem=<\P.(P cruzeiro)>] -> 'Cruzeiro'
-PropN[num=sg, sem=<\P.(P cuba)>] -> 'Cuba'
-PropN[num=sg, sem=<\P.(P cubango)>] -> 'Cubango'
-PropN[num=sg, sem=<\P.(P cyprus)>] -> 'Cyprus'
-PropN[num=sg, sem=<\P.(P czechoslovakia)>] -> 'Czechoslovakia'
-PropN[num=sg, sem=<\P.(P dacca)>] -> 'Dacca'
-PropN[num=sg, sem=<\P.(P dahomey)>] -> 'Dahomey'
-PropN[num=sg, sem=<\P.(P dairen)>] -> 'Dairen'
-PropN[num=sg, sem=<\P.(P dakar)>] -> 'Dakar'
-PropN[num=sg, sem=<\P.(P dalasi)>] -> 'Dalasi'
-PropN[num=sg, sem=<\P.(P damascus)>] -> 'Damascus'
-PropN[num=sg, sem=<\P.(P danube)>] -> 'Danube'
-PropN[num=sg, sem=<\P.(P dar_es_salaam)>] -> 'Dar_Es_Salaam'
-PropN[num=sg, sem=<\P.(P ddr_mark)>] -> 'Ddr_Mark'
-PropN[num=sg, sem=<\P.(P delhi)>] -> 'Delhi'
-PropN[num=sg, sem=<\P.(P denmark)>] -> 'Denmark'
-PropN[num=sg, sem=<\P.(P detroit)>] -> 'Detroit'
-PropN[num=sg, sem=<\P.(P deutsche_mark)>] -> 'Deutsche_Mark'
-PropN[num=sg, sem=<\P.(P dinar)>] -> 'Dinar'
-PropN[num=sg, sem=<\P.(P dirham)>] -> 'Dirham'
-PropN[num=sg, sem=<\P.(P djibouti)>] -> 'Djibouti'
-PropN[num=sg, sem=<\P.(P doha)>] -> 'Doha'
-PropN[num=sg, sem=<\P.(P dollar)>] -> 'Dollar'
-PropN[num=sg, sem=<\P.(P dominican_republic)>] -> 'Dominican_Republic'
-PropN[num=sg, sem=<\P.(P don)>] -> 'Don'
-PropN[num=sg, sem=<\P.(P dong)>] -> 'Dong'
-PropN[num=sg, sem=<\P.(P drachma)>] -> 'Drachma'
-PropN[num=sg, sem=<\P.(P dublin)>] -> 'Dublin'
-PropN[num=sg, sem=<\P.(P east_africa)>] -> 'East_Africa'
-PropN[num=sg, sem=<\P.(P east_berlin)>] -> 'East_Berlin'
-PropN[num=sg, sem=<\P.(P east_caribbean_dollar)>] -> 'East_Caribbean_Dollar'
-PropN[num=sg, sem=<\P.(P east_carribean_dollar)>] -> 'East_Carribean_Dollar'
-PropN[num=sg, sem=<\P.(P east_germany)>] -> 'East_Germany'
-PropN[num=sg, sem=<\P.(P eastern_europe)>] -> 'Eastern_Europe'
-PropN[num=sg, sem=<\P.(P ecuador)>] -> 'Ecuador'
-PropN[num=sg, sem=<\P.(P egypt)>] -> 'Egypt'
-PropN[num=sg, sem=<\P.(P egyptian_pound)>] -> 'Egyptian_Pound'
-PropN[num=sg, sem=<\P.(P eire)>] -> 'Eire'
-PropN[num=sg, sem=<\P.(P el_salvador)>] -> 'El_Salvador'
-PropN[num=sg, sem=<\P.(P elbe)>] -> 'Elbe'
-PropN[num=sg, sem=<\P.(P equator)>] -> 'Equator'
-PropN[num=sg, sem=<\P.(P equatorial_guinea)>] -> 'Equatorial_Guinea'
-PropN[num=sg, sem=<\P.(P escudo)>] -> 'Escudo'
-PropN[num=sg, sem=<\P.(P ethiopean_dollar)>] -> 'Ethiopean_Dollar'
-PropN[num=sg, sem=<\P.(P ethiopia)>] -> 'Ethiopia'
-PropN[num=sg, sem=<\P.(P euphrates)>] -> 'Euphrates'
-PropN[num=sg, sem=<\P.(P europe)>] -> 'Europe'
-PropN[num=sg, sem=<\P.(P far_east)>] -> 'Far_East'
-PropN[num=sg, sem=<\P.(P fiji)>] -> 'Fiji'
-PropN[num=sg, sem=<\P.(P fiji_dollar)>] -> 'Fiji_Dollar'
-PropN[num=sg, sem=<\P.(P finland)>] -> 'Finland'
-PropN[num=sg, sem=<\P.(P forint)>] -> 'Forint'
-PropN[num=sg, sem=<\P.(P franc)>] -> 'Franc'
-PropN[num=sg, sem=<\P.(P franc_peseta)>] -> 'Franc_Peseta'
-PropN[num=sg, sem=<\P.(P france)>] -> 'France'
-PropN[num=sg, sem=<\P.(P freetown)>] -> 'Freetown'
-PropN[num=sg, sem=<\P.(P french_franc)>] -> 'French_Franc'
-PropN[num=sg, sem=<\P.(P french_guiana)>] -> 'French_Guiana'
-PropN[num=sg, sem=<\P.(P gabon)>] -> 'Gabon'
-PropN[num=sg, sem=<\P.(P gaborone)>] -> 'Gaborone'
-PropN[num=sg, sem=<\P.(P gambia)>] -> 'Gambia'
-PropN[num=sg, sem=<\P.(P ganges)>] -> 'Ganges'
-PropN[num=sg, sem=<\P.(P georgetown)>] -> 'Georgetown'
-PropN[num=sg, sem=<\P.(P ghana)>] -> 'Ghana'
-PropN[num=sg, sem=<\P.(P glasgow)>] -> 'Glasgow'
-PropN[num=sg, sem=<\P.(P gourde)>] -> 'Gourde'
-PropN[num=sg, sem=<\P.(P greece)>] -> 'Greece'
-PropN[num=sg, sem=<\P.(P greenland)>] -> 'Greenland'
-PropN[num=sg, sem=<\P.(P grenada)>] -> 'Grenada'
-PropN[num=sg, sem=<\P.(P guarani)>] -> 'Guarani'
-PropN[num=sg, sem=<\P.(P guatamala_city)>] -> 'Guatamala_City'
-PropN[num=sg, sem=<\P.(P guatemala)>] -> 'Guatemala'
-PropN[num=sg, sem=<\P.(P guilder)>] -> 'Guilder'
-PropN[num=sg, sem=<\P.(P guinea)>] -> 'Guinea'
-PropN[num=sg, sem=<\P.(P guinea_bissau)>] -> 'Guinea_Bissau'
-PropN[num=sg, sem=<\P.(P guyana)>] -> 'Guyana'
-PropN[num=sg, sem=<\P.(P guyana_dollar)>] -> 'Guyana_Dollar'
-PropN[num=sg, sem=<\P.(P haiti)>] -> 'Haiti'
-PropN[num=sg, sem=<\P.(P hamburg)>] -> 'Hamburg'
-PropN[num=sg, sem=<\P.(P hanoi)>] -> 'Hanoi'
-PropN[num=sg, sem=<\P.(P harbin)>] -> 'Harbin'
-PropN[num=sg, sem=<\P.(P havana)>] -> 'Havana'
-PropN[num=sg, sem=<\P.(P helsinki)>] -> 'Helsinki'
-PropN[num=sg, sem=<\P.(P honduras)>] -> 'Honduras'
-PropN[num=sg, sem=<\P.(P hongkong)>] -> 'Hongkong'
-PropN[num=sg, sem=<\P.(P hongkong_city)>] -> 'Hongkong_City'
-PropN[num=sg, sem=<\P.(P hungary)>] -> 'Hungary'
-PropN[num=sg, sem=<\P.(P hwang_ho)>] -> 'Hwang_Ho'
-PropN[num=sg, sem=<\P.(P hyderabad)>] -> 'Hyderabad'
-PropN[num=sg, sem=<\P.(P iceland)>] -> 'Iceland'
-PropN[num=sg, sem=<\P.(P india)>] -> 'India'
-PropN[num=sg, sem=<\P.(P indian_ocean)>] -> 'Indian_Ocean'
-PropN[num=sg, sem=<\P.(P indian_rupee)>] -> 'Indian_Rupee'
-PropN[num=sg, sem=<\P.(P indian_subcontinent)>] -> 'Indian_Subcontinent'
-PropN[num=sg, sem=<\P.(P indonesia)>] -> 'Indonesia'
-PropN[num=sg, sem=<\P.(P indus)>] -> 'Indus'
-PropN[num=sg, sem=<\P.(P iran)>] -> 'Iran'
-PropN[num=sg, sem=<\P.(P iraq)>] -> 'Iraq'
-PropN[num=sg, sem=<\P.(P irish_pound)>] -> 'Irish_Pound'
-PropN[num=sg, sem=<\P.(P irrawaddy)>] -> 'Irrawaddy'
-PropN[num=sg, sem=<\P.(P islamad)>] -> 'Islamad'
-PropN[num=sg, sem=<\P.(P israel)>] -> 'Israel'
-PropN[num=sg, sem=<\P.(P israeli_pound)>] -> 'Israeli_Pound'
-PropN[num=sg, sem=<\P.(P istanbul)>] -> 'Istanbul'
-PropN[num=sg, sem=<\P.(P italian_lira)>] -> 'Italian_Lira'
-PropN[num=sg, sem=<\P.(P italy)>] -> 'Italy'
-PropN[num=sg, sem=<\P.(P ivory_coast)>] -> 'Ivory_Coast'
-PropN[num=sg, sem=<\P.(P jakarta)>] -> 'Jakarta'
-PropN[num=sg, sem=<\P.(P jamaica)>] -> 'Jamaica'
-PropN[num=sg, sem=<\P.(P jamaican_dollar)>] -> 'Jamaican_Dollar'
-PropN[num=sg, sem=<\P.(P japan)>] -> 'Japan'
-PropN[num=sg, sem=<\P.(P jerusalem)>] -> 'Jerusalem'
-PropN[num=sg, sem=<\P.(P johannesburg)>] -> 'Johannesburg'
-PropN[num=sg, sem=<\P.(P jordan)>] -> 'Jordan'
-PropN[num=sg, sem=<\P.(P kabul)>] -> 'Kabul'
-PropN[num=sg, sem=<\P.(P kampala)>] -> 'Kampala'
-PropN[num=sg, sem=<\P.(P karachi)>] -> 'Karachi'
-PropN[num=sg, sem=<\P.(P katmandu)>] -> 'Katmandu'
-PropN[num=sg, sem=<\P.(P kenya)>] -> 'Kenya'
-PropN[num=sg, sem=<\P.(P kenya_shilling)>] -> 'Kenya_Shilling'
-PropN[num=sg, sem=<\P.(P khartoum)>] -> 'Khartoum'
-PropN[num=sg, sem=<\P.(P kiev)>] -> 'Kiev'
-PropN[num=sg, sem=<\P.(P kigali)>] -> 'Kigali'
-PropN[num=sg, sem=<\P.(P kingston)>] -> 'Kingston'
-PropN[num=sg, sem=<\P.(P kinshasa)>] -> 'Kinshasa'
-PropN[num=sg, sem=<\P.(P kip)>] -> 'Kip'
-PropN[num=sg, sem=<\P.(P kobe)>] -> 'Kobe'
-PropN[num=sg, sem=<\P.(P koruna)>] -> 'Koruna'
-PropN[num=sg, sem=<\P.(P kowloon)>] -> 'Kowloon'
-PropN[num=sg, sem=<\P.(P krona)>] -> 'Krona'
-PropN[num=sg, sem=<\P.(P krone)>] -> 'Krone'
-PropN[num=sg, sem=<\P.(P kuala_lumpa)>] -> 'Kuala_Lumpa'
-PropN[num=sg, sem=<\P.(P kuwait)>] -> 'Kuwait'
-PropN[num=sg, sem=<\P.(P kuwait_city)>] -> 'Kuwait_City'
-PropN[num=sg, sem=<\P.(P kuwaiti_dinar)>] -> 'Kuwaiti_Dinar'
-PropN[num=sg, sem=<\P.(P kwacha)>] -> 'Kwacha'
-PropN[num=sg, sem=<\P.(P kyat)>] -> 'Kyat'
-PropN[num=sg, sem=<\P.(P kyoto)>] -> 'Kyoto'
-PropN[num=sg, sem=<\P.(P lagos)>] -> 'Lagos'
-PropN[num=sg, sem=<\P.(P laos)>] -> 'Laos'
-PropN[num=sg, sem=<\P.(P lebanese_pound)>] -> 'Lebanese_Pound'
-PropN[num=sg, sem=<\P.(P lebanon)>] -> 'Lebanon'
-PropN[num=sg, sem=<\P.(P lek)>] -> 'Lek'
-PropN[num=sg, sem=<\P.(P lempira)>] -> 'Lempira'
-PropN[num=sg, sem=<\P.(P lena)>] -> 'Lena'
-PropN[num=sg, sem=<\P.(P leningrad)>] -> 'Leningrad'
-PropN[num=sg, sem=<\P.(P leone)>] -> 'Leone'
-PropN[num=sg, sem=<\P.(P lesotho)>] -> 'Lesotho'
-PropN[num=sg, sem=<\P.(P leu)>] -> 'Leu'
-PropN[num=sg, sem=<\P.(P lev)>] -> 'Lev'
-PropN[num=sg, sem=<\P.(P liberia)>] -> 'Liberia'
-PropN[num=sg, sem=<\P.(P libreville)>] -> 'Libreville'
-PropN[num=sg, sem=<\P.(P libya)>] -> 'Libya'
-PropN[num=sg, sem=<\P.(P libyan_dinar)>] -> 'Libyan_Dinar'
-PropN[num=sg, sem=<\P.(P liechtenstein)>] -> 'Liechtenstein'
-PropN[num=sg, sem=<\P.(P lilageru)>] -> 'Lilageru'
-PropN[num=sg, sem=<\P.(P lima)>] -> 'Lima'
-PropN[num=sg, sem=<\P.(P limpopo)>] -> 'Limpopo'
-PropN[num=sg, sem=<\P.(P lira)>] -> 'Lira'
-PropN[num=sg, sem=<\P.(P lisbon)>] -> 'Lisbon'
-PropN[num=sg, sem=<\P.(P lome)>] -> 'Lome'
-PropN[num=sg, sem=<\P.(P london)>] -> 'London'
-PropN[num=sg, sem=<\P.(P los_angeles)>] -> 'Los_Angeles'
-PropN[num=sg, sem=<\P.(P luanda)>] -> 'Luanda'
-PropN[num=sg, sem=<\P.(P lusaka)>] -> 'Lusaka'
-PropN[num=sg, sem=<\P.(P luxembourg)>] -> 'Luxembourg'
-PropN[num=sg, sem=<\P.(P luxembourg_franc)>] -> 'Luxembourg_Franc'
-PropN[num=sg, sem=<\P.(P mackenzie)>] -> 'Mackenzie'
-PropN[num=sg, sem=<\P.(P madras)>] -> 'Madras'
-PropN[num=sg, sem=<\P.(P madrid)>] -> 'Madrid'
-PropN[num=sg, sem=<\P.(P malagasy)>] -> 'Malagasy'
-PropN[num=sg, sem=<\P.(P malawi)>] -> 'Malawi'
-PropN[num=sg, sem=<\P.(P malaysia)>] -> 'Malaysia'
-PropN[num=sg, sem=<\P.(P malaysian_dollar)>] -> 'Malaysian_Dollar'
-PropN[num=sg, sem=<\P.(P maldives)>] -> 'Maldives'
-PropN[num=sg, sem=<\P.(P male)>] -> 'Male'
-PropN[num=sg, sem=<\P.(P mali)>] -> 'Mali'
-PropN[num=sg, sem=<\P.(P mali_franc)>] -> 'Mali_Franc'
-PropN[num=sg, sem=<\P.(P malta)>] -> 'Malta'
-PropN[num=sg, sem=<\P.(P managua)>] -> 'Managua'
-PropN[num=sg, sem=<\P.(P manama)>] -> 'Manama'
-PropN[num=sg, sem=<\P.(P manila)>] -> 'Manila'
-PropN[num=sg, sem=<\P.(P maputo)>] -> 'Maputo'
-PropN[num=sg, sem=<\P.(P markka)>] -> 'Markka'
-PropN[num=sg, sem=<\P.(P masero)>] -> 'Masero'
-PropN[num=sg, sem=<\P.(P mauritania)>] -> 'Mauritania'
-PropN[num=sg, sem=<\P.(P mauritius)>] -> 'Mauritius'
-PropN[num=sg, sem=<\P.(P mbabane)>] -> 'Mbabane'
-PropN[num=sg, sem=<\P.(P mediterranean)>] -> 'the_Mediterranean'
-PropN[num=sg, sem=<\P.(P mekong)>] -> 'Mekong'
-PropN[num=sg, sem=<\P.(P melbourne)>] -> 'Melbourne'
-PropN[num=sg, sem=<\P.(P mexico)>] -> 'Mexico'
-PropN[num=sg, sem=<\P.(P mexico_city)>] -> 'Mexico_City'
-PropN[num=sg, sem=<\P.(P middle_east)>] -> 'Middle_East'
-PropN[num=sg, sem=<\P.(P milan)>] -> 'Milan'
-PropN[num=sg, sem=<\P.(P mississippi)>] -> 'Mississippi'
-PropN[num=sg, sem=<\P.(P mogadishu)>] -> 'Mogadishu'
-PropN[num=sg, sem=<\P.(P monaco)>] -> 'Monaco'
-PropN[num=sg, sem=<\P.(P mongolia)>] -> 'Mongolia'
-PropN[num=sg, sem=<\P.(P monrovia)>] -> 'Monrovia'
-PropN[num=sg, sem=<\P.(P montevideo)>] -> 'Montevideo'
-PropN[num=sg, sem=<\P.(P montreal)>] -> 'Montreal'
-PropN[num=sg, sem=<\P.(P morocco)>] -> 'Morocco'
-PropN[num=sg, sem=<\P.(P moscow)>] -> 'Moscow'
-PropN[num=sg, sem=<\P.(P mozambique)>] -> 'Mozambique'
-PropN[num=sg, sem=<\P.(P mukden)>] -> 'Mukden'
-PropN[num=sg, sem=<\P.(P murray)>] -> 'Murray'
-PropN[num=sg, sem=<\P.(P muscat)>] -> 'Muscat'
-PropN[num=sg, sem=<\P.(P n_djamena)>] -> 'N_Djamena'
-PropN[num=sg, sem=<\P.(P nagoya)>] -> 'Nagoya'
-PropN[num=sg, sem=<\P.(P naira)>] -> 'Naira'
-PropN[num=sg, sem=<\P.(P nairobi)>] -> 'Nairobi'
-PropN[num=sg, sem=<\P.(P nanking)>] -> 'Nanking'
-PropN[num=sg, sem=<\P.(P naples)>] -> 'Naples'
-PropN[num=sg, sem=<\P.(P nassau)>] -> 'Nassau'
-PropN[num=sg, sem=<\P.(P nepal)>] -> 'Nepal'
-PropN[num=sg, sem=<\P.(P nepalese_rupee)>] -> 'Nepalese_Rupee'
-PropN[num=sg, sem=<\P.(P netherlands)>] -> 'Netherlands'
-PropN[num=sg, sem=<\P.(P new_delhi)>] -> 'New_Delhi'
-PropN[num=sg, sem=<\P.(P new_york)>] -> 'New_York'
-PropN[num=sg, sem=<\P.(P new_zealand)>] -> 'New_Zealand'
-PropN[num=sg, sem=<\P.(P new_zealand_dollar)>] -> 'New_Zealand_Dollar'
-PropN[num=sg, sem=<\P.(P niamey)>] -> 'Niamey'
-PropN[num=sg, sem=<\P.(P nicaragua)>] -> 'Nicaragua'
-PropN[num=sg, sem=<\P.(P nicosia)>] -> 'Nicosia'
-PropN[num=sg, sem=<\P.(P niger)>] -> 'Niger'
-PropN[num=sg, sem=<\P.(P niger_river)>] -> 'Niger_River'
-PropN[num=sg, sem=<\P.(P nigeria)>] -> 'Nigeria'
-PropN[num=sg, sem=<\P.(P nile)>] -> 'Nile'
-PropN[num=sg, sem=<\P.(P north_africa)>] -> 'North_Africa'
-PropN[num=sg, sem=<\P.(P north_america)>] -> 'North_America'
-PropN[num=sg, sem=<\P.(P north_korea)>] -> 'North_Korea'
-PropN[num=sg, sem=<\P.(P northern_asia)>] -> 'Northern_Asia'
-PropN[num=sg, sem=<\P.(P norway)>] -> 'Norway'
-PropN[num=sg, sem=<\P.(P nouakchott)>] -> 'Nouakchott'
-PropN[num=sg, sem=<\P.(P nukualofa)>] -> 'Nukualofa'
-PropN[num=sg, sem=<\P.(P ob)>] -> 'Ob'
-PropN[num=sg, sem=<\P.(P oder)>] -> 'Oder'
-PropN[num=sg, sem=<\P.(P oman)>] -> 'Oman'
-PropN[num=sg, sem=<\P.(P orange)>] -> 'Orange'
-PropN[num=sg, sem=<\P.(P orinoco)>] -> 'Orinoco'
-PropN[num=sg, sem=<\P.(P osaka)>] -> 'Osaka'
-PropN[num=sg, sem=<\P.(P oslo)>] -> 'Oslo'
-PropN[num=sg, sem=<\P.(P ottawa)>] -> 'Ottawa'
-PropN[num=sg, sem=<\P.(P ouagadougou)>] -> 'Ouagadougou'
-PropN[num=sg, sem=<\P.(P ouguiya)>] -> 'Ouguiya'
-PropN[num=sg, sem=<\P.(P pa_anga)>] -> 'Pa_Anga'
-PropN[num=sg, sem=<\P.(P pacific)>] -> 'Pacific'
-PropN[num=sg, sem=<\P.(P pakistan)>] -> 'Pakistan'
-PropN[num=sg, sem=<\P.(P panama)>] -> 'Panama'
-PropN[num=sg, sem=<\P.(P papua_new_guinea)>] -> 'Papua_New_Guinea'
-PropN[num=sg, sem=<\P.(P paraguay)>] -> 'Paraguay'
-PropN[num=sg, sem=<\P.(P paramaribo)>] -> 'Paramaribo'
-PropN[num=sg, sem=<\P.(P parana)>] -> 'Parana'
-PropN[num=sg, sem=<\P.(P paris)>] -> 'Paris'
-PropN[num=sg, sem=<\P.(P pataca)>] -> 'Pataca'
-PropN[num=sg, sem=<\P.(P peking)>] -> 'Peking'
-PropN[num=sg, sem=<\P.(P persian_gulf)>] -> 'Persian_Gulf'
-PropN[num=sg, sem=<\P.(P peru)>] -> 'Peru'
-PropN[num=sg, sem=<\P.(P peseta)>] -> 'Peseta'
-PropN[num=sg, sem=<\P.(P peso)>] -> 'Peso'
-PropN[num=sg, sem=<\P.(P peveta)>] -> 'Peveta'
-PropN[num=sg, sem=<\P.(P philadelphia)>] -> 'Philadelphia'
-PropN[num=sg, sem=<\P.(P philippines)>] -> 'Philippines'
-PropN[num=sg, sem=<\P.(P phnom_penh)>] -> 'Phnom_Penh'
-PropN[num=sg, sem=<\P.(P piso)>] -> 'Piso'
-PropN[num=sg, sem=<\P.(P poland)>] -> 'Poland'
-PropN[num=sg, sem=<\P.(P port_au_prince)>] -> 'Port_Au_Prince'
-PropN[num=sg, sem=<\P.(P port_harcourt)>] -> 'Port_Harcourt'
-PropN[num=sg, sem=<\P.(P port_louis)>] -> 'Port_Louis'
-PropN[num=sg, sem=<\P.(P port_of_spain)>] -> 'Port_Of_Spain'
-PropN[num=sg, sem=<\P.(P porto_novo)>] -> 'Porto_Novo'
-PropN[num=sg, sem=<\P.(P portugal)>] -> 'Portugal'
-PropN[num=sg, sem=<\P.(P pound)>] -> 'Pound'
-PropN[num=sg, sem=<\P.(P prague)>] -> 'Prague'
-PropN[num=sg, sem=<\P.(P pretoria)>] -> 'Pretoria'
-PropN[num=sg, sem=<\P.(P pusan)>] -> 'Pusan'
-PropN[num=sg, sem=<\P.(P pvongvang)>] -> 'Pvongvang'
-PropN[num=sg, sem=<\P.(P qatar)>] -> 'Qatar'
-PropN[num=sg, sem=<\P.(P quetzal)>] -> 'Quetzal'
-PropN[num=sg, sem=<\P.(P quezon_city)>] -> 'Quezon_City'
-PropN[num=sg, sem=<\P.(P quito)>] -> 'Quito'
-PropN[num=sg, sem=<\P.(P rabat)>] -> 'Rabat'
-PropN[num=sg, sem=<\P.(P rand)>] -> 'Rand'
-PropN[num=sg, sem=<\P.(P rangoon)>] -> 'Rangoon'
-PropN[num=sg, sem=<\P.(P red_sea)>] -> 'Red_Sea'
-PropN[num=sg, sem=<\P.(P reykjavik)>] -> 'Reykjavik'
-PropN[num=sg, sem=<\P.(P rhine)>] -> 'Rhine'
-PropN[num=sg, sem=<\P.(P rhodesian_dollar)>] -> 'Rhodesian_Dollar'
-PropN[num=sg, sem=<\P.(P rhone)>] -> 'Rhone'
-PropN[num=sg, sem=<\P.(P rial)>] -> 'Rial'
-PropN[num=sg, sem=<\P.(P riel)>] -> 'Riel'
-PropN[num=sg, sem=<\P.(P rio_de_janeiro)>] -> 'Rio_De_Janeiro'
-PropN[num=sg, sem=<\P.(P rio_grande)>] -> 'Rio_Grande'
-PropN[num=sg, sem=<\P.(P riyadh)>] -> 'Riyadh'
-PropN[num=sg, sem=<\P.(P riyal)>] -> 'Riyal'
-PropN[num=sg, sem=<\P.(P riyal_omani)>] -> 'Riyal_Omani'
-PropN[num=sg, sem=<\P.(P romania)>] -> 'Romania'
-PropN[num=sg, sem=<\P.(P rome)>] -> 'Rome'
-PropN[num=sg, sem=<\P.(P ruble)>] -> 'Ruble'
-PropN[num=sg, sem=<\P.(P rupee)>] -> 'Rupee'
-PropN[num=sg, sem=<\P.(P rupiah)>] -> 'Rupiah'
-PropN[num=sg, sem=<\P.(P rwanda)>] -> 'Rwanda'
-PropN[num=sg, sem=<\P.(P rwanda_franc)>] -> 'Rwanda_Franc'
-PropN[num=sg, sem=<\P.(P saigon)>] -> 'Saigon'
-PropN[num=sg, sem=<\P.(P salisbury)>] -> 'Salisbury'
-PropN[num=sg, sem=<\P.(P salween)>] -> 'Salween'
-PropN[num=sg, sem=<\P.(P san_jose)>] -> 'San_Jose'
-PropN[num=sg, sem=<\P.(P san_marino)>] -> 'San_Marino'
-PropN[num=sg, sem=<\P.(P san_salvador)>] -> 'San_Salvador'
-PropN[num=sg, sem=<\P.(P sana)>] -> 'Sana'
-PropN[num=sg, sem=<\P.(P santa_domingo)>] -> 'Santa_Domingo'
-PropN[num=sg, sem=<\P.(P santa_isabel)>] -> 'Santa_Isabel'
-PropN[num=sg, sem=<\P.(P santiago)>] -> 'Santiago'
-PropN[num=sg, sem=<\P.(P sao_paulo)>] -> 'Sao_Paulo'
-PropN[num=sg, sem=<\P.(P saudi_arabia)>] -> 'Saudi_Arabia'
-PropN[num=sg, sem=<\P.(P scandinavia)>] -> 'Scandinavia'
-PropN[num=sg, sem=<\P.(P schilling)>] -> 'Schilling'
-PropN[num=sg, sem=<\P.(P senegal)>] -> 'Senegal'
-PropN[num=sg, sem=<\P.(P senegal_river)>] -> 'Senegal_River'
-PropN[num=sg, sem=<\P.(P seoul)>] -> 'Seoul'
-PropN[num=sg, sem=<\P.(P seychelles)>] -> 'Seychelles'
-PropN[num=sg, sem=<\P.(P shanghai)>] -> 'Shanghai'
-PropN[num=sg, sem=<\P.(P sian)>] -> 'Sian'
-PropN[num=sg, sem=<\P.(P sierra_leone)>] -> 'Sierra_Leone'
-PropN[num=sg, sem=<\P.(P singapore)>] -> 'Singapore'
-PropN[num=sg, sem=<\P.(P singapore_city)>] -> 'Singapore_City'
-PropN[num=sg, sem=<\P.(P singapore_dollar)>] -> 'Singapore_Dollar'
-PropN[num=sg, sem=<\P.(P sofia)>] -> 'Sofia'
-PropN[num=sg, sem=<\P.(P sol)>] -> 'Sol'
-PropN[num=sg, sem=<\P.(P somali_shilling)>] -> 'Somali_Shilling'
-PropN[num=sg, sem=<\P.(P somalia)>] -> 'Somalia'
-PropN[num=sg, sem=<\P.(P south_africa)>] -> 'South_Africa'
-PropN[num=sg, sem=<\P.(P south_african_rand)>] -> 'South_African_Rand'
-PropN[num=sg, sem=<\P.(P south_america)>] -> 'South_America'
-PropN[num=sg, sem=<\P.(P south_korea)>] -> 'South_Korea'
-PropN[num=sg, sem=<\P.(P south_yemen)>] -> 'South_Yemen'
-PropN[num=sg, sem=<\P.(P southeast_east)>] -> 'Southeast_East'
-PropN[num=sg, sem=<\P.(P southern_africa)>] -> 'Southern_Africa'
-PropN[num=sg, sem=<\P.(P southern_europe)>] -> 'Southern_Europe'
-PropN[num=sg, sem=<\P.(P southern_ocean)>] -> 'Southern_Ocean'
-PropN[num=sg, sem=<\P.(P soviet_union)>] -> 'Soviet_Union'
-PropN[num=sg, sem=<\P.(P spain)>] -> 'Spain'
-PropN[num=sg, sem=<\P.(P sri_lanka)>] -> 'Sri_Lanka'
-PropN[num=sg, sem=<\P.(P st_georges)>] -> 'St_Georges'
-PropN[num=sg, sem=<\P.(P stockholm)>] -> 'Stockholm'
-PropN[num=sg, sem=<\P.(P sucre)>] -> 'Sucre'
-PropN[num=sg, sem=<\P.(P sudan)>] -> 'Sudan'
-PropN[num=sg, sem=<\P.(P surinam)>] -> 'Surinam'
-PropN[num=sg, sem=<\P.(P suva)>] -> 'Suva'
-PropN[num=sg, sem=<\P.(P swaziland)>] -> 'Swaziland'
-PropN[num=sg, sem=<\P.(P sweden)>] -> 'Sweden'
-PropN[num=sg, sem=<\P.(P swiss_franc)>] -> 'Swiss_Franc'
-PropN[num=sg, sem=<\P.(P switzerland)>] -> 'Switzerland'
-PropN[num=sg, sem=<\P.(P sydney)>] -> 'Sydney'
-PropN[num=sg, sem=<\P.(P syli)>] -> 'Syli'
-PropN[num=sg, sem=<\P.(P syria)>] -> 'Syria'
-PropN[num=sg, sem=<\P.(P syrian_pound)>] -> 'Syrian_Pound'
-PropN[num=sg, sem=<\P.(P tagus)>] -> 'Tagus'
-PropN[num=sg, sem=<\P.(P taipei)>] -> 'Taipei'
-PropN[num=sg, sem=<\P.(P taiwan)>] -> 'Taiwan'
-PropN[num=sg, sem=<\P.(P taiwan_dollar)>] -> 'Taiwan_Dollar'
-PropN[num=sg, sem=<\P.(P taka)>] -> 'Taka'
-PropN[num=sg, sem=<\P.(P tala)>] -> 'Tala'
-PropN[num=sg, sem=<\P.(P tananarive)>] -> 'Tananarive'
-PropN[num=sg, sem=<\P.(P tanzania)>] -> 'Tanzania'
-PropN[num=sg, sem=<\P.(P tanzanian_shilling)>] -> 'Tanzanian_Shilling'
-PropN[num=sg, sem=<\P.(P tegucigalpa)>] -> 'Tegucigalpa'
-PropN[num=sg, sem=<\P.(P tehran)>] -> 'Tehran'
-PropN[num=sg, sem=<\P.(P thailand)>] -> 'Thailand'
-PropN[num=sg, sem=<\P.(P thimphu)>] -> 'Thimphu'
-PropN[num=sg, sem=<\P.(P tientsin)>] -> 'Tientsin'
-PropN[num=sg, sem=<\P.(P tighrik)>] -> 'Tighrik'
-PropN[num=sg, sem=<\P.(P tirana)>] -> 'Tirana'
-PropN[num=sg, sem=<\P.(P togo)>] -> 'Togo'
-PropN[num=sg, sem=<\P.(P tokyo)>] -> 'Tokyo'
-PropN[num=sg, sem=<\P.(P tonga)>] -> 'Tonga'
-PropN[num=sg, sem=<\P.(P toronto)>] -> 'Toronto'
-PropN[num=sg, sem=<\P.(P trinidad_and_tobago)>] -> 'Trinidad_And_Tobago'
-PropN[num=sg, sem=<\P.(P trinidad_and_tobago_dollar)>] -> 'Trinidad_And_Tobago_Dollar'
-PropN[num=sg, sem=<\P.(P tripoli)>] -> 'Tripoli'
-PropN[num=sg, sem=<\P.(P tropic_of_cancer)>] -> 'Tropic_Of_Cancer'
-PropN[num=sg, sem=<\P.(P tropic_of_capricorn)>] -> 'Tropic_Of_Capricorn'
-PropN[num=sg, sem=<\P.(P tunis)>] -> 'Tunis'
-PropN[num=sg, sem=<\P.(P tunisia)>] -> 'Tunisia'
-PropN[num=sg, sem=<\P.(P turkey)>] -> 'Turkey'
-PropN[num=sg, sem=<\P.(P uganda)>] -> 'Uganda'
-PropN[num=sg, sem=<\P.(P uganda_shilling)>] -> 'Uganda_Shilling'
-PropN[num=sg, sem=<\P.(P ulan_bator)>] -> 'Ulan_Bator'
-PropN[num=sg, sem=<\P.(P united_arab_emirates)>] -> 'United_Arab_Emirates'
-PropN[num=sg, sem=<\P.(P united_kingdom)>] -> 'United_Kingdom'
-PropN[num=sg, sem=<\P.(P united_states)>] -> 'United_States'
-PropN[num=sg, sem=<\P.(P upper_volta)>] -> 'Upper_Volta'
-PropN[num=sg, sem=<\P.(P uruguay)>] -> 'Uruguay'
-PropN[num=sg, sem=<\P.(P us_dollar)>] -> 'Us_Dollar'
-PropN[num=sg, sem=<\P.(P vaduz)>] -> 'Vaduz'
-PropN[num=sg, sem=<\P.(P valetta)>] -> 'Valetta'
-PropN[num=sg, sem=<\P.(P venezuela)>] -> 'Venezuela'
-PropN[num=sg, sem=<\P.(P victoria)>] -> 'Victoria'
-PropN[num=sg, sem=<\P.(P vienna)>] -> 'Vienna'
-PropN[num=sg, sem=<\P.(P vientiane)>] -> 'Vientiane'
-PropN[num=sg, sem=<\P.(P vietnam)>] -> 'Vietnam'
-PropN[num=sg, sem=<\P.(P vistula)>] -> 'Vistula'
-PropN[num=sg, sem=<\P.(P volga)>] -> 'Volga'
-PropN[num=sg, sem=<\P.(P volta)>] -> 'Volta'
-PropN[num=sg, sem=<\P.(P warsaw)>] -> 'Warsaw'
-PropN[num=sg, sem=<\P.(P washington)>] -> 'Washington'
-PropN[num=sg, sem=<\P.(P wellington)>] -> 'Wellington'
-PropN[num=sg, sem=<\P.(P west_africa)>] -> 'West_Africa'
-PropN[num=sg, sem=<\P.(P west_germany)>] -> 'West_Germany'
-PropN[num=sg, sem=<\P.(P western_europe)>] -> 'Western_Europe'
-PropN[num=sg, sem=<\P.(P western_samoa)>] -> 'Western_Samoa'
-PropN[num=sg, sem=<\P.(P won)>] -> 'Won'
-PropN[num=sg, sem=<\P.(P yangtze)>] -> 'Yangtze'
-PropN[num=sg, sem=<\P.(P yaounde)>] -> 'Yaounde'
-PropN[num=sg, sem=<\P.(P yemen)>] -> 'Yemen'
-PropN[num=sg, sem=<\P.(P yen)>] -> 'Yen'
-PropN[num=sg, sem=<\P.(P yenisei)>] -> 'Yenisei'
-PropN[num=sg, sem=<\P.(P yokohama)>] -> 'Yokohama'
-PropN[num=sg, sem=<\P.(P yuan)>] -> 'Yuan'
-PropN[num=sg, sem=<\P.(P yugoslavia)>] -> 'Yugoslavia'
-PropN[num=sg, sem=<\P.(P yukon)>] -> 'Yukon'
-PropN[num=sg, sem=<\P.(P zaire)>] -> 'Zaire'
-PropN[num=sg, sem=<\P.(P zambesi)>] -> 'Zambesi'
-PropN[num=sg, sem=<\P.(P zambia)>] -> 'Zambia'
-PropN[num=sg, sem=<\P.(P zimbabwe)>] -> 'Zimbabwe'
-PropN[num=sg, sem=<\P.(P zloty)>] -> 'Zloty'
-PropN[num=sg, sem=<\P.(P zomba)>] -> 'Zomba'
diff --git a/examples/semantics/chat_sentences b/examples/semantics/chat_sentences
deleted file mode 100644
index a6822c4..0000000
--- a/examples/semantics/chat_sentences
+++ /dev/null
@@ -1,17 +0,0 @@
-# Natural Language Toolkit: Demo Sentences
-#
-# Author: Ewan Klein <ewan at inf.ed.ac.uk>
-# URL: <http://nltk.org/>
-# For license information, see LICENSE.TXT
-############################################
-# Some example sentences for the Chat-80 demo
-
-what is the capital of France
-which sea borders France
-what contains Berlin
-which Asian countries border the_Mediterranean
-
-
-
-
-
diff --git a/examples/semantics/demo_sentences b/examples/semantics/demo_sentences
deleted file mode 100644
index 0ec465f..0000000
--- a/examples/semantics/demo_sentences
+++ /dev/null
@@ -1,14 +0,0 @@
-# Natural Language Toolkit: Demo Sentences
-#
-# Author: Ewan Klein <ewan at inf.ed.ac.uk>
-# URL: <http://nltk.org/>
-# For license information, see LICENSE.TXT
-############################################
-# Some example sentences for the sem2.cfg demo
-
-Fido sees a boy with Mary
-John sees Mary
-every girl chases a dog
-every boy chases a girl
-John walks with a girl in Noosa
-who walks
diff --git a/examples/semantics/model0.py b/examples/semantics/model0.py
deleted file mode 100644
index ef73e44..0000000
--- a/examples/semantics/model0.py
+++ /dev/null
@@ -1,44 +0,0 @@
-# Natural Language Toolkit: Example Model
-#
-# Author: Ewan Klein <ewan at inf.ed.ac.uk>
-# URL: <http://nltk.org/>
-# For license information, see LICENSE.TXT
-
-"""
-This is a sample model to accompany the U{sem2.cfg} grammar, and is
-intended to be imported as a module.
-"""
-
-from nltk.sem import *
-
-#Initialize a valuation of non-logical constants."""
-
-v = [
- ('john', 'b1'),
- ('mary', 'g1'),
- ('suzie', 'g2'),
- ('fido', 'd1'),
- ('tess', 'd2'),
- ('noosa', 'n'),
- ('girl', set(['g1', 'g2'])),
- ('boy', set(['b1', 'b2'])),
- ('dog', set(['d1', 'd2'])),
- ('bark', set(['d1', 'd2'])),
- ('walk', set(['b1', 'g2', 'd1'])),
- ('chase', set([('b1', 'g1'), ('b2', 'g1'), ('g1', 'd1'), ('g2', 'd2')])),
- ('see', set([('b1', 'g1'), ('b2', 'd2'), ('g1', 'b1'),('d2', 'b1'), ('g2', 'n')])),
- ('in', set([('b1', 'n'), ('b2', 'n'), ('d2', 'n')])),
- ('with', set([('b1', 'g1'), ('g1', 'b1'), ('d1', 'b1'), ('b1', 'd1')]))
-]
-
-#Read in the data from C{v}
-val = Valuation(v)
-
-#Bind C{dom} to the C{domain} property of C{val}
-dom = val.domain
-
-#Initialize a model with parameters C{dom} and C{val}.
-m = Model(dom, val)
-
-#Initialize a variable assignment with parameter C{dom}
-g = Assignment(dom)
diff --git a/examples/semantics/model1.py b/examples/semantics/model1.py
deleted file mode 100644
index 3bef075..0000000
--- a/examples/semantics/model1.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# Natural Language Toolkit: Example Model
-#
-# Author: Ewan Klein <ewan at inf.ed.ac.uk>
-# URL: <http://nltk.org/>
-# For license information, see LICENSE.TXT
-
-"""
-This is a sample model to accompany the U{chat80.cfg} grammar} and is
-intended to be imported as a module.
-"""
-
-from nltk.semantics import *
-from nltk.corpora import chat80
-
-rels = chat80.rels
-concept_map = chat80.process_bundle(rels)
-concepts = concept_map.values()
-val = chat80.make_valuation(concepts, read=True)
-
-#Bind C{dom} to the C{domain} property of C{val}.
-dom = val.domain
-
-#Initialize a model with parameters C{dom} and C{val}.
-m = Model(dom, val)
-
-#Initialize a variable assignment with parameter C{dom}.
-g = Assignment(dom)
diff --git a/examples/semantics/sem0.cfg b/examples/semantics/sem0.cfg
deleted file mode 100644
index 5bba6a4..0000000
--- a/examples/semantics/sem0.cfg
+++ /dev/null
@@ -1,14 +0,0 @@
-## Natural Language Toolkit: sem0.cfg
-##
-## Minimal feature-based grammar with lambda semantics.
-##
-## Author: Ewan Klein <ewan at inf.ed.ac.uk>
-## URL: <http://nltk.sourceforge.net>
-## For license information, see LICENSE.TXT
-
-% start S
-
-S[sem = <app(?vp,?subj)>] -> NP[sem=?subj] VP[sem=?vp]
-VP[sem=?v] -> V[sem=?v]
-NP[sem=<john>] -> 'John'
-V[sem=<\x.(walk x)>] -> 'walks'
diff --git a/examples/semantics/sem1.cfg b/examples/semantics/sem1.cfg
deleted file mode 100644
index 2046ebe..0000000
--- a/examples/semantics/sem1.cfg
+++ /dev/null
@@ -1,18 +0,0 @@
-## Natural Language Toolkit: sem1.cfg
-##
-## Minimal feature-based grammar to illustrate the interpretation of
-## determiner phrases.
-##
-## Author: Ewan Klein <ewan at inf.ed.ac.uk>
-## URL: <http://nltk.sourceforge.net>
-## For license information, see LICENSE.TXT
-
-% start S
-
-S[sem = <app(?subj,?vp)>] -> NP[sem=?subj] VP[sem=?vp]
-VP[sem=?v] -> IV[sem=?v]
-NP[sem=<app(?det,?n)>] -> Det[sem=?det] N[sem=?n]
-
-Det[sem=<\Q P. some x. ((Q x) and (P x))>] -> 'a'
-N[sem=<dog>] -> 'dog'
-IV[sem=<\x.(bark x)>] -> 'barks'
diff --git a/examples/semantics/sem2.cfg b/examples/semantics/sem2.cfg
deleted file mode 100644
index 6c00352..0000000
--- a/examples/semantics/sem2.cfg
+++ /dev/null
@@ -1,68 +0,0 @@
-## Natural Language Toolkit: sem2.cfg
-##
-## Longer feature-based grammar with more quantifers, and illustrating
-## transitive verbs and prepositional phrases (PPs). The
-## interpretation of PPs is a bit weird and could do with further
-## work.
-##
-## Author: Ewan Klein <ewan at inf.ed.ac.uk>
-## URL: <http://nltk.sourceforge.net>
-## For license information, see LICENSE.TXT
-
-% start S
-############################
-# Grammar Rules
-#############################
-
-S[sem = <app(?subj,?vp)>] -> NP[num=?n,sem=?subj] VP[num=?n,sem=?vp]
-
-NP[num=?n,sem=<app(?det,?nom)> ] -> Det[num=?n,sem=?det] Nom[num=?n,sem=?nom]
-NP[loc=?l,num=?n,sem=?np] -> PropN[loc=?l,num=?n,sem=?np]
-
-Nom[num=?n,sem=?nom] -> N[num=?n,sem=?nom]
-Nom[num=?n,sem=<app(?pp,?nom)>] -> N[num=?n,sem=?nom] PP[sem=?pp]
-
-VP[num=?n,sem=<app(?v,?obj)>] -> TV[num=?n,sem=?v] NP[sem=?obj]
-VP[num=?n,sem=?v] -> IV[num=?n,sem=?v]
-
-VP[num=?n,sem=<app(?pp,?vp)>] -> VP[num=?n,sem=?vp] PP[sem=?pp]
-
-PP[sem=<app(?p,?np)>] -> P[loc=?l,sem=?p] NP[loc=?l,sem=?np]
-
-#############################
-# Lexical Rules
-#############################
-
-PropN[-loc,num=sg,sem=<\P.(P john)>] -> 'John'
-PropN[-loc,num=sg,sem=<\P.(P mary)>] -> 'Mary'
-PropN[-loc,num=sg,sem=<\P.(P suzie)>] -> 'Suzie'
-PropN[-loc,num=sg,sem=<\P.(P fido)>] -> 'Fido'
-PropN[+loc, num=sg,sem=<\P.(P noosa)>] -> 'Noosa'
-
-NP[-loc, num=sg, sem=<\P.\x.(P x)>] -> 'who'
-
-Det[num=sg,sem=<\P Q. all x. ((P x) implies (Q x))>] -> 'every'
-Det[num=pl,sem=<\P Q. all x. ((P x) implies (Q x))>] -> 'all'
-Det[sem=<\P Q. some x. ((P x) and (Q x))>] -> 'some'
-Det[num=sg,sem=<\P Q. some x. ((P x) and (Q x))>] -> 'a'
-
-N[num=sg,sem=<boy>] -> 'boy'
-N[num=pl,sem=<boy>] -> 'boys'
-N[num=sg,sem=<girl>] -> 'girl'
-N[num=pl,sem=<girl>] -> 'girls'
-N[num=sg,sem=<dog>] -> 'dog'
-N[num=pl,sem=<dog>] -> 'dogs'
-
-TV[num=sg,sem=<\X y. (X \x. (chase x y))>,tns=pres] -> 'chases'
-TV[num=pl,sem=<\X y. (X \x. (chase x y))>,tns=pres] -> 'chase'
-TV[num=sg,sem=<\X y. (X \x. (see x y))>,tns=pres] -> 'sees'
-TV[num=pl,sem=<\X y. (X \x. (see x y))>,tns=pres] -> 'see'
-TV[num=sg,sem=<\X y. (X \x. (chase x y))>,tns=pres] -> 'chases'
-TV[num=pl,sem=<\X y. (X \x. (chase x y))>,tns=pres] -> 'chase'
-IV[num=sg,sem=<\x. (bark x)>,tns=pres] -> 'barks'
-IV[num=pl,sem=<\x. (bark x)>,tns=pres] -> 'bark'
-IV[num=sg,sem=<\x. (walk x)>,tns=pres] -> 'walks'
-IV[num=pl,sem=<\x. (walk x)>,tns=pres] -> 'walk'
-
-P[+loc,sem=<\X P x. (X \y. ((P x) and (in y x)))>] -> 'in'
-P[-loc,sem=<\X P x. (X \y. ((P x) and (with y x)))>] -> 'with'
diff --git a/examples/semantics/sem3.cfg b/examples/semantics/sem3.cfg
deleted file mode 100644
index ce55962..0000000
--- a/examples/semantics/sem3.cfg
+++ /dev/null
@@ -1,17 +0,0 @@
-## Natural Language Toolkit: sem3.cfg
-##
-## First attempt at HPSG-style feature-based semantics.
-## This version doesn't work properly!
-##
-## Author: Ewan Klein <ewan at inf.ed.ac.uk>
-## URL: <http://nltk.sourceforge.net>
-## For license information, see LICENSE.TXT
-
-% start S
-
-S[sem=?vp] -> NP[sem=?np] VP[subj=?np, sem=?vp]
-VP[sem=?v, subj=?np] -> IV[sem=?v, subj=?np]
-NP[sem=[index='k',name='kim']] -> 'Kim'
-IV[sem=[rel='bark', arg=?i], subj=[sem=[index=?i]]] -> 'barks'
-#IV[fsem=[rel='bark', arg=(1)[]], subj=[fsem=[index->(1)]]] -> 'barks'
-
diff --git a/examples/semantics/syn2sem.py b/examples/semantics/syn2sem.py
deleted file mode 100644
index cf93a88..0000000
--- a/examples/semantics/syn2sem.py
+++ /dev/null
@@ -1,118 +0,0 @@
-# Natural Language Toolkit: Parsers
-#
-# Author: Ewan Klein <ewan at inf.ed.ac.uk>
-# URL: <http://nltk.org/>
-# For license information, see LICENSE.TXT
-
-from __future__ import print_function
-
-"""
-Demo of how to combine the output of parsing with evaluation in a model.
-Use 'python syn2sem.py -h' to find out the various options.
-
-Note that this demo currently processes the whole input file
-before delivering any results, consequently there may be a significant initial delay.
-"""
-
-from nltk.semantics import *
-
-
-def read_sents(file):
- sents = [l.rstrip() for l in open(file)]
- # get rid of blank lines
- sents = [l for l in sents if len(l) > 0]
- sents = [l for l in sents if not l[0] == '#']
- return sents
-
-def demo():
- import sys
- from optparse import OptionParser
- description = \
- """
-Parse and evaluate some sentences.
- """
-
- opts = OptionParser(description=description)
-
- opts.set_defaults(evaluate=True, beta=True, syntrace=0,
- semtrace=0, demo='default', grammar='', sentences='')
-
- opts.add_option("-d", "--demo", dest="demo",
- help="choose demo D; omit this for the default demo, or specify 'chat80'", metavar="D")
- opts.add_option("-g", "--gram", dest="grammar",
- help="read in grammar G", metavar="G")
- opts.add_option("-m", "--model", dest="model",
- help="import model M (omit '.py' suffix)", metavar="M")
- opts.add_option("-s", "--sentences", dest="sentences",
- help="read in a file of test sentences S", metavar="S")
- opts.add_option("-e", "--no-eval", action="store_false", dest="evaluate",
- help="just do a syntactic analysis")
- opts.add_option("-b", "--no-beta-reduction", action="store_false",
- dest="beta", help="don't carry out beta-reduction")
- opts.add_option("-t", "--syntrace", action="count", dest="syntrace",
- help="set syntactic tracing on; requires '-e' option")
- opts.add_option("-T", "--semtrace", action="count", dest="semtrace",
- help="set semantic tracing on")
-
-
-
- (options, args) = opts.parse_args()
-
- SPACER = '-' * 30
-
-
-
- if options.demo == 'chat80':
- import model1 as model
- sentsfile = 'chat_sentences'
- gramfile = 'chat80.cfg'
- else:
- import model0 as model
- sentsfile = 'demo_sentences'
- gramfile = 'sem2.cfg'
-
- if options.sentences:
- sentsfile = options.sentences
- if options.grammar:
- gramfile = options.grammar
- if options.model:
- exec "import %s as model" % options.model
-
- sents = read_sents(sentsfile)
-
- # NB. GrammarFile is imported indirectly via nltk.semantics
- gram = GrammarFile.read_file(gramfile)
-
- m = model.m
- g = model.g
-
- if options.evaluate:
- evaluations = \
- text_evaluate(sents, gram, m, g, semtrace=options.semtrace)
- else:
- semreps = \
- text_interpret(sents, gram, beta_reduce=options.beta, syntrace=options.syntrace)
-
- for sent in sents:
- n = 1
- print('\nSentence: %s' % sent)
- print(SPACER)
- if options.evaluate:
-
- for (syntree, semrep, value) in evaluations[sent]:
- if isinstance(value, dict):
- value = set(value.keys())
- print('%d: %s' % (n, semrep.infixify()))
- print(value)
- n += 1
- else:
-
- for (syntree, semrep) in semreps[sent]:
- print('%d: %s' % (n, semrep.infixify()))
- n += 1
-
-if __name__ == "__main__":
- demo()
-
-
-
diff --git a/jenkins-job-config.xml b/jenkins-job-config.xml
deleted file mode 100644
index d9d4119..0000000
--- a/jenkins-job-config.xml
+++ /dev/null
@@ -1,342 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<matrix-project>
- <actions/>
- <description></description>
- <keepDependencies>false</keepDependencies>
- <properties>
- <com.coravy.hudson.plugins.github.GithubProjectProperty plugin="github at 1.4">
- <projectUrl>https://github.com/nltk/nltk/</projectUrl>
- </com.coravy.hudson.plugins.github.GithubProjectProperty>
- </properties>
- <scm class="hudson.plugins.git.GitSCM" plugin="git at 1.1.26">
- <configVersion>2</configVersion>
- <userRemoteConfigs>
- <hudson.plugins.git.UserRemoteConfig>
- <name></name>
- <refspec></refspec>
- <url>git://github.com/nltk/nltk.git</url>
- </hudson.plugins.git.UserRemoteConfig>
- </userRemoteConfigs>
- <branches>
- <hudson.plugins.git.BranchSpec>
- <name>origin/develop</name>
- </hudson.plugins.git.BranchSpec>
- </branches>
- <disableSubmodules>false</disableSubmodules>
- <recursiveSubmodules>false</recursiveSubmodules>
- <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
- <authorOrCommitter>false</authorOrCommitter>
- <clean>false</clean>
- <wipeOutWorkspace>false</wipeOutWorkspace>
- <pruneBranches>false</pruneBranches>
- <remotePoll>false</remotePoll>
- <ignoreNotifyCommit>false</ignoreNotifyCommit>
- <useShallowClone>false</useShallowClone>
- <buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
- <gitTool>Default</gitTool>
- <submoduleCfg class="list"/>
- <relativeTargetDir></relativeTargetDir>
- <reference></reference>
- <excludedRegions></excludedRegions>
- <excludedUsers></excludedUsers>
- <gitConfigName></gitConfigName>
- <gitConfigEmail></gitConfigEmail>
- <skipTag>false</skipTag>
- <includedRegions></includedRegions>
- <scmName></scmName>
- </scm>
- <canRoam>true</canRoam>
- <disabled>false</disabled>
- <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
- <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
- <triggers class="vector">
- <com.cloudbees.jenkins.GitHubPushTrigger plugin="github at 1.4">
- <spec></spec>
- </com.cloudbees.jenkins.GitHubPushTrigger>
- <hudson.triggers.SCMTrigger>
- <spec>H/5 * * * *</spec>
- <ignorePostCommitHooks>false</ignorePostCommitHooks>
- </hudson.triggers.SCMTrigger>
- </triggers>
- <concurrentBuild>false</concurrentBuild>
- <axes>
- <jenkins.plugins.shiningpanda.matrix.ToxAxis plugin="shiningpanda at 0.16">
- <name>TOXENV</name>
- <values>
- <string>py26-jenkins</string>
- <string>py32-jenkins</string>
- </values>
- </jenkins.plugins.shiningpanda.matrix.ToxAxis>
- </axes>
- <builders>
- <jenkins.plugins.shiningpanda.builders.ToxBuilder plugin="shiningpanda at 0.16">
- <toxIni>tox.ini</toxIni>
- <recreate>false</recreate>
- </jenkins.plugins.shiningpanda.builders.ToxBuilder>
- </builders>
- <publishers>
- <hudson.plugins.cobertura.CoberturaPublisher plugin="cobertura at 1.7.1">
- <coberturaReportFile>**/coverage.xml</coberturaReportFile>
- <onlyStable>false</onlyStable>
- <failUnhealthy>false</failUnhealthy>
- <failUnstable>false</failUnstable>
- <autoUpdateHealth>false</autoUpdateHealth>
- <autoUpdateStability>false</autoUpdateStability>
- <healthyTarget>
- <targets class="enum-map" enum-type="hudson.plugins.cobertura.targets.CoverageMetric">
- <entry>
- <hudson.plugins.cobertura.targets.CoverageMetric>CONDITIONAL</hudson.plugins.cobertura.targets.CoverageMetric>
- <int>7000000</int>
- </entry>
- <entry>
- <hudson.plugins.cobertura.targets.CoverageMetric>LINE</hudson.plugins.cobertura.targets.CoverageMetric>
- <int>8000000</int>
- </entry>
- <entry>
- <hudson.plugins.cobertura.targets.CoverageMetric>METHOD</hudson.plugins.cobertura.targets.CoverageMetric>
- <int>8000000</int>
- </entry>
- </targets>
- </healthyTarget>
- <unhealthyTarget>
- <targets class="enum-map" enum-type="hudson.plugins.cobertura.targets.CoverageMetric">
- <entry>
- <hudson.plugins.cobertura.targets.CoverageMetric>CONDITIONAL</hudson.plugins.cobertura.targets.CoverageMetric>
- <int>0</int>
- </entry>
- <entry>
- <hudson.plugins.cobertura.targets.CoverageMetric>LINE</hudson.plugins.cobertura.targets.CoverageMetric>
- <int>0</int>
- </entry>
- <entry>
- <hudson.plugins.cobertura.targets.CoverageMetric>METHOD</hudson.plugins.cobertura.targets.CoverageMetric>
- <int>0</int>
- </entry>
- </targets>
- </unhealthyTarget>
- <failingTarget>
- <targets class="enum-map" enum-type="hudson.plugins.cobertura.targets.CoverageMetric">
- <entry>
- <hudson.plugins.cobertura.targets.CoverageMetric>CONDITIONAL</hudson.plugins.cobertura.targets.CoverageMetric>
- <int>0</int>
- </entry>
- <entry>
- <hudson.plugins.cobertura.targets.CoverageMetric>LINE</hudson.plugins.cobertura.targets.CoverageMetric>
- <int>0</int>
- </entry>
- <entry>
- <hudson.plugins.cobertura.targets.CoverageMetric>METHOD</hudson.plugins.cobertura.targets.CoverageMetric>
- <int>0</int>
- </entry>
- </targets>
- </failingTarget>
- <sourceEncoding>ASCII</sourceEncoding>
- </hudson.plugins.cobertura.CoberturaPublisher>
- <hudson.tasks.junit.JUnitResultArchiver>
- <testResults>**/nosetests_scrubbed.xml</testResults>
- <keepLongStdio>false</keepLongStdio>
- <testDataPublishers/>
- </hudson.tasks.junit.JUnitResultArchiver>
- <hudson.plugins.violations.ViolationsPublisher plugin="violations at 0.7.11">
- <config>
- <suppressions class="tree-set">
- <no-comparator/>
- </suppressions>
- <typeConfigs>
- <no-comparator/>
- <entry>
- <string>checkstyle</string>
- <hudson.plugins.violations.TypeConfig>
- <type>checkstyle</type>
- <min>10</min>
- <max>999</max>
- <unstable>999</unstable>
- <usePattern>false</usePattern>
- <pattern></pattern>
- </hudson.plugins.violations.TypeConfig>
- </entry>
- <entry>
- <string>codenarc</string>
- <hudson.plugins.violations.TypeConfig>
- <type>codenarc</type>
- <min>10</min>
- <max>999</max>
- <unstable>999</unstable>
- <usePattern>false</usePattern>
- <pattern></pattern>
- </hudson.plugins.violations.TypeConfig>
- </entry>
- <entry>
- <string>cpd</string>
- <hudson.plugins.violations.TypeConfig>
- <type>cpd</type>
- <min>10</min>
- <max>999</max>
- <unstable>999</unstable>
- <usePattern>false</usePattern>
- <pattern></pattern>
- </hudson.plugins.violations.TypeConfig>
- </entry>
- <entry>
- <string>cpplint</string>
- <hudson.plugins.violations.TypeConfig>
- <type>cpplint</type>
- <min>10</min>
- <max>999</max>
- <unstable>999</unstable>
- <usePattern>false</usePattern>
- <pattern></pattern>
- </hudson.plugins.violations.TypeConfig>
- </entry>
- <entry>
- <string>csslint</string>
- <hudson.plugins.violations.TypeConfig>
- <type>csslint</type>
- <min>10</min>
- <max>999</max>
- <unstable>999</unstable>
- <usePattern>false</usePattern>
- <pattern></pattern>
- </hudson.plugins.violations.TypeConfig>
- </entry>
- <entry>
- <string>findbugs</string>
- <hudson.plugins.violations.TypeConfig>
- <type>findbugs</type>
- <min>10</min>
- <max>999</max>
- <unstable>999</unstable>
- <usePattern>false</usePattern>
- <pattern></pattern>
- </hudson.plugins.violations.TypeConfig>
- </entry>
- <entry>
- <string>fxcop</string>
- <hudson.plugins.violations.TypeConfig>
- <type>fxcop</type>
- <min>10</min>
- <max>999</max>
- <unstable>999</unstable>
- <usePattern>false</usePattern>
- <pattern></pattern>
- </hudson.plugins.violations.TypeConfig>
- </entry>
- <entry>
- <string>gendarme</string>
- <hudson.plugins.violations.TypeConfig>
- <type>gendarme</type>
- <min>10</min>
- <max>999</max>
- <unstable>999</unstable>
- <usePattern>false</usePattern>
- <pattern></pattern>
- </hudson.plugins.violations.TypeConfig>
- </entry>
- <entry>
- <string>jcreport</string>
- <hudson.plugins.violations.TypeConfig>
- <type>jcreport</type>
- <min>10</min>
- <max>999</max>
- <unstable>999</unstable>
- <usePattern>false</usePattern>
- <pattern></pattern>
- </hudson.plugins.violations.TypeConfig>
- </entry>
- <entry>
- <string>jslint</string>
- <hudson.plugins.violations.TypeConfig>
- <type>jslint</type>
- <min>10</min>
- <max>999</max>
- <unstable>999</unstable>
- <usePattern>false</usePattern>
- <pattern></pattern>
- </hudson.plugins.violations.TypeConfig>
- </entry>
- <entry>
- <string>pep8</string>
- <hudson.plugins.violations.TypeConfig>
- <type>pep8</type>
- <min>10</min>
- <max>999</max>
- <unstable>999</unstable>
- <usePattern>false</usePattern>
- <pattern></pattern>
- </hudson.plugins.violations.TypeConfig>
- </entry>
- <entry>
- <string>perlcritic</string>
- <hudson.plugins.violations.TypeConfig>
- <type>perlcritic</type>
- <min>10</min>
- <max>999</max>
- <unstable>999</unstable>
- <usePattern>false</usePattern>
- <pattern></pattern>
- </hudson.plugins.violations.TypeConfig>
- </entry>
- <entry>
- <string>pmd</string>
- <hudson.plugins.violations.TypeConfig>
- <type>pmd</type>
- <min>10</min>
- <max>999</max>
- <unstable>999</unstable>
- <usePattern>false</usePattern>
- <pattern></pattern>
- </hudson.plugins.violations.TypeConfig>
- </entry>
- <entry>
- <string>pylint</string>
- <hudson.plugins.violations.TypeConfig>
- <type>pylint</type>
- <min>10</min>
- <max>999</max>
- <unstable>999</unstable>
- <usePattern>false</usePattern>
- <pattern>**/pylintoutput</pattern>
- </hudson.plugins.violations.TypeConfig>
- </entry>
- <entry>
- <string>simian</string>
- <hudson.plugins.violations.TypeConfig>
- <type>simian</type>
- <min>10</min>
- <max>999</max>
- <unstable>999</unstable>
- <usePattern>false</usePattern>
- <pattern></pattern>
- </hudson.plugins.violations.TypeConfig>
- </entry>
- <entry>
- <string>stylecop</string>
- <hudson.plugins.violations.TypeConfig>
- <type>stylecop</type>
- <min>10</min>
- <max>999</max>
- <unstable>999</unstable>
- <usePattern>false</usePattern>
- <pattern></pattern>
- </hudson.plugins.violations.TypeConfig>
- </entry>
- </typeConfigs>
- <limit>100</limit>
- <sourcePathPattern></sourcePathPattern>
- <fauxProjectPath></fauxProjectPath>
- <encoding>default</encoding>
- </config>
- </hudson.plugins.violations.ViolationsPublisher>
- </publishers>
- <buildWrappers>
- <EnvInjectBuildWrapper plugin="envinject at 1.73">
- <info>
- <propertiesContent>PATH=/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin</propertiesContent>
- <loadFilesFromMaster>false</loadFilesFromMaster>
- </info>
- </EnvInjectBuildWrapper>
- </buildWrappers>
- <executionStrategy class="hudson.matrix.DefaultMatrixExecutionStrategyImpl">
- <runSequentially>false</runSequentially>
- </executionStrategy>
-</matrix-project>
diff --git a/jenkins.sh b/jenkins.sh
deleted file mode 100755
index 8902591..0000000
--- a/jenkins.sh
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/usr/bin/bash
-
-cd `dirname $0`
-
-#download nltk data packages
-python -c "import nltk; nltk.download('all')" || echo "NLTK data download failed: $?"
-
-#download nltk python dependencies
-pip install --upgrade -r pip-req.txt --allow-external matplotlib --allow-unverified matplotlib
-
-#download external dependencies
-pushd ${HOME}
-[[ ! -d 'third' ]] && mkdir 'third'
-pushd 'third'
-
-#download nltk stanford dependencies
-stanford_parser_package_zip_name=$(curl -s 'http://nlp.stanford.edu/software/lex-parser.shtml' | grep -o 'stanford-parser-full-.*\.zip' | head -n1)
-[[ ${stanford_parser_package_zip_name} =~ (.+)\.zip ]]
-stanford_parser_package_name=${BASH_REMATCH[1]}
-if [[ ! -d ${stanford_parser_package_name} ]]; then
- wget -nv "http://nlp.stanford.edu/software/$stanford_parser_package_zip_name"
- unzip ${stanford_parser_package_zip_name}
- rm ${stanford_parser_package_zip_name}
- ln -s ${stanford_parser_package_name} 'stanford-parser'
-fi
-
-stanford_tagger_package_zip_name=$(curl -s 'http://nlp.stanford.edu/downloads/tagger.shtml' | grep -o 'stanford-postagger-full-.*\.zip' | head -n1)
-[[ ${stanford_tagger_package_zip_name} =~ (.+)\.zip ]]
-stanford_tagger_package_name=${BASH_REMATCH[1]}
-if [[ ! -d ${stanford_tagger_package_name} ]]; then
- wget -nv "http://nlp.stanford.edu/software/$stanford_tagger_package_zip_name"
- unzip ${stanford_tagger_package_zip_name}
- rm ${stanford_tagger_package_zip_name}
- ln -s ${stanford_tagger_package_name} 'stanford-postagger'
-fi
-
-popd
-popd
-
-#coverage
-coverage erase
-coverage run --source=nltk nltk/test/runtests.py --with-xunit
-coverage xml --omit=nltk/test/*
-iconv -c -f utf-8 -t utf-8 nosetests.xml > nosetests_scrubbed.xml
-pylint -f parseable nltk > pylintoutput
-
-#script always succeeds
-true
diff --git a/nltk.egg-info/PKG-INFO b/nltk.egg-info/PKG-INFO
new file mode 100644
index 0000000..f55bd18
--- /dev/null
+++ b/nltk.egg-info/PKG-INFO
@@ -0,0 +1,33 @@
+Metadata-Version: 1.1
+Name: nltk
+Version: 3.0.0
+Summary: Natural Language Toolkit
+Home-page: http://nltk.org/
+Author: Steven Bird
+Author-email: stevenbird1 at gmail.com
+License: Apache License, Version 2.0
+Description: The Natural Language Toolkit (NLTK) is a Python package for
+ natural language processing. NLTK requires Python 2.6, 2.7, or 3.2+.
+Keywords: NLP,CL,natural language processing,computational linguistics,parsing,tagging,tokenizing,syntax,linguistics,language,natural language,text analytics
+Platform: UNKNOWN
+Classifier: Development Status :: 5 - Production/Stable
+Classifier: Intended Audience :: Developers
+Classifier: Intended Audience :: Education
+Classifier: Intended Audience :: Information Technology
+Classifier: Intended Audience :: Science/Research
+Classifier: License :: OSI Approved :: Apache Software License
+Classifier: Operating System :: OS Independent
+Classifier: Programming Language :: Python :: 2.6
+Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3.2
+Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Topic :: Scientific/Engineering
+Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
+Classifier: Topic :: Scientific/Engineering :: Human Machine Interfaces
+Classifier: Topic :: Scientific/Engineering :: Information Analysis
+Classifier: Topic :: Text Processing
+Classifier: Topic :: Text Processing :: Filters
+Classifier: Topic :: Text Processing :: General
+Classifier: Topic :: Text Processing :: Indexing
+Classifier: Topic :: Text Processing :: Linguistic
diff --git a/nltk.egg-info/SOURCES.txt b/nltk.egg-info/SOURCES.txt
new file mode 100644
index 0000000..f20a498
--- /dev/null
+++ b/nltk.egg-info/SOURCES.txt
@@ -0,0 +1,310 @@
+INSTALL.txt
+LICENSE.txt
+MANIFEST.in
+README.txt
+setup.cfg
+setup.py
+nltk/VERSION
+nltk/__init__.py
+nltk/book.py
+nltk/collocations.py
+nltk/compat.py
+nltk/data.py
+nltk/decorators.py
+nltk/downloader.py
+nltk/featstruct.py
+nltk/grammar.py
+nltk/help.py
+nltk/internals.py
+nltk/jsontags.py
+nltk/lazyimport.py
+nltk/probability.py
+nltk/text.py
+nltk/toolbox.py
+nltk/tree.py
+nltk/treetransforms.py
+nltk/util.py
+nltk/wsd.py
+nltk.egg-info/PKG-INFO
+nltk.egg-info/SOURCES.txt
+nltk.egg-info/dependency_links.txt
+nltk.egg-info/not-zip-safe
+nltk.egg-info/top_level.txt
+nltk/align/__init__.py
+nltk/align/api.py
+nltk/align/bleu.py
+nltk/align/gale_church.py
+nltk/align/gdfa.py
+nltk/align/ibm1.py
+nltk/align/ibm2.py
+nltk/align/ibm3.py
+nltk/align/phrase_based.py
+nltk/align/util.py
+nltk/app/__init__.py
+nltk/app/chartparser_app.py
+nltk/app/chunkparser_app.py
+nltk/app/collocations_app.py
+nltk/app/concordance_app.py
+nltk/app/nemo_app.py
+nltk/app/rdparser_app.py
+nltk/app/srparser_app.py
+nltk/app/wordfreq_app.py
+nltk/app/wordnet_app.py
+nltk/ccg/__init__.py
+nltk/ccg/api.py
+nltk/ccg/chart.py
+nltk/ccg/combinator.py
+nltk/ccg/lexicon.py
+nltk/chat/__init__.py
+nltk/chat/eliza.py
+nltk/chat/iesha.py
+nltk/chat/rude.py
+nltk/chat/suntsu.py
+nltk/chat/util.py
+nltk/chat/zen.py
+nltk/chunk/__init__.py
+nltk/chunk/api.py
+nltk/chunk/named_entity.py
+nltk/chunk/regexp.py
+nltk/chunk/util.py
+nltk/classify/__init__.py
+nltk/classify/api.py
+nltk/classify/decisiontree.py
+nltk/classify/maxent.py
+nltk/classify/megam.py
+nltk/classify/naivebayes.py
+nltk/classify/positivenaivebayes.py
+nltk/classify/rte_classify.py
+nltk/classify/scikitlearn.py
+nltk/classify/svm.py
+nltk/classify/tadm.py
+nltk/classify/util.py
+nltk/classify/weka.py
+nltk/cluster/__init__.py
+nltk/cluster/api.py
+nltk/cluster/em.py
+nltk/cluster/gaac.py
+nltk/cluster/kmeans.py
+nltk/cluster/util.py
+nltk/corpus/__init__.py
+nltk/corpus/europarl_raw.py
+nltk/corpus/util.py
+nltk/corpus/reader/__init__.py
+nltk/corpus/reader/aligned.py
+nltk/corpus/reader/api.py
+nltk/corpus/reader/bnc.py
+nltk/corpus/reader/bracket_parse.py
+nltk/corpus/reader/chasen.py
+nltk/corpus/reader/childes.py
+nltk/corpus/reader/chunked.py
+nltk/corpus/reader/cmudict.py
+nltk/corpus/reader/conll.py
+nltk/corpus/reader/dependency.py
+nltk/corpus/reader/framenet.py
+nltk/corpus/reader/ieer.py
+nltk/corpus/reader/indian.py
+nltk/corpus/reader/ipipan.py
+nltk/corpus/reader/knbc.py
+nltk/corpus/reader/lin.py
+nltk/corpus/reader/nombank.py
+nltk/corpus/reader/nps_chat.py
+nltk/corpus/reader/pl196x.py
+nltk/corpus/reader/plaintext.py
+nltk/corpus/reader/ppattach.py
+nltk/corpus/reader/propbank.py
+nltk/corpus/reader/rte.py
+nltk/corpus/reader/semcor.py
+nltk/corpus/reader/senseval.py
+nltk/corpus/reader/sentiwordnet.py
+nltk/corpus/reader/sinica_treebank.py
+nltk/corpus/reader/string_category.py
+nltk/corpus/reader/switchboard.py
+nltk/corpus/reader/tagged.py
+nltk/corpus/reader/timit.py
+nltk/corpus/reader/toolbox.py
+nltk/corpus/reader/udhr.py
+nltk/corpus/reader/util.py
+nltk/corpus/reader/verbnet.py
+nltk/corpus/reader/wordlist.py
+nltk/corpus/reader/wordnet.py
+nltk/corpus/reader/xmldocs.py
+nltk/corpus/reader/ycoe.py
+nltk/draw/__init__.py
+nltk/draw/cfg.py
+nltk/draw/dispersion.py
+nltk/draw/table.py
+nltk/draw/tree.py
+nltk/draw/util.py
+nltk/inference/__init__.py
+nltk/inference/api.py
+nltk/inference/discourse.py
+nltk/inference/mace.py
+nltk/inference/nonmonotonic.py
+nltk/inference/prover9.py
+nltk/inference/resolution.py
+nltk/inference/tableau.py
+nltk/metrics/__init__.py
+nltk/metrics/agreement.py
+nltk/metrics/association.py
+nltk/metrics/confusionmatrix.py
+nltk/metrics/distance.py
+nltk/metrics/paice.py
+nltk/metrics/scores.py
+nltk/metrics/segmentation.py
+nltk/metrics/spearman.py
+nltk/misc/__init__.py
+nltk/misc/babelfish.py
+nltk/misc/chomsky.py
+nltk/misc/minimalset.py
+nltk/misc/sort.py
+nltk/misc/wordfinder.py
+nltk/parse/__init__.py
+nltk/parse/api.py
+nltk/parse/chart.py
+nltk/parse/dependencygraph.py
+nltk/parse/earleychart.py
+nltk/parse/featurechart.py
+nltk/parse/generate.py
+nltk/parse/malt.py
+nltk/parse/nonprojectivedependencyparser.py
+nltk/parse/pchart.py
+nltk/parse/projectivedependencyparser.py
+nltk/parse/recursivedescent.py
+nltk/parse/shiftreduce.py
+nltk/parse/stanford.py
+nltk/parse/util.py
+nltk/parse/viterbi.py
+nltk/sem/__init__.py
+nltk/sem/boxer.py
+nltk/sem/chat80.py
+nltk/sem/cooper_storage.py
+nltk/sem/drt.py
+nltk/sem/drt_glue_demo.py
+nltk/sem/evaluate.py
+nltk/sem/glue.py
+nltk/sem/hole.py
+nltk/sem/lfg.py
+nltk/sem/linearlogic.py
+nltk/sem/logic.py
+nltk/sem/relextract.py
+nltk/sem/skolemize.py
+nltk/sem/util.py
+nltk/stem/__init__.py
+nltk/stem/api.py
+nltk/stem/isri.py
+nltk/stem/lancaster.py
+nltk/stem/porter.py
+nltk/stem/regexp.py
+nltk/stem/rslp.py
+nltk/stem/snowball.py
+nltk/stem/wordnet.py
+nltk/tag/__init__.py
+nltk/tag/api.py
+nltk/tag/brill.py
+nltk/tag/brill_trainer.py
+nltk/tag/brill_trainer_orig.py
+nltk/tag/hmm.py
+nltk/tag/hunpos.py
+nltk/tag/mapping.py
+nltk/tag/senna.py
+nltk/tag/sequential.py
+nltk/tag/stanford.py
+nltk/tag/tnt.py
+nltk/tag/util.py
+nltk/tbl/__init__.py
+nltk/tbl/api.py
+nltk/tbl/demo.py
+nltk/tbl/erroranalysis.py
+nltk/tbl/feature.py
+nltk/tbl/rule.py
+nltk/tbl/template.py
+nltk/test/__init__.py
+nltk/test/align.doctest
+nltk/test/align_fixt.py
+nltk/test/all.py
+nltk/test/bnc.doctest
+nltk/test/ccg.doctest
+nltk/test/chat80.doctest
+nltk/test/childes.doctest
+nltk/test/childes_fixt.py
+nltk/test/chunk.doctest
+nltk/test/classify.doctest
+nltk/test/classify_fixt.py
+nltk/test/collocations.doctest
+nltk/test/compat.doctest
+nltk/test/compat_fixt.py
+nltk/test/corpus.doctest
+nltk/test/corpus_fixt.py
+nltk/test/data.doctest
+nltk/test/dependency.doctest
+nltk/test/discourse.doctest
+nltk/test/discourse_fixt.py
+nltk/test/doctest_nose_plugin.py
+nltk/test/drt.doctest
+nltk/test/featgram.doctest
+nltk/test/featstruct.doctest
+nltk/test/framenet.doctest
+nltk/test/generate.doctest
+nltk/test/gluesemantics.doctest
+nltk/test/gluesemantics_malt.doctest
+nltk/test/gluesemantics_malt_fixt.py
+nltk/test/grammar.doctest
+nltk/test/grammartestsuites.doctest
+nltk/test/index.doctest
+nltk/test/inference.doctest
+nltk/test/inference_fixt.py
+nltk/test/internals.doctest
+nltk/test/japanese.doctest
+nltk/test/logic.doctest
+nltk/test/metrics.doctest
+nltk/test/misc.doctest
+nltk/test/nonmonotonic.doctest
+nltk/test/nonmonotonic_fixt.py
+nltk/test/paice.doctest
+nltk/test/parse.doctest
+nltk/test/portuguese_en.doctest
+nltk/test/portuguese_en_fixt.py
+nltk/test/probability.doctest
+nltk/test/probability_fixt.py
+nltk/test/propbank.doctest
+nltk/test/relextract.doctest
+nltk/test/resolution.doctest
+nltk/test/runtests.py
+nltk/test/segmentation_fixt.py
+nltk/test/semantics.doctest
+nltk/test/semantics_fixt.py
+nltk/test/sentiwordnet.doctest
+nltk/test/simple.doctest
+nltk/test/stem.doctest
+nltk/test/tag.doctest
+nltk/test/tokenize.doctest
+nltk/test/toolbox.doctest
+nltk/test/tree.doctest
+nltk/test/treetransforms.doctest
+nltk/test/util.doctest
+nltk/test/wordnet.doctest
+nltk/test/wordnet_fixt.py
+nltk/test/wordnet_lch.doctest
+nltk/test/wsd.doctest
+nltk/test/unit/__init__.py
+nltk/test/unit/test_2x_compat.py
+nltk/test/unit/test_classify.py
+nltk/test/unit/test_collocations.py
+nltk/test/unit/test_corpora.py
+nltk/test/unit/test_corpus_views.py
+nltk/test/unit/test_hmm.py
+nltk/test/unit/test_naivebayes.py
+nltk/test/unit/test_seekable_unicode_stream_reader.py
+nltk/test/unit/test_stem.py
+nltk/test/unit/test_tag.py
+nltk/test/unit/utils.py
+nltk/tokenize/__init__.py
+nltk/tokenize/api.py
+nltk/tokenize/punkt.py
+nltk/tokenize/regexp.py
+nltk/tokenize/sexpr.py
+nltk/tokenize/simple.py
+nltk/tokenize/stanford.py
+nltk/tokenize/texttiling.py
+nltk/tokenize/treebank.py
+nltk/tokenize/util.py
\ No newline at end of file
diff --git a/nltk.egg-info/dependency_links.txt b/nltk.egg-info/dependency_links.txt
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/nltk.egg-info/dependency_links.txt
@@ -0,0 +1 @@
+
diff --git a/nltk.egg-info/not-zip-safe b/nltk.egg-info/not-zip-safe
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/nltk.egg-info/not-zip-safe
@@ -0,0 +1 @@
+
diff --git a/nltk.egg-info/top_level.txt b/nltk.egg-info/top_level.txt
new file mode 100644
index 0000000..8469296
--- /dev/null
+++ b/nltk.egg-info/top_level.txt
@@ -0,0 +1 @@
+nltk
diff --git a/nltk/VERSION b/nltk/VERSION
index 2daa89b..4a36342 100644
--- a/nltk/VERSION
+++ b/nltk/VERSION
@@ -1 +1 @@
-3.0.0b1
+3.0.0
diff --git a/nltk/align/bleu.py b/nltk/align/bleu.py
index 8a869df..ac70f0f 100644
--- a/nltk/align/bleu.py
+++ b/nltk/align/bleu.py
@@ -8,139 +8,200 @@
from __future__ import division
-from nltk.util import ngrams
+import math
+
from nltk import word_tokenize
+from nltk.compat import Counter
+from nltk.util import ngrams
-import math
class BLEU(object):
"""
This class implements the BLEU method, which is used to evaluate
- the quality of machine translation.
+ the quality of machine translation. [1]
+
+ Consider an example:
+
+ >>> weights = [0.25, 0.25, 0.25, 0.25]
+ >>> candidate1 = ['It', 'is', 'a', 'guide', 'to', 'action', 'which',
+ ... 'ensures', 'that', 'the', 'military', 'always',
+ ... 'obeys', 'the', 'commands', 'of', 'the', 'party']
+
+ >>> candidate2 = ['It', 'is', 'to', 'insure', 'the', 'troops',
+ ... 'forever', 'hearing', 'the', 'activity', 'guidebook',
+ ... 'that', 'party', 'direct']
+
+ >>> reference1 = ['It', 'is', 'a', 'guide', 'to', 'action', 'that',
+ ... 'ensures', 'that', 'the', 'military', 'will', 'forever',
+ ... 'heed', 'Party', 'commands']
+
+ >>> reference2 = ['It', 'is', 'the', 'guiding', 'principle', 'which',
+ ... 'guarantees', 'the', 'military', 'forces', 'always',
+ ... 'being', 'under', 'the', 'command', 'of', 'the',
+ ... 'Party']
+
+ >>> reference3 = ['It', 'is', 'the', 'practical', 'guide', 'for', 'the',
+ ... 'army', 'always', 'to', 'heed', 'the', 'directions',
+ ... 'of', 'the', 'party']
The BLEU method mainly consists of two parts:
Part 1 - modified n-gram precision
The normal precision method may lead to some wrong translations with
- high-precision, e.g., the translation, in which a word of reference
- repeats several times, has very high precision. So in the modified
+ high-precision, e.g., the translation, in which a word of reference
+ repeats several times, has very high precision. So in the modified
n-gram precision, a reference word will be considered exhausted after
- a matching candidate word is identified.
+ a matching candidate word is identified.
- Part 2 - brevity penalty
+ Unigrams:
- As the modified n-gram precision stil has the problem from the short
- length sentence, brevity penalty is used to modify the overall BLEU
- score according to length.
+ >>> BLEU.modified_precision(
+ ... candidate1,
+ ... [reference1, reference2, reference3],
+ ... n=1,
+ ... )
+ 0.94...
- 1. Test with an instance:
+ >>> BLEU.modified_precision(
+ ... candidate2,
+ ... [reference1, reference2, reference3],
+ ... n=1,
+ ... )
+ 0.57...
- >>> weights = [0.25, 0.25, 0.25, 0.25]
- >>> candidate1 = ['It', 'is', 'a', 'guide', 'to', 'action', 'which',
- ... 'ensures', 'that', 'the', 'military', 'always',
- ... 'obeys', 'the', 'commands', 'of', 'the', 'party', '.']
+ Bigrmas:
- >>> candidate2 = ['It', 'is', 'to', 'insure', 'the', 'troops',
- ... 'forever', 'hearing', 'the', 'activity', 'guidebook',
- ... 'that', 'party', 'direct', '.']
+ >>> BLEU.modified_precision(
+ ... candidate1,
+ ... [reference1, reference2, reference3],
+ ... n=2,
+ ... )
+ 0.58...
- >>> reference1 = ['It', 'is', 'a', 'guide', 'to', 'action', 'that',
- ... 'ensures', 'that', 'the', 'military', 'will', 'forever',
- ... 'heed', 'Party', 'commands', '.']
+ >>> BLEU.modified_precision(
+ ... candidate2,
+ ... [reference1, reference2, reference3],
+ ... n=2,
+ ... )
+ 0.07...
- >>> reference2 = ['It', 'is', 'the', 'guiding', 'principle', 'which',
- ... 'guarantees', 'the', 'military', 'forces', 'always',
- ... 'being', 'under', 'the', 'command', 'of', 'the',
- ... 'Party', '.']
- >>> reference3 = ['It', 'is', 'the', 'practical', 'guide', 'for', 'the',
- ... 'army', 'always', 'to', 'heed', 'the', 'directions',
- ... 'of', 'the', 'party', '.']
+ Part 2 - brevity penalty
+
+ As the modified n-gram precision still has the problem from the short
+ length sentence, brevity penalty is used to modify the overall BLEU
+ score according to length.
>>> BLEU.compute(candidate1, [reference1, reference2, reference3], weights)
- 0.0555662774619807
+ 0.504...
>>> BLEU.compute(candidate2, [reference1, reference2, reference3], weights)
- 0.04211415110983725
+ 0.457...
- 2. Test with two corpus that one is a reference and another is
+ 2. Test with two corpus that one is a reference and another is
an output from translation system:
>>> weights = [0.25, 0.25, 0.25, 0.25]
- >>> ref_file = open('newstest2012-ref.en')
- >>> candidate_file = open('newstest2012.fr-en.cmu-avenue')
+ >>> ref_file = open('newstest2012-ref.en') # doctest: +SKIP
+ >>> candidate_file = open('newstest2012.fr-en.cmu-avenue') # doctest: +SKIP
>>> total = 0.0
>>> count = 0
- >>> for candi_raw in candidate_file:
+ >>> for candi_raw in candidate_file: # doctest: +SKIP
... ref_raw = ref_file.readline()
... ref_tokens = word_tokenize(ref_raw)
... candi_tokens = word_tokenize(candi_raw)
... total = BLEU.compute(candi_tokens, [ref_tokens], weights)
... count += 1
- >>> total/count
+ >>> total / count # doctest: +SKIP
2.787504437460048e-05
+ [1] Papineni, Kishore, et al. "BLEU: a method for automatic evaluation of
+ machine translation." Proceedings of the 40th annual meeting on
+ association for computational linguistics. Association for Computational
+ Linguistics, 2002.
+
"""
@staticmethod
def compute(candidate, references, weights):
+ candidate = [c.lower() for c in candidate]
+ references = [[r.lower() for r in reference] for reference in references]
- candidate = list(map(lambda x: x.lower(), candidate))
- references = list(map(lambda x: [c.lower() for c in x], references))
-
- n = len(weights)
+ p_ns = (BLEU.modified_precision(candidate, references, i) for i, _ in enumerate(weights, start=1))
+ s = math.fsum(w * math.log(p_n) for w, p_n in zip(weights, p_ns) if p_n)
bp = BLEU.brevity_penalty(candidate, references)
-
- s = 0.0
- i = 1
- for weight in weights:
- p_n = BLEU.modified_precision(candidate, references, i)
- if p_n != 0:
- s += weight * math.log(p_n)
- i += 1
-
return bp * math.exp(s)
@staticmethod
def modified_precision(candidate, references, n):
-
- candidate_ngrams = list(ngrams(candidate, n))
-
- if len(candidate_ngrams) == 0:
+ """ Calculate modified ngram precision.
+
+ >>> BLEU.modified_precision(
+ ... 'the the the the the the the'.split(),
+ ... ['the cat is on the mat'.split(), 'there is a cat on the mat'.split()],
+ ... n=1,
+ ... )
+ 0.28...
+
+ >>> BLEU.modified_precision(
+ ... 'the the the the the the the'.split(),
+ ... ['the cat is on the mat'.split(), 'there is a cat on the mat'.split()],
+ ... n=2,
+ ... )
+ 0.0
+
+ >>> BLEU.modified_precision(
+ ... 'of the'.split(),
+ ... [
+ ... 'It is a guide to action that ensures that the military will forever heed Party commands.'.split(),
+ ... 'It is the guiding principle which guarantees the military forces always being under the command of the Party.'.split(),
+ ... 'It is the practical guide for the army always to heed the directions of the party'.split(),
+ ... ],
+ ... n=1,
+ ... )
+ 1.0
+
+ >>> BLEU.modified_precision(
+ ... 'of the'.split(),
+ ... [
+ ... 'It is a guide to action that ensures that the military will forever heed Party commands.'.split(),
+ ... 'It is the guiding principle which guarantees the military forces always being under the command of the Party.'.split(),
+ ... 'It is the practical guide for the army always to heed the directions of the party'.split(),
+ ... ],
+ ... n=2,
+ ... )
+ 1.0
+
+ """
+ counts = Counter(ngrams(candidate, n))
+
+ if not counts:
return 0
- c_words = set(candidate_ngrams)
+ max_counts = {}
+ for reference in references:
+ reference_counts = Counter(ngrams(reference, n))
+ for ngram in counts:
+ max_counts[ngram] = max(max_counts.get(ngram, 0), reference_counts[ngram])
- for word in c_words:
- count_w = candidate_ngrams.count(word) + 1
+ clipped_counts = dict((ngram, min(count, max_counts[ngram])) for ngram, count in counts.items())
- count_max = 0
- for reference in references:
- reference_ngrams = list(ngrams(reference, n))
-
- count = reference_ngrams.count(word) + 1
- if count > count_max:
- count_max = count
-
- return min(count_w, count_max) / (len(candidate) + len(c_words))
+ return sum(clipped_counts.values()) / sum(counts.values())
@staticmethod
def brevity_penalty(candidate, references):
c = len(candidate)
-
- lengthes_ref = map(lambda x: abs(len(x) - c), references)
-
- r = min(*lengthes_ref)
+ r = min(abs(len(r) - c) for r in references)
if c > r:
return 1
else:
- return math.exp(1 - r/c)
+ return math.exp(1 - r / c)
# run doctests
if __name__ == "__main__":
diff --git a/nltk/align/gdfa.py b/nltk/align/gdfa.py
new file mode 100644
index 0000000..bd254a9
--- /dev/null
+++ b/nltk/align/gdfa.py
@@ -0,0 +1,135 @@
+# -*- coding: utf-8 -*-
+# Natural Language Toolkit: GDFA word alignment symmetrization
+#
+# Copyright (C) 2001-2014 NLTK Project
+# Authors: Liling Tan
+# URL: <http://nltk.org/>
+# For license information, see LICENSE.TXT
+
+import codecs
+from collections import defaultdict
+
+def grow_diag_final_and(srclen, trglen, e2f, f2e):
+ """
+ This module symmetrisatizes the source-to-target and target-to-source
+ word alignment output and produces, aka. GDFA algorithm (Koehn, 2005).
+
+ Step 1: Find the intersection of the bidirectional alignment.
+
+ Step 2: Search for additional neighbor alignment points to be added, given
+ these criteria: (i) neighbor alignments points are not in the
+ intersection and (ii) neighbor alignments are in the union.
+
+ Step 3: Add all other alignment points thats not in the intersection, not in
+ the neighboring alignments that met the criteria but in the original
+ foward/backward alignment outputs.
+
+ >>> forw = ('0-0 2-1 9-2 21-3 10-4 7-5 11-6 9-7 12-8 1-9 3-10 '
+ ... '4-11 17-12 17-13 25-14 13-15 24-16 11-17 28-18')
+ >>> back = ('0-0 1-9 2-9 3-10 4-11 5-12 6-6 7-5 8-6 9-7 10-4 '
+ ... '11-6 12-8 13-12 15-12 17-13 18-13 19-12 20-13 '
+ ... '21-3 22-12 23-14 24-17 25-15 26-17 27-18 28-18')
+ >>> srctext = ("この よう な ハロー 白色 わい 星 の L 関数 "
+ ... "は L と 共 に 不連続 に 増加 する こと が "
+ ... "期待 さ れる こと を 示し た 。")
+ >>> trgtext = ("Therefore , we expect that the luminosity function "
+ ... "of such halo white dwarfs increases discontinuously "
+ ... "with the luminosity .")
+ >>> srclen = len(srctext.split())
+ >>> trglen = len(trgtext.split())
+ >>>
+ >>> gdfa = grow_diag_final_and(srclen, trglen, forw, back)
+ >>> gdfa == set([(28, 18), (6, 6), (24, 17), (2, 1), (15, 12), (13, 12),
+ ... (2, 9), (3, 10), (26, 17), (25, 15), (8, 6), (9, 7), (20,
+ ... 13), (18, 13), (0, 0), (10, 4), (13, 15), (23, 14), (7, 5),
+ ... (25, 14), (1, 9), (17, 13), (4, 11), (11, 17), (9, 2), (22,
+ ... 12), (27, 18), (24, 16), (21, 3), (19, 12), (17, 12), (5,
+ ... 12), (11, 6), (12, 8)])
+ True
+
+ References:
+ Koehn, P., A. Axelrod, A. Birch, C. Callison, M. Osborne, and D. Talbot.
+ 2005. Edinburgh System Description for the 2005 IWSLT Speech
+ Translation Evaluation. In MT Eval Workshop.
+
+ :type srclen: int
+ :param srclen: the number of tokens in the source language
+ :type trglen: int
+ :param trglen: the number of tokens in the target language
+ :type e2f: str
+ :param e2f: the forward word alignment outputs from source-to-target
+ language (in pharaoh output format)
+ :type f2e: str
+ :param f2e: the backward word alignment outputs from target-to-source
+ language (in pharaoh output format)
+ :rtype: set(tuple(int))
+ :return: the symmetrized alignment points from the GDFA algorithm
+ """
+
+ # Converts pharaoh text format into list of tuples.
+ e2f = [tuple(map(int,a.split('-'))) for a in e2f.split()]
+ f2e = [tuple(map(int,a.split('-'))) for a in f2e.split()]
+
+ neighbors = [(-1,0),(0,-1),(1,0),(0,1),(-1,-1),(-1,1),(1,-1),(1,1)]
+ alignment = set(e2f).intersection(set(f2e)) # Find the intersection.
+ union = set(e2f).union(set(f2e))
+
+ # *aligned* is used to check if neighbors are aligned in grow_diag()
+ aligned = defaultdict(set)
+ for i,j in alignment:
+ aligned['e'].add(i)
+ aligned['j'].add(j)
+
+ def grow_diag():
+ """
+ Search for the neighbor points and them to the intersected alignment
+ points if criteria are met.
+ """
+ prev_len = len(alignment) - 1
+ # iterate until no new points added
+ while prev_len < len(alignment):
+ # for english word e = 0 ... en
+ for e in range(srclen):
+ # for foreign word f = 0 ... fn
+ for f in range(trglen):
+ # if ( e aligned with f)
+ if (e,f) in alignment:
+ # for each neighboring point (e-new, f-new)
+ for neighbor in neighbors:
+ neighbor = tuple(i+j for i,j in zip((e,f),neighbor))
+ e_new, f_new = neighbor
+ # if ( ( e-new not aligned and f-new not aligned)
+ # and (e-new, f-new in union(e2f, f2e) )
+ if (e_new not in aligned and f_new not in aligned)\
+ and neighbor in union:
+ alignment.add(neighbor)
+ aligned['e'].add(e_new); aligned['f'].add(f_new)
+ prev_len+=1
+
+ def final_and(a):
+ """
+ Adds remaining points that are not in the intersection, not in the
+ neighboring alignments but in the original *e2f* and *f2e* alignments
+ """
+ # for english word e = 0 ... en
+ for e_new in range(srclen):
+ # for foreign word f = 0 ... fn
+ for f_new in range(trglen):
+ # if ( ( e-new not aligned and f-new not aligned)
+ # and (e-new, f-new in union(e2f, f2e) )
+ if (e_new not in aligned
+ and f_new not in aligned
+ and (e_new, f_new) in a):
+
+ alignment.add((e_new, f_new))
+ aligned['e'].add(e_new); aligned['f'].add(f_new)
+
+ grow_diag()
+ final_and(e2f)
+ final_and(f2e)
+ return alignment
+
+# run doctests
+if __name__ == "__main__":
+ import doctest
+ doctest.testmod()
diff --git a/nltk/align/phrase_based.py b/nltk/align/phrase_based.py
new file mode 100644
index 0000000..a93e752
--- /dev/null
+++ b/nltk/align/phrase_based.py
@@ -0,0 +1,187 @@
+# -*- coding: utf-8 -*-
+# Natural Language Toolkit: Phrase Extraction Algorithm
+#
+# Copyright (C) 2001-2014 NLTK Project
+# Authors: Liling Tan and Fredrik Hedman
+# URL: <http://nltk.org/>
+# For license information, see LICENSE.TXT
+
+def extract(f_start, f_end, e_start, e_end,
+ alignment, e_aligned, f_aligned,
+ srctext, trgtext, srclen, trglen):
+ """
+ This function checks for alignment point consistency and extracts
+ phrases using the chunk of consistent phrases.
+
+ A phrase pair (e, f ) is consistent with an alignment A if and only if:
+
+ (i) No English words in the phrase pair are aligned to words outside it.
+
+ ∀e i ∈ e, (e i , f j ) ∈ A ⇒ f j ∈ f
+
+ (ii) No Foreign words in the phrase pair are aligned to words outside it.
+
+ ∀f j ∈ f , (e i , f j ) ∈ A ⇒ e i ∈ e
+
+ (iii) The phrase pair contains at least one alignment point.
+
+ ∃e i ∈ e ̄ , f j ∈ f ̄ s.t. (e i , f j ) ∈ A
+
+ :type f_start: int
+ :param f_start: Starting index of the possible foreign language phrases
+
+ :type f_end: int
+ :param f_end: Starting index of the possible foreign language phrases
+
+ :type e_start: int
+ :param e_start: Starting index of the possible source language phrases
+
+ :type e_end: int
+ :param e_end: Starting index of the possible source language phrases
+
+ :type srctext: list
+ :param srctext: The source language tokens, a list of string.
+
+ :type trgtext: list
+ :param trgtext: The target language tokens, a list of string.
+
+ :type srclen: int
+ :param srclen: The number of tokens in the source language tokens.
+
+ :type trglen: int
+ :param trglen: The number of tokens in the target language tokens.
+ """
+ if f_end < 0: # 0-based indexing.
+ return {}
+ # Check if alignement points are consistent.
+ for e,f in alignment:
+ if ((f_start <= f <= f_end) and
+ (e < e_start or e > e_end)):
+ return {}
+
+ # Add phrase pairs (incl. additional unaligned f)
+ phrases = set()
+ fs = f_start
+ while True:
+ fe = f_end
+ while True:
+ # add phrase pair ([e_start, e_end], [fs, fe]) to set E
+ # Need to +1 in range to include the end-point.
+ src_phrase = " ".join(srctext[i] for i in
+ range(e_start,e_end+1))
+ trg_phrase = " ".join(trgtext[i] for i in range(fs,fe+1))
+ # Include more data for later ordering.
+ phrases.add(((e_start, e_end+1), (f_start, f_end+1),
+ src_phrase, trg_phrase))
+ fe += 1
+ # if fe is in word alignment or out-of-bounds
+ if fe in f_aligned or fe == trglen:
+ break
+ fs -=1
+ # if fs is in word alignment or out-of-bounds
+ if fs in f_aligned or fs < 0:
+ break
+ return phrases
+
+def phrase_extraction(srctext, trgtext, alignment):
+ """
+ Phrase extraction algorithm extracts all consistent phrase pairs from
+ a word-aligned sentence pair.
+
+ The idea is to loop over all possible source language (e) phrases and find
+ the minimal foreign phrase (f) that matches each of them. Matching is done
+ by identifying all alignment points for the source phrase and finding the
+ shortest foreign phrase that includes all the foreign counterparts for the
+ source words.
+
+ In short, a phrase alignment has to
+ (a) contain all alignment points for all covered words
+ (b) contain at least one alignment point
+
+ >>> srctext = "michael assumes that he will stay in the house"
+ >>> trgtext = "michael geht davon aus , dass er im haus bleibt"
+ >>> alignment = [(0,0), (1,1), (1,2), (1,3), (2,5), (3,6), (4,9),
+ ... (5,9), (6,7), (7,7), (8,8)]
+ >>> phrases = phrase_extraction(srctext, trgtext, alignment)
+ >>> for i in sorted(phrases):
+ ... print(i)
+ ...
+ ((0, 1), (0, 1), 'michael', 'michael')
+ ((0, 2), (0, 4), 'michael assumes', 'michael geht davon aus')
+ ((0, 2), (0, 4), 'michael assumes', 'michael geht davon aus ,')
+ ((0, 3), (0, 6), 'michael assumes that', 'michael geht davon aus , dass')
+ ((0, 4), (0, 7), 'michael assumes that he', 'michael geht davon aus , dass er')
+ ((0, 9), (0, 10), 'michael assumes that he will stay in the house', 'michael geht davon aus , dass er im haus bleibt')
+ ((1, 2), (1, 4), 'assumes', 'geht davon aus')
+ ((1, 2), (1, 4), 'assumes', 'geht davon aus ,')
+ ((1, 3), (1, 6), 'assumes that', 'geht davon aus , dass')
+ ((1, 4), (1, 7), 'assumes that he', 'geht davon aus , dass er')
+ ((1, 9), (1, 10), 'assumes that he will stay in the house', 'geht davon aus , dass er im haus bleibt')
+ ((2, 3), (5, 6), 'that', ', dass')
+ ((2, 3), (5, 6), 'that', 'dass')
+ ((2, 4), (5, 7), 'that he', ', dass er')
+ ((2, 4), (5, 7), 'that he', 'dass er')
+ ((2, 9), (5, 10), 'that he will stay in the house', ', dass er im haus bleibt')
+ ((2, 9), (5, 10), 'that he will stay in the house', 'dass er im haus bleibt')
+ ((3, 4), (6, 7), 'he', 'er')
+ ((3, 9), (6, 10), 'he will stay in the house', 'er im haus bleibt')
+ ((4, 6), (9, 10), 'will stay', 'bleibt')
+ ((4, 9), (7, 10), 'will stay in the house', 'im haus bleibt')
+ ((6, 8), (7, 8), 'in the', 'im')
+ ((6, 9), (7, 9), 'in the house', 'im haus')
+ ((8, 9), (8, 9), 'house', 'haus')
+
+ :type srctext: str
+ :param srctext: The sentence string from the source language.
+
+ :type trgtext: str
+ :param trgtext: The sentence string from the target language.
+
+ :type alignment: str
+ :param alignment: The word alignment outputs as list of tuples, where
+ the first elements of tuples are the source words' indices and
+ second elements are the target words' indices. This is also the output
+ format of nltk/align/ibm1.py
+
+ :rtype: list(tuple)
+ :return: A list of tuples, each element in a list is a phrase and each
+ phrase is a tuple made up of (i) its source location, (ii) its target
+ location, (iii) the source phrase and (iii) the target phrase. The phrase
+ list of tuples represents all the possible phrases extracted from the
+ word alignments.
+ """
+ # Calculate no. of tokens in source and target texts.
+ srctext = srctext.split() # e
+ trgtext = trgtext.split() # f
+ srclen = len(srctext) # len(e)
+ trglen = len(trgtext) # len(f)
+ # Keeps an index of which source/target words that are aligned.
+ e_aligned = [i for i,_ in alignment]
+ f_aligned = [j for _,j in alignment]
+
+ bp = set() # set of phrase pairs BP
+ # Index e_start from 0 to len(e) - 1
+ for e_start in range(srclen):
+ # Index e_end from e_start to len(e) - 1
+ for e_end in range(e_start, srclen):
+ # // find the minimally matching foreign phrase
+ # (f start , f end ) = ( length(f), 0 )
+ # f_start ∈ [0, len(f) - 1]; f_end ∈ [0, len(f) - 1]
+ f_start, f_end = trglen-1 , -1 # 0-based indexing
+ # for all (e,f) ∈ A do
+ for e,f in alignment:
+ if e_start <= e <= e_end:
+ f_start = min(f, f_start)
+ f_end = max(f, f_end)
+ # add extract (f start , f end , e start , e end ) to set BP
+ phrases = extract(f_start, f_end, e_start, e_end,
+ alignment, e_aligned, f_aligned,
+ srctext, trgtext, srclen, trglen)
+ if phrases:
+ bp.update(phrases)
+ return bp
+
+# run doctests
+if __name__ == "__main__":
+ import doctest
+ doctest.testmod()
diff --git a/nltk/app/wordfreq_app.py b/nltk/app/wordfreq_app.py
index 640d5b4..a9128be 100644
--- a/nltk/app/wordfreq_app.py
+++ b/nltk/app/wordfreq_app.py
@@ -12,7 +12,7 @@ from nltk.corpus import gutenberg
def plot_word_freq_dist(text):
fd = text.vocab()
- samples = fd.keys()[:50]
+ samples = [item for item, _ in fd.most_common(50)]
values = [fd[sample] for sample in samples]
values = [sum(values[:i+1]) * 100.0/fd.N() for i in range(len(values))]
pylab.title(text.name)
diff --git a/nltk/classify/megam.py b/nltk/classify/megam.py
index b5cf796..6b01af3 100644
--- a/nltk/classify/megam.py
+++ b/nltk/classify/megam.py
@@ -53,7 +53,7 @@ def config_megam(bin=None):
global _megam_bin
_megam_bin = find_binary(
'megam', bin,
- env_vars=['MEGAM', 'MEGAMHOME'],
+ env_vars=['MEGAM'],
binary_names=['megam.opt', 'megam', 'megam_686', 'megam_i686.opt'],
url='http://www.umiacs.umd.edu/~hal/megam/index.html')
diff --git a/nltk/classify/tadm.py b/nltk/classify/tadm.py
index 4cb01c5..dc2191f 100644
--- a/nltk/classify/tadm.py
+++ b/nltk/classify/tadm.py
@@ -21,7 +21,7 @@ def config_tadm(bin=None):
global _tadm_bin
_tadm_bin = find_binary(
'tadm', bin,
- env_vars=['TADM_DIR'],
+ env_vars=['TADM'],
binary_names=['tadm'],
url='http://tadm.sf.net')
diff --git a/nltk/cluster/kmeans.py b/nltk/cluster/kmeans.py
index f5cef63..7e630da 100644
--- a/nltk/cluster/kmeans.py
+++ b/nltk/cluster/kmeans.py
@@ -81,7 +81,7 @@ class KMeansClusterer(VectorSpaceClusterer):
for trial in range(self._repeats):
if trace: print('k-means trial', trial)
if not self._means or trial > 1:
- self._means = self._rng.sample(vectors, self._num_means)
+ self._means = self._rng.sample(list(vectors), self._num_means)
self._cluster_vectorspace(vectors, trace)
meanss.append(self._means)
diff --git a/nltk/compat.py b/nltk/compat.py
index df95006..c3649f5 100755
--- a/nltk/compat.py
+++ b/nltk/compat.py
@@ -47,7 +47,8 @@ if PY3:
import html.entities as htmlentitydefs
from urllib.request import (urlopen, ProxyHandler, build_opener,
install_opener, getproxies, HTTPPasswordMgrWithDefaultRealm,
- ProxyBasicAuthHandler, ProxyDigestAuthHandler, Request)
+ ProxyBasicAuthHandler, ProxyDigestAuthHandler, Request,
+ url2pathname)
from urllib.error import HTTPError, URLError
from urllib.parse import quote_plus, unquote_plus, urlencode
@@ -85,7 +86,7 @@ else:
ProxyHandler, build_opener, install_opener,
HTTPPasswordMgrWithDefaultRealm, ProxyBasicAuthHandler,
ProxyDigestAuthHandler, Request)
- from urllib import getproxies, quote_plus, unquote_plus, urlencode
+ from urllib import getproxies, quote_plus, unquote_plus, urlencode, url2pathname
# Maps py2 tkinter package structure to py3 using import hook (PEP 302)
class TkinterPackage(object):
diff --git a/nltk/corpus/reader/indian.py b/nltk/corpus/reader/indian.py
index 6134ac9..f777670 100644
--- a/nltk/corpus/reader/indian.py
+++ b/nltk/corpus/reader/indian.py
@@ -18,8 +18,6 @@ Contents:
- Telugu: IIIT Hyderabad
"""
-import codecs
-
from nltk import compat
from nltk.tag import str2tuple, map_tag
diff --git a/nltk/corpus/reader/string_category.py b/nltk/corpus/reader/string_category.py
index 98859ac..3b0160b 100644
--- a/nltk/corpus/reader/string_category.py
+++ b/nltk/corpus/reader/string_category.py
@@ -19,8 +19,6 @@ NUM:date When did Hawaii become a state ?
# based on PPAttachmentCorpusReader
-import os
-
from nltk import compat
from nltk.corpus.reader.util import *
from nltk.corpus.reader.api import *
diff --git a/nltk/corpus/reader/util.py b/nltk/corpus/reader/util.py
index 7959794..7124176 100644
--- a/nltk/corpus/reader/util.py
+++ b/nltk/corpus/reader/util.py
@@ -20,7 +20,7 @@ except ImportError:
try: from xml.etree import cElementTree as ElementTree
except ImportError: from xml.etree import ElementTree
-from nltk import compat
+from nltk.compat import string_types, text_type
from nltk.tokenize import wordpunct_tokenize
from nltk.internals import slice_bounds
from nltk.data import PathPointer, FileSystemPathPointer, ZipFilePathPointer
@@ -416,7 +416,7 @@ def concat(docs):
types = set(d.__class__ for d in docs)
# If they're all strings, use string concatenation.
- if all(isinstance(doc, compat.string_types) for doc in docs):
+ if all(isinstance(doc, string_types) for doc in docs):
return ''.join(docs)
# If they're all corpus views, then use ConcatenatedCorpusView.
@@ -508,7 +508,7 @@ class PickleCorpusView(StreamBackedCorpusView):
@classmethod
def write(cls, sequence, output_file):
- if isinstance(output_file, compat.string_types):
+ if isinstance(output_file, string_types):
output_file = open(output_file, 'wb')
for item in sequence:
pickle.dump(item, output_file, cls.PROTOCOL)
@@ -643,7 +643,7 @@ def read_sexpr_block(stream, block_size=16384, comment_char=None):
start = stream.tell()
block = stream.read(block_size)
encoding = getattr(stream, 'encoding', None)
- assert encoding is not None or isinstance(block, compat.text_type)
+ assert encoding is not None or isinstance(block, text_type)
if encoding not in (None, 'utf-8'):
import warnings
warnings.warn('Parsing may fail, depending on the properties '
diff --git a/nltk/corpus/reader/wordnet.py b/nltk/corpus/reader/wordnet.py
index f153a62..2503cdc 100644
--- a/nltk/corpus/reader/wordnet.py
+++ b/nltk/corpus/reader/wordnet.py
@@ -26,12 +26,13 @@ import math
import re
from itertools import islice, chain
from operator import itemgetter, attrgetter
-from collections import defaultdict
+from collections import defaultdict, deque
from nltk.corpus.reader import CorpusReader
from nltk.util import binary_search_file as _binary_search_file
from nltk.probability import FreqDist
-from nltk.compat import xrange, python_2_unicode_compatible, total_ordering
+from nltk.compat import (iteritems, python_2_unicode_compatible,
+ total_ordering, xrange)
######################################################################
## Table of Contents
@@ -115,9 +116,15 @@ class _WordNetObject(object):
def hypernyms(self):
return self._related('@')
+ def _hypernyms(self):
+ return self._related('@', sort=False)
+
def instance_hypernyms(self):
return self._related('@i')
+ def _instance_hypernyms(self):
+ return self._related('@i', sort=False)
+
def hyponyms(self):
return self._related('~')
@@ -615,7 +622,7 @@ class Synset(_WordNetObject):
a hypernym of the first ``Synset``.
"""
distances = set([(self, distance)])
- for hypernym in self.hypernyms() + self.instance_hypernyms():
+ for hypernym in self._hypernyms() + self._instance_hypernyms():
distances |= hypernym.hypernym_distances(distance+1, simulate_root=False)
if simulate_root:
fake_synset = Synset(None)
@@ -624,6 +631,30 @@ class Synset(_WordNetObject):
distances.add((fake_synset, fake_synset_distance+1))
return distances
+ def _shortest_hypernym_paths(self, simulate_root):
+ if self._name == '*ROOT*':
+ return {self: 0}
+
+ queue = deque([(self, 0)])
+ path = {}
+
+ while queue:
+ s, depth = queue.popleft()
+ if s in path:
+ continue
+ path[s] = depth
+
+ depth += 1
+ queue.extend((hyp, depth) for hyp in s._hypernyms())
+ queue.extend((hyp, depth) for hyp in s._instance_hypernyms())
+
+ if simulate_root:
+ fake_synset = Synset(None)
+ fake_synset._name = '*ROOT*'
+ path[fake_synset] = max(path.values()) + 1
+
+ return path
+
def shortest_path_distance(self, other, simulate_root=False):
"""
Returns the distance of the shortest path linking the two synsets (if
@@ -642,38 +673,19 @@ class Synset(_WordNetObject):
if self == other:
return 0
- path_distance = None
-
- dist_list1 = self.hypernym_distances(simulate_root=simulate_root)
- dist_dict1 = {}
-
- dist_list2 = other.hypernym_distances(simulate_root=simulate_root)
- dist_dict2 = {}
-
- # Transform each distance list into a dictionary. In cases where
- # there are duplicate nodes in the list (due to there being multiple
- # paths to the root) the duplicate with the shortest distance from
- # the original node is entered.
-
- for (l, d) in [(dist_list1, dist_dict1), (dist_list2, dist_dict2)]:
- for (key, value) in l:
- if key in d:
- if value < d[key]:
- d[key] = value
- else:
- d[key] = value
+ dist_dict1 = self._shortest_hypernym_paths(simulate_root)
+ dist_dict2 = other._shortest_hypernym_paths(simulate_root)
# For each ancestor synset common to both subject synsets, find the
# connecting path length. Return the shortest of these.
- for synset1 in dist_dict1.keys():
- for synset2 in dist_dict2.keys():
- if synset1 == synset2:
- new_distance = dist_dict1[synset1] + dist_dict2[synset2]
- if path_distance is None or path_distance < 0 or new_distance < path_distance:
- path_distance = new_distance
+ inf = float('inf')
+ path_distance = inf
+ for synset, d1 in iteritems(dist_dict1):
+ d2 = dist_dict2.get(synset, inf)
+ path_distance = min(path_distance, d1 + d2)
- return path_distance
+ return None if math.isinf(path_distance) else path_distance
def tree(self, rel, depth=-1, cut_mark=None):
"""
@@ -951,10 +963,13 @@ class Synset(_WordNetObject):
def __repr__(self):
return "%s('%s')" % (type(self).__name__, self._name)
- def _related(self, relation_symbol):
+ def _related(self, relation_symbol, sort=True):
get_synset = self._wordnet_corpus_reader._synset_from_pos_and_offset
pointer_tuples = self._pointers[relation_symbol]
- return sorted([get_synset(pos, offset) for pos, offset in pointer_tuples])
+ r = [get_synset(pos, offset) for pos, offset in pointer_tuples]
+ if sort:
+ r.sort()
+ return r
######################################################################
diff --git a/nltk/data.py b/nltk/data.py
index 1b80b18..1a6426e 100644
--- a/nltk/data.py
+++ b/nltk/data.py
@@ -56,7 +56,7 @@ except ImportError:
# this import should be more specific:
import nltk
-from nltk.compat import py3_data, text_type, string_types, BytesIO, urlopen
+from nltk.compat import py3_data, text_type, string_types, BytesIO, urlopen, url2pathname
######################################################################
# Search Path
@@ -579,14 +579,14 @@ def find(resource_name, paths=None):
# Is the path item a directory or is resource_name an absolute path?
elif not path_ or os.path.isdir(path_):
if zipfile is None:
- p = os.path.join(path_, resource_name)
+ p = os.path.join(path_, url2pathname(resource_name))
if os.path.exists(p):
if p.endswith('.gz'):
return GzipFileSystemPathPointer(p)
else:
return FileSystemPathPointer(p)
else:
- p = os.path.join(path_, zipfile)
+ p = os.path.join(path_, url2pathname(zipfile))
if os.path.exists(p):
try:
return ZipFilePathPointer(p, zipentry)
@@ -665,10 +665,10 @@ FORMATS = {
'fcfg': "A feature CFG.",
'fol': "A list of first order logic expressions, parsed with "
"nltk.sem.logic.Expression.fromstring.",
- 'logic': "A list of first order logic expressions, parsed by "
- "nltk.sem.logic._LogicParser. Requires an additional logic_parser "
+ 'logic': "A list of first order logic expressions, parsed with "
+ "nltk.sem.logic.LogicParser. Requires an additional logic_parser "
"parameter",
- 'val': "A semantic valuation, parsed by nltk.sem.parse_valuation().",
+ 'val': "A semantic valuation, parsed by nltk.sem.Valuation.fromstring.",
'raw': "The raw (byte string) contents of a file.",
'text': "The raw (unicode string) contents of a file. "
}
@@ -812,14 +812,14 @@ def load(resource_url, format='auto', cache=True, verbose=False,
string_data, logic_parser=logic_parser,
fstruct_reader=fstruct_reader, encoding=encoding)
elif format == 'fol':
- resource_val = nltk.sem.parse_logic(
- string_data, logic_parser=nltk.sem.logic._LogicParser(),
+ resource_val = nltk.sem.read_logic(
+ string_data, logic_parser=nltk.sem.logic.LogicParser(),
encoding=encoding)
elif format == 'logic':
- resource_val = nltk.sem.parse_logic(
+ resource_val = nltk.sem.read_logic(
string_data, logic_parser=logic_parser, encoding=encoding)
elif format == 'val':
- resource_val = nltk.sem.parse_valuation(
+ resource_val = nltk.sem.read_valuation(
string_data, encoding=encoding)
else:
raise AssertionError("Internal NLTK error: Format %s isn't "
@@ -882,13 +882,13 @@ def _open(resource_url):
for the file in the the NLTK data package.
"""
resource_url = normalize_resource_url(resource_url)
- protocol, _path = split_resource_url(resource_url)
+ protocol, path_ = split_resource_url(resource_url)
if protocol is None or protocol.lower() == 'nltk':
- return find(_path, path + ['']).open()
+ return find(path_, path + ['']).open()
elif protocol.lower() == 'file':
# urllib might not use mode='rb', so handle this one ourselves:
- return find(_path, ['']).open()
+ return find(path_, ['']).open()
else:
return urlopen(resource_url)
diff --git a/nltk/draw/tree.py b/nltk/draw/tree.py
index aea0c83..00bdabe 100644
--- a/nltk/draw/tree.py
+++ b/nltk/draw/tree.py
@@ -877,7 +877,7 @@ def demo():
cf = CanvasFrame(width=550, height=450, closeenough=2)
- t = Tree('''
+ t = Tree.fromstring('''
(S (NP the very big cat)
(VP (Adv sorta) (V saw) (NP (Det the) (N dog))))''')
@@ -896,7 +896,7 @@ def demo():
return OvalWidget(canvas, TextWidget(canvas, text),
fill='cyan')
- treetok = Tree('(S (NP this tree) (VP (V is) (AdjP shapeable)))')
+ treetok = Tree.fromstring('(S (NP this tree) (VP (V is) (AdjP shapeable)))')
tc2 = TreeWidget(cf.canvas(), treetok, boxit, ovalit, shapeable=1)
def color(node):
@@ -914,7 +914,7 @@ def demo():
paren = ParenWidget(cf.canvas(), tc2)
cf.add_widget(paren, tc.bbox()[2]+10, 10)
- tree3 = Tree('''
+ tree3 = Tree.fromstring('''
(S (NP this tree) (AUX was)
(VP (V built) (PP (P with) (NP (N tree_to_treesegment)))))''')
tc3 = tree_to_treesegment(cf.canvas(), tree3, tree_color='green4',
@@ -949,7 +949,7 @@ built from tree_to_treesegment."""
textbox = BoxWidget(cf.canvas(), twidget, fill='white', draggable=1)
cf.add_widget(textbox, tc3.bbox()[2]+10, tc2.bbox()[3]+10)
- tree4 = Tree('(S (NP this tree) (VP (V is) (Adj horizontal)))')
+ tree4 = Tree.fromstring('(S (NP this tree) (VP (V is) (Adj horizontal)))')
tc4 = TreeWidget(cf.canvas(), tree4, draggable=1,
line_color='brown2', roof_color='brown2',
node_font=('helvetica', -12, 'bold'),
diff --git a/nltk/examples/__init__.py b/nltk/examples/__init__.py
deleted file mode 100644
index e69de29..0000000
diff --git a/nltk/examples/pt.py b/nltk/examples/pt.py
deleted file mode 100644
index dc76567..0000000
--- a/nltk/examples/pt.py
+++ /dev/null
@@ -1,49 +0,0 @@
-# -*- coding: iso-8859-1 -*-
-
-# Natural Language Toolkit: Some Portuguese texts for exploration in chapter 1 of the book
-#
-# Copyright (C) 2001-2014 NLTK Project
-# Author: Steven Bird <stevenbird1 at gmail.com>
-# URL: <http://nltk.org/>
-# For license information, see LICENSE.TXT
-from __future__ import print_function, unicode_literals
-
-from nltk.corpus import machado, mac_morpho, floresta, genesis
-from nltk.text import Text
-from nltk.probability import FreqDist
-from nltk.util import bigrams
-from nltk.misc import babelize_shell
-
-print("*** Introductory Examples for the NLTK Book ***")
-print("Loading ptext1, ... and psent1, ...")
-print("Type the name of the text or sentence to view it.")
-print("Type: 'texts()' or 'sents()' to list the materials.")
-
-ptext1 = Text(machado.words('romance/marm05.txt'), name="Mem�rias P�stumas de Br�s Cubas (1881)")
-print("ptext1:", ptext1.name)
-
-ptext2 = Text(machado.words('romance/marm08.txt'), name="Dom Casmurro (1899)")
-print("ptext2:", ptext2.name)
-
-ptext3 = Text(genesis.words('portuguese.txt'), name="G�nesis")
-print("ptext3:", ptext3.name)
-
-ptext4 = Text(mac_morpho.words('mu94se01.txt'), name="Folha de Sao Paulo (1994)")
-print("ptext4:", ptext4.name)
-
-def texts():
- print("ptext1:", ptext1.name)
- print("ptext2:", ptext2.name)
- print("ptext3:", ptext3.name)
- print("ptext4:", ptext4.name)
-
-psent1 = "o amor da gl�ria era a coisa mais verdadeiramente humana que h� no homem , e , conseq�entemente , a sua mais genu�na fei��o .".split()
-psent2 = "N�o consultes dicion�rios .".split()
-psent3 = "No princ�pio, criou Deus os c�us e a terra.".split()
-psent4 = "A C�ritas acredita que outros cubanos devem chegar ao Brasil .".split()
-
-def sents():
- print("psent1:", " ".join(psent1))
- print("psent2:", " ".join(psent2))
- print("psent3:", " ".join(psent3))
- print("psent4:", " ".join(psent4))
diff --git a/nltk/featstruct.py b/nltk/featstruct.py
index 2585eb8..46a0052 100644
--- a/nltk/featstruct.py
+++ b/nltk/featstruct.py
@@ -95,7 +95,7 @@ import copy
from nltk.internals import read_str, raise_unorderable_types
from nltk.sem.logic import (Variable, Expression, SubstituteBindingsI,
- _LogicParser, LogicalExpressionException)
+ LogicParser, LogicalExpressionException)
from nltk.compat import (string_types, integer_types, total_ordering,
python_2_unicode_compatible, unicode_repr)
@@ -1958,7 +1958,7 @@ class FeatStructReader(object):
self._features_with_defaults = [feature for feature in features
if feature.default is not None]
if logic_parser is None:
- logic_parser = _LogicParser()
+ logic_parser = LogicParser()
self._logic_parser = logic_parser
def fromstring(self, s, fstruct=None):
diff --git a/nltk/grammar.py b/nltk/grammar.py
index 05d26f9..632c234 100644
--- a/nltk/grammar.py
+++ b/nltk/grammar.py
@@ -398,7 +398,8 @@ class ProbabilisticProduction(Production, ImmutableProbabilisticMixIn):
Production.__init__(self, lhs, rhs)
def __str__(self):
- return Production.__unicode__(self) + ' [%.6g]' % self.prob()
+ return Production.__unicode__(self) + \
+ (' [1.0]' if (self.prob() == 1.0) else ' [%g]' % self.prob())
def __eq__(self, other):
return (type(self) == type(other) and
diff --git a/nltk/inference/discourse.py b/nltk/inference/discourse.py
index 1af2754..ee5aed2 100644
--- a/nltk/inference/discourse.py
+++ b/nltk/inference/discourse.py
@@ -492,7 +492,7 @@ class DiscourseTester(object):
#L2 = ['a', 'b', 'c']
#print multiply(L1,L2)
-def parse_fol(s):
+def load_fol(s):
"""
Temporarily duplicated from ``nltk.sem.util``.
Convert a file of first order formulas into a list of ``Expression`` objects.
diff --git a/nltk/inference/prover9.py b/nltk/inference/prover9.py
index c4c76a3..f99fe7b 100644
--- a/nltk/inference/prover9.py
+++ b/nltk/inference/prover9.py
@@ -114,7 +114,7 @@ class Prover9Parent(object):
self._prover9_bin = nltk.internals.find_binary(
name,
path_to_bin=binary_location,
- env_vars=['PROVER9HOME'],
+ env_vars=['PROVER9'],
url='http://www.cs.unm.edu/~mccune/prover9/',
binary_names=[name, name + '.exe'],
verbose=verbose)
@@ -160,7 +160,7 @@ class Prover9Parent(object):
binary_locations += [self._binary_location]
return nltk.internals.find_binary(name,
searchpath=binary_locations,
- env_vars=['PROVER9HOME'],
+ env_vars=['PROVER9'],
url='http://www.cs.unm.edu/~mccune/prover9/',
binary_names=[name, name + '.exe'],
verbose=verbose)
diff --git a/nltk/internals.py b/nltk/internals.py
index 49ac006..823423b 100644
--- a/nltk/internals.py
+++ b/nltk/internals.py
@@ -570,9 +570,11 @@ def find_jar_iter(name_pattern, path_to_jar=None, env_vars=(),
# it's present; otherwise, complain.
if path_to_jar is not None:
if os.path.isfile(path_to_jar):
+ yielded = True
yield path_to_jar
- raise LookupError('Could not find %s jar file at %s' %
- (name_pattern, path_to_jar))
+ else:
+ raise LookupError('Could not find %s jar file at %s' %
+ (name_pattern, path_to_jar))
# Check environment variables
for env_var in env_vars:
diff --git a/nltk/metrics/__init__.py b/nltk/metrics/__init__.py
index 46981d4..96be878 100644
--- a/nltk/metrics/__init__.py
+++ b/nltk/metrics/__init__.py
@@ -20,6 +20,7 @@ from nltk.metrics.distance import (edit_distance, binary_distance,
jaccard_distance, masi_distance,
interval_distance, custom_distance,
presence, fractional_presence)
+from nltk.metrics.paice import Paice
from nltk.metrics.segmentation import windowdiff, ghd, pk
from nltk.metrics.agreement import AnnotationTask
from nltk.metrics.association import (NgramAssocMeasures, BigramAssocMeasures,
diff --git a/nltk/metrics/artstein_poesio_example.txt b/nltk/metrics/artstein_poesio_example.txt
deleted file mode 100644
index cad1b46..0000000
--- a/nltk/metrics/artstein_poesio_example.txt
+++ /dev/null
@@ -1,200 +0,0 @@
-a 1 stat
-b 1 stat
-a 2 stat
-b 2 stat
-a 3 stat
-b 3 stat
-a 4 stat
-b 4 stat
-a 5 stat
-b 5 stat
-a 6 stat
-b 6 stat
-a 7 stat
-b 7 stat
-a 8 stat
-b 8 stat
-a 9 stat
-b 9 stat
-a 10 stat
-b 10 stat
-a 11 stat
-b 11 stat
-a 12 stat
-b 12 stat
-a 13 stat
-b 13 stat
-a 14 stat
-b 14 stat
-a 15 stat
-b 15 stat
-a 16 stat
-b 16 stat
-a 17 stat
-b 17 stat
-a 18 stat
-b 18 stat
-a 19 stat
-b 19 stat
-a 20 stat
-b 20 stat
-a 21 stat
-b 21 stat
-a 22 stat
-b 22 stat
-a 23 stat
-b 23 stat
-a 24 stat
-b 24 stat
-a 25 stat
-b 25 stat
-a 26 stat
-b 26 stat
-a 27 stat
-b 27 stat
-a 28 stat
-b 28 stat
-a 29 stat
-b 29 stat
-a 30 stat
-b 30 stat
-a 31 stat
-b 31 stat
-a 32 stat
-b 32 stat
-a 33 stat
-b 33 stat
-a 34 stat
-b 34 stat
-a 35 stat
-b 35 stat
-a 36 stat
-b 36 stat
-a 37 stat
-b 37 stat
-a 38 stat
-b 38 stat
-a 39 stat
-b 39 stat
-a 40 stat
-b 40 stat
-a 41 stat
-b 41 stat
-a 42 stat
-b 42 stat
-a 43 stat
-b 43 stat
-a 44 stat
-b 44 stat
-a 45 stat
-b 45 stat
-a 46 stat
-b 46 stat
-a 47 ireq
-b 47 stat
-a 48 ireq
-b 48 stat
-a 49 ireq
-b 49 stat
-a 50 ireq
-b 50 stat
-a 51 ireq
-b 51 stat
-a 52 ireq
-b 52 stat
-a 53 ireq
-b 53 ireq
-a 54 ireq
-b 54 ireq
-a 55 ireq
-b 55 ireq
-a 56 ireq
-b 56 ireq
-a 57 ireq
-b 57 ireq
-a 58 ireq
-b 58 ireq
-a 59 ireq
-b 59 ireq
-a 60 ireq
-b 60 ireq
-a 61 ireq
-b 61 ireq
-a 62 ireq
-b 62 ireq
-a 63 ireq
-b 63 ireq
-a 64 ireq
-b 64 ireq
-a 65 ireq
-b 65 ireq
-a 66 ireq
-b 66 ireq
-a 67 ireq
-b 67 ireq
-a 68 ireq
-b 68 ireq
-a 69 ireq
-b 69 ireq
-a 70 ireq
-b 70 ireq
-a 71 ireq
-b 71 ireq
-a 72 ireq
-b 72 ireq
-a 73 ireq
-b 73 ireq
-a 74 ireq
-b 74 ireq
-a 75 ireq
-b 75 ireq
-a 76 ireq
-b 76 ireq
-a 77 ireq
-b 77 ireq
-a 78 ireq
-b 78 ireq
-a 79 ireq
-b 79 ireq
-a 80 ireq
-b 80 ireq
-a 81 ireq
-b 81 ireq
-a 82 ireq
-b 82 ireq
-a 83 ireq
-b 83 ireq
-a 84 ireq
-b 84 ireq
-a 85 ireq
-b 85 chck
-a 86 ireq
-b 86 chck
-a 87 ireq
-b 87 chck
-a 88 ireq
-b 88 chck
-a 89 ireq
-b 89 chck
-a 90 ireq
-b 90 chck
-a 91 chck
-b 91 chck
-a 92 chck
-b 92 chck
-a 93 chck
-b 93 chck
-a 94 chck
-b 94 chck
-a 95 chck
-b 95 chck
-a 96 chck
-b 96 chck
-a 97 chck
-b 97 chck
-a 98 chck
-b 98 chck
-a 99 chck
-b 99 chck
-a 100 chck
-b 100 chck
diff --git a/nltk/metrics/paice.py b/nltk/metrics/paice.py
new file mode 100644
index 0000000..834171e
--- /dev/null
+++ b/nltk/metrics/paice.py
@@ -0,0 +1,381 @@
+# Natural Language Toolkit: Agreement Metrics
+#
+# Copyright (C) 2001-2014 NLTK Project
+# Author: Lauri Hallila <laurihallila at gmail.com>
+# URL: <http://nltk.org/>
+# For license information, see LICENSE.TXT
+#
+
+"""Counts Paice's performance statistics for evaluating stemming algorithms.
+
+What is required:
+ - A dictionary of words grouped by their real lemmas
+ - A dictionary of words grouped by stems from a stemming algorithm
+
+When these are given, Understemming Index (UI), Overstemming Index (OI),
+Stemming Weight (SW) and Error-rate relative to truncation (ERRT) are counted.
+
+References:
+Chris D. Paice (1994). An evaluation method for stemming algorithms.
+In Proceedings of SIGIR, 42--50.
+"""
+
+from math import sqrt
+
+
+def get_words_from_dictionary(lemmas):
+ '''
+ Get original set of words used for analysis.
+
+ :param lemmas: A dictionary where keys are lemmas and values are sets
+ or lists of words corresponding to that lemma.
+ :type lemmas: dict
+ :return: Set of words that exist as values in the dictionary
+ :rtype: set
+ '''
+ words = set()
+ for lemma in lemmas:
+ words.update(set(lemmas[lemma]))
+ return words
+
+
+def _truncate(words, cutlength):
+ '''Group words by stems defined by truncating them at given length.
+
+ :param words: Set of words used for analysis
+ :param cutlength: Words are stemmed by cutting at this length.
+ :type words: set or list
+ :type cutlength: int
+ :return: Dictionary where keys are stems and values are sets of words
+ corresponding to that stem.
+ :rtype: dict
+ '''
+ stems = {}
+ for word in words:
+ stem = word[:cutlength]
+ try:
+ stems[stem].update([word])
+ except KeyError:
+ stems[stem] = set([word])
+ return stems
+
+
+# Reference: http://en.wikipedia.org/wiki/Line-line_intersection
+def _count_intersection(l1, l2):
+ '''Count intersection between two line segments defined by coordinate pairs.
+
+ :param l1: Tuple of two coordinate pairs defining the first line segment
+ :param l2: Tuple of two coordinate pairs defining the second line segment
+ :type l1: tuple
+ :type l2: tuple
+ :return: Coordinates of the intersection
+ :rtype: tuple
+ '''
+ x1, y1 = l1[0]
+ x2, y2 = l1[1]
+ x3, y3 = l2[0]
+ x4, y4 = l2[1]
+
+ denominator = (x1 - x2) * (y3 - y4) - (y1 - y2) * (x3 - x4)
+
+ if denominator == 0.0: # lines are parallel
+ if x1 == x2 == x3 == x4 == 0.0:
+ # When lines are parallel, they must be on the y-axis.
+ # We can ignore x-axis because we stop counting the
+ # truncation line when we get there.
+ # There are no other options as UI (x-axis) grows and
+ # OI (y-axis) diminishes when we go along the truncation line.
+ return (0.0, y4)
+
+ x = ((x1 * y2 - y1 * x2) * (x3 - x4) - (x1 - x2) * (x3 * y4 - y3 * x4)) / denominator
+ y = ((x1 * y2 - y1 * x2) * (y3 - y4) - (y1 - y2) * (x3 * y4 - y3 * x4)) / denominator
+ return (x, y)
+
+
+def _get_derivative(coordinates):
+ '''Get derivative of the line from (0,0) to given coordinates.
+
+ :param coordinates: A coordinate pair
+ :type coordinates: tuple
+ :return: Derivative; inf if x is zero
+ :rtype: float
+ '''
+ try:
+ return coordinates[1] / coordinates[0]
+ except ZeroDivisionError:
+ return float('inf')
+
+
+def _calculate_cut(lemmawords, stems):
+ '''Count understemmed and overstemmed pairs for (lemma, stem) pair with common words.
+
+ :param lemmawords: Set or list of words corresponding to certain lemma.
+ :param stems: A dictionary where keys are stems and values are sets
+ or lists of words corresponding to that stem.
+ :type lemmawords: set or list
+ :type stems: dict
+ :return: Amount of understemmed and overstemmed pairs contributed by words
+ existing in both lemmawords and stems.
+ :rtype: tuple
+ '''
+ umt, wmt = 0.0, 0.0
+ for stem in stems:
+ cut = set(lemmawords) & set(stems[stem])
+ if cut:
+ cutcount = len(cut)
+ stemcount = len(stems[stem])
+ # Unachieved merge total
+ umt += cutcount * (len(lemmawords) - cutcount)
+ # Wrongly merged total
+ wmt += cutcount * (stemcount - cutcount)
+ return (umt, wmt)
+
+
+def _calculate(lemmas, stems):
+ '''Calculate actual and maximum possible amounts of understemmed and overstemmed word pairs.
+
+ :param lemmas: A dictionary where keys are lemmas and values are sets
+ or lists of words corresponding to that lemma.
+ :param stems: A dictionary where keys are stems and values are sets
+ or lists of words corresponding to that stem.
+ :type lemmas: dict
+ :type stems: dict
+ :return: Global unachieved merge total (gumt),
+ global desired merge total (gdmt),
+ global wrongly merged total (gwmt) and
+ global desired non-merge total (gdnt).
+ :rtype: tuple
+ '''
+
+ n = sum(len(lemmas[word]) for word in lemmas)
+
+ gdmt, gdnt, gumt, gwmt = (0.0, 0.0, 0.0, 0.0)
+
+ for lemma in lemmas:
+ lemmacount = len(lemmas[lemma])
+
+ # Desired merge total
+ gdmt += lemmacount * (lemmacount - 1)
+
+ # Desired non-merge total
+ gdnt += lemmacount * (n - lemmacount)
+
+ # For each (lemma, stem) pair with common words, count how many
+ # pairs are understemmed and overstemmed.
+ umt, wmt = _calculate_cut(lemmas[lemma], stems)
+
+ # Add to total undesired and wrongly-merged totals
+ gumt += umt
+ gwmt += wmt
+
+ # Each object is counted twice, so divide by two
+ return (gumt / 2, gdmt / 2, gwmt / 2, gdnt / 2)
+
+
+def _indexes(gumt, gdmt, gwmt, gdnt):
+ '''Count Understemming Index (UI), Overstemming Index (OI) and Stemming Weight (SW).
+
+ :param gumt, gdmt, gwmt, gdnt: Global unachieved merge total (gumt),
+ global desired merge total (gdmt),
+ global wrongly merged total (gwmt) and
+ global desired non-merge total (gdnt).
+ :type gumt, gdmt, gwmt, gdnt: float
+ :return: Understemming Index (UI),
+ Overstemming Index (OI) and
+ Stemming Weight (SW).
+ :rtype: tuple
+ '''
+ # Calculate Understemming Index (UI),
+ # Overstemming Index (OI) and Stemming Weight (SW)
+ try:
+ ui = gumt / gdmt
+ except ZeroDivisionError:
+ # If GDMT (max merge total) is 0, define UI as 0
+ ui = 0.0
+ try:
+ oi = gwmt / gdnt
+ except ZeroDivisionError:
+ # IF GDNT (max non-merge total) is 0, define OI as 0
+ oi = 0.0
+ try:
+ sw = oi / ui
+ except ZeroDivisionError:
+ if oi == 0.0:
+ # OI and UI are 0, define SW as 'not a number'
+ sw = float('nan')
+ else:
+ # UI is 0, define SW as infinity
+ sw = float('inf')
+ return (ui, oi, sw)
+
+
+class Paice(object):
+ '''Class for storing lemmas, stems and evaluation metrics.'''
+ def __init__(self, lemmas, stems):
+ '''
+ :param lemmas: A dictionary where keys are lemmas and values are sets
+ or lists of words corresponding to that lemma.
+ :param stems: A dictionary where keys are stems and values are sets
+ or lists of words corresponding to that stem.
+ :type lemmas: dict
+ :type stems: dict
+ '''
+ self.lemmas = lemmas
+ self.stems = stems
+ self.coords = []
+ self.gumt, self.gdmt, self.gwmt, self.gdnt = (None, None, None, None)
+ self.ui, self.oi, self.sw = (None, None, None)
+ self.errt = None
+ self.update()
+
+ def __str__(self):
+ text = ['Global Unachieved Merge Total (GUMT): %s\n' % self.gumt]
+ text.append('Global Desired Merge Total (GDMT): %s\n' % self.gdmt)
+ text.append('Global Wrongly-Merged Total (GWMT): %s\n' % self.gwmt)
+ text.append('Global Desired Non-merge Total (GDNT): %s\n' % self.gdnt)
+ text.append('Understemming Index (GUMT / GDMT): %s\n' % self.ui)
+ text.append('Overstemming Index (GWMT / GDNT): %s\n' % self.oi)
+ text.append('Stemming Weight (OI / UI): %s\n' % self.sw)
+ text.append('Error-Rate Relative to Truncation (ERRT): %s\r\n' % self.errt)
+ coordinates = ' '.join(['(%s, %s)' % item for item in self.coords])
+ text.append('Truncation line: %s' % coordinates)
+ return ''.join(text)
+
+ def _get_truncation_indexes(self, words, cutlength):
+ '''Count (UI, OI) when stemming is done by truncating words at \'cutlength\'.
+
+ :param words: Words used for the analysis
+ :param cutlength: Words are stemmed by cutting them at this length
+ :type words: set or list
+ :type cutlength: int
+ :return: Understemming and overstemming indexes
+ :rtype: tuple
+ '''
+
+ truncated = _truncate(words, cutlength)
+ gumt, gdmt, gwmt, gdnt = _calculate(self.lemmas, truncated)
+ ui, oi = _indexes(gumt, gdmt, gwmt, gdnt)[:2]
+ return (ui, oi)
+
+ def _get_truncation_coordinates(self, cutlength=0):
+ '''Count (UI, OI) pairs for truncation points until we find the segment where (ui, oi) crosses the truncation line.
+
+ :param cutlength: Optional parameter to start counting from (ui, oi)
+ coordinates gotten by stemming at this length. Useful for speeding up
+ the calculations when you know the approximate location of the
+ intersection.
+ :type cutlength: int
+ :return: List of coordinate pairs that define the truncation line
+ :rtype: list
+ '''
+ words = get_words_from_dictionary(self.lemmas)
+ maxlength = max(len(word) for word in words)
+
+ # Truncate words from different points until (0, 0) - (ui, oi) segment crosses the truncation line
+ coords = []
+ while cutlength <= maxlength:
+ # Get (UI, OI) pair of current truncation point
+ pair = self._get_truncation_indexes(words, cutlength)
+
+ # Store only new coordinates so we'll have an actual
+ # line segment when counting the intersection point
+ if pair not in coords:
+ coords.append(pair)
+ if pair == (0.0, 0.0):
+ # Stop counting if truncation line goes through origo;
+ # length from origo to truncation line is 0
+ return coords
+ if len(coords) >= 2 and pair[0] > 0.0:
+ derivative1 = _get_derivative(coords[-2])
+ derivative2 = _get_derivative(coords[-1])
+ # Derivative of the truncation line is a decreasing value;
+ # when it passes Stemming Weight, we've found the segment
+ # of truncation line intersecting with (0, 0) - (ui, oi) segment
+ if derivative1 >= self.sw >= derivative2:
+ return coords
+ cutlength += 1
+ return coords
+
+ def _errt(self):
+ '''Count Error-Rate Relative to Truncation (ERRT).
+
+ :return: ERRT, length of the line from origo to (UI, OI) divided by
+ the length of the line from origo to the point defined by the same
+ line when extended until the truncation line.
+ :rtype: float
+ '''
+ # Count (UI, OI) pairs for truncation points until we find the segment where (ui, oi) crosses the truncation line
+ self.coords = self._get_truncation_coordinates()
+ if (0.0, 0.0) in self.coords:
+ # Truncation line goes through origo, so ERRT cannot be counted
+ if (self.ui, self.oi) != (0.0, 0.0):
+ return float('inf')
+ else:
+ return float('nan')
+ if (self.ui, self.oi) == (0.0, 0.0):
+ # (ui, oi) is origo; define errt as 0.0
+ return 0.0
+ # Count the intersection point
+ # Note that (self.ui, self.oi) cannot be (0.0, 0.0) and self.coords has different coordinates
+ # so we have actual line segments instead of a line segment and a point
+ intersection = _count_intersection(((0, 0), (self.ui, self.oi)),
+ self.coords[-2:]
+ )
+ # Count OP (length of the line from origo to (ui, oi))
+ op = sqrt(self.ui ** 2 + self.oi ** 2)
+ # Count OT (length of the line from origo to truncation line that goes through (ui, oi))
+ ot = sqrt(intersection[0] ** 2 + intersection[1] ** 2)
+ # OP / OT tells how well the stemming algorithm works compared to just truncating words
+ return op / ot
+
+ def update(self):
+ '''Update statistics after lemmas and stems have been set.'''
+ self.gumt, self.gdmt, self.gwmt, self.gdnt = _calculate(self.lemmas, self.stems)
+ self.ui, self.oi, self.sw = _indexes(self.gumt, self.gdmt, self.gwmt, self.gdnt)
+ self.errt = self._errt()
+
+
+def demo():
+ '''Demonstration of the module.'''
+ # Some words with their real lemmas
+ lemmas = {'kneel': ['kneel', 'knelt'],
+ 'range': ['range', 'ranged'],
+ 'ring': ['ring', 'rang', 'rung']
+ }
+ # Same words with stems from a stemming algorithm
+ stems = {'kneel': ['kneel'],
+ 'knelt': ['knelt'],
+ 'rang': ['rang', 'range', 'ranged'],
+ 'ring': ['ring'],
+ 'rung': ['rung']
+ }
+ print('Words grouped by their lemmas:')
+ for lemma in sorted(lemmas):
+ print('%s => %s' % (lemma, ' '.join(lemmas[lemma])))
+ print()
+ print('Same words grouped by a stemming algorithm:')
+ for stem in sorted(stems):
+ print('%s => %s' % (stem, ' '.join(stems[stem])))
+ print()
+ p = Paice(lemmas, stems)
+ print(p)
+ print()
+ # Let's "change" results from a stemming algorithm
+ stems = {'kneel': ['kneel'],
+ 'knelt': ['knelt'],
+ 'rang': ['rang'],
+ 'range': ['range', 'ranged'],
+ 'ring': ['ring'],
+ 'rung': ['rung']
+ }
+ print('Counting stats after changing stemming results:')
+ for stem in sorted(stems):
+ print('%s => %s' % (stem, ' '.join(stems[stem])))
+ print()
+ p.stems = stems
+ p.update()
+ print(p)
+
+
+if __name__ == '__main__':
+ demo()
diff --git a/nltk/parse/broker_test.cfg b/nltk/parse/broker_test.cfg
deleted file mode 100644
index e8ba69a..0000000
--- a/nltk/parse/broker_test.cfg
+++ /dev/null
@@ -1,10 +0,0 @@
-%start S
-
-S[sem=<app(?vp, ?subj)>] -> NP[sem=?subj] VP[sem=?vp]
-VP[sem = <app(?v, ?obj)>] -> V[sem = ?v] NP[sem=?obj]
-VP[sem = ?v] -> V[sem = ?v]
-NP[sem = <kim>] -> 'Kim'
-NP[sem = <i>] -> 'I'
-V[sem = <\x y.(like x y)>, tns=pres] -> 'like'
-V[sem = <\x.(sleeps x)>, tns=pres] -> 'sleeps'
-
diff --git a/nltk/parse/malt.py b/nltk/parse/malt.py
index 73ef5bc..be27d23 100644
--- a/nltk/parse/malt.py
+++ b/nltk/parse/malt.py
@@ -83,7 +83,7 @@ class MaltParser(ParserI):
# Find the malt binary.
self._malt_bin = find_binary('malt.jar', bin,
- searchpath=malt_path, env_vars=['MALTPARSERHOME'],
+ searchpath=malt_path, env_vars=['MALT_PARSER'],
url='http://www.maltparser.org/',
verbose=verbose)
diff --git a/nltk/parse/stanford.py b/nltk/parse/stanford.py
index ddd6259..284a432 100644
--- a/nltk/parse/stanford.py
+++ b/nltk/parse/stanford.py
@@ -68,7 +68,7 @@ class StanfordParser(ParserI):
Tree('NN', ['fox'])]), Tree('VP', [Tree('VBD', ['jumped']), Tree('PP', [Tree('IN', ['over']), Tree('NP',
[Tree('DT', ['the']), Tree('JJ', ['lazy']), Tree('NN', ['dog'])])])]), Tree('.', ['.'])])])]
"""
- _MODEL_JAR_PATTERN = r'stanford-parser-(\d+)\.(\d+)\.(\d+)-models\.jar'
+ _MODEL_JAR_PATTERN = r'stanford-parser-(\d+)(\.(\d+))+-models\.jar'
_JAR = 'stanford-parser.jar'
def __init__(self, path_to_jar=None, path_to_models_jar=None,
diff --git a/nltk/parse/test.cfg b/nltk/parse/test.cfg
deleted file mode 100644
index e8ba69a..0000000
--- a/nltk/parse/test.cfg
+++ /dev/null
@@ -1,10 +0,0 @@
-%start S
-
-S[sem=<app(?vp, ?subj)>] -> NP[sem=?subj] VP[sem=?vp]
-VP[sem = <app(?v, ?obj)>] -> V[sem = ?v] NP[sem=?obj]
-VP[sem = ?v] -> V[sem = ?v]
-NP[sem = <kim>] -> 'Kim'
-NP[sem = <i>] -> 'I'
-V[sem = <\x y.(like x y)>, tns=pres] -> 'like'
-V[sem = <\x.(sleeps x)>, tns=pres] -> 'sleeps'
-
diff --git a/nltk/parse/util.py b/nltk/parse/util.py
index b670cd9..acf6151 100644
--- a/nltk/parse/util.py
+++ b/nltk/parse/util.py
@@ -30,7 +30,7 @@ def load_parser(grammar_url, trace=0,
The following grammar formats are currently supported:
- ``'cfg'`` (CFGs: ``CFG``)
- ``'pcfg'`` (probabilistic CFGs: ``PCFG``)
- - ``'fcfg'`` (feature-based CFGs: ``CFG``)
+ - ``'fcfg'`` (feature-based CFGs: ``FeatureGrammar``)
:type grammar_url: str
:param grammar_url: A URL specifying where the grammar is located.
diff --git a/nltk/probability.py b/nltk/probability.py
index 605d8e8..2ce29e2 100644
--- a/nltk/probability.py
+++ b/nltk/probability.py
@@ -44,7 +44,6 @@ import random
import warnings
import array
from operator import itemgetter
-from itertools import islice
from collections import defaultdict
from functools import reduce
from nltk import compat
@@ -218,9 +217,7 @@ class FreqDist(Counter):
Plot samples from the frequency distribution
displaying the most frequent sample first. If an integer
parameter is supplied, stop after this many samples have been
- plotted. If two integer parameters m, n are supplied, plot a
- subset of the samples, beginning with m and stopping at n-1.
- For a cumulative plot, specify cumulative=True.
+ plotted. For a cumulative plot, specify cumulative=True.
(Requires Matplotlib to be installed.)
:param title: The title for the graph
@@ -236,7 +233,7 @@ class FreqDist(Counter):
if len(args) == 0:
args = [len(self)]
- samples = list(islice(self, *args))
+ samples = [item for item, _ in self.most_common(*args)]
cumulative = _get_kwarg(kwargs, 'cumulative', False)
if cumulative:
@@ -264,16 +261,14 @@ class FreqDist(Counter):
Tabulate the given samples from the frequency distribution (cumulative),
displaying the most frequent sample first. If an integer
parameter is supplied, stop after this many samples have been
- plotted. If two integer parameters m, n are supplied, plot a
- subset of the samples, beginning with m and stopping at n-1.
- (Requires Matplotlib to be installed.)
+ plotted.
:param samples: The samples to plot (default is all samples)
:type samples: list
"""
if len(args) == 0:
args = [len(self)]
- samples = list(islice(self, *args))
+ samples = [item for item, _ in self.most_common(*args)]
cumulative = _get_kwarg(kwargs, 'cumulative', False)
if cumulative:
@@ -313,7 +308,7 @@ class FreqDist(Counter):
:rtype: string
"""
- return '<FreqDist with %d samples and %d outcomes>' % (len(self), self.N())
+ return self.pprint()
def pprint(self, maxlen=10):
"""
@@ -334,7 +329,7 @@ class FreqDist(Counter):
:rtype: string
"""
- return self.pprint()
+ return '<FreqDist with %d samples and %d outcomes>' % (len(self), self.N())
##//////////////////////////////////////////////////////
@@ -1668,7 +1663,7 @@ class ConditionalFreqDist(defaultdict):
the indexing operator:
>>> cfdist[3]
- <FreqDist with 3 samples and 6 outcomes>
+ FreqDist({'the': 3, 'dog': 2, 'not': 1})
>>> cfdist[3].freq('the')
0.5
>>> cfdist[3]['dog']
diff --git a/nltk/sem/__init__.py b/nltk/sem/__init__.py
index a5c2757..a5be8f6 100644
--- a/nltk/sem/__init__.py
+++ b/nltk/sem/__init__.py
@@ -42,11 +42,11 @@ is then created with domain and valuation as parameters.
"""
from nltk.sem.util import (parse_sents, interpret_sents, evaluate_sents,
- root_semrep, parse_valuation)
+ root_semrep)
from nltk.sem.evaluate import (Valuation, Assignment, Model, Undefined,
- is_rel, set2rel, arity)
+ is_rel, set2rel, arity, read_valuation)
from nltk.sem.logic import (boolean_ops, binding_ops, equality_preds,
- parse_logic, Variable, Expression,
+ read_logic, Variable, Expression,
ApplicationExpression, LogicalExpressionException)
from nltk.sem.skolemize import skolemize
from nltk.sem.lfg import FStructure
diff --git a/nltk/sem/boxer.py b/nltk/sem/boxer.py
index e13a73e..5164c2d 100644
--- a/nltk/sem/boxer.py
+++ b/nltk/sem/boxer.py
@@ -14,7 +14,7 @@ This interface relies on the latest version of the development (subversion) vers
C&C and Boxer.
Usage:
- Set the environment variable CANDCHOME to the bin directory of your CandC installation.
+ Set the environment variable CANDC to the bin directory of your CandC installation.
The models directory should be in the CandC root directory.
For example:
/path/to/candc/
@@ -40,7 +40,7 @@ from nltk.sem.logic import (ExpectedMoreTokensException, LogicalExpressionExcept
UnexpectedTokenException, Variable)
from nltk.sem.drt import (DRS, DrtApplicationExpression, DrtEqualityExpression,
- DrtNegatedExpression, DrtOrExpression, _DrtParser,
+ DrtNegatedExpression, DrtOrExpression, DrtParser,
DrtProposition, DrtTokens, DrtVariableExpression)
from nltk.compat import python_2_unicode_compatible
@@ -184,7 +184,7 @@ class Boxer(object):
def _find_binary(self, name, bin_dir, verbose=False):
return find_binary(name,
path_to_bin=bin_dir,
- env_vars=['CANDCHOME'],
+ env_vars=['CANDC'],
url='http://svn.ask.it.usyd.edu.au/trac/candc/',
binary_names=[name, name + '.exe'],
verbose=verbose)
@@ -262,13 +262,13 @@ class Boxer(object):
return BoxerOutputDrsParser([None,discourse_id][use_disc_id]).parse(drs_string)
-class BoxerOutputDrsParser(_DrtParser):
+class BoxerOutputDrsParser(DrtParser):
def __init__(self, discourse_id=None):
"""
This class is used to parse the Prolog DRS output from Boxer into a
hierarchy of python objects.
"""
- _DrtParser.__init__(self)
+ DrtParser.__init__(self)
self.discourse_id = discourse_id
self.sentence_id_offset = None
self.quote_chars = [("'", "'", "\\", False)]
@@ -276,7 +276,7 @@ class BoxerOutputDrsParser(_DrtParser):
def parse(self, data, signature=None):
self._label_counter = Counter(-1)
- return _DrtParser.parse(self, data, signature)
+ return DrtParser.parse(self, data, signature)
def get_all_symbols(self):
return ['(', ')', ',', '[', ']',':']
@@ -347,7 +347,7 @@ class BoxerOutputDrsParser(_DrtParser):
def _handle_not(self):
self.assertToken(self.token(), '(')
- drs = self.parse_Expression(None)
+ drs = self.process_next_expression(None)
self.assertToken(self.token(), ')')
return BoxerNot(drs)
@@ -484,7 +484,7 @@ class BoxerOutputDrsParser(_DrtParser):
self.assertToken(self.token(), '(')
variable = self.parse_variable()
self.assertToken(self.token(), ',')
- drs = self.parse_Expression(None)
+ drs = self.process_next_expression(None)
self.assertToken(self.token(), ')')
return lambda sent_index, word_indices: BoxerProp(self.discourse_id, sent_index, word_indices, variable, drs)
@@ -528,9 +528,9 @@ class BoxerOutputDrsParser(_DrtParser):
def _handle_binary_expression(self, make_callback):
self.assertToken(self.token(), '(')
- drs1 = self.parse_Expression(None)
+ drs1 = self.process_next_expression(None)
self.assertToken(self.token(), ',')
- drs2 = self.parse_Expression(None)
+ drs2 = self.process_next_expression(None)
self.assertToken(self.token(), ')')
return lambda sent_index, word_indices: make_callback(sent_index, word_indices, drs1, drs2)
@@ -538,9 +538,9 @@ class BoxerOutputDrsParser(_DrtParser):
self.assertToken(self.token(), '(')
type = self.token()
self.assertToken(self.token(), ',')
- drs1 = self.parse_Expression(None)
+ drs1 = self.process_next_expression(None)
self.assertToken(self.token(), ',')
- drs2 = self.parse_Expression(None)
+ drs2 = self.process_next_expression(None)
self.assertToken(self.token(), ')')
return lambda sent_index, word_indices: make_callback(sent_index, word_indices, drs1, drs2)
@@ -574,11 +574,11 @@ class BoxerOutputDrsParser(_DrtParser):
self.token() #swallow the ']'
self.assertToken(self.token(), ',')
- d1 = self.parse_Expression(None)
+ d1 = self.process_next_expression(None)
self.assertToken(self.token(), ',')
ref = self.parse_variable()
self.assertToken(self.token(), ',')
- d2 = self.parse_Expression(None)
+ d2 = self.process_next_expression(None)
self.assertToken(self.token(), ')')
return lambda sent_index, word_indices: BoxerWhq(self.discourse_id, sent_index, word_indices, ans_types, d1, ref, d2)
@@ -615,12 +615,12 @@ class BoxerOutputDrsParser(_DrtParser):
return [(None, word_indices)]
-class BoxerDrsParser(_DrtParser):
+class BoxerDrsParser(DrtParser):
"""
Reparse the str form of subclasses of ``AbstractBoxerDrs``
"""
def __init__(self, discourse_id=None):
- _DrtParser.__init__(self)
+ DrtParser.__init__(self)
self.discourse_id = discourse_id
def get_all_symbols(self):
@@ -701,19 +701,19 @@ class BoxerDrsParser(_DrtParser):
self.assertNextToken(DrtTokens.COMMA)
variable = int(self.token())
self.assertNextToken(DrtTokens.COMMA)
- drs = self.parse_Expression(None)
+ drs = self.process_next_expression(None)
self.assertNextToken(DrtTokens.CLOSE)
return BoxerProp(disc_id, sent_id, word_ids, variable, drs)
elif tok == 'not':
self.assertNextToken(DrtTokens.OPEN)
- drs = self.parse_Expression(None)
+ drs = self.process_next_expression(None)
self.assertNextToken(DrtTokens.CLOSE)
return BoxerNot(drs)
elif tok == 'imp':
self.assertNextToken(DrtTokens.OPEN)
- drs1 = self.parse_Expression(None)
+ drs1 = self.process_next_expression(None)
self.assertNextToken(DrtTokens.COMMA)
- drs2 = self.parse_Expression(None)
+ drs2 = self.process_next_expression(None)
self.assertNextToken(DrtTokens.CLOSE)
return BoxerDrs(drs1.label, drs1.refs, drs1.conds, drs2)
elif tok == 'or':
@@ -724,9 +724,9 @@ class BoxerDrsParser(_DrtParser):
self.assertNextToken(DrtTokens.COMMA)
word_ids = map(int, self.handle_refs())
self.assertNextToken(DrtTokens.COMMA)
- drs1 = self.parse_Expression(None)
+ drs1 = self.process_next_expression(None)
self.assertNextToken(DrtTokens.COMMA)
- drs2 = self.parse_Expression(None)
+ drs2 = self.process_next_expression(None)
self.assertNextToken(DrtTokens.CLOSE)
return BoxerOr(disc_id, sent_id, word_ids, drs1, drs2)
elif tok == 'eq':
@@ -767,11 +767,11 @@ class BoxerDrsParser(_DrtParser):
self.assertNextToken(DrtTokens.COMMA)
ans_types = self.handle_refs()
self.assertNextToken(DrtTokens.COMMA)
- drs1 = self.parse_Expression(None)
+ drs1 = self.process_next_expression(None)
self.assertNextToken(DrtTokens.COMMA)
var = int(self.token())
self.assertNextToken(DrtTokens.COMMA)
- drs2 = self.parse_Expression(None)
+ drs2 = self.process_next_expression(None)
self.assertNextToken(DrtTokens.CLOSE)
return BoxerWhq(disc_id, sent_id, word_ids, ans_types, drs1, var, drs2)
except Exception as e:
diff --git a/nltk/sem/drt.py b/nltk/sem/drt.py
index 9be2ced..72226b5 100644
--- a/nltk/sem/drt.py
+++ b/nltk/sem/drt.py
@@ -17,7 +17,7 @@ from nltk.sem.logic import (APP, AbstractVariableExpression, AllExpression,
EventVariableExpression, ExistsExpression, Expression,
FunctionVariableExpression, ImpExpression,
IndividualVariableExpression, LambdaExpression, Tokens,
- _LogicParser, NegatedExpression, OrExpression, Variable,
+ LogicParser, NegatedExpression, OrExpression, Variable,
is_eventvar, is_funcvar, is_indvar, unique_variable)
# Import Tkinter-based modules if they are available
@@ -47,10 +47,10 @@ class DrtTokens(Tokens):
TOKENS = Tokens.TOKENS + [DRS] + PUNCT
-class _DrtParser(_LogicParser):
+class DrtParser(LogicParser):
"""A lambda calculus expression parser."""
def __init__(self):
- _LogicParser.__init__(self)
+ LogicParser.__init__(self)
self.operator_precedence = dict(
[(x,1) for x in DrtTokens.LAMBDA_LIST] + \
@@ -125,14 +125,14 @@ class _DrtParser(_LogicParser):
# Support expressions like: DRS([x y],C) == DRS([x, y],C)
if conds and self.token(0) == DrtTokens.COMMA:
self.token() # swallow the comma
- conds.append(self.parse_Expression(context))
+ conds.append(self.process_next_expression(context))
self.assertNextToken(DrtTokens.CLOSE_BRACKET)
return conds
def handle_prop(self, tok, context):
variable = self.make_VariableExpression(tok)
self.assertNextToken(':')
- drs = self.parse_Expression(DrtTokens.COLON)
+ drs = self.process_next_expression(DrtTokens.COLON)
return DrtProposition(variable, drs)
def make_EqualityExpression(self, first, second):
@@ -177,7 +177,7 @@ class DrtExpression(object):
Expression extends.
"""
- _drt_parser = _DrtParser()
+ _drt_parser = DrtParser()
@classmethod
def fromstring(cls, s):
diff --git a/nltk/sem/evaluate.py b/nltk/sem/evaluate.py
index 966f432..4f234df 100644
--- a/nltk/sem/evaluate.py
+++ b/nltk/sem/evaluate.py
@@ -18,6 +18,7 @@ from __future__ import print_function, unicode_literals
from pprint import pformat
import inspect
import textwrap
+import re
from nltk.decorators import decorator # this used in code that is commented out
from nltk.compat import string_types, python_2_unicode_compatible
@@ -147,6 +148,77 @@ class Valuation(dict):
"""The non-logical constants which the Valuation recognizes."""
return sorted(self.keys())
+ @classmethod
+ def fromstring(cls, s):
+ return read_valuation(s)
+
+
+##########################################
+# REs used by the _read_valuation function
+##########################################
+_VAL_SPLIT_RE = re.compile(r'\s*=+>\s*')
+_ELEMENT_SPLIT_RE = re.compile(r'\s*,\s*')
+_TUPLES_RE = re.compile(r"""\s*
+ (\([^)]+\)) # tuple-expression
+ \s*""", re.VERBOSE)
+
+def _read_valuation_line(s):
+ """
+ Read a line in a valuation file.
+
+ Lines are expected to be of the form::
+
+ noosa => n
+ girl => {g1, g2}
+ chase => {(b1, g1), (b2, g1), (g1, d1), (g2, d2)}
+
+ :param s: input line
+ :type s: str
+ :return: a pair (symbol, value)
+ :rtype: tuple
+ """
+ pieces = _VAL_SPLIT_RE.split(s)
+ symbol = pieces[0]
+ value = pieces[1]
+ # check whether the value is meant to be a set
+ if value.startswith('{'):
+ value = value[1:-1]
+ tuple_strings = _TUPLES_RE.findall(value)
+ # are the set elements tuples?
+ if tuple_strings:
+ set_elements = []
+ for ts in tuple_strings:
+ ts = ts[1:-1]
+ element = tuple(_ELEMENT_SPLIT_RE.split(ts))
+ set_elements.append(element)
+ else:
+ set_elements = _ELEMENT_SPLIT_RE.split(value)
+ value = set(set_elements)
+ return symbol, value
+
+def read_valuation(s, encoding=None):
+ """
+ Convert a valuation string into a valuation.
+
+ :param s: a valuation string
+ :type s: str
+ :param encoding: the encoding of the input string, if it is binary
+ :type encoding: str
+ :return: a ``nltk.sem`` valuation
+ :rtype: Valuation
+ """
+ if encoding is not None:
+ s = s.decode(encoding)
+ statements = []
+ for linenum, line in enumerate(s.splitlines()):
+ line = line.strip()
+ if line.startswith('#') or line=='': continue
+ try:
+ statements.append(_read_valuation_line(line))
+ except ValueError:
+ raise ValueError('Unable to parse line %s: %s' % (linenum, line))
+ return Valuation(statements)
+
@python_2_unicode_compatible
class Assignment(dict):
diff --git a/nltk/sem/linearlogic.py b/nltk/sem/linearlogic.py
index c7a6af0..4547a8a 100644
--- a/nltk/sem/linearlogic.py
+++ b/nltk/sem/linearlogic.py
@@ -9,7 +9,7 @@ from __future__ import print_function, unicode_literals
from nltk.internals import Counter
from nltk.compat import string_types, python_2_unicode_compatible
-from nltk.sem.logic import _LogicParser, APP
+from nltk.sem.logic import LogicParser, APP
_counter = Counter()
@@ -24,10 +24,10 @@ class Tokens(object):
PUNCT = [OPEN, CLOSE]
TOKENS = PUNCT + [IMP]
-class _LinearLogicParser(_LogicParser):
+class LinearLogicParser(LogicParser):
"""A linear logic expression parser."""
def __init__(self):
- _LogicParser.__init__(self)
+ LogicParser.__init__(self)
self.operator_precedence = {APP: 1, Tokens.IMP: 2, None: 3}
self.right_associated_operations += [Tokens.IMP]
@@ -58,7 +58,7 @@ class _LinearLogicParser(_LogicParser):
if self.has_priority(APP, context):
if self.inRange(0) and self.token(0) == Tokens.OPEN:
self.token() #swallow then open paren
- argument = self.parse_Expression(APP)
+ argument = self.process_next_expression(APP)
self.assertNextToken(Tokens.CLOSE)
expression = ApplicationExpression(expression, argument, None)
return expression
@@ -73,7 +73,7 @@ class _LinearLogicParser(_LogicParser):
@python_2_unicode_compatible
class Expression(object):
- _linear_logic_parser = _LinearLogicParser()
+ _linear_logic_parser = LinearLogicParser()
@classmethod
def fromstring(cls, s):
diff --git a/nltk/sem/logic.py b/nltk/sem/logic.py
index 9534b59..1730ba2 100644
--- a/nltk/sem/logic.py
+++ b/nltk/sem/logic.py
@@ -84,7 +84,7 @@ def binding_ops():
@python_2_unicode_compatible
-class _LogicParser(object):
+class LogicParser(object):
"""A lambda calculus expression parser."""
def __init__(self, type_check=False):
@@ -137,7 +137,7 @@ class _LogicParser(object):
self._buffer, mapping = self.process(data)
try:
- result = self.parse_Expression(None)
+ result = self.process_next_expression(None)
if self.inRange(0):
raise UnexpectedTokenException(self._currentIndex+1, self.token(0))
except LogicalExpressionException as e:
@@ -261,7 +261,7 @@ class _LogicParser(object):
def isvariable(self, tok):
return tok not in Tokens.TOKENS
- def parse_Expression(self, context):
+ def process_next_expression(self, context):
"""Parse the next complete expression from the stream and return it."""
try:
tok = self.token()
@@ -303,7 +303,7 @@ class _LogicParser(object):
return expression
def handle_negation(self, tok, context):
- return self.make_NegatedExpression(self.parse_Expression(Tokens.NOT))
+ return self.make_NegatedExpression(self.process_next_expression(Tokens.NOT))
def make_NegatedExpression(self, expression):
return NegatedExpression(expression)
@@ -324,10 +324,10 @@ class _LogicParser(object):
self.token() #swallow the Open Paren
#curry the arguments
- accum = self.make_ApplicationExpression(accum, self.parse_Expression(APP))
+ accum = self.make_ApplicationExpression(accum, self.process_next_expression(APP))
while self.inRange(0) and self.token(0) == Tokens.COMMA:
self.token() #swallow the comma
- accum = self.make_ApplicationExpression(accum, self.parse_Expression(APP))
+ accum = self.make_ApplicationExpression(accum, self.process_next_expression(APP))
self.assertNextToken(Tokens.CLOSE)
return accum
@@ -358,7 +358,7 @@ class _LogicParser(object):
if self.inRange(0) and self.token(0) == Tokens.DOT:
self.token() #swallow the dot
- accum = self.parse_Expression(tok)
+ accum = self.process_next_expression(tok)
while vars:
accum = self.make_LambdaExpression(vars.pop(), accum)
return accum
@@ -381,7 +381,7 @@ class _LogicParser(object):
if self.inRange(0) and self.token(0) == Tokens.DOT:
self.token() #swallow the dot
- accum = self.parse_Expression(tok)
+ accum = self.process_next_expression(tok)
while vars:
accum = self.make_QuanifiedExpression(factory, vars.pop(), accum)
return accum
@@ -401,7 +401,7 @@ class _LogicParser(object):
def handle_open(self, tok, context):
#Expression is in parens
- accum = self.parse_Expression(None)
+ accum = self.process_next_expression(None)
self.assertNextToken(Tokens.CLOSE)
return accum
@@ -413,7 +413,7 @@ class _LogicParser(object):
tok = self.token(0)
if tok in Tokens.EQ_LIST + Tokens.NEQ_LIST and self.has_priority(tok, context):
self.token() #swallow the "=" or "!="
- expression = self.make_EqualityExpression(expression, self.parse_Expression(tok))
+ expression = self.make_EqualityExpression(expression, self.process_next_expression(tok))
if tok in Tokens.NEQ_LIST:
expression = self.make_NegatedExpression(expression)
return expression
@@ -433,7 +433,7 @@ class _LogicParser(object):
if factory and self.has_priority(tok, context):
self.token() #swallow the operator
expression = self.make_BooleanExpression(factory, expression,
- self.parse_Expression(tok))
+ self.process_next_expression(tok))
else:
break
return expression
@@ -474,10 +474,10 @@ class _LogicParser(object):
"not take arguments.")
self.token() #swallow then open paren
#curry the arguments
- accum = self.make_ApplicationExpression(expression, self.parse_Expression(APP))
+ accum = self.make_ApplicationExpression(expression, self.process_next_expression(APP))
while self.inRange(0) and self.token(0) == Tokens.COMMA:
self.token() #swallow the comma
- accum = self.make_ApplicationExpression(accum, self.parse_Expression(APP))
+ accum = self.make_ApplicationExpression(accum, self.process_next_expression(APP))
self.assertNextToken(Tokens.CLOSE)
return accum
return expression
@@ -525,14 +525,14 @@ class _LogicParser(object):
return '<' + self.__class__.__name__ + ': ' + msg + '>'
-def parse_logic(s, logic_parser=None, encoding=None):
+def read_logic(s, logic_parser=None, encoding=None):
"""
Convert a file of First Order Formulas into a list of {Expression}s.
:param s: the contents of the file
:type s: str
:param logic_parser: The parser to be used to parse the logical expression
- :type logic_parser: _LogicParser
+ :type logic_parser: LogicParser
:param encoding: the encoding of the input string, if it is binary
:type encoding: str
:return: a list of parsed formulas.
@@ -541,7 +541,7 @@ def parse_logic(s, logic_parser=None, encoding=None):
if encoding is not None:
s = s.decode(encoding)
if logic_parser is None:
- logic_parser = _LogicParser()
+ logic_parser = LogicParser()
statements = []
for linenum, line in enumerate(s.splitlines()):
@@ -635,6 +635,10 @@ class Type(object):
def __hash__(self):
return hash("%s" % self)
+ @classmethod
+ def fromstring(cls, s):
+ return read_type(s)
+
@python_2_unicode_compatible
class ComplexType(Type):
def __init__(self, first, second):
@@ -767,7 +771,7 @@ EVENT_TYPE = EventType()
ANY_TYPE = AnyType()
-def parse_type(type_string):
+def read_type(type_string):
assert isinstance(type_string, string_types)
type_string = type_string.replace(' ', '') #remove spaces
@@ -783,8 +787,8 @@ def parse_type(type_string):
elif char == ',':
if paren_count == 1:
break
- return ComplexType(parse_type(type_string[1 :i ]),
- parse_type(type_string[i+1:-1]))
+ return ComplexType(read_type(type_string[1 :i ]),
+ read_type(type_string[i+1:-1]))
elif type_string[0] == "%s" % ENTITY_TYPE:
return ENTITY_TYPE
elif type_string[0] == "%s" % TRUTH_TYPE:
@@ -864,11 +868,15 @@ class SubstituteBindingsI(object):
class Expression(SubstituteBindingsI):
"""This is the base abstract object for all logical expressions"""
- _logic_parser = _LogicParser()
+ _logic_parser = LogicParser()
+ _type_checking_logic_parser = LogicParser(type_check=True)
@classmethod
- def fromstring(cls, s):
- return cls._logic_parser.parse(s)
+ def fromstring(cls, s, type_check=False, signature=None):
+ if type_check:
+ return cls._type_checking_logic_parser.parse(s, signature)
+ else:
+ return cls._logic_parser.parse(s, signature)
def __call__(self, other, *additional):
accum = self.applyto(other)
@@ -966,7 +974,7 @@ class Expression(SubstituteBindingsI):
if isinstance(val, Type):
varEx.type = val
else:
- varEx.type = parse_type(val)
+ varEx.type = read_type(val)
sig[key].append(varEx)
self._set_type(signature=sig)
@@ -1130,7 +1138,7 @@ class ApplicationExpression(Expression):
with another Expression, such as a LambdaExpression, which would mean that
the Predicate should be thought of as being applied to the arguments.
- The logical expression parser will always curry arguments in a application expression.
+ The logical expression reader will always curry arguments in a application expression.
So, "\x y.see(x,y)(john,mary)" will be represented internally as
"((\x y.(see(x))(y))(john))(mary)". This simplifies the internals since
there will always be exactly one argument in an application.
@@ -1858,7 +1866,7 @@ def is_eventvar(expr):
def demo():
lexpr = Expression.fromstring
- print('='*20 + 'Test parser' + '='*20)
+ print('='*20 + 'Test reader' + '='*20)
print(lexpr(r'john'))
print(lexpr(r'man(x)'))
print(lexpr(r'-man(x)'))
@@ -1889,7 +1897,7 @@ def demo():
print(e1 == e2)
def demo_errors():
- print('='*20 + 'Test parser errors' + '='*20)
+ print('='*20 + 'Test reader errors' + '='*20)
demoException('(P(x) & Q(x)')
demoException('((P(x) &) & Q(x))')
demoException('P(x) -> ')
diff --git a/nltk/sem/util.py b/nltk/sem/util.py
index 62bf06f..70d54fc 100644
--- a/nltk/sem/util.py
+++ b/nltk/sem/util.py
@@ -14,7 +14,6 @@ a first-order model.
"""
from __future__ import print_function, unicode_literals
-import re
import codecs
from nltk.sem import evaluate
@@ -97,77 +96,6 @@ def evaluate_sents(inputs, grammar, model, assignment, trace=0):
for interpretations in interpret_sents(inputs, grammar)]
-##########################################
-# REs used by the parse_valuation function
-##########################################
-_VAL_SPLIT_RE = re.compile(r'\s*=+>\s*')
-_ELEMENT_SPLIT_RE = re.compile(r'\s*,\s*')
-_TUPLES_RE = re.compile(r"""\s*
- (\([^)]+\)) # tuple-expression
- \s*""", re.VERBOSE)
-
-def parse_valuation_line(s, encoding=None):
- """
- Parse a line in a valuation file.
-
- Lines are expected to be of the form::
-
- noosa => n
- girl => {g1, g2}
- chase => {(b1, g1), (b2, g1), (g1, d1), (g2, d2)}
-
- :param s: input line
- :type s: str
- :param encoding: the encoding of the input string, if it is binary
- :type encoding: str
- :return: a pair (symbol, value)
- :rtype: tuple
- """
- if encoding is not None:
- s = s.decode(encoding)
- pieces = _VAL_SPLIT_RE.split(s)
- symbol = pieces[0]
- value = pieces[1]
- # check whether the value is meant to be a set
- if value.startswith('{'):
- value = value[1:-1]
- tuple_strings = _TUPLES_RE.findall(value)
- # are the set elements tuples?
- if tuple_strings:
- set_elements = []
- for ts in tuple_strings:
- ts = ts[1:-1]
- element = tuple(_ELEMENT_SPLIT_RE.split(ts))
- set_elements.append(element)
- else:
- set_elements = _ELEMENT_SPLIT_RE.split(value)
- value = set(set_elements)
- return symbol, value
-
-def parse_valuation(s, encoding=None):
- """
- Convert a valuation file into a valuation.
-
- :param s: the contents of a valuation file
- :type s: str
- :param encoding: the encoding of the input string, if it is binary
- :type encoding: str
- :return: a ``nltk.sem`` valuation
- :rtype: Valuation
- """
- if encoding is not None:
- s = s.decode(encoding)
- statements = []
- for linenum, line in enumerate(s.splitlines()):
- line = line.strip()
- if line.startswith('#') or line=='': continue
- try: statements.append(parse_valuation_line(line))
- except ValueError:
- raise ValueError('Unable to parse line %s: %s' % (linenum, line))
- val = evaluate.Valuation(statements)
- return val
-
-
def demo_model0():
global m0, g0
#Initialize a valuation of non-logical constants."""
@@ -214,9 +142,9 @@ def demo_legacy_grammar():
Define 'test.fcfg' to be the following
"""
- from nltk.grammar import parse_fcfg
+ from nltk.grammar import FeatureGrammar
- g = parse_fcfg("""
+ g = FeatureGrammar.fromstring("""
% start S
S[sem=<hello>] -> 'hello'
""")
diff --git a/nltk/tag/hunpos.py b/nltk/tag/hunpos.py
index 1e00753..916c773 100644
--- a/nltk/tag/hunpos.py
+++ b/nltk/tag/hunpos.py
@@ -72,13 +72,13 @@ class HunposTagger(TaggerI):
self._hunpos_bin = find_binary(
'hunpos-tag', path_to_bin,
- env_vars=('HUNPOS', 'HUNPOS_HOME'),
+ env_vars=('HUNPOS_TAGGER',),
searchpath=hunpos_paths,
url=_hunpos_url,
verbose=verbose)
self._hunpos_model = find_file(path_to_model,
- env_vars=('HUNPOS', 'HUNPOS_HOME'), verbose=verbose)
+ env_vars=('HUNPOS_TAGGER',), verbose=verbose)
self._encoding = encoding
self._hunpos = Popen([self._hunpos_bin, self._hunpos_model],
shell=False, stdin=PIPE, stdout=PIPE, stderr=PIPE)
diff --git a/nltk/tag/mapping.py b/nltk/tag/mapping.py
index cf458ee..847b2ab 100644
--- a/nltk/tag/mapping.py
+++ b/nltk/tag/mapping.py
@@ -44,8 +44,12 @@ _MAPPINGS = defaultdict(lambda: defaultdict(lambda: defaultdict(lambda: 'UNK')))
def _load_universal_map(fileid):
- mapping = {}
contents = load(join(_UNIVERSAL_DATA, fileid+'.map'), format="text")
+
+ # When mapping to the Universal Tagset,
+ # map unknown inputs to 'X' not 'UNK'
+ _MAPPINGS[fileid]['universal'].default_factory = lambda: 'X'
+
for line in contents.splitlines():
line = line.strip()
if line == '':
diff --git a/nltk/test/FX8.xml b/nltk/test/FX8.xml
deleted file mode 100644
index 58631da..0000000
--- a/nltk/test/FX8.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<bncDoc xml:id="FX8"><teiHeader><fileDesc><titleStmt><title> General practitioner's surgery: medical consultation. Sample containing about 125 words speech recorded in public context </title><respStmt><resp> Data capture and transcription </resp><name> Longman ELT </name> </respStmt></titleStmt><editionStmt><edition>BNC XML Edition, December 2006</edition></editionStmt><extent> 125 tokens; 130 w-units; 15 s-units </extent><publicationStmt><distributor>Distributed under licence by Oxford [...]
-<stext type="OTHERSP"><u who="FX8PSUNK">
-<s n="1"><w c5="ITJ" hw="ah" pos="INTERJ">Ah </w><w c5="AV0" hw="there" pos="ADV">there </w><w c5="PNP" hw="we" pos="PRON">we </w><w c5="VBB" hw="be" pos="VERB">are</w><c c5="PUN">,</c><unclear/><c c5="PUN">.</c></s>
-<s n="2"><w c5="AV0" hw="right" pos="ADV">Right </w><unclear/><w c5="AJ0" hw="abdominal" pos="ADJ">abdominal </w><w c5="NN1" hw="wound" pos="SUBST">wound</w><c c5="PUN">, </c><w c5="PNP" hw="she" pos="PRON">she</w><w c5="VBZ" hw="be" pos="VERB">'s </w><w c5="AT0" hw="a" pos="ART">a </w><w c5="AJ0-NN1" hw="wee" pos="ADJ">wee </w><w c5="NN1" hw="bit" pos="SUBST">bit </w><pause/><w c5="VVN-AJ0" hw="confuse" pos="VERB">confused</w><c c5="PUN">.</c></s>
-<s n="3"><w c5="PNP" hw="she" pos="PRON">She </w><w c5="VDD" hw="do" pos="VERB">did</w><w c5="XX0" hw="not" pos="ADV">n't </w><w c5="VVI" hw="bother" pos="VERB">bother </w><w c5="TO0" hw="to" pos="PREP">to </w><w c5="VVI" hw="tell" pos="VERB">tell </w><w c5="PNP" hw="i" pos="PRON">me </w><w c5="CJT" hw="that" pos="CONJ">that </w><w c5="PNP" hw="she" pos="PRON">she</w><w c5="VHD" hw="have" pos="VERB">'d </w><w c5="AV0" hw="only" pos="ADV">only </w><w c5="VVN" hw="get" pos="VERB">got </w> [...]
-<s n="4"><w c5="UNC" hw="erm" pos="UNC">Erm </w><w c5="PNP" hw="she" pos="PRON">she </w><w c5="VBD" hw="be" pos="VERB">was</w><w c5="XX0" hw="not" pos="ADV">n't </w><w c5="PRP" hw="in" pos="PREP">in </w><w c5="DPS" hw="she" pos="PRON">her </w><w c5="NN1" hw="nightdress" pos="SUBST">nightdress </w><w c5="CJC" hw="but" pos="CONJ">but </w><w c5="PNP" hw="she" pos="PRON">she </w><w c5="AV0" hw="only" pos="ADV">only </w><w c5="VVD" hw="dress" pos="VERB">dressed </w><w c5="PNX" hw="herself" po [...]
-<s n="5"><align with="FX8LC001"/><w c5="CJC" hw="and" pos="CONJ">And </w><w c5="PNP" hw="you" pos="PRON">you </w><unclear/><align with="FX8LC002"/></s></u><u who="FX8PS000">
-<s n="6"><w c5="PNP" hw="she" pos="PRON">She </w><w c5="VVD" hw="say" pos="VERB">said </w><w c5="PNP" hw="she" pos="PRON">she </w><w c5="VVD" hw="go" pos="VERB">went </w><w c5="TO0" hw="to" pos="PREP">to </w><w c5="VVI" hw="buy" pos="VERB">buy </w><w c5="PNI" hw="something" pos="PRON">something </w><unclear/><w c5="PNX" hw="herself" pos="PRON">herself</w><c c5="PUN">, </c><w c5="PNP" hw="she" pos="PRON">she </w><w c5="VVD" hw="phone" pos="VERB">phoned </w><w c5="AT0" hw="the" pos="ART"> [...]
-<s n="7"><w c5="PNP" hw="she" pos="PRON">She</w><w c5="VBZ" hw="be" pos="VERB">'s </w><unclear/><w c5="AV0" hw="here" pos="ADV">here </w><w c5="CJC" hw="and" pos="CONJ">and </w><gap desc="name" reason="anonymization"/><w c5="VVZ" hw="say" pos="VERB">says </w><w c5="PNP" hw="she" pos="PRON">she </w><w c5="VM0" hw="should" pos="VERB">should </w><w c5="VBI" hw="be" pos="VERB">be </w><unclear/><w c5="AV0" hw="fortnightly" pos="ADV">fortnightly </w><unclear/><c c5="PUN">.</c></s>
-<s n="8"><pause/><w c5="AV0" hw="so" pos="ADV">So </w><w c5="PNP" hw="i" pos="PRON">I </w><w c5="VDB" hw="do" pos="VERB">do</w><w c5="XX0" hw="not" pos="ADV">n't </w><w c5="VVI" hw="know" pos="VERB">know </w><w c5="CJS" hw="whether" pos="CONJ">whether </w><w c5="PNP" hw="you" pos="PRON">you </w><w c5="VVB" hw="want" pos="VERB">want </w><w c5="TO0" hw="to" pos="PREP">to </w><w c5="VVI" hw="go" pos="VERB">go </w><w c5="CJC" hw="and" pos="CONJ">and </w><w c5="VVI" hw="see" pos="VERB">see </ [...]
-<s n="9"><unclear/><w c5="PNP" hw="it" pos="PRON">it</w><w c5="VBZ" hw="be" pos="VERB">'s </w><w c5="AV0" hw="just" pos="ADV">just </w><w c5="CJT" hw="that" pos="CONJ">that </w><w c5="PNP" hw="i" pos="PRON">I</w><w c5="VBB" hw="be" pos="VERB">'m </w><w c5="AV0" hw="never" pos="ADV">never </w><w c5="VVG" hw="gon" pos="VERB">gon</w><w c5="TO0" hw="na" pos="PREP">na </w><w c5="VVI" hw="get" pos="VERB">get </w><w c5="PRP" hw="to" pos="PREP">to </w><mw c5="PRP"><w c5="AVP" hw="up" pos="ADV">u [...]
-<s n="10"><unclear/><c c5="PUN">?</c></s></u><u who="PS22T">
-<s n="11"><w c5="ITJ" hw="yeah" pos="INTERJ">Yeah</w><c c5="PUN">.</c></s></u><u who="FX8PS000">
-<s n="12"><w c5="AV0" hw="okay" pos="ADV">Okay</w><c c5="PUN">.</c></s></u><u who="PS22T">
-<s n="13"><w c5="ITJ" hw="yeah" pos="INTERJ">Yeah</w><c c5="PUN">.</c></s></u><u who="FX8PS000">
-<s n="14"><w c5="UNC" hw="erm" pos="UNC">erm</w><c c5="PUN">, </c><w c5="ORD" hw="first" pos="ADJ">first </w><unclear/><w c5="CRD" hw="twelve" pos="ADJ">twelve </w><w c5="NN2" hw="week" pos="SUBST">weeks </w><w c5="AJ0" hw="pregnant" pos="ADJ">pregnant </w><w c5="AV0" hw="so" pos="ADV">so </w><w c5="VM0" hw="should" pos="VERB">should </w><w c5="PNP" hw="i" pos="PRON">I </w><w c5="VVI" hw="mark" pos="VERB">mark </w><w c5="PRP" hw="at" pos="PREP">at </w><w c5="AT0" hw="the" pos="ART">the [...]
-<s n="15"><w c5="UNC" hw="erm" pos="UNC">Erm </w><unclear/><w c5="DT0" hw="this" pos="ADJ">this </w><w c5="PNI" hw="one" pos="PRON">one</w><c c5="PUN">.</c><event desc="recording ends"/></s></u></stext></bncDoc>
diff --git a/nltk/test/Makefile b/nltk/test/Makefile
deleted file mode 100644
index 1abd2a5..0000000
--- a/nltk/test/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-.SUFFIXES: .doctest .errs .html
-
-TESTS = $(wildcard *.doctest)
-
-ERRS := $(TESTS:.doctest=.errs)
-
-HTML = $(TESTS:.doctest=.html)
-
-.doctest.errs:
- python ./doctest_driver.py $< > $@
-
-.doctest.html:
- rst2html.py $< > $@
-
-all: $(ERRS)
-
-html: $(HTML)
-
-install_html:
- cp $(HTML) ../../../nltk.github.com/howto
-
-clean:
- rm -f *.errs
diff --git a/nltk/test/data.doctest b/nltk/test/data.doctest
index de09e52..7b95551 100644
--- a/nltk/test/data.doctest
+++ b/nltk/test/data.doctest
@@ -59,14 +59,19 @@ currently supported by the data module are described by the dictionary
... print('{0:<7} {1:}'.format(format, descr)) # doctest: +NORMALIZE_WHITESPACE
cfg A context free grammar.
fcfg A feature CFG.
- fol A list of first order logic expressions, parsed by nltk.sem.parse_fol() using nltk.sem.logic.LogicParser.
+ fol A list of first order logic expressions, parsed with
+ nltk.sem.logic.Expression.fromstring.
json A serialized python object, stored using the json module.
- logic A list of first order logic expressions, parsed by nltk.sem.parse_logic(). Requires an additional logic_parser parameter
+ logic A list of first order logic expressions, parsed with
+ nltk.sem.logic.LogicParser. Requires an additional logic_parser
+ parameter
pcfg A probabilistic CFG.
- pickle A serialized python object, stored using the pickle module.
+ pickle A serialized python object, stored using the pickle
+ module.
raw The raw (byte string) contents of a file.
- text The raw (unicode string) contents of a file.
- val A semantic valuation, parsed by nltk.sem.parse_valuation().
+ text The raw (unicode string) contents of a file.
+ val A semantic valuation, parsed by
+ nltk.sem.Valuation.fromstring.
yaml A serialized python object, stored using the yaml module.
`nltk.data.load()` will raise a ValueError if a bad format name is
diff --git a/nltk/test/dependency.doctest b/nltk/test/dependency.doctest
index 3193f91..9cb8374 100644
--- a/nltk/test/dependency.doctest
+++ b/nltk/test/dependency.doctest
@@ -108,7 +108,14 @@ Non-Projective Dependency Parsing
>>> dp = NonprojectiveDependencyParser(grammar)
>>> for g in dp.parse(['the', 'man', 'taught', 'his', 'dog', 'to', 'play', 'golf']):
... print(g) # doctest: +NORMALIZE_WHITESPACE
- [{'address': 0, 'deps': 3, 'rel': 'TOP', 'tag': 'TOP', 'word': None},
+ [{'address': 0,
+ 'ctag': 'TOP',
+ 'deps': 3,
+ 'feats': None,
+ 'lemma': None,
+ 'rel': 'TOP',
+ 'tag': 'TOP',
+ 'word': None},
{'address': 1, 'deps': [], 'word': 'the'},
{'address': 2, 'deps': [1], 'word': 'man'},
{'address': 3, 'deps': [2, 7], 'word': 'taught'},
diff --git a/nltk/test/discourse.doctest b/nltk/test/discourse.doctest
index c324c26..66cb1f4 100644
--- a/nltk/test/discourse.doctest
+++ b/nltk/test/discourse.doctest
@@ -487,11 +487,11 @@ you might want to start off with a local copy of ``background.fol``:
>>> nltk.data.retrieve('grammars/book_grammars/background.fol')
Retrieving 'nltk:grammars/book_grammars/background.fol', saving to 'background.fol'
-After you have modified the file, the ``parse_logic()`` function will parse
-the strings in the file into expressions of ``nltk.logic``.
+After you have modified the file, the ``load_fol()`` function will parse
+the strings in the file into expressions of ``nltk.sem.logic``.
- >>> from nltk.inference.discourse import parse_fol
- >>> mybg = parse_fol(open('background.fol').read())
+ >>> from nltk.inference.discourse import load_fol
+ >>> mybg = load_fol(open('background.fol').read())
The result can be loaded as an argument of ``add_background()`` in the
manner shown earlier.
@@ -541,6 +541,6 @@ Regression Testing from book
>>> from nltk.sem.drt import DrtParser
>>> grammar = nltk.data.load('grammars/book_grammars/drt.fcfg', logic_parser=DrtParser())
>>> parser = FeatureEarleyChartParser(grammar, trace=0)
- >>> trees = parser.nbest_parse('Angus owns a dog'.split())
- >>> print(trees[0].label()['SEM'].simplify().normalize())
+ >>> trees = parser.parse('Angus owns a dog'.split())
+ >>> print(list(trees)[0].label()['SEM'].simplify().normalize())
([z1,z2],[Angus(z1), dog(z2), own(z1,z2)])
diff --git a/nltk/test/drt.doctest b/nltk/test/drt.doctest
index 0f0365f..daa0933 100644
--- a/nltk/test/drt.doctest
+++ b/nltk/test/drt.doctest
@@ -74,8 +74,8 @@ based grammar. To specify that we want to use DRSs, the appropriate
logic parser needs be passed as a parameter to ``load_earley()``
>>> from nltk.parse import load_parser
- >>> from nltk.sem.drt import _DrtParser
- >>> parser = load_parser('grammars/book_grammars/drt.fcfg', trace=0, logic_parser=_DrtParser())
+ >>> from nltk.sem.drt import DrtParser
+ >>> parser = load_parser('grammars/book_grammars/drt.fcfg', trace=0, logic_parser=DrtParser())
>>> for tree in parser.parse('a dog barks'.split()):
... print(tree.label()['SEM'].simplify())
...
@@ -85,7 +85,7 @@ Alternatively, a ``FeatStructReader`` can be passed with the ``logic_parser`` se
>>> from nltk.featstruct import FeatStructReader
>>> from nltk.grammar import FeatStructNonterminal
- >>> parser = load_parser('grammars/book_grammars/drt.fcfg', trace=0, fstruct_reader=FeatStructReader(fdict_class=FeatStructNonterminal, logic_parser=_DrtParser()))
+ >>> parser = load_parser('grammars/book_grammars/drt.fcfg', trace=0, fstruct_reader=FeatStructReader(fdict_class=FeatStructNonterminal, logic_parser=DrtParser()))
>>> for tree in parser.parse('every girl chases a dog'.split()):
... print(tree.label()['SEM'].simplify().normalize())
...
diff --git a/nltk/test/floresta.txt b/nltk/test/floresta.txt
deleted file mode 100644
index caa23ae..0000000
--- a/nltk/test/floresta.txt
+++ /dev/null
@@ -1,7924 +0,0 @@
-O 7 e Meio � um ex-libris da noite algarvia.
-� uma das mais antigas discotecas do Algarve, situada em Albufeira, que continua a manter os tra�os decorativos e as clientelas de sempre.
-� um pouco a vers�o de uma esp�cie de �outro lado� da noite, a meio caminho entre os devaneios de uma fauna perif�rica, seja de Lisboa, Londres, Dublin ou Faro e Portim�o, e a postura circunspecta dos fi�is da casa, que dela esperam a m�sica �geracionista� dos 60 ou dos 70.
-N�o deixa de ser, nos tempos que correm, um certo �very typical� algarvio, cabe�a de cartaz para os que querem fugir a algumas movimenta��es nocturnas j� a caminho da ritualiza��o de massas, do g�nero �vamos todos ao Calypso e encontramo-nos na Locomia�.
-E assim, aos 2,5 milh�es que o Minist�rio do Planeamento e Administra��o do Territ�rio j� gasta no pagamento do pessoal afecto a estes organismos, v�m juntar-se os montantes das obras propriamente ditas, que os munic�pios, j� com projectos na m�o, v�m reivindicar junto do Executivo, como salienta aquele membro do Governo.
-E o dinheiro �n�o falta s� �s c�maras�, lembra o secret�rio de Estado, que considera que a solu��o para as autarquias � �especializarem-se em fundos comunit�rios�.
-Mas como, se muitas n�o disp�em, nos seus quadros, dos t�cnicos necess�rios?
-�Encomendem-nos a projectistas de fora� porque, se as obras vierem a ser financiadas, eles at� saem de gra�a, j� que, nesse caso, �os fundos comunit�rios pagam os projectos, o mesmo n�o acontecendo quando eles s�o feitos pelos GAT�, dado serem organismos do Estado.
-Essa poder� vir a ser uma hip�tese, at� porque, no terreno, a capacidade dos GAT est� cada vez mais enfraquecida.
-Alguns at� j� desapareceram, como o de Castro Verde, e outros t�m vindo a perder quadros.
-O primeiro fabricante mundial de �ratos� para computador, a empresa su��a Logitech, apresentou esta semana numa feira especializada que teve lugar em Basileia (Su��a) um equipamento perif�rico denominado �Audioman� que permitir� dotar os computadores de �orelhas�.
-Segundo a empresa, o aparelho permite que o aparelho grave e transcreva a voz humana.
-�Estamos a dotar os computadores de um novo sentido� disse Steve d'Averio, director de marketing para a Europa da Logitech.
-O Audioman foi desenvolvido na Su��a em apenas sete meses e comp�e-se de um microfone e de um altifalante que se podem acoplar facilmente a um computador, devendo ser comercializado ao pre�o de 290 francos su��os (28 contos).
-Junqueiro foi ainda confrontado com o facto de n�o ter falado com o ministro antes de avan�ar com a proposta.
-Jo�o Cravinho, que integra a comitiva de Jorge Sampaio na visita de Estado a Mo�ambique, ainda n�o reagiu � carta que o dirigente socialista lhe enviou.
-�N�o estou a ver que, para emitir uma opini�o, n�s tiv�ssemos de informar previamente o ministro, afirmou.
-�O senhor ministro interpretar� esta sugest�o como entender�.
-Junqueiro recordou ainda que, nas �ltimas aut�rquicas, o IGAT suspendeu as suas actividades um m�s antes das elei��es.
-Al�m do Museu do Ar, o projecto gira em torno do parque tem�tico propriamente dito.
-A zona l�dica, com os divertimentos, �reas comerciais de �souvenirs� e de restaura��o, compreende espa�os distintos para os v�rios temas, ainda em an�lise, tais como Portugal, Jap�o, Brasil, �frica e Far-West.
-Os quatro primeiros temas destinam-se a mostrar o papel de Portugal no mundo e o quinto, o �nico sem rela��o com a hist�ria nacional, � justificado pela experi�ncia de Barcelona (Port Aventura), que regista assinal�vel sucesso.
-Uma �zona petting� anexa, em coopera��o com o Jardim Zool�gico de Lisboa, destina-se a permitir o contacto das crian�as com animais.
-Tudo, claro est�, muito arborizado.
-O museu, a desenvolver sob orienta��o de uma comiss�o de not�veis, dirigida pelo Presidente da Rep�blica, est� or�ado em seis milh�es de contos, valor incomport�vel para a For�a A�rea.
-Da� que a Cameron Hall tenha ca�do do c�u.
-�A proposta � muito bem vista, porque ser� mais vantajosa do que se houver s� um p�lo de interesse no local�, afirmou o major Carlos Barbosa, das rela��es p�blicas da For�a A�rea, admitindo que, com o parque tem�tico, �se o interesse for diversificado, toda a gente fica a ganhar�.
-A pouco mais de um m�s do lan�amento nacional do Rendimento M�nimo Garantido (RMG), o n�mero de fam�lias j� abrangidas pelos projectos-piloto deste programa de apoio aos agregados mais desfavorecidos n�o p�ra de aumentar.
-7.777 fam�lias, totalizando 26.668 pessoas, est�o j� a usufruir do rendimento destinado a garantir condi��es consideradas m�nimas de sobreviv�ncia e reinser��o de cidad�os exclu�dos socialmente.
-O balan�o -- a que o P�BLICO teve acesso -- tra�ado pela comiss�o revela que o n�mero de pessoas abrangidas pelo RMG aumentou 36 por cento relativamente ao �ltimo balan�o de 30 de Mar�o.
-Este crescimento �resulta da op��o de alargar o n�mero de projectos-piloto, de modo a cobrir uma parte do territ�rio nacional at� ao dia 1 de Julho�, referiu ao P�BLICO o presidente da Comiss�o Nacional do RMG, Paulo Pedroso.
-Para tal, referiu aquele respons�vel, �foram montadas mais estruturas, mais zonas est�o abrangidas e, por isso, mais pessoas se podem candidatar�.
-E tantos foram os candidatos que o per�odo destinado a testar a aplica��o do RMG acabaria por ceder lugar a um processo efectivo de financiamento.
-A institui��o deste direito s� ser�, contudo, efectivado depois do lan�amento nacional do projecto dentro de pouco mais de um m�s.
-Mais metaf�rico foi o secret�rio de Estado do Desenvolvimento Regional, Adriano Pimp�o, que comparou o acordo a �uma embraiagem�.
-Porque � a embraiagem �que p�e o motor em contacto com as rodas que geram o movimento, que para n�s � o desenvolvimento�.
-Para que n�o surjam avarias, Pimp�o pediu aos presentes que se empenhem na execu��o dos termos do acordo, sob pena de a embraiagem se transformar em �trav�o�.
-A prop�sito, no Museu da Segunda Guerra Mundial, que a� foi aberto, a hist�ria da maior guerra no continente europeu come�a com a fotografia de Estaline a cumprimentar o ministro dos Neg�cios Estrangeiros da Alemanha nazi, ou seja, a guerra come�a com a assinatura do Pacto Molotov-Ribbentrop.
-Na cerim�nia de inaugura��o do edif�cio, Ieltsin declarou perante mais de cem mil pessoas que �a R�ssia est� perto da estabilidade pol�tica� e que �todos os problemas podem ser resolvidos � mesa das conversa��es�.
-Talvez entusiasmado pela festa da vit�ria, o Presidente russo afirmou que �chegar� o dia em que a R�ssia ajudar� o Ocidente�.
-As cerim�nias oficiais terminaram com desfiles militares e recria��es de combates a�reos entre os aviadores sovi�ticos e alem�es.
-Co-produ��o franco-eg�pcia, �O Emigrante� inspira-se na hist�ria de Jos�, filho de Jacob, contando o percurso de Ram que, h� 3000 anos, decide abandonar a sua terra �rida para se instalar no Egipto dos fara�s, centro da civiliza��o.
-Tomando a defesa do filme de Chahine, numa sala atulhada, o baston�rio dos advogados, Ahmed al-Khawaga, replicou que o realizador eg�pcio se inspirou na hist�ria de Jos�, �mas n�o se afastou das palavras do Cor�o que evoca, em termos claros, as propostas feitas ao profeta pela esposa do mestre que o comprou � chegada ao Egipto�.
-�Eu n�o sou franc�s para falar da cultura francesa, mas sei que ela deu uma contribui��o importante � cultura eg�pcia.
-E uma vez que um dos nossos artistas conclui um acordo com um artista franc�s, isso n�o nos desonra�.
-O �ltimo romance de Paul Auster -- que ainda n�o est� traduzido.
-Nashe encontra Pozzi, um jogador, com quem inicia um p�quer extravagante.
-No imenso desacerto que foi a defesa do Penafiel, o capit�o Vasco foi o homem que ainda segurou as pontas.
-Seguro, eficiente, decidido -- tivesse o Penafiel outro Vasco e provavelmente o resultado teria sido outro.
-VALTINHO -- Foi dos melhores jogadores do Penafiel, este brasileiro de pernas altas.
-Dos seus p�s ainda nasceu alguma coisa, embora o resto da equipa n�o ajudasse grande coisa.
-Lutou como lhe vemos poucas vezes e ainda teve nos p�s uma boa oportunidade de golo, mas teve que rematar em jeito e n�o em for�a, como gosta mais.
-(H� quem defenda, no entanto, que se trata de um fax ap�crifo, realmente escrito pelo deputado Jos� Magalh�es, o qual teria, ali�s, imitado a letra do ex-deputado Ant�nio Barreto.
-Fontes fidedignas -- que o mesmo � dizer, n�o jornal�sticas -- garantiram entretanto que, entre as frases atribu�das ao senhor primeiro-ministro que, de facto, lhe n�o pertencem est�o o coment�rio ao congresso �Portugal e o futuro�, a resposta ao deputado Adriano Moreira quando este o interrogou sobre a sua concep��o de federalismo e -- at�! -- a contestada frase sobre a fidedignidade dos jornalistas.
-O Benfica voltou ontem a vencer o Lokomotiv de Moscovo pela diferen�a m�nima (3-2), passando aos quartos-de-final da Ta�a das Ta�as em futebol.
-O jogo chegou a estar complicado para a equipa de Paulo Autuori, essencialmente porque o Lokomotiv marcou muito cedo (8 ') e os jogadores portugueses n�o conseguiam adaptar-se ao estado do relvado.
-Mas a expuls�o prematura e est�pida de Gurenko, quando ainda n�o estava decorrida meia hora de jogo, seguida, pouco depois, da entrada de Panduru, foi o suficiente para dar a volta ao resultado.
-O Benfica apresentou o seu esquema habitual, com Jamir e Tahar mais recuados e insistindo com a utiliza��o de Valdo na esquerda.
-Em contrapartida, o Lokomotiv actuava com tr�s centrais, com o l�bero Chugainov, como habitualmente, a comandar o jogo e o lateral-esquerdo Solomatin muito activo.
-Muito bem estavam tamb�m os tr�s m�dios -- Maminov, Drozdov e Kharlachev --, desempenhando Kosolapov as fun��es de �pivot� do ataque.
-Por isso, e tamb�m porque os russos estavam mais bem adaptados ao muito enlameado e escorregadio relvado, o Lokomotiv era mais r�pido sobre a bola, ganhando a maior parte dos duelos na zona fulcral do terreno, situada entre o meio-campo e a defesa do Benfica.
-O �cocktail� que Jupp� condena � bem real.
-Mas �-o apenas porque este Governo e esta maioria, escolheram, desde Agosto do ano passado, a imigra��o e a pol�tica da imigra��o como ponto de clivagem pol�tica para as pr�ximas legislativas, ontem mesmo marcadas para Mar�o de 1998, em simult�neo com as regionais.
-Um endurecimento n�tido existe desde ent�o neste terreno altamente perigoso.
-E raz�o desta escolha �, obviamente, a progress�o demente da Frente Nacional, que prospera sempre a apontar o imigrante como bode expiat�rio e simultaneamente como a fonte de todos males do povo franc�s.
-Foi com estupefac��o e surpresa que li, na edi��o do passado fim-de-semana, os comunicados da direc��o e da administra��o deste jornal.
-Sou um leitor ass�duo e atento do P�BLICO, desde o primeiro n�mero, e n�o poucas vezes tenho manifestado opini�es nas suas p�ginas, o que me leva agora a emitir o meu pensamento sobre o jornal, sobre quem o faz e sobre os ditos comunicados.
-1. O P�BLICO veio dar � imprensa di�ria portuguesa uma nova dimens�o e, pelo seu aparecimento, obrigou os �grandes� (�JN� e �DN�) a reformular a sua postura e tamb�m o seu grafismo.
-Tal como na �ltima final do Campeonato do Mundo, disputada em Nova Iorque e Lion, Kasparov tenta apresentar-se como o �bom reformador� contra o �mau conservador� (Karpov).
-A FIDE, que organiza a competi��o desde 1948, declarou estar pronta para defender os seus direitos em tribunal, e acusou Kasparov e Short de privilegiarem os seus interesses econ�micos ao tentarem conseguir uma verba superior � oferecida pela cidade de Manchester para organizar a final e que rondava os 250 mil contos.
-Este �golpe de Estado� deixa c�ptica a maior parte grandes mestres de xadrez (cerca de 300 em todo o mundo), que esperam ver a situa��o clarificada, independentemente da parte que acabe vencedora.
-Por outro lado, a expuls�o de Kasparov, detentor do t�tulo mundial desde 1985, criar� dificuldades � FIDE para convencer Manchester a acolher uma falsa final entre Karpov e Timman.
-Isto no caso de os dois xadrezistas aceitarem o convite.
-A bem dizer, todos t�m raz�o.
-O �rbitro porque o terreno de jogo estava quase impratic�vel.
-Henrique Calisto porque o terreno estava quase impratic�vel, o Leix�es defendera o adiamento da partida antes do seu in�cio e tinha menos um homem em campo que o advers�rio, por expuls�o de S�rgio.
-Eurico e Milton Areal porque o terreno estava quase impratic�vel, mas nem melhor nem pior do que na primeira metade do encontro e o Tirsense parecia mais fresco e estava em situa��o de vantagem num�rica.
-Quanto ao jogo, ele dividiu-se em dois per�odos distintos: antes e depois da expuls�o de S�rgio.
-Antes, o Leix�es marcou um golo, por interm�dio de Maur�cio, na sequ�ncia de um canto apontado por Barriga, e foi a equipa que melhor se adaptou �s condi��es do terreno.
-Depois, o Tirsense tomou conta da partida, criou v�rias situa��es de golo e conseguiu a igualdade atrav�s de uma grande penalidade marcada por Rui Manuel, a castigar carga de Correia sobre Batista.
-Com o dil�vio como pano de fundo, o empate traduz de forma feliz um jogo que ficou no meio.
-Durante a an�lise do relat�rio de actividades passadas, foram identificadas como principais insufici�ncias a aus�ncia de uma orienta��o nacional junto dos quadros t�cnicos, e o fraco recrutamento e pouca contribui��o na �rea da Ci�ncia e Tecnologia.
-O Partido Popular (PP), vencedor das elei��es de 3 de Mar�o, quer a plena integra��o da Espanha na Alian�a Atl�ntica, organiza��o a que Madrid aderiu em 1982, sem, no entanto, englobar as suas for�as militares nas da NATO, de acordo com os resultados do referendo de 1986.
-Um processo que ocupar� os pr�ximos ministros da Defesa e das Rela��es Exteriores e que n�o ter� a oposi��o dos socialistas de Felipe Gonz�lez, a segunda maior for�a pol�tica do pa�s.
-O russo ser� uma das seis l�nguas principais usadas por Jo�o Paulo II amanh� e depois, no Encontro Mundial da Juventude, no Santu�rio Mariano de Czestokowa, onde se prev� a presen�a de um milh�o de jovens, o dobro dos que h� dois anos se congregaram em Santiago de Compostela.
-� que, al�m de a proximidade geogr�fica da URSS e dos outros pa�ses do Leste, muita coisa aconteceu nos �ltimos 24 meses na grande Casa Comum Europeia.
-Ao chegar, �s 9 horas (TMG) de hoje, ao aeroporto de Crac�via, Jo�o Paulo II ser� recebido com um m�nimo de formalidades.
-� a quinta vez que Karol Wojtyla pisa, como Pont�fice, o solo da sua p�tria.
-Mas convencionou-se que esta sua desloca��o de tr�s dias, para presidir ao Encontro dos Jovens em Czestochawa, seria considerado um complemento ainda da sua recente viagem � Pol�nia, de 1 a 9 de Junho passado.
-Carrington fez sempre quest�o de salientar que as hip�teses de sucesso do cessar-fogo dependem sobretudo dos beligerantes.
-�Se for firmado, ningu�m ficar� mais contente do que n�s.
-Eu tentei, o senhor Vance tentou, se for respeitado, urrah!�, comentou.
-Mas se falhar?
-�Ningu�m fez mais at� agora do que o secret�rio Vance.
-Devemos tentar�.
-�A situa��o pode ser potencialmente horr�vel.
-Pela primeira vez no Haiti um padre foi assassinado por motivos pol�ticos.
-Uma mensagem dos militares no poder para mostrarem quem ainda manda no pa�s, interpretam meios eclesi�sticos, que reafirmam a disposi��o de continuar a luta �pela liberta��o do povo haitiano�.
-A Confer�ncia Haitiana de Religiosos, cuja direc��o � tida por moderada, vem respondendo ao crime com jejum, ora��es, missas ao ar livre e homilias em que o engajamento do padre Jean-Marie ao lado dos �pobres e oprimidos� � apontado como exemplo.
-Pode vir a ser o ponto de viragem na Igreja, cuja hierarquia, com a excep��o de um �nico bispo, prefere os militares golpistas a Aristide, o Presidente eleito democraticamente, ele pr�prio um padre que os salesianos expulsaram da ordem.
-H�, no ar, uma certa ideia de invas�o.
-Cavaco Silva n�o assinou o habitual despacho que d� toler�ncia de ponto na ter�a-feira de Carnaval- o que significa que, ao contr�rio do que � tradicional, este ano n�o h� o feriado do Entrudo.
-Ontem, come�ou a chegar �s direc��es-gerais (atrav�s de uma circular) a informa��o de que o dia 23 ser� um dia �normal� para os funcion�rios p�blicos.
-Registe-se que a ter�a-feira de Carnaval n�o � um feriado legal, mas t�o-s� �tradicional�: ou seja, todos os anos o primeiro-ministro tem que produzir um despacho, publicado em �Di�rio da Rep�blica�, em que decreta a toler�ncia de ponto.
-Este ano, eventualmente condicionado pela pol�mica que o op�e ao Presidente da Rep�blica em torno dos feriados (recorde-se que Soares enviou a lei para o Tribunal Constitucional) Cavaco decidiu, pura e simplesmente, �acabar� com a ter�a-feira de Carnaval.
-Ali�s, era contra as �ter�as-feiras�, propiciadoras de sugestivas �pontes�, que a lei governamental mais se batia ...
-Desde 1990 que estava na mesa a reformula��o das �secretas�.
-A primeira inten��o do Governo era ver legislado algo que, ignorando a lei, era um facto desde o in�cio: a inexist�ncia efectiva do Servi�o de Informa��es Estrat�gicas de Defesa (SIED), que nunca foi mais que uma al�nea da lei-quadro nunca levada � pr�tica.
-Com argumentos economicistas e de operacionalidade, o Executivo de Cavaco Silva sempre se escusou a concretizar o SIED, cujas compet�ncias foram, entretanto, transferidas para o SIM (Servi�os de Informa��es Militares), por via de um pol�mico acto administrativo do Governo, que assim chamava a si mat�rias da exclusiva compet�ncia da AR.
-Ou seja, em dez anos, nunca a Lei dos Servi�os de Informa��es foi integralmente cumprida, com uma estrutura que estava �no papel� sem exist�ncia pr�tica (o SIED) e outra que assegurava as fun��es da primeira (a Dinfo).
-Facto que, ao longo do tempo, foi repetidamente denunciado, tanto pelos partidos da oposi��o (onde se destacaram o PCP e o PS), como pelo Conselho de Fiscaliza��o dos Servi�os de Informa��es nomeado pela AR.
-O caso ocorreu numa noite de 1978, na ilha de Carvalo, ao largo da C�rsega.
-O pr�ncipe jantava com amigos num restaurante deste para�so para milion�rios, quando um grupo barulhento de jovens da alta sociedade italiana acostou na enseada de Palma, ao lado do seu iate, o L'Aniram.
-Os advogados da defesa sublinharam no processo que este facto perturbou altamente o �senhor de Sab�ia�.
-Naquele ano, as Brigadas Vermelhas (BR) estavam no auge da actividade terrorista, o l�der crist�o-democrata Aldo Moro acabara de ser raptado, e o pr�ncipe -- proibido de entrar em It�lia desde o ex�lio do pai em 1946 -- teria mesmo recebido amea�as das BR.
-O certo � que, pouco depois, V�tor-Emanuel apercebeu-se que um barco pneum�tico fora deslocado do seu iate e atracado ao Cocke, o navio dos jovens italianos.
-�Irritado com este acto de apropria��o�, foi buscar uma espingarda US 30 semiautom�tica, utilizada em safaris, e 31 cartuchos, e dirigiu-se para o Cocke.
-Pouco depois, o pr�ncipe aponta-lhe a arma ao ventre.
-Na confus�o que se segue, parte um primeiro tiro, depois um segundo, e os dois homens caem ao mar.
-A bordo do veleiro polaco Dar Mlodziezy, patrocinado pela Cutty Sark, os tripulantes e passageiros tiveram que esperar at� �s 13 horas de ontem para, finalmente, pisarem o cais.
-Ancorado fora do porto de C�dis durante toda a noite, o grande veleiro foi tomado de assalto pelos 18 passageiros portugueses a cantar fados at� de madrugada.
-Desde as 10 horas da manh�, as manobras de entrada do porto eram aguardadas ansiosamente e por tr�s horas toda a guarni��o permaneceu no conv�s, pronta para receber ordens do piloto a bordo do rebocador que coordenou as manobras de atraca��o ao lado do veleiro Esmeralda, da armada chilena.
-Os organizadores da regata ainda davam os �ltimos retoques nas instala��es � volta do porto quando a frota desembarcou.
-V�rias tendas ofereciam os mais variados servi�os aos tripulantes, como restaurantes, cabines telef�nicas, servi�os banc�rios e de correios enquanto na sala de imprensa os empregados da Telef�nica ainda instalavam os telefones e m�quinas de fax para o batalh�o de jornalistas que chegou � cidade.
-Mesmo com a confus�o administrativa da escala, o �show n�utico� continua a todo o pano por quatro dias.
-A Netscape Communicationns decidiu adquirir a Collabra Software por 108,7 milh�es de contos (16,3 milh�es de contos).
-A Collabra edita o �groupware� e o �software� que permitem compatibilizar diversas redes de computadores, nomeadamente as que existem no interior de uma mesma empresa.
-Os termos concretos da transac��o n�o foram tornados p�blicos mas os analistas coincidem na interpreta��o deste neg�cio como mais um passo da Netscape para transformar a Internet num meio privilegiado de comunica��o e informa��o � escala mundial.
-A Netscape � o mais importante fabricante de �software� de navega��o para a Internet.
-A LG Electronics, o terceiro maior fabricante sul-coreano de inform�tica, decidiu reduzir os pre�os dos seus computadores pessoais.
-A decis�o visa tornar mais competitivos os produtos da empresa, que est� a sofrer uma forte concorr�ncia dos seus principais concorrentes.
-As descidas oscilam, consoante os produtos, entre 9,8 e 26,9 por cento.
-Durante o primeiro semestre do corrente ano, o mercado de computadores pessoais da Coreia do Sul registou um aumento de 42 por cento relativamente a id�ntico per�odo do ano transacto, num montante de 1300 milh�es de d�lares (195 milh�es de contos).
-O an�ncio divulgado na sexta-feira pela OMS dizia que uma s�rie de testes iniciais, realizados pelo Instituto Pasteur de Paris, em amostras de sangue das primeiras nove pessoas a morrerem eram consistentes com o diagn�stico de febre de Ebola.
-Esse mesmo diagn�stico j� tinha sido feito a t�tulo provis�rio apenas com base nos sintomas dos doentes.
-Uma equipa daquela organiza��o encontra-se desde sexta-feira passada na regi�o para examinar as v�timas e colher amostras.
-O Governo gabon�s, num comunicado em que d� conta da exist�ncia de �uma epidemia� na regi�o, pede aos habitantes que n�o evacuem os doentes nem para a capital da prov�ncia, Makokou, nem para a capital nacional, Libreville, e que alertem para qualquer novo caso as autoridades sanit�rias, para que estas possam providenciar o tratamento dos doentes �in loco�.
-Recomenda-se ainda �s pessoas que n�o toquem com as m�os nuas nem nos doentes nem nos mortos e que evitem o contacto com o seu sangue, v�mitos e excrementos.
-Sempre que surge um problema, chamam-na.
-L� vai Dolores Fa�sca ver o que se passa � porta do Nacofino.
-�s vezes acontece, mas �normalmente nunca h� problemas graves�.
-C� dentro ningu�m se apercebe de que um teimoso �brio quer impor a sua presen�a.
-O homem insiste, meio zonzo, a patroa n�o cede e ele acaba por ir-se em grande dificuldade.
-Tamb�m mal atina com as manobras precisas para sair do parque de estacionamento privativo do �dancing�.
-Acaba por se lan�ar � estrada dos Quatro Caminhos rumo a Quarteira, sem temer o �bal�o� que agora transforma sopros em cadeia.
-Faz frio.
-S�o 2h25, j� s� resta um casal � mesa.
-�s 0h00 eram quatro.
-As rela��es de Hong Kong com a China est�o a condicionar a evolu��o do mercado accionista local.
-S�o as trocas comerciais, o novo aeroporto internacional, entre outros aspectos.
-Os investidores, cada vez mais sens�veis, est�o a reagir prontamente n�o tomando posi��es.
-Assim, est� a registar-se um abrandamento na procura com a consequente queda das cota��es.
-O �ndice Hang Seng caiu 2,47 por cento, fechando nos 5481,61 pontos.
-A Comiss�o Europeia considerou ontem �politicamente inoportuno� avan�ar com uma proposta de harmoniza��o dos impostos sobre os produtos energ�ticos que, a concretizar-se, poderia provocar um aumento do gas�leo em Portugal de quase 25 escudos em 2002.
-Os moradores s�o convidados a fazer desde logo a separa��o dos lixos -- condi��o necess�ria para o �xito do projecto --, que depois ser�o recolhidos por viaturas equipadas a preceito.
-Neste sistema, a recolha far-se-� �uma vez por semana para os materiais org�nicos e tr�s por semana para os restantes res�duos dom�sticos�.
-Em Gondomar, a experi�ncia come�ar� com sacos de pl�stico em vez de cestos, por vontade da pr�pria autarquia.
-Ao mesmo tempo, ir� manter-se a recolha indiferenciada tal como hoje a conhecemos.
-�Tendencialmente, o caminho ser� para aprofundar a recolha selectiva�, acentuou o mesmo respons�vel da Lipor.
-Este sistema de recolha adequa-se a edif�cios baixos, com poucos pisos.
-Em os pr�dios com muitos andares, haver� um ecoponto para todos os moradores.
-�O �nico trabalho das pessoas � separar o lixo e colocar nos dias certos os contentores e cestos para serem recolhidos.
-O resto � connosco�, garante a Lipor.
-Na Maia, cada morador receber� esses recipientes pessoalmente, da m�o de funcion�rios municipais, enquanto alunos dos cursos de Rela��es P�blicas e Psicologia do Instituto Superior da Maia explicar�o como funciona o sistema.
-Esta ac��o poder� come�ar j� em Julho, �com abordagens porta a porta�.
-Para muitos analistas o verdadeiro problema � o facto de n�o se poder falar do desenvolvimento da economia palestiniana como um facto isolado, porque ele s� faz sentido integrado no desenvolvimento de todo o M�dio Oriente.
-que tipo de rela��o econ�mica se poder� estabelecer entre Israel e os seus vizinhos �rabes?
-Ser� prematuro falar numa comunidade econ�mica entre a Jord�nia, os territ�rios palestinianos aut�nomos e Israel?
-outros defendem precisamente o contr�rio.
-Fundamental para os palestinianos � a abertura de novos mercados, tanto a Ocidente como a Oriente -- e em Israel -- para os produtos que, apesar dos �bvios problemas da sua agricultura e da ind�stria, venham a produzir.
-Outra das apostas � o turismo, esperando-se dois milh�es de visitantes por ano e a cria��o de 30 mil a 50 mil postos de emprego.
-Quanto �s anunciadas sa�das de alguns jogadores, Donner afirmou que �essas not�cias n�o foram feitas por jornalistas, mas por pataratas.
-Dizia-se que o Carlos Resende e o Filipe Cruz podiam ir para a Alemanha e o Carlos Galambas e o �lvaro Martins para o Benfica, mas � mentira.
-J� todos renovaram os seus contratos�.
-�Acho que o FC Porto s� tem de se preocupar com o Sporting, n�o pensamos em mais nada.
-A fartura de pensamento pode dar maus resultados e n�s n�o queremos ter um enfarte.
-Esta � uma prova de regularidade e s� pode beneficiar quem for mais regular�.
-R. -- N�o sou capaz.
-Sou formada em Direito, mas n�o conseguiria ensinar algu�m a ler e a escrever.
-Nunca dei uma li��o na vida, mas tenho pena, porque penso que se aprende muito a ensinar.
-P. -- Como � a sua rela��o com o piano?
-�N�o sei.
-Talvez morta�.
-Para estes haitianos, s� h� uma maneira de regressar a casa: revolu��o.
-Voltando � rua que durante d�cadas evocou o talentoso marido de D. Maria II, citemos mais um passo do j� referido relat�rio da C�mara do Porto, que nos permite avaliar at� que ponto a concretiza��o da Rua de D. Fernando ficou aqu�m das inten��es que lhe estiveram na origem.
-�A conveni�ncia desta rua � palp�vel; uma c�moda estrada desobstru�da de tortuosidades e declives, desde a Foz ao cora��o da cidade, especialmente para seges e carros, o que at� aqui mal se consegue antes de chegar ao s�tio do banco de S. Domingos [ leia-se o Banco Comercial do Porto, que fora fundado poucos anos antes e detinha autoriza��o para emitir notas ]�.
-Come�a a dar resultados a pol�tica da Uni�o Europeia de bloquear todas as tentativas su��as de gozar as vantagens da UE, sem as responsabilidades de um pa�s membro.
-Os seus governantes j� perceberam que o isolamento j� n�o d� lucro e pode levar � rejei��o.
-Quando o povo su��o recusou, em 92, a ades�o ao Espa�o Econ�mico Europeu, como j� fizera com a ONU, cometeu um grave engano.
-Foi essa volunt�ria e pretensiosa rejei��o dos vizinhos, que deixou a Su��a sem a cobertura europeia, na crise que destruiu a sua imagem.
-O fim da guerra fria, com a implos�o da URSS acabou com a import�ncia helv�tica no tabuleiro europeu, enquanto os recentes esc�ndalos de cumplicidade com os nazis, mais o roubo das economias dos judeus pelos seus bancos lhe tiraram a simpatia americana.
-No entanto, alguns dos analistas contactados pelo P�BLICO, consideram que a Sumolis tem sido �esquecida� pelo mercado e que existem boas perspectivas quanto aos resultados de 1997.
-Para al�m destes dois aspectos, surgem os habituais rumores sobre um eventual interesse comprador por parte de outros grupos empresariais do sector das bebidas, como, por exemplo, a Jer�nimo Martins.
-Uma possibilidade entretanto desmentida pelo grupo presidido por Soares dos Santos.
-�� totalmente falso que a Jer�nimo Martins esteja interessada na compra da Sumolis�, garantiu ao P�BLICO um porta-voz da empresa.
-No lado das subidas, destaca-se ainda o comportamento do Banco Totta & A�ores que, ao contr�rio dos restantes t�tulos do sector banc�rio, encerrou a ganhar 3,41 por cento.
-Movimentaram-se cerca de 285 mil t�tulos, com a cota��o de fecho a situar-se nos 4359 escudos.
-�Alguma coisa se passa � volta deste papel.
-Existe um forte interesse dos internacionais�, salientou outro respons�vel.
-Inez Teixeira � uma jovem pintora que tem exposto regularmente desde h� uns dois anos.
-Agora, num espa�o de exposi��es tamb�m recente, mostra uma s�rie de obras de pequen�ssimo formato feitas a grafite sobre tela.
-E julgamos ainda estar longe de casos como o do banco brit�nico NatWest que guardava as opini�es religiosas e pol�ticas e mesmo os h�bitos alimentares de alguns dos seus 6,5 milh�es de titulares de contas.
-Em paralelo, h� sempre o perigo de estas BD irem cair nas m�os de pessoas menos escrupulosas.
-Em Janeiro de 1994, noticiava-se a introdu��o na Alemanha de um supercomputador que regista as impress�es digitais dos candidatos a asilo pol�tico, para tentar detectar fraudes nos subs�dios da seguran�a social.
-Na mesma altura, come�ou a funcionar um sistema inform�tico que permite distribuir mais rapidamente os estrangeiros pelos campos de refugiados.
-Nada fez parar esta compila��o de dados, nem o receio de que os endere�os pudessem cair nas m�os de grupos nazis que ficariam assim a conhecer onde moram os seus �alvos�.
-Agora, a pol�cia inclina-se para que o assassinato tenha a ver com a promo��o de John Gotti Junior ao cargo de chefe da fam�lia durante o encarceramento do pai.
-Segundo fontes policiais citadas pelo �New York Times�, o atentado poderia ter partido da velha guarda do cl� Gambino.
-Desde que Gotti foi preso, em Dezembro passado, o seu filho, de 26 anos, est� a substitu�-lo, sobretudo na colecta de fundos resultantes de diversas actividades ilegais.
-De acordo com o testemunho de informadores, Junior estaria a manter uma arrog�ncia excessiva em rela��o aos velhos membros do cl�, indo ao ponto de reclamar somas superiores ao que era habitual.
-O motorista acompanhava frequentes vezes John Junior e a sua morte pode ser considerada como um aviso da velha guarda.
-Dezenas de timorenses e portugueses �ocupam� pacificamente o pavilh�o indon�sio da Expo-92, em Sevilha.
-Bush s� poder� ganhar as elei��es presidenciais se fizer cair Saddam Hussein, vaticinam os analistas pol�ticos.
-O Presidente cancela todos os compromissos e fecha-se na Casa Branca.
-Na mesma ocasi�o iniciaram-se investiga��es que incidiram sobre o �rbitro madeirense Marques da Silva, tamb�m ele suspeito de se ter deixado corromper.
-A Judici�ria aproveitou ainda o balan�o para passar buscas �s casas de Reinaldo Teles (dirigente), Jorge Gomes (funcion�rio) e Ant�nio Garrido (colaborador), todos ligados ao FC Porto, com a curiosidade de o �ltimo ser um ex-�rbitro de futebol.
-se Gu�maro era corrupto, quem eram os corruptores e porque motivo n�o foram igualmente presentes ao juiz do Tribunal de Instru��o Criminal?
-Essa � uma pergunta que ainda hoje permanece sem resposta.
-� que, apesar de todas as tentativas feitas pelos agentes da Direc��o Central de Investiga��o de Corrup��o, Fraudes e Infrac��es Econ�mico-Financeiras, o �rbitro, sujeito a diversos interrogat�rios, nunca fez qualquer revela��o que pudesse incriminar outras pessoas.
-Por outras palavras: nunca quis beneficiar do estatuto de �arrependido�.
-Alice n�o sabia o que era um fato-macaco, mas n�o teve coragem de perguntar.
-�N�o pod�amos.
-Afinal, os direitos dos trabalhadores est�o garantidos na Constitui��o.
-Os temas escolhidos s�o cinco: �Patrim�nio Virtual� (explora��o dos monumentos portugueses usando as tecnologias da realidade virtual); �Portugal Global� (Sagres como antena de expans�o e comunica��o da expans�o global e local dos portugueses); �Sacra Saturni� (Sagres como lugar de mist�rio e simbologia, tema ideal para um jogo de aventura gr�fica); �Um Milh�o de Navegadores� (Sagres como centro privilegiado de turismo cultural, com um milh�o de visitantes por ano) e �Terr�vista� (Sagres [...]
-�Numa primeira fase o trabalho ser� concretizado num ' site ' na Internet, com acesso universal e que ter� sede em Sagres.
-Essas p�ginas na Internet ter�o uma componente de refer�ncia a Sagres e � regi�o costeira do Algarve, num regime de divulga��o e promo��o do patrim�nio, com um registo diferente do cl�ssico.
-Depois, poder� haver explora��es em etapas sucessivas para outras linguagens.
-Poder-se-� tocar na realidade virtual, embora seja um objectivo a longo prazo.
-As primeiras semanas foram dedicadas ao estudo dos textos propostos pelos EUA.
-Nos �ltimos dias o ritmo tornou-se fren�tico, �manipularam-se mais de uma centena de documentos e mapas�, garante de la Pe�a.
-Segundo a �Newsweek�, as duas salas dos mapas foram o palco principal das negocia��es.
-Estavam repletas de lixo, copos de pl�stico sujos de caf�.
-Os negociadores usaram canetas de ponta de feltro para tra�ar linhas de fronteira nos cart�es plastificados com o territ�rio da ex-Jugosl�via impresso.
-Bastava um pano h�mido para fazer desaparecer as linhas, e recome�ar tudo de novo.
-�rbitros: Miguel Castro (Argentina) e Alfonso Bove (It�lia).
-Portugal -- Guilherme Silva, Paulo Almeida, V�tor Fortunato, Pedro Alves, T� Neves; Rui Lopes (2), Paulo Alves e Ant�nio Ramalho (2).
-H� muito tempo que tenho uma estranha rela��o afectuosa com esta ilha.
-No quiosque vendem-se dessas revistas de viagens que agora proliferam e que perpetuam as fantasias sobre ilhas ex�ticas.
-Sempre me pareceu estranho nunca ter lido um artigo sobre a �ilha de Santos�.
-Estava convencido que s� eu a via, s� eu a imaginava vista de cima naufragando no meio dos horr�veis autocarros lisboetas.
-Protegida pelas correntes anti-estacionamento selvagem, todos os dias suspirava de al�vio por ainda ver a ilha no seu s�tio, com as fronteiras bem definidas -- o que em si � uma das raz�es que faz das ilhas um dos nossos arqu�tipos mais resistentes.
-Outro dia reparei numa bandeira hasteada no passeio em frente.
-Era a bandeira duma organiza��o que eu desconhecia: �Amigos da Ilha de Santos�.
-Como algu�m que descobre n�o estar s� no mundo, aquela bandeira foi alimento espiritual.
-Eis que a minha ilha tinha bandeira e tudo.
-Eis que, afinal, existem mais habitantes virtuais daquele pa�s que me d� gosto imaginar como um principado independente.
-Sobretudo foi bom descobrir que h� mais gente a fazer parte do equipamento �imagin�rio� da ilha.
-Isolada dos passeios que bordejam os quarteir�es, frequentada por uma �popula��o� m�vel, provis�ria e em constante renova��o, a ilha serve de plataforma de comunica��es: apanhar um transporte, comprar um jornal com not�cias, enviar uma carta, fazer um telefonema.
-Os seus habitantes s�o do mais cosmopolita que h�.
-A cimeira sindical ib�rica j� n�o dever� realizar-se este ano, segundo apurou o P�BLICO.
-Um reuni�o ao mais alto n�vel a realizar na segunda-feira entre a CGTP e a UGT (na sede desta �ltima central) poder� desbloquear anteriores dificuldades e levar � marca��o de uma data.
-Na Europa Ocidental tem-se assistido a uma queda acentuada da fecundidade, o que fez surgir o problema da n�o substitui��o das gera��es.
-Cada vez nascem menos beb�s, com o inevit�vel envelhecimento progressivo da popula��o.
-entre 1960 e 1991, os valores da taxa de fecundidade passaram de 94,9 por cento para 47 por cento.
-Quer isto dizer que a percentagem da popula��o nacional que, em determinado per�odo, procriou baixou para metade em quatro d�cadas.
-�Os Padr�es Recentes da Fecundidade em Portugal�, estudo que ser� lan�ado na pr�xima semana, foi elaborado pelas soci�logas Ana Nunes de Almeida e Cristina Ferreira e pelas ge�grafas Filipa Ferr�o e Isabel Margarida Andr�.
-Editado pela Comiss�o para a Igualdade e para os Direitos da Mulher, este trabalho pretende contextualizar a �queda recente e vertiginosa da fecundidade em Portugal�.
-Com a acarea��o entre Paradela de Abreu e o c�nego Melo, terminaram anteontem as dilig�ncias previstas no acord�o que determinou a reabertura do processo do padre Max.
-Para a acusa��o, o balan�o � positivo, mas para a defesa um novo arquivamento do caso est� mais pr�ximo.
-At� porque o juiz acaba de indeferir uma acarea��o entre os sete suspeitos.
-0 juiz titular do processo do padre Max, Artur Oliveira, indeferiu um pedido do procurador-geral adjunto nomeado pela Procuradoria-Geral da Rep�blica para acompanhar a investiga��o deste caso, no sentido de promover uma acarea��o entre os sete indiv�duos indiciados na acusa��o provis�ria como respons�veis pelo crime-- tr�s como autores morais e os restantes como autores materiais.
-Paulo S� pedia ainda uma acarea��o entre o industrial portuense Manuel Macedo, Ramiro Moreira e o tenente da Marinha Pedro Menezes, todos testemunhas neste caso.
-Todos os nomes citados derivam desta cena, que rapidamente foi superada por outras modas.
-Qualquer deles prosseguiu na linha da pop electr�nica, todavia, s� Marc Almond e os Erasure seguem hoje uma atitude �camp�, embora ambos com algumas �nuances� que de algum modo tendem a atenuar-lhes a envolv�ncia escandalosa.
-Almond � o �nico que continua a cantar teatral e amaneirado, fazendo das suas interpreta��es casos de incandesc�ncia incontrol�vel, assente no culto do personagem instant�neo, � boa maneira tradicional do �camp� de Oscar Wilde.
-Se isso fica uma vez mais reiterado em �Memoribilia�, a compila��o dos seus �xitos a solo e nos Soft Cell, que parcialmente regravou para o efeito, tamb�m � vis�vel que nos respectivos novos v�deos colados �s antigas can��es qualquer coisa mudou em Almond.
-O exemplo paradigm�tico � �Say hello and Wave Goodbye�, cujo primeiro �clip� consistia numa verdadeira orgia de excessos e que agora � substitu�do por um teledisco de um romantismo asseado repleto de modelos em c�mara lenta, que mais se tende a ligar aos �dessexuados� Black ou Don Henley.
-Em s�ntese, aquele dinheiro seria a �ltima presta��o do pagamento do terreno.
-Em troca, assinava-se o contrato-promessa de compra e venda.
-Deolinda, com o seu advogado ao lado, deu-lhe a procura��o e Manuel foi ter com Constantino para ele lhe dar tamb�m os pap�is assinados.
-E Constantino perguntou-lhe se ele estava a brincar, pois n�o lhe ia dar procura��o nenhuma enquanto n�o recebesse a sua parte, ao que Manuel, (se ningu�m no tribunal mentiu neste aspecto), lhe replicou que j� tinha dado os 1095 contos a Deolinda e eles que dividissem a soma entre os dois.
-E viu ent�o pela cara de Constantino que tinha feito mal, mas muito mal, pois marido e mulher agora s� partilhavam uma filha, um barrac�o e um �dio horr�vel, azedo e m�tuo.
-De facto, dava a impress�o que marido e mulher, nesta �ltima fase do casamento, s� j� comunicavam atrav�s dos respectivos advogados, um luxo estranho para pessoas quase sem dinheiro.
--- E ela disse para passar um cheque ...
-A Assembleia aprovou ainda mo��es que reclamavam a divulga��o dos resultados provis�rios da avalia��o das universidades, a fiscaliza��o da constitucionalidade da Lei de Financiamento do Ensino Superior P�blico, e insistiam nas campanhas de divulga��o das queixa dos estudantes, aproveitando, por exemplo, a presen�a da comunica��o social no pr�ximo jogo Acad�mica-Benfica.
-Entre as propostas mais ousadas, decidiu-se pedir ao Presidente da Rep�blica que proponha um referendo sobre a Lei do Financiamento, desafiar as televis�es a promoverem um debate entre o ministro da Educa��o e todos os dirigentes associativos, pintar de negro a sede da Direc��o Regional de Educa��o do Centro e remeter envelopes com folhas de papel higi�nico ao minist�rio.
-E n�o seria mais �til que o dr. Soares que, enquanto primeiro-ministro, deixou a educa��o no caos que se conhece, dirigisse mensagens a lan�ar o debate sobre o que h� a reformar no ensino, em vez de passar a vida a exigir uma televis�o t�o livre que Eduardo Moniz tenha liberdade para criticar toda a gente excepto .. o dr. Soares?
-... E, se o dr. Soares tivesse praticado desporto na escola, ser� que, hoje, pensaria da mesma maneira?
-�A VW ainda n�o tomou qualquer decis�o, porque est�o a analisar as v�rias hip�teses.
-Mira Amaral confirmou, no entanto, que Portugal � uma das possibilidades que est�o a ser estudadas pelos alem�es, tendo-lhe sido colocadas v�rias perguntas sobre as condi��es de investimento, quando da recente visita a uma das f�bricas da VW, na Alemanha.
-Para o ministro, a decis�o dever� ser tomada em meados de 1993 e, se a escolha recair sobre Portugal, essa ser� �uma boa altura� em termos de incentivos.
-�Em 1993 j� estar�o esgotadas as verbas do actual Quadro Comunit�rio de Apoio [ QCA ] e ainda n�o estar�o dispon�veis as do QCA de 1994.
-V.C. -- Mas � quase disco de prata [ faltam seis mil, segundo a editora, a BMG ]!
-Comprar um CD n�o est� ao alcance de todas as pessoas que compravam os nossos discos, mas acreditamos nos jovens, porque temos a certeza que aderem a isto.
-� l�gico que estamos a aproveitar o facto de os portugueses aderirem outra vez � m�sica popular.
-P. -- E qual � a vossa opini�o sobre a m�sica portuguesa actual?
-O que � que acham que mudou desde os anos de apogeu do conjunto?
-A R�SSIA anunciou ontem ter assinado um contrato para o fornecimento de mais dois reactores nucleares ao Ir�o, mas negou ter recebido uma encomenda para vender 4000 blindados ao Iraque.
-Quanto ao contrato com Teer�o, cujo montante n�o foi especificado, o ministro russo da Energia At�mica explicou que ele inclui a venda de dois reactores de tipo VVER-440, com uma pot�ncia de 440 megawatts, para serem instalados em Bouchehr, no sul do Ir�o.
-A R�ssia, insens�vel aos protestos dos EUA e de Israel, j� se tinha comprometido, no in�cio do ano, a instalar naquele mesmo local um reactor de 1000 megawatts, num neg�cio avaliado em mil milh�es de d�lares.
-Em rela��o ao Iraque, Valeri Progrebenkov, porta-voz da sociedade de Estado Rosvooroujenie, respons�vel pelas exporta��es militares, desmentiu a exist�ncia de uma encomenda de 4000 carros de combate russos, como afirmara o genro de Saddam Hussein que desertou para a Jord�nia.
-Segundo este, os blindados seriam entregues ao longo de v�rios anos e pagos em petr�leo, depois do levantamento das san��es impostas ao Iraque.
-Os New York Knicks venceram ter�a-feira no seu reduto os Chicago Bulls, por 96-91, passando a liderar, por 2-0, a final da Confer�ncia Leste da Liga Norte-Americana de Basquetebol Profissional (NBA), que se disputa � melhor de sete encontros.
-O Governo inaugurou pontes e estradas, mas �n�o foi capaz de inaugurar� uma Lei de Bases do Ordenamento do Territ�rio.
-A den�ncia foi feita ontem, em Faro, pelo l�der do Partido da Terra (PT).
-Ribeiro Teles defendeu, no Jardim Alameda, a necessidade de uma pol�tica que tenha �os p�s bem assentes na terra�, sem estar subordinada aos �n�meros� da macroeconomia, constru�da � custa da �degrada��o dos nossos recursos�.
-O grupo de fot�grafos participantes encontra-se para um confronto pela diversidade n�o s� de estilos, como de op��es relativamente � constru��o de uma ideia da cidade.
-Assim, Nuno F�lix da Costa, que tra�a um percurso �cronol�gico� -- com uma sequ�ncia que come�a ao amanhecer e acaba na noite �escura� lisboeta, das ruas e e dos bares -- integra constantemente o elemento ins�lito (ou tornado ins�lito pelo olhar), da exist�ncia humana e urbana, na paisagem quotidiana: a rotina dos gestos e dos comportamentos.
-�A sina do seu destino�, abre a sequ�ncia de imagens do autor, que fecha com a tr�mula, brilhante e opaca, po�tica e tensa, vida da noite.
-Ant�nio Pedro Ferreira, fot�grafo que re-afirma a sua originalidade na busca do acontecimento humano.
-N�o h� fotografias sem pessoas, ou sem os seus vest�gios, o que n�o deixa de nunca de remeter o trabalho deste fot�grafo para um dos dom�nios mais fascinantes, ou encantat�rios, m�gicos da fotografia, o �retrato�, ou a fotografia como �lente human�stica� ...
-permanece o registo dos negros, das sombras e da alus�o.
-Para 1995, a administra��o da PT calcula que os lucros atinjam valores pr�ximos dos 25 milh�es de contos e pretende manter os n�veis de investimento, verificados em 1994.
-Dentro da pol�tica de racionaliza��o de estruturas, a PT pretende ainda baixar para quatro milh�es de contos o valor das exist�ncias em armaz�m (encontra-se em sete milh�es, contra os 11 milh�es que se atingiam em Maio) e alienar 40 im�veis espalhados pelo pa�s.
-Botelho da Costa garantiu tamb�m que o or�amento para 98/99 ser� entrega ao conselho fiscal a tempo de ser analisado por este, provavelmente �no final desta semana, in�cio da pr�xima�.
-O Sporting de Braga-Guimar�es est� a suscitar grande interesse na regi�o minhota e a procura de bilhetes tem decorrido em bom ritmo.
-Embora o Guimar�es n�o tenha organizado as habituais excurs�es, � praticamente garantido que o Est�dio 1� de Maio registar� uma das melhores assist�ncias da �poca.
-Na hora de defrontar o Sporting, o Famalic�o pode finalmente respirar aliviado com a not�cia do regresso dos seus dois jogadores argelinos, Medane e Menad, que se ausentaram para disputar a Ta�a de Africa.
-Os argelinos, que desempenham um papel preponderante na equipa de Josip Skoblar, chegaram anteontem � noite a Famalic�o, quase uma semana depois de a sua equipa ter sido afastada da luta pelo ceptro m�ximo do futebol africano, tendo j� ontem treinado com o resto do plantel famalicense.
-Com o regresso de Medane e Menad, o treinador jugoslavo do Famalic�o tem � sua disposi��o todos os jogadores, com excep��o do jovem Manuel Jos�, que se encontra lesionado.
-O que � a verdade, o que � a fic��o?
-Isso n�o podemos saber.
-O que � um �escritor�?
-� um top�grafo, um investigador, um rep�rter, ou um fot�grafo, como perguntou um dia Herv� Guibert a Peter Handke, numa entrevista?
-Quando morre algu�m, e depois n�s ficamos sempre a pensar que dessa pessoa n�o sab�amos quase nada, escolhemos uma pequena parte, e, como dessa pessoa j� n�o conseguimos ver nem os olhos nem as m�os, ficamos com essa pequena parte para ocuparmos o espa�o todo que resta no s�tio da pessoa morta, ficou-nos s� essa parte, � muito pouco, por isso depois tem de ser aumentada.
-Uma parte de Herv� Guibert.
-Um livro.
-O t�tulo � �Des Aveugles�, e foi publicado na Minuit em 1985.
-Depois de �L'Image Fant�me�, de �Les Aventures Singuli�res�, de �Les Chiens�, de �Voyage Avec Deux Enfants�, de �Les Lubies d'Arthur�.
-Antes de �Mes Parents�, e muito antes dos livros-Sida.
-�Des Aveugles� � t�o nitidamente cruel e generoso como o cinismo quando � absoluto e coincide com a ingenuidade.
-O lugar do livro � uma institui��o para cegos.
-As personagens s�o cegos, atrozes e desconcertantes como nas fotografias de Sander, porque os cegos s�o pessoas que se dirigem incessantemente para um lugar intermin�vel de onde n�o podem sair e onde n�s nos sentimos gratos por n�o podermos entrar.
-Herv� Guibert na �poca era jornalista do �Le Monde�, e pediu autoriza��o ao Instituto Nacional dos Cegos para fazer uma reportagem sobre �Os Cegos e a Cultura�, h�-de ter sido o que de melhor lhe ocorreu como desculpa para passar l� uma semana.
-Diz que imaginou que �o narrador seria uma esp�cie de perverso que entra no estabelecimento gra�as a uma cumplicidade que lhe permite manter rela��es amorosas il�citas com as crian�as�.
-O livro depois mudou, e os cegos tornaram-se personagens passionais, e obscenas na sua viol�ncia, esse livro depois de escrito continha tudo, o infinito, a transpar�ncia, o medo, as imagens do escuro, continha uma crian�a cega que n�o admitia n�o ver e inventava, e Josette que torturava ratos, uma mulher casada, um marido e um amante, e depois havia uma vingan�a.
-Herv� Guibert gostava dos cegos.
-Depois dessa semana, ficou durante um ano como leitor, ia duas horas por semana.
-Apaixonou-se por um cego que n�o era aluno dele.
-Tamb�m se tornou amigo do empregado da loja onde os cegos iam buscar v�deos.
-O v�deo mais procurado pelos cegos era �Texas Chainsaw Massacre�, de Tobe Hooper.
-Foi anos mais tarde que Herv� Guibert escreveu o livro.
-� neste contexto que entre a ind�stria e a Direc��o-Geral da Qualidade do Ambiente [DGQA] nunca se interromperam os contactos t�cnicos necess�rios � atempada informa��o sobre a evolu��o verificada no cumprimento do contrato-programa e que permitir�o a continua��o de uma abordagem respons�vel da quest�o para futuro.
-Apraz-nos referir a disponibilidade da DGQA para manter com a ind�stria um di�logo s�rio e objectivo.
-N�o conhecendo outra forma de abordar um tema t�o importante como o da efectiva protec��o do ambiente de que tamb�m somos parte.
-Mas al�m das afinidades culturais, dos quais os japoneses est�o cientes, mas que muitos portugueses desconhecem, h� outros pontos de aproxima��o.
-�O tema da Expo-98, os Oceanos, ser� tamb�m abordado na Expo-2001, em Yamaguchi, cujo lema geral ser� ' O Futuro e o s�culo XXI ', ou, dito de uma forma mais po�tica e numa tradu��o mais livre do japon�s, �Rumo a um futuro onde brilhe a vida�.
-Se na primeira metada da d�cada de 80 o balan�o dos confrontos entre os dois �eternos rivais� era francamente equilibrado, na segunda metade da mesma d�cada- excep��o feita aos fabulosos 7-1 com que o Sporting venceu o Benfica na tarde de 14 de Dezembro de 1986, em Alvalade- os �encarnados� foram ganhando vantagem neste muito especial �campeonato� entre as equipas da Luz e de Alvalade.
-A maior evid�ncia para esta recente superioridade �encarnada� vai para o facto do Benfica, nas suas tr�s �ltimas desloca��es a Alvalade, ter vencido sempre os �le�es�.
-P. -- ... e mais: j� depois da derrota continuou a tentar nos jornalistas, e na comunica��o social, os bodes expiat�rios da derrota ...
-R. -- ... n�o generalizo mas houve aspectos na comunica��o social que tiveram que ver com os resultados das elei��es.
-Mas, � verdade, estava completamente convencido de que o PSD iria ganhar e, inclusive, poderia ter maioria absoluta.
-Enganei-me: n�o serie nem o primeiro nem o �ltimo, espero ..
-Observador privilegiado, o franc�s Michel Platini, ex-jogador, ex-seleccionador nacional e actual coordenador do Comit� Organizador do Campeonato do Mundo de futebol de 1998 em Fran�a, deita um olhar sobre aquilo que foi o �Mundial� dos Estados Unidos.
-Por entre cr�ticas � falta de vontade dos pol�ticos franceses, faz algumas compara��es e previs�es.
-No que se refere �s regras do jogo, considera que o futebol deve continuar a ser futebol.
-Da� que seja avesso a profundas altera��es das suas regras.
-L'�QUIPE -- De que maneira viu o recente Campeonato do Mundo de futebol?
-N�o pondo em causa o direito dos cl�nicos de exigirem melhores condi��es remunerat�rias e de trabalho, Maria Bel�m lembrou que, para se pedir mais dinheiro, �temos de mostrar que fazemos mais e melhor�.
-O recado n�o tinha apenas como destinat�rios os m�dicos algarvios, mas toda a classe.
-A este prop�sito, argumentou que as �dificuldades e os constrangimentos do pa�s� exigem um grande controlo dos gastos.
-No seu entender, o seu Minist�rio j� fez um esfor�o para que os trabalhadores da Sa�de beneficiassem de um aumento superior ao resto da fun��o p�blica.
-Por conseguinte, um novo aumento salarial, de acordo com a ministra, ter� necessariamente de ser acompanhado de um aumento de produtividade.
-Nesse sentido, adiantou que o �Minist�rio est� dispon�vel para negociar a altera��o dos regimes de trabalho, em sede dos centros de responsabilidade integrados�, tendo j� convidado os sindicatos para para iniciar esse processo.
-No caso do Hospital de Faro, onde existe um conflito entre os cardiologistas e a administra��o, renovou a confian�a no �rg�o de gest�o.
-Maria de Bel�m aproveitou esta desloca��o ao Algarve para inaugurar o centro de sa�de de Lagoa, que j� estava a funcionar, mas encontrou a maioria dos m�dicos em greve.
-Portugal encontra-se hoje mergulhado numa crise que parece ter-se instalado predominantemente na Europa, mas afecta toda a humanidade.
-N�o h� por isso, para al�m da prossecu��o das pol�ticas que privilegiam o modelo de sociedade escolhido, solu��es espec�ficas para o nosso pa�s.
-Dez can��es para lembrar a carreira de Cassandra Wilson no cat�logo JMT, a casa que lhe abriu o mundo.
-Uma das mais prometedoras cantoras dos �ltimos anos, Cassandra usa um gr�o de voz e um jeito de desenhar e se apropriar do verso que tem ra�zes em Carmen McRae.
-Nascida no seio da est�tica M-Base, de que se tornou a �nica porta-voz vocal, � medida que foi avan�ando mar adentro, Cassandra soube libertar-se do lastro que lhe ajudou a voz a crescer mas que amea�ava paralis�-la.
-Despojada da preocupa��o de fazer novo e diferente a cada passo, o canto virou �rvore, ganhou espa�o, trepou ao c�u.
-No dia em que Wilson inventar o tempo & o modo de combinar a tradi��o (de que se tem aproximado progressivamente, como o mostra, de forma exemplar, o �lbum �Blue Skies�) com os novos sons que lhe adubaram a voz (do rap e hip-hop � inquieta��o experimental vivida ao lado de Steve Coleman), uma nova porta se abrir� ao jazz vocal.
-Parte-se depois para o debate.
-Paquete de Oliveira, soci�logo, fala do drama social.
-E Carlos Narciso junta a sua voz � daqueles que se surpreendem com o facto de Domingos Pereira, condenado a 15 anos pela morte da mulher, ter cumprido apenas seis.
-Fala na �opini�o p�blica�.
-Era a tirada mais infeliz da noite.
-Com programas destes, que correm o risco de valorizar at� � exaust�o alguns dos aspectos mais s�rdidos da hist�ria de criminosos, arriscamo-nos a ter, em breve, uma opini�o p�blica a pedir agravamentos sem fim das penas, da repress�o e mesmo o ressurgimento da pena de morte.
-�Quanto mais os EUA forem capazes de deixar claro que � f�til competir com o poder americano�, menos chances haver� de que �outros alimentem ideias de perturbar a actual ordem mundial�.
-�Um outro poder, aliado mas diferente, como pode vir a ser a Uni�o Europeia, s� lhes pode ser �til�.
-E apelava ao �idealismo e ao pioneirismo� da Am�rica como o ant�doto capaz de dar sentido ao seu enorme poder.
-Mariano Gago falava na sess�o de encerramento de uma confer�ncia sobre �A cria��o da sociedade de informa��o euromediterr�nea�, um projecto que surge na sequ�ncia da confer�ncia de Barcelona (Novembro de 1995), em que foram lan�adas as bases de uma coopera��o mais estreita -- a n�vel econ�mico e pol�tico, mas tamb�m cultural -- entre os pa�ses das duas margens do Mediterr�neo.
-�As novas tecnologias da informa��o permitir�o construir rapidamente este s�mbolo moderno da nossa vontade comum de criar, entre as elites estudiosas dos nossos povos, la�os de solidariedade, compreens�o m�tua e trabalhos em comum�, declarou o ministro.
-Atentados suicidas do grupo Hamas em Israel: 25 mortos e 80 feridos.
-� a vingan�a pela morte do seu l�der Ayyash.
-Jos� Eduardo dos Santos e Jonas Savimbi re�nem-se em Libreville, concordando que um Governo de Unidade e Reconcilia��o esteja formado at� Junho ou Julho.
-Ant�nio Guterres possui uma boa rela��o com o teatro.
-Tem pena de ter pouco tempo para assistir a espect�culos, mas est� atento.
-Nos �ltimos meses ainda conseguiu escapar-se e ver �Eu, Feuerbach�, pelo Cendrev, em �vora, e �A �pera do Malandro�, pelo Seiva Troupe, no Porto.
-E gostou.
-As declara��es prestou-as ontem durante o almo�o que ofereceu, em S. Bento, �s personalidades do teatro.
-No dia em que ficou constitu�do o j�ri de apoio ao teatro n�o governamental.
-Um vizinho do P�o de A��car de Cascais j� n�o aguenta ouvir as descargas do supermercado.
-Queixas atr�s de queixas, foi conseguindo umas vit�rias.
-Agora, por�m, tudo esbarrou num muro que a empresa diz ser a solu��o mas que o vizinho n�o aceita.
-Afinal, parece que consumir fura os t�mpanos.
-A Gr�-Bretanha pediu na segunda-feira � Comunidade Europeia que fosse banido um a��car artificial usado na produ��o de refrigerantes, revelaram fontes diplom�ticas comunit�rias e industriais citadas pela Reuter.
-Os brit�nicos advogam que a subst�nca em quest�o, o ciclamato -- 30 vezes mais doce do que o a��car -- n�o � seguro para o ser humano e amea�am vetar uma lei sobre a seguran�a alimentar, que os ministros do com�rcio da CEE est�o a discutir, se o produto n�o for proibido.
-A Fran�a e a Gr�cia apoiam a Gr�-Bretanha.
-Este tipo de a��car foi banido nos Estados Unidos e na Gr�-Bretanha depois de uma s�rie de testes ter demonstrado que o produto provocava cancro nos ratos.
-A Gr�-Bretanha -- o �nico pa�s da CEE que proibiu o produto -- quer agora banir os ciclamatos da CEE baseados no argumento de que o produto leva, nos animais, � atrofia e degenera��o testicular.
-Mas a comiss�o da CEE para a seguran�a alimentar, baseada em peritos dos Doze pa�ses, aprovou os ciclamatos depois de analisar o consumo m�dio em rela��o aos humanos durante um per�odo de vida.
-Domingos, peito hirto e joelhos levantados, cerra os dentes e vence Buckner (medalha de bronze) e D�l�ze.
-Domingos n�o se tem em si de contentamento, n�o quer acreditar no que se est� a passar.
-Abra�a-se ao irm�o, que ficou em 8� lugar.
-�Ganhei a medalha de prata�, diz-lhe ofegante, mas logo se recusa a acreditar na realidade.
-S� quando Moniz Pereira lhe surge na frente, se compenetra de que era mesmo verdade.
-O treinador, de sorriso rasgado, abra�a-o.
-Lisboa, 18 de Fevereiro de 1992.
-S�o 9h 25m e Moniz Pereira arruma o autom�vel junto ao est�dio do Sporting Clube de Portugal, incrustado entre o Campo Grande e o bairro residencial lisboeta do Lumiar.
-Metade do Or�amento destina-se a despesas correntes, suscitando criticas da oposi��o, que as consideram exageradas, nomeadamente as despesas com pessoal (mais de um milh�o de contos).
-O or�amento prev� obras como a constru��o do pavilh�o gimno-desportivo de Pinhal Novo e as piscinas do Pinhal Novo, entre outras.
-Para o presidente Carlos de Sousa, trata-se de um or�amento �t�pico de um concelho rural e pobre com poucas receitas�.
-Segundo elementos recolhidos na �nica junta de freguesia do concelho, o Entroncamento tem, ap�s o recenseamento eleitoral do ano passado, 12 480 eleitores, apenas mais 372 do que no ano anterior.
-Os respons�veis desta junta, bem como os da autarquia, garantem que �este n�mero est� muito aqu�m da realidade�.
-�se Maom� n�o vai � montanha, a montanha vai a Maom�.
-Altera��es ao C�digo Civil que incidem sobre o direito da fam�lia.
-Uma proposta de lei a aprovar por a Assembleia da Rep�blica que permita a altera��o do C�digo de Procedimento Administrativo.
-O CONGRESSO Nacional Africano (ANC) reiterou ontem, em comunicado, como �insuficiente� a remodela��o ministerial realizada pelo Presidente De Klerk, na sequ�ncia do esc�ndalo sobre o financiamento secreto de Pret�ria ao partido zulu Inkhata, anunciando que vai intensificar a sua campanha para obter a mudan�a do Governo sul-africano por um Executivo de transi��o.
-UM GRUPO de alegados assaltantes, acusados do roubo de diamantes no valor de um milh�o de contos da central de escolha de uma operadora portuguesa em Angola, est� a ser submetido a interrogat�rios que forne�am pistas sobre uma presum�vel rede de tr�fico.
-Cerca de um milh�o de contos em diamantes, em gemas e para uso industrial, foi roubado na noite de 14 para 15 de Setembro da esta��o de escolha da Sociedade Portuguesa de Empreendimentos (SPE), no Ocapa, Lunda Norte.
-O que consta � que os militares t�m bastante cuidado para evitar esse tipo de situa��es.
-Sabendo antecipadamente o grau hier�rquico da personalidade que vai actuar, fazem-se representar em conformidade.
-Para um secret�rio de Estado, um vice-chefe.
-No entanto, no Minist�rio da Defesa n�o h� grandes preocupa��es quanto � funcionalidade da gest�o se houver vacatura com a prov�vel sa�da de Nogueira.
-Se os chefes militares, actualmente, despacham com o ministro de 15 em 15 dias, far�o o mesmo com o primeiro-ministro e o secret�rio de Estado governa o Minist�rio.
-� tudo uma quest�o de tempo e ainda falta conhecer os resultados do congresso do PSD e saber a altura exacta em que o Presidente da Rep�blica tomar� decis�o relativamente ao Governo.
-Entretanto, a Comiss�o Nacional de Elei��es (CNE) notificou ontem a SIC pela n�o cobertura da campanha eleitoral do candidato Jer�nimo de Sousa, na sequ�ncia de uma queixa por este apresentada.
-A esta��o de Carnaxide tem um prazo de 48 horas para responder, devendo a CNE na sua pr�xima reuni�o tomar uma decis�o, que, se for desfavor�vel � SIC, lhe poder� custar uma coima entre os mil e 10 mil escudos.
-Entre um e dez contos, exactamente.
-A Kapiti forneceu ao Banco de Com�rcio e Ind�stria (BCI) os sistemas Equation, �back-office� para opera��es internacionais, e FS-Dealer, �front-office� para opera��es cambiais.
-Mas o primeiro grande atleta de Moniz Pereira veio de Viseu, no interior nortenho, com muito frio no Inverno e muito calor no Ver�o.
-Numa freguesia rural �s portas da cidade, Vildemoinhos, nasceu e fez as primeiras corridas aquele que viria a ganhar a maratona de Los Angeles em 1984: Carlos Lopes.
-Lopes corria na inf�ncia pelas hortas, competia com amigos quando iam a festas na aldeia vizinha, atravessava velozmente vinhas e castanhais.
-E era sempre ele quem ganhava.
-Na terra natal foi torneiro-mec�nico, teve vida dura, at� que um dia deu nas vistas nos crosses nortenhos.
-O Sporting contratou-o, trouxe-o para Lisboa.
-E Moniz Pereira come�ou a trein�-lo.
-O ministro canadiano das Pescas, Brian Tobin, tinha dito, no domingo passado, estar pronto a tomar todas as medidas necess�rias para impedir 49 barcos europeus -- 38 espanh�is e 11 portugueses -- de continuarem a pescar nos grandes bancos, ao largo da Terra Nova.
-Tobin sublinhou que os pesqueiros europeus foram todos prevenidos, via r�dio, de que o Canad� proteger� os seus �stocks� de solha e palmeta, mesmo para al�m do limite das 200 milhas n�uticas.
-As informa��es dispon�veis d�o conta da presen�a de quatro fragatas, um porta-helic�pteros e avi�es canadianos a vigiar os barcos ib�ricos.
-Em causa neste diferendo est�o dois problemas: a inten��o canadiana de, pretensamente, preservar os recursos de pesca da zona e, em segundo plano, a inten��o de alargar a sua jurisdi��o a �guas internacionais para al�m das 200 milhas da zona econ�mica exclusiva.
-Os canadianos dizem querer diminuir fortemente a pesca da palmeta para evitar o seu desaparecimento, �como aconteceu com o bacalhau e o ' red fish '�, observa Ernest Loignon.
-A dupla Jorge Bica / Joaquim Capelo regressou ao comando da 42� Volta Galp a Portugal, prova pontu�vel para o �Europeu� de ralis, ap�s a disputa da segunda etapa.
-Uma vantagem de 1m34s sobre os segundos, Jos� Carlos Macedo / Miguel Borges, em Renault Clio 16V, garante ao piloto do Lancia HF Integrale uma forte dose de tranquilidade para conseguir a vit�ria na prova, o que o colocaria em excelente posi��o para a conquista do t�tulo.
-O livro foi inicialmente publicado pela Cadernos Tempo, em Mo�ambique.
-Recentemente, uma editora uma italiana descobriu-o.
-Maria Teresa Pazzolo traduziu-o, prefaciou-o e ilustrou-o, com fotografias de sua autoria.
-A AIE-Guaraldi, da Reppublica di San Marino chancelou este livro que se deixa inquietar com o desaparecimento da Ilha de Mo�ambique.
-Em Portugal, esta novela n�o foi ainda editada.
-Com a sua publica��o em It�lia, talvez �O Barco Encalhado� desenterre as amarras e aporte no Tejo.
-O que seria importante pois, de alguma forma, este livro combate a vis�o preconceituosa e lacunar que, ao longo dos tempos, � Ilha de Mo�ambique tem sido consagrada.
-Os ministros europeus do Trabalho e dos Assuntos Sociais aprovaram ontem no Luxemburgo leis comunit�rias instituindo uma licen�a m�nima de tr�s meses para assist�ncia � fam�lia e a aplica��o de regras do pa�s de acolhimento para os trabalhadores deslocados no estrangeiro, anunciou o ministro alem�o Norbert Blum.
-Estes dois projectos tinham sido objecto de um acordo pol�tico durante a �ltima reuni�o dos Quinze, a 29 de Mar�o em Bruxelas, mas faltava-lhes a adop��o formal.
-O fogo consumiu in�meros fardos de bacalhau, dois dos tr�s t�neis de secagem artificial, alguns compressores, duas carrinhas utilizadas no transporte dos trabalhadores da f�brica e um carro de marca �Triumph�, propriedade do comendador.
-Os armaz�ns e uma habita��o cont�guas � empresa foram tamb�m danificados pelo sinistro.
-Os prejuizos, disse Gon�alves Gomes, est�o cobertos por o seguro, mas ascendem a centenas de milhar de contos.
-O bacalhau queimado estava j� embalado em fardos ou disposto nos tabuleiros de secagem e pertencia a lotes de produ��o da empresa, sendo o peixe importado da Noruega e Dinamarca.
-Apesar da quantidade de bacalhau consumida pelas chamas ter sido elevada, Gon�alves Gomes afirmou que n�o ir� acontecer qualquer �desestabiliza��o do abastecimento do mercado�.
-Quanto � Empresa de Pesca de Viana estar� garantida a continuidade da labora��o, embora a n�veis de produ��o mais reduzidos, j� que s� poder� ser utilizado o �nico t�nel de secagem artificial poupado no inc�ndio.
-A compara��o � perversa e d� para os dois lados.
-O deputado social-democrata Carlos Coelho, por exemplo, at� j� se deu ao trabalho de comparar os dois documentos, apenas para provar que h� �in�meras cita��es literais� do diploma no articulado do pacto, que assim se transforma �num reposit�rio de ideias globais, que n�o acrescenta nada ao que a lei de bases e a Constitui��o portuguesa preconizam�.
-A forma como todo o processo tem vindo a ser encaminhado �, ali�s, suscept�vel de �gerar expectativas perversas�, porque � �na forma como as coisas ir�o ser levadas � pr�tica que as pessoas se dividem�.
-Escola Secund�ria de Pa�os de Ferreira -- Est� aberto pelo prazo de tr�s dias, a contar da publica��o do presente aviso, concurso para preenchimento de um hor�rio incompleto de 6 (seis) horas na disciplina de Socorrismo (11� ano).
-Na Gr�-Bretanha s�o mortas, anualmente, cerca de 70 crian�as.
-As causas s�o os maus tratos.
-Os culpados s�o quase sempre os pais.
-O n�mero de crian�as menores de cinco anos, mortas por estranhos, tem sido em m�dia de uma por ano, pelo menos desde 1982.
-Se o assass�nio de crian�as por estranhos � um tipo de crime raro, estranho � que isso aconte�a pela m�o dos pr�prios pais.
-Mais inesperado ainda � encontrar uma crian�a assassina.
-�O Dec�logo�, de Krystof Kieslowski .
-Qual foi, para si, o principal acontecimento mundial da �ltima d�cada?
-�Tr�s jovens portugueses que fazem m�sica portuguesa�.
-Assim se definem os Requiem, ex-Requiem pelos Vivos, que ap�s quase cinco anos de aus�ncia dos est�dios regressam em Outubro com um novo �lbum e uma m�o-cheia de espect�culos.
-Pelas r�dios, entretanto, roda j� �Entre o C�u e o Medo�, o single promocional.
-�Duas Viagens�, uma exposi��o de fotografias a preto-e-branco de Francisco Villa-Lobos, feitas em 1995 em T�quio, Nagasaqui e Quioto, nos intervalos de rodagem do filme �Os Olhos da �sia�, de Jo�o M�rio Grilo, pode ser vista at� 7 de Novembro na sala Laman do Centro Cultural de Bel�m.
-�Imperman�ncia -- Um Caminho para o Auto-Conhecimento� � o t�tulo de uma exposi��o / instala��o de Regina Chulam, que joga com v�rios auto-retratos pintados pela artista e que pode ser apreciada, a partir das 18h30, na Casa Fernando Pessoa (R . Coelho da Rocha, 16), em Lisboa.
-Outros dissidentes conhecidos ainda presos, envolvidos na �Primavera de Pequim� s�o Wang Juntao e Chen Zimin, jornalistas, 35 e 40 anos, respectivamente, condenados em 1990 a 13 anos de pris�o, Liu Gang, estudante, 32 anos, condenado a seis anos, Reng Wanding, oper�rio, 48 anos, condenado a sete anos, e Bao Tong, 60 anos, antigo bra�o-direito do secret�rio geral Zhao Ziyang, condenado a sete anos.
-N�o havia cruzamento, n�o se tratou de uma tentativa de ultrapassagem, nem sequer de uma travagem brusca.
-Segundo o relato da ag�ncia Lusa, o Volvo deslizou sozinho de uma garagem particular onde estava estacionado.
-E s� o inesperado encontro com o Mercedes o fez parar.
-Sabe-se l� at� onde poderia ter ido, deslizando pelo piso molhado da Rua das Flores.
-O incr�dulo automobilista, por n�o ter interlocutor, achou por bem chamar a pol�cia e relatar-lhe como tudo se passou.
-Afinal, h� que apurar responsabilidades em mat�ria de seguros, mesmo em situa��es ins�litas com esta.
-As tropas ficariam fora dessa esp�cie de estrada, que na altura n�o foi sequer definida, concentradas em determinados pontos, que tamb�m n�o foram definidos.
-v�o definir esse corredor e determinar os pontos de acantonamento dos soldados.
-Se n�o se incomodarem um ao outro � porque h� condi��es para partir para a fase seguinte.
-Que tamb�m n�o se sabe ainda qual �.
-Os �Fados d'Aqu�m e d'Al�m-Mar� que Jo�o Braga concebeu para o Centro Cultural de Bel�m traduziram-se numa exibi��o confrangedora de equ�vocos e falta de prepara��o onde couberam amigos, muito Fernando Pessoa, uma boa voz, de Rita Guerra e uma anedota brasileira de mau-gosto.
-O fado, esse, ficou aqu�m.
-O defesa portugu�s H�lder estreou-se no campeonato espanhol e encontrou logo pela frente um seu velho conhecido: o ex-sportinguista Amunike.
-Bateu-se bem, ganhou-lhes muitos lances e anulou o flanco esquerdo do ataque dos visitantes, mas acabou por ver o remate decisivo da partida tabelar no seu corpo antes de a bola chegar �s redes.
-�Fui infeliz, a bola bateu-me nas costas e entrou.
-Mas, pelo que fez na segunda parte, o Barcelona mereceu ganhar.
-H�lder cumpriu bem na sua estreia.
-Com a particularidade de ter jogado fora do seu posto habitual.
-�Penso que foi por o John Toshack saber que eu conhe�o bem o Amunike.
-Pediram-me para desenrascar, mas prefiro jogar a central�, explicou o portugu�s.
-�O H�lder tem raz�es para estar contente.
-Pelo caminho, tinha repudiado uma insinua��o de Dam�sio, que, no seu discurso, se referiu � sua comiss�o como sendo constitu�da por �cr�ticos ou opositores da actual direc��o�.
-E o mesmo fez o orador seguinte, Jos� Diogo, este representante do grupo respons�vel pela terceira proposta.
-A reuni�o prosseguia ainda � hora de fecho desta edi��o.
-Sim, porque as pessoas acabam por passar por todas, apesar das diferen�as.
-J.S.R. -- Uma das condi��es fundamentais para se criar outros gostos nas pessoas s�o os concertos.
-C� n�o h� apresenta��o ao vivo de quase nenhuma m�sica.
-E isso � muito importante.
-Mas nos demais casos em que a lei permite a cobran�a coerciva pelos tribunais fiscais, pode ser discutida a legalidade da d�vida, o que quer dizer que n�o h� t�tulo executivo.
-A n�o ser que estejamos perante um dos documentos do art.46� do C�digo do Processo Civil, aqui sim, plenamente aplic�vel, ou haja lei especial que tal disponha.
-A norte de Porto Dinheiro, na Lourinh�, elementos da Guarda Fiscal apreenderam, cerca das 4h30 de ontem, uma traineira (presumivelmente registada no porto de Peniche) que transportava 138 caixas de tabaco americano, com valor da ordem dos 22.500 contos.
-Na sequ�ncia da opera��o foram detidos quatro indiv�duos, entre os quais o mestre da embarca��o, a qual foi, tamb�m, apreendida.
-A GF confiscou ainda uma viatura ligeira de marca Bedford, envolvida na rede de contrabando, ontem descoberta.
-Quantidade id�ntica de tabaco -- seis caixas de marca Camel e 124 de Winston -- foi aprendida, na madrugada de ter�a-feira, na zona de Vila do Bispo, por elementos do comando da Guarda Fiscal do Algarve.
-A mercadoria, proveniente de um desembarque, foi encontrada numa carrinha suspeita.
-Alverca -- Sem meia d�zia de jogadores (os emprestados pelo Benfica), o rec�m-promovido Alverca ganhou o seu primeiro ponto da �poca e logo fora de casa.
-A perder, o treinador M�rio Wilson arriscou com a entrada de tr�s jogadores e saiu de Campo Maior com mais moral para enfrentar a dif�cil tarefa da manuten��o.
-Por este andar, Portugal vai ter o campeonato com o ciclo mais alargado de jogos em cada semana, com jogos de sexta a segunda-feira.
-Em It�lia os treinadores recusaram os jogos � segunda-feira, que as televis�es queriam imp�r, em Espanha tamb�m haver� jogos s� de sexta a domingo, e em lado nenhum se foi t�o longe como em Portugal dividindo as jornadas por quatro dias.
-H� raz�es t�cnicas e tamb�m de �marketing�, porque o p�blico nunca sabe a que dia joga a sua equipa e a percep��o do que se vai passando, para o p�blico em geral, tamb�m n�o � a mesma.
-A televis�o pode ter assim tanto poder?
-No que diz respeito �s 200 toneladas de farinha de carne e ossos, a respectiva incinera��o fica para mais tarde, em data a anunciar oportunamente pelo Minist�rio da Agricultura.
-Segundo este organismo, a opera��o s� ter� lugar quando for disponibilizado �o equipamento que est� a ser propositadamente constru�do para proceder � introdu��o escalonada nos fornos� da farinha obtida a partir da transforma��o das carca�as dos animais abatidos.
-Tratando-se de mat�rias muito inflam�veis -- n�o � poss�vel retirar integralmente a gordura no processo de transforma��o --, h� que evitar o risco de combust�o no momento de entrada no forno (a laborar a alta temperatura), que poderia atingir o pr�prio operador.
-Por isso, as embalagens ser�o incineradas de forma diferente do habitual, recorrendo-se a um dispositivo que permitir� �puxar� a farinha e lan��-la �por cima�, em completa seguran�a, para dentro do forno.
-Os palestinianos, que querem reivindicar a independ�ncia da Cisjord�nia e de Gaza numa fase posterior das conversa��es, insistem em ser reconhecidos como parceiros de plenos direitos, mas os israelitas, interessados apenas numa fr�gil autonomia palestiniana, querem manter-los na delega��o conjunta com a Jord�nia.
-Fontes em Washington disseram � France Presse que, para desbloquear o impasse, Israel vai propor a realiza��o simult�nea de conversa��es com uma delega��o jordano-palestiniana e com uma delega��o s� de palestinianos.
-Pedro Almodovar j� filma �Kika�, onde, com a ajuda do costureiro franc�s Jean-Paul Gaultier, criou uma esp�cie de c�mara humana.
-Nesse filme, uma criada l�sbica tem o rosto de Rossy de Palma, o perfil cubista que irrompeu em �A Lei do Desejo�.
-A actriz esteve no Festival Internacional de Teatro de Almada.
-�Chica Almodovar� o que �?
-Uma inven��o.
-Pertence �quele grupo de rostos femininos a que chamam as �chicas Almodovar�, todos eles inventados pelo cineasta de mulheres, Pedro Almodovar.
-No caso de Rossy de Palma, a primeira coisa que mostrou no cinema foi mesmo o perfil, amea�ador e desregrado como uma pintura cubista.
-Foi n' �A Lei do Desejo�, e depois aconteceu �Mulheres � Beira de um Ataque de Nervos� -- dormiu durante o filme todo, ap�s um jarro de sumo de tomate e sopor�feros --, �Ata-me!� e agora, em rodagem em Madrid, �Kika�.
-O problema do desemprego dos engenheiros e t�cnicos do �Minseredmash�, o antigo e gigantesco complexo da URSS dirigido para a constru��o do �escudo nuclear da p�tria�, � actualmente tema de acalorada discuss�o na R�ssia e constitui uma preocupa��o para os seus dirigentes.
-Os custos desta pesada estrutura tornaram-se insuport�veis para o pa�s.
-e um estabelecimento muito chique da capital oferecia aos melhores corredores um par de rel�gios em ouro.
-Era o Maxime ...
-Quando me convenci que todos os esfor�os para tomar o aquartelamento se haviam tornado perfeitamente f�teis, comecei a retirar os nossos homens em grupos de oito e dez.
-(...) As nossas baixas no combate haviam sido insignificantes, 95 por cento dos nossos mortos resultou da desumanidade do Ex�rcito ap�s a luta.
-Durante uma semana mantivemo-nos nos cumes da cordilheira da Gran Piedra, enquanto o ex�rcito ocupava as bases.
-N�o pod�amos descer, e eles n�o se atreviam a subir.
-N�o foi a for�a das armas, mas sim a fome e a sede, que acabaram por vencer a nossa resist�ncia.
-Tive de dividir os homens em grupos mais pequenos.
-outros foram escoltados por Monsenhor P�rez Serantes [ arcebispo de Santiago de Cuba ] a fim de se renderem.
-Entre os epis�dios mais importantes a transmitir, al�m da entrevista com Giacometti, destaque-se aquele em que se fala da arte de Modigliani, mais ou menos a meio da exibi��o (nem sempre a ordem � respeitada pela RTP).
-Fala-se da sua vida: do alcoolismo, do desespero; tamb�m do �charme�, da sua gentileza.
-E do drama da morte.
-Outro epis�dio importante, �Um dia na vida de Man Ray�, entrevista filmada no come�o de 1961.
-Ou uma mem�ria do surrealismo dita na primeira pessoa.
-Montparnasse Revisited � assim.
-Est� cheia destes tesouros.
-Os parlamentos da federa��o croato-mu�ulmana e dos s�rvios b�snios v�o hoje pronunciar-se sobre o novo plano de paz internacional para a rep�blica.
-Os dirigentes croatas e mu�ulmanos j� manifestaram o seu apoio ao novo projecto, mas os l�deres s�rvios da B�snia continuam a manifestar profundas reservas face ao novo mapa territorial proposto pelas �grandes pot�ncias�.
-O jogador representou na �poca passada a Associa��o Desportiva Ovarense, mas foi dispensado em virtude do seu alegado �comportamento antidesportivo�, que, na opini�o da direc��o do clube vareiro, ter� contribu�do para a derrota sofrida perante o Benfica na fase decisiva dos �play-off�.
-Sprewer ir� ter como colegas na sua nova equipa os seus compatriotas Terrence Radford- que transita da �poca passada- e Ruben Cotton, um veterano de 32 anos, naturalizado portugu�s, que na �poca passada esteve ao servi�o da Oliveirense.
-Alexandre Dias, Caetano, Moutinho, Nunes, Paulo Duarte, Rui Santos, Jos� Ruivo e Henrique Silva completam o plantel, que ser� dirigido pelo t�cnico Orlando Sim�es.
-O or�amento para a nova �poca ronda os 25 mil contos e o principal objectivo � garantir a perman�ncia do Esgueira no escal�o principal.
-O Beira Mar, a outra equipa da cidade de Aveiro, procedeu tamb�m no in�cio desta semana � substitui��o do norte-americano Mike Smith pelo seu compatriota Deshon Washington.
-Segundo respons�veis do clube aveirense, Mike Smith apresentou-se em deficientes condi��es f�sicas e sem ritmo competitivo.
-Deshon Washington, que joga na posi��o de extremo-poste, tem 23 anos de idade, mede 2,02 metros, e vai fazer dupla com o seu compatriota Kip Jones.
-O t�cnico do Beira Mar, Aniceto Carmo, tem ainda ao seu dispor os seguintes atletas: Catarino (ex-Esgueira), Paulo Sousa (ex-Salesianos), Rebelo, Traylor, Moreira, Mourinho, Alex Pires, Renato, Jo�o Miguel e Pinto.
-Tendo como objectivo intrometer-se na luta pelo t�tulo, o Beira Mar dispor�, para a nova temporada, de um or�amento a rondar os 40 mil contos, verba substancialmente inferior � da �poca passada.
-Na sua globalidade, as respostas alimentam, apesar de tudo, um certo optimismo entre os que se interessam pela sorte dos bichos.
-Para Jorge Rocha, o inqu�rito demonstrou �que h� muitas c�maras do pa�s que t�m uma atitude de grande dignidade pelos animais�, apesar de serem letra morta as parcas disposi��es da legisla��o que regulamenta esta mat�ria e do imenso atraso no nosso pa�s em rela��o a outros pa�ses europeus, onde h� inclusivamente seguros e assist�ncia � doen�a.
-De um modo geral, os animais dom�sticos que vivem no campo t�m uma exist�ncia mais feliz do que os citadinos.
-�Nas grandes cidades, os animais dom�sticos s�o normalmente mais maltratados, pois, em certa medida, entram em concorr�ncia com as pessoas, ocupando as ruas, fazendo ru�do nos pr�dios�, observa o veterin�rio municipal da C�mara do Porto, V�tor Aires.
-�Nos concelhos rurais, essa concorr�ncia n�o existe e os bichos mant�m, at�, determinadas fun��es �teis, como a guarda ou a ca�a�.
-Atr�s de Kerrigan na lista das grandes favoritas est� a japonesa Yuka Stao, quarta nos �Mundiais� e que nos �ltimos tempos bateu patinadoras de grande nome como a alem� Tanja Szewczenko e a canadiana Jos�e Chouinard.
-A China aposta tudo em Chen Lu, terceira classificada nos �ltimos dois �Mundiais�, apontada com a atleta que melhor alia a t�cnica e a beleza.
-S� depois surge Tonya Harding, campe� dos Estados Unidos.
-E a grande d�vida � se as suspeitas da agress�o � sua rival ser�o um �handicap� ou uma motiva��o.
-Homens ensopados da cabe�a aos p�s por uma chuva de petr�leo, com as chamas e o fumo deixados pelas tropas iraquianas como cen�rio de fundo.
-As imagens que Sebasti�o Salgado registou da guerra que op�s os Estados Unidos ao Iraque e que come�ou pela invas�o do Kuwait n�o mostram m�sseis Scud, nem a ferocidade dos ex�rcitos dos dois inimigos.
-Revelam a miss�o perigosa dos homens das 27 equipas de bombeiros enviadas para o �inferno� que os iraquianos atearam em 788 po�os de petr�leo quando se retiraram do Kuwait e que permitiram ao fot�grafo brasileiro concluir o seu �portfolio� sobre o homem e o trabalho.
-A fotografia foi publicada na imprensa de todo o mundo h� cerca de um ano, quando de o massacre de Bentalha, na Arg�lia, onde morreram cerca de duas centenas de pessoas, na noite de 22 para 23 de Setembro.
-Cinco meses mais tarde, a imagem de uma mulher chorando a perda dos seus oito filhos, baptizada como �piet� argelina�, voltava a ser impressa, desta feita porque o seu autor, escondido atr�s do pseud�nimo Hocine por raz�es de seguran�a, recebia o Pr�mio World Press Photo 1997.
-Tem um projecto pessoal: encenar e interpretar, com a actriz Margarida Tavares, �O Amante�, de Harold Pinter, em regime de co-produ��o no Teatro da Trindade, com estreia prevista para Julho.
-�Tive um professor, Jo�o Brites, que nos dizia sempre que t�nhamos que ter os nossos pr�prios projectos.
-Achei que era importante assumir uma postura pessoal.
-Ida e volta do domic�lio ao trabalho.
-Parti de Cabo Verde h� oito anos.
-Estava sem trabalho, fazia uns biscates de vez em quando, mas nada de s�rio.
-Se parti, foi porque para mim, como para todos os outros cabo-verdianos, s� havia uma escolha: ficar e morrer � fome ou partir, n�o importa para onde, para onde pudesse encontrar trabalho e boas condi��es para sustentar a minha fam�lia.
-Futebol -- Transmiss�o directa da cerim�nia de abertura do �Mundial� de Juniores, que se realiza no Est�dio das Antas, no Porto.
-Futebol -- Transmiss�o em directo do jogo inaugural do Campeonato do Mundo de Juniores, Portugal-Rep�blica da Irlanda, a contar para o Grupo A, a partir de as 21h00, no Est�dio das Antas.
-Porque a imprensa est� feita com a direita, como responderia o dr. Cunhal?
-Explica��o demasiado f�cil e desculpabilizadora.
-Se assim �, porque morreu a imprensa comunista, como o �Di�rio�, porque se afastaram do Partido todos os jornalistas comunistas que trabalhavam em outros �rg�os de informa��o?
-A resposta � outra.
-A resposta � que o PP, com raz�o ou sem ela, demagogicamente ou n�o, para o caso tanto faz, tem tido a capacidade de impor os debates que suscitam a separa��o de �guas, as fracturas pol�ticas de que nascem as op��es do eleitorado.
-Enquanto que o PCP � um deserto de ideias, de discuss�o e at� de coragem ideol�gica.
-Nada � mais previs�vel, nada � mais desesperadamente igual e repetitivo do que o discurso do PCP.
-Existe apenas como uma esp�cie de museu de ideias.
-O PP s� tem sete por cento dos votos, mas n�o � dif�cil imaginar que possa crescer.
-O PCP tem os mesmos sete por cento, mas quem imagina que possa subir?
-Al�m disso, a nova lei org�nica do LNIV veio atribuir-lhe mais responsabilidades (ver �Controlo da sa�de animal ganha terreno�, P�BLICO de 9-6-97) no �mbito das provas laboratoriais necess�rias ao controlo sanit�rio dos animais e seus produtos -- a par das normais compet�ncias no �mbito da Investiga��o e Desenvolvimento (I&D) e das que decorrem do seu estatuto de autoridade nacional de refer�ncia para todas as quest�es referentes � sa�de animal.
-Por tudo isso, o ministro da Agricultura entendeu que n�o era poss�vel adiar por mais tempo a decis�o relativamente ao futuro do laborat�rio.
-O despacho de Gomes da Silva aprova uma metodologia de realiza��o faseada no tempo.
-A primeira iniciativa consiste na abertura de um concurso limitado para a elabora��o, por um gabinete de projectistas, do programa preliminar e do caderno de encargos que ter� de ser apresentado no concurso p�blico (segunda fase) para a concep��o e execu��o das novas instala��es.
-Este ciclo, a iniciar muito brevemente, dever� ser cumprido at� ao final do pr�ximo ano.
-A terceira fase do processo consistir� na constru��o das instala��es propriamente ditas, cujo arranque ocorrer� em 1999 e n�o dever� estar conclu�da antes de passados tr�s anos.
-Mais de mil casais tinham-se oferecido, at� quinta-feira � noite, para recolher provisoriamente refugiados, sobretudo crian�as.
-�Mas hoje [ ontem ], quando perceberam que n�o era para adoptar, come�aram tamb�m a aparecer pessoas interessadas em receber tamb�m as m�es�, explicou uma fonte do F�rum Estudante, que est� a organizar a Miss�o Crescer em Esperan�a.
-Nas instala��es do Instituto da Juventude, �o telefone n�o p�ra de tocar�.
-Tamb�m na Madeira, a delega��o da C�ritas no Funchal tem recebido in�meras solicita��es de fam�lias do arquip�lago dispostas a receber crian�as da B�snia.
-Apesar dos muitos pedidos de adop��o, as pessoas est�o a ser informadas que as crian�as apenas ser�o recohidas temporariamente, �entre nove a doze meses�, segundo o �Jornal da Madeira�.
-Os lobos n�o t�m fronteiras, para al�m das que eles pr�prios delimitam.
-Mas, um simples salto sobre a linha que divide o Parque Natural de Montesinho da Reserva Regional de Ca�a da Serra da Culebra, na regi�o espanhola de Castilla y L�on, pode significar um passo da vida para a morte.
-Protegido em Portugal, o lobo � considerado uma esp�cie cineg�tica no lado de l� da fronteira, onde, desde h� dois anos, tem vindo a ser leiloado o seu abate e a prosperar um mercado negro em torno dos seus restos.
-Curiosamente, na confer�ncia de imprensa em que anunciou o �adeus�, o primeiro-ministro n�o apresentou justifica��es de peso para a decis�o.
-�Decidi demitir-me hoje.
-Pensei ser chegado o tempo de renovar as pessoas do Governo e come�ar de fresco no ano novo� -- afirmou, revelando que tomara a decis�o dia 1.
-A justifica��o, para muitos analistas, pode procurar-se na frase de al�vio de Murayama ap�s o seu copo de �sak�.
-A impopularidade pessoal e do seu executivo tornara-se demasiada.
-�Eles fizeram da nossa aldeia um cemit�rio�, contou uma velha.
-at� agora, as pessoas morriam de doen�a ou de velhice.
-Homens e p�s cavavam ontem freneticamente, que j� tinha passado um dia, e cami�es descarregavam cimento em quantidades que a aldeia, de casas de argila e telhados de chapa, nunca tinha visto.
-A sportinguista Teresa Machado estabeleceu no domingo, numa pequena reuni�o realizada em S�o Jacinto, perto de Aveiro, um novo recorde nacional do disco, alcan�ando a marca de 65,40m.
- O anterior m�ximo fora conseguido no mesmo local a 8 de Agosto de 1993, com 63,70m.
-A sportinguista abriu a sua s�rie com 62,16m, subiu a seguir para 63 metros exactos e o novo m�ximo chegou na terceira ronda.
-A acabar confirmou a sua regularidade com 61,87m, 62,84m e 63,09m.
-O Sporting j� ganhou (a Ta�a de Portugal) e j� voltou a perder (com o Benfica no jogo de repeti��o, na quarta-feira, no Restelo, com meio plantel ainda sob os festejos do fim do jejum de 13 anos).
-Mas pelas bandas de Alvalade continua ainda por deslindar o mist�rio do irland�s Niall Quinn, contratado num dia pelo novo Sporting de Santana Lopes e descontratado no dia seguinte com o mesmo espalhafato medi�tico.
-S� porque, de facto, o actual clube do irland�s, o Manchester City, tratou o Sporting como �um clube terceiro-mundista�, como alegou Santana Lopes?
-Ou a hist�ria tem mais que ver com os n�meros do neg�cio (mais de 400 mil contos por um jogador � beira dos 30 anos, indesejado pelos t�cnicos de Alvalade e �chumbado� pelo respectivo departamento m�dico)?
-A ser verdade, o Sporting continua a fazer neg�cios � Cintra.
-E a portar-se � Cintra, n�o dando cavaco, sequer, ao jogador ,que at� j� vendera a casa l� na Old England.
-Ser� que est� a nascer o Sporting Cavaco Lopes?
-De um modo aparentemente displicente, mas evidentemente estudado nos seus efeitos, surgem refer�ncias a Nitsch Hermann e a Rodolf Schwarzkogler, por exemplo, personagens que, com Arnulf Rainer e G�nter Brus, compuseram um grupo de artistas vienenses capaz de, nos anos 60, provocar esc�ndalo n�o s� na cena pantanosa e hip�crita da arte austr�aca do p�s-guerra, como no conjunto da arte ocidental.
-Radicalizando a ideia das vanguardas em reduzir cada linguagem art�stica � sua especificidade, eles acabaram por inverter a l�gica de purifica��o de meios do modernismo.
-O corpo humano (na sua realidade f�sica) tornou-se suporte -- ou, se quisermos, a pr�pria mat�ria-prima da obra de arte.
-Chamaram-se a si mesmos �actionistas�, embora o movimento, que se espalhou largamente at� aos anos 70, seja designado globalmente por �body art�, ou surja nos textos de Bowie como �arte ritual�.
-Por mim, achei que foi infeliz semelhante compara��o (...) e, muito menos, em rela��o �quele grande estadista, que penso ser respeitado em todo o mundo, sempre a rigor fardado, de franciscanas e respeit�veis barbas e de linguagem t�o simples que todo o explorado da terra entende e o povo cubano venera e ama.
-Debate-se agora se ter� sido oportuno ou nefasto o reconhecimento internacional da Cro�cia e houve quem recordasse que a guerra servo-croata j� estava em curso em 1991, antes desse reconhecimento.
-Mas este n�o � o cerne da quest�o, o cerne da quest�o � a B�snia.
-a sua dignidade enquanto na��es, e logo enquanto Estados, estava firmada.
-O mesmo n�o se passa na B�snia, onde as etnias convivem ao simples n�vel da coabita��o.
-Por isso, constituiu um erro reconhecer a Cro�cia sem antes ter preparado uma solu��o vi�vel para a B�snia, e n�o h� paix�o ideol�gica capaz de o apagar, se bem que seja in�til dramatizar um erro de natureza diplom�tica.
-A urbaniza��o de Arcena passou por um complicado processo, com origem numa venda entre s�cios da empresa propriet�ria, a Eurocapital.
-Perante a falta de pagamento dos compradores, os s�cios vendedores reclamaram em tribunal a restitui��o dos seus direitos sobre a urbaniza��o, o que viriam a conseguir no in�cio deste ano.
-Durante o per�odo em que estava indefinida a propriedade dos edif�cios, grande parte deles foram ocupados por imigrantes africanos.
-Em 9 de Abril �ltimo, o tribunal de Vila Franca iniciava ac��es de despejo, para a restitui��o da totalidade da urbaniza��o � Eurocapital.
-A maior parte das cerca de 260 pessoas desalojadas instalou ent�o abrigos improvisados numa das ruas da urbaniza��o.
-A pol�cia alem� localizou, ontem de manh�, os dois criminosos que fizeram cinco ref�ns durante uma fuga de mais de 27 horas pela Alemanha, ap�s terem assaltado um banco, na segunda-feira, em Stuttgart.
-Quando tentavam controlar a identidade de um homem perto de uma cabina telef�nica em Driedorf, em Hessen, os pol�cias foram alvo de tiros, tendo respondido.
-O homem acabou por fugir a p�.
-Importantes refor�os foram j� enviados para a zona.
-Os dois criminosos tinham libertado, ontem, por volta das 4h50 locais, os tr�s ref�ns que detinham, um dos quais ferido, segundo a pol�cia de Wiesbaden.
-Os ref�ns, um homem e um casal, encontravam-se a cerca de 60 quil�metros a norte de Frankfurt.
-Ap�s uma persegui��o de mil quil�metros atrav�s do pa�s, a pol�cia a distribu�u-se pela autoestrada entre Hofheim e Wiesbade.
-Os agentes decidiram dar vantagem aos raptores por estes terem amea�ado suicidar-se com os ref�ns fazendo explodir uma granada, caso a pol�cia os seguisse a curta dist�ncia.
-Os delinquentes come�aram por sequestrar dois pol�cias no seguimento do assalto ao banco que lhes rendeu 250 mil marcos, tendo feito depois tr�s novos ref�ns.
-Os dois criminosos, um antigo soldado de elite do ex�rcito da Alemanha de Leste de 32 anos, e um su��o de 35, evadiram-se, h� tr�s semanas, de uma pris�o de Hamburgo, acusados de homic�dio e assalto � m�o armada.
-Segundo as autoridades, �n�o est� exclu�da a possibilidade de que os raptores se dirijam para Fran�a�.
-O pr�mio liter�rio Donna -Cidade de Roma, 1992, foi atribu�do a Raisa Gorbatchov, pela sua biografia-testemunho, �Io Spero�, editada no Ver�o passado, anunciou ontem, na capital italiana, a presidente do j�ri, a escritora Gabriella Sobrino.
-O galard�o ser� entregue numa cerim�nia a decorrer a 28 de Mar�o, mas ainda n�o est� confirmada a desloca��o de Raisa a It�lia.
-Telas atribu�das a Picasso, Mir� e Martinez foram descobertas ontem, pela pol�cia Judici�ria de Paris, na casa de um galerista de origem americana, Theodor Robertson.
-A descoberta aconteceu na sequ�ncia de uma busca efectuada � sua resid�ncia, em Fran�a.
-Robertson era alvo de um mandato internacional de captura, por acusa��es de fraude e falsifica��o.
-Nove empr�stimos por obriga��es e as ac��es da Luzostela foram ontem retirados da cota��o na Bolsa de Lisboa.
-Dificuldades financeiras s�o o motivo invocado para a medida.
-Os respons�veis do mercado lisboeta decidiram tamb�m extinguir a direc��o de opera��es.
-A reduzida actividade do �floor� j� n�o justificava a sua exist�ncia.
-O esc�ndalo Augusta explodiu no seguimento das investiga��es sobre o assassinato, em 1991, de um antigo ministro socialista franc�fono, Andr� Cools.
-De acordo com Philippe Moureaux, ex-vice-primeiro-ministro do mesmo partido, a sua morte ocorreu no momento em que Cools estaria prestes a revelar o pagamento das �luvas� pela firma italiana.
-em Janeiro de 1994, os �tr�s Guys� -- Guy Spitaels, ministro-presidente da Val�nia, Guy Coeme, ministro da Defesa, e Guy Mathot, ministro regional -- foram for�ados a demitir-se para assegurar a sua defesa depois de a sua imunidade parlamentar ter sido suspensa.
-Neste caso, h� duas coisas que custam sobremaneira a Fernando Neves.
-Primeiro: o processo coloca-o na ingrata posi��o de delator dos seus camaradas.
-Segundo: a queixa foi apresentada pelo governador civil, um homem que Neves chegou a louvar pela sua disponibilidade para o di�logo, que contrastou com o sil�ncio comprometido do presidente da C�mara de Castelo de Paiva, Antero Gaspar.
-�N�o estava nada � espera disto�, diz o mineiro.
-Entretanto, por causa deste processo, a agita��o amea�a voltar ao Pej�o.
-Os mineiros est�o dispostos a manifestar-se na sede do concelho em solidariedade com o seu camarada, ao mesmo tempo que est� a ser preparado um abaixo-assinado.
-�Se querem prender algu�m, t�m que nos prender a todos, porque fomos n�s todos juntos que cort�mos a estrada e barric�mos a empresa.
-Sempre quero ver se t�m pris�es que cheguem para l� meter dentro 500 mineiros!�, diz Manuel Vasconcelos.
-O m�dico Manuel Almeida Marta, principal suspeito do crime de Armamar, continua a ser procurado pelas autoridades.
-As buscas duram h� 72 horas, sem que tenha sido descoberto o paradeiro do m�dico que por pouco escapou a um linchamento popular.
-Muito mais n�o diz, nem vale a pena, apenas um sussurro curto de remorso.
-�Estou arrependido, mas n�o tinha comido nada.
-O Tribunal de Pol�cia entende as palavras de Agostinho como pesar sincero, e esta � uma pequena condi��o muito prezada pela letra e forma da lei.
-Mas uma atenuante n�o � um perd�o, e os c�digos esticam as penas em caso de reincid�ncia.
-�Ainda se considera, pela �ltima vez, ser desnecess�ria a pris�o�, dita o juiz para o escriv�o, convertendo os cinco meses na penitenci�ria em 45 mil escudos de multa, ou, em alternativa, em cem dias de deten��o.
-Atende-se, tamb�m, � �situa��o econ�mica do arguido� e autoriza-se o pagamento da multa em dez presta��es.
-Quanto ao carv�o, que j� regressara ao restaurante quando Agostinho saiu do tribunal, foi grelhar carne para quem a come.
-Esta foi a argumenta��o apresentada na reuni�o de C�mara, que mereceu, invariavelmente, alguma diplomacia na resposta dada pelo presidente.
-Disse vezes sem conta Manuel Machado que, �no que for v�lido e leg�timo�, a edilidade est� disposta a encontrar �uma alternativa poss�vel�.
-E �n�o ajuda muito t�cnicas de bloqueios a m�quinas.
-Se for a bem, tudo bem; se for a mal, arranja-se a� um '31' que s� o tribunal resolve.
-� prefer�vel concerta��o de solu��es�, advertiu.
-�Mas se a alternativa for a estrada, n�o � poss�vel�.
-por falar em alcatr�o, o presidente relembrou aos moradores que, por altura das campanha para as elei��es aut�quicas de 1993, lhe tinha sido pedido alcatr�o para o local.
-�Constata-se que nem sempre, na altura pr�pria, os mun�cipes d�o aten��o aos editais.
-Porque nenhum loteamento avan�a em Coimbra sem publica��o de editais�.
-�N�o falem em falta de di�logo.
-Nenhuma audi�ncia dos moradores foi pedida � C�mara.
-Foi apenas recebido um fax da CHEM a mandar parar as obras, mas n�o se pode retomar o PREC numa situa��o desta natureza�.
-Os dois principais partidos austr�acos chegaram ontem a um acordo para fazer redu��es or�amentais no valor de 100 mil milh�es de xelins (perto de 1500 milh�es de contos) em 1996 e 1997.
-Dois ter�os dessas economias ser�o obtidas atrav�s de cortes nas despesas do Estado Federal, prov�ncias e autoridades comunais, estando o resto dependente de um aumento de receitas.
-As medidas, anunciadas pelos ministros da Economia, Johannes Ditz (conservador), e das Finan�as, Viktor Klima (social-democrata), numa confer�ncia de imprensa comum, destinam-se a assegurar o cumprimento dos crit�rios de converg�ncia, assegurando que a A�stria possa entrar no primeiro comboio da Uni�o Econ�mica e Monet�ria.
-Sem estas redu��es, o d�fice p�blico representaria 6,1 por cento do Produto Interno Bruto (PIB) este ano e 6,5 em 1997, valores muito acima do limite de tr�s por cento imposto por Maastricht.
-PIB desce em Fran�a ...
-O PP decidiu ontem em reuni�o do grupo parlamentar adoptar a liberdade de voto e Helena Santo ficou �-vontade perante o debate parlamentar da pr�xima quinta-feira em que ser�o votados os projectos de altera��o e liberaliza��o do aborto.
-A deputada n�o decidiu ainda, contudo, se se vai abster ou votar a favor do texto de Strecht Monteiro, mas assume claramente que considera o projecto �pr�-natalista� e �vem corrigir a lei em vigor�, pelo que �merece simpatia�.
-Este afirmou que o seu objectivo � devolver � CIA a credibilidade perdida.
-Precisou que ia �realizar mudan�as profundas na gest�o da CIA�, designadamente em o que respeita aos crit�rios aplicados no recrutamento de agentes.
-�Os EUA t�m de ter a melhor capacidade do mundo para recolher informa��es�, concluiu.
-Aldricht Ames, ap�s ter sido descoberto, confessou que espiava a favor de Moscovo havia nove anos, desde Abril de 1985.
-Devido � ac��o de Ames, explicou o actual director da CIA, foi muito mais dif�cil para os EUA compreender o que se passava na URSS durante aquele per�odo cr�tico, porque ele denunciou aos sovi�ticos muitos agentes que trabalhavam para os servi�os americanos.
-Depois de Cantanhede, a forma��o apresenta-se hoje em Vila Real, no s�bado no Porto e na pr�xima quinta-feira em Tomar (ver p�gs. 10/11 deste Fim de Semana).
-At� 24 de Outubro, a Nova Filarmonia -- que actualmente � composta por 35 m�sicos -- estar� em Covilh�, Leiria, Paio Pires, Lisboa, Coimbra, Valen�a, volta a Vila Real e, finalmente, toca em Matosinhos.
-Entre os variad�ssimos patrocinadores destes concertos, encontram-se, entre outras empresas e institui��es financeiras, a Rodovi�ria Nacional, Portucel, Shell Portuguesa, Sonae, Banco Totta & A�ores e Montepio Geral.
-Entre os concertos previstos para Novembro, destaca-se o de dia 3, no Pal�cio Nacional de Queluz, quando a orquestra acompanhar o pianista Sequeira Costa, que interpretar� o concerto n� 1, opus 11, de Chopin, com o patroc�nio da GALP.
-O rio Grande nasce no concelho de Torres Vedras e atravessa todo o concelho da Lourinh� sendo as suas �guas consideradas excessivamente polu�das e impr�prias para qualquer uso, segundo dados de 1987 da Direc��o Geral da Qualidade do Ambiente.
-Neste estudo s�o apontados como principais fontes poluidores as pecu�rias, matadouros e esgotos dom�sticos sendo observados v�rios casos de contamina��o de �guas de fontan�rios e po�os.
-� sua polui��o deve-se ainda o desaparecimento dos famosos bivalves negros da �Mexelhoeira�, uma zona de rochas entre as praias da Areia Branca e do Peralta.
-As hist�rias da polui��o do rio Grande correm toda a regi�o, desde o aparecimento de cad�veres de animais na sua foz at� ao boato de um surto de hepatite B que no ano passado afastou centenas de veraneantes.
-Na perspectiva da autarquia este quadro est� em vias de melhorar pois existem j� projectos para cinco esta��es de tratamento dom�sticos das principais localidades do concelho e duas centrais de tratamento de dejectos das suiniculturas para posterior transforma��o em fertilizante, j� candidatas a fundos comunit�rios, isto para al�m das v�rias pequenas esta��es de tratamento que est�o previstas em todo o concelho.
-A C�mara Municipal aponta os complicados processos burocr�ticos como os grandes entraves para que tudo se concretize uma vez que a maioria dos apoios financeiros j� estar� garantida.
-A ajuda humanit�ria, que finalmente recome�ou a mover-se em direc��o � B�snia central, pode revelar-se uma arma de dois gumes.
-Adia o sofrimento de uma popula��o esgotada e esfomeada, mas n�o o resolve de vez.
-Crescem os receios de que antes contribua para prolongar uma guerra devastadora e alimentar os florescentes circuitos do mercado negro.
-Quanto ao projecto paisag�stico, as d�vidas persistem.
-Armindo Cordeiro, da C�mara Municipal de Lisboa, afirma ainda n�o ter sido aprovado nenhum, mas que tal vir� a acontecer a breve trecho, cabendo a responsabilidade ao Departamento de Espa�os Verves, j� que o projecto apresentado pela Junta de Freguesia foi recusado poe n�o reunir os requisitos de qualidade necess�rios.
-Tamb�m Armindo Cordeiro � perempt�rio ao afirmar que o logradouro ajardinado n�o ser� destru�do, mas pelo contr�rio ampliado, assim como melhorar� a situa��o dos moradores e lojistas da zona.
-Acabar� com o desleixo e a degrada��o do parque actualmente existente, que n�o tem cuidados de jardinagem h� muito tempo e que poder� transformar-se em poiso de marginais e toxicodependentes.
-Ab�lio Louren�o, da Comiss�o de Luta dos Professores de Educa��o Tecnol�gica (Colpet), lembra que a anterior tutela se limitou a reconverter os professores de Trabalhos Oficinais em professores de Educa��o Tecnol�gica, sem lhes dar qualquer tipo de forma��o.
-as professoras de T�xteis s� ensinam T�xteis, os professores de Electrotecnia s� d�o a �sua� mat�ria e por a� adiante.
-Nas ac��es de forma��o que a Colpet tem vindo a organizar, ficou provado que os docentes n�o cumprem os novos programas porque n�o lhes foi dada a necess�ria reciclagem.
-Como s� dominam uma das mat�rias do programa, quando s�o confrontados com o enunciado de uma Prova Global de Educa��o Tecnol�gica, os professores, na generalidade, n�o sabem resolv�-la.
-A rapariga franzina faz o que pode, mas a voz � t�o titubeante que o apresentador tem logo que ir buscar outra cantora � multid�o.
-Percebe-se que a grande massa de gente est� ali mais ou menos como o Padr�o dos Descobrimentos: para proporcionar � SIC o seu �show� de ilus�o, a ideia de que uma multid�o entusi�stica rodeia o palco, o que serve �s mil-maravilhas os primeiros planos das c�maras.
-As coisas animam-se decididamente com �Crocodile rock� de Elton John.
-Os cantores sucedem-se, Miguel �ngelo j� pula, por momentos dan�a � Elvis e p�e o concorrente a dan�ar.
-�Quantas Laura Pausini est�o aqui esta noite?�, pergunta.
-As duas primeiras jovens fraquejam e Miguel vai logo buscar outra.
-O novo parque urbano de Ermesinde, que come�a a ganhar forma junto �s ru�nas da antiga F�brica da Cer�mica (vulgo F�brica da Telha), ficar� pronto em finais deste m�s.
-� esta a expectativa assumida pelo presidente da C�mara de Valongo, Fernando Melo, empenhado em abrir aos ermesindenses a primeira fase deste novo equipamento de passeio e lazer antes que se escoe o presente mandato aut�rquico.
-Como o P�BLICO p�de constatar no local, a ideia � transformar, nesse curto espa�o de tempo, um terreno que ainda se encontra revolvido e enlameado numa �rea relvada cruzada por passeios e estadias.
-J� podem ser vistas algumas das estruturas que v�o integrar o parque, despontando no meio de um piso em rebuli�o.
-S�o os casos de alguns dos caminhos e do pequeno anfiteatro ao ar livre destinado a espect�culos estivais.
-Hoje e amanh�, decorrem na Sala Polivalente do Acarte as �ltimas de �Josa com o Violino M�gico� dos London Puppet Players.
-Porto: no Carlos Alberto, continua �Luzes de Palco�, a �ltima produ��o da Seiva Trupe .
-�Que futuro para o livro na Europa� � o mote que preside a um f�rum internacional que a Associa��o Portuguesa de Editores e Livreiros (APEL) organiza, em 16 e 17 de Fevereiro, no Centro Cultural de Bel�m, em Lisboa.
-Para al�m de representa��es de v�rias estruturas associativas europeias de editores e livreiros, est� prevista a presen�a do comiss�rio europeu com a pasta da Cultura, Martin Bangemann, bem como de v�rios membros do Parlamento Europeu.
-A discuss�o centrar-se-� em tr�s grandes pain�is: a edi��o na sociedade europeia de informa��o, a dimens�o cultural no Tratado da Uni�o Europeia e o mercado do livro na Europa: problemas de comercializa��o (pre�o fixo).
-O ministro da Cultura portugu�s, Manuel Maria Carrilho, encerra o debate.
-P. -- Qual � a diferen�a entre trabalhar em teatro e em cinema?
-R. -- No teatro tenta-se encontrar a unidade do espect�culo, cria-se um tempo, e n�o um momento -- cria-se um tempo fora do tempo.
-Em o cinema, essencialmente o que se apanha � o momento de qualquer coisa.
-� um trabalho sobre o detalhe.
-Foi em 1913 que a aventura teve in�cio.
-Jesse Lasky, a conselho de Sam Goldfish (depois Goldowyn) d� a primeira oportunidade a DeMille para fazer um filme: �The Squaw Man�.
-O palco das filmagens seria New Jersey.
-Os sic�rios do fara� Edison, cujo �trust� controlava as patentes das m�quinas de filmar for�aram o grande �xodo.
-Ei-lo de abalada para Flagstad, Arizona, com mais quatro c�mplices, entre eles o actor Dustin Farnum.
-Desiludido com o local, DeMille segue mais para Oeste (seguindo, como os pioneiros, as palavras de Horace Greeley: �Go west young man, and grew up with the country� ) e assenta arraiais num velho celeiro comprado numa zona quase deserta: Hollywood.
-Se outros j� por l� andavam, fugidos � ira fara�nica, � a partir de ent�o que a zona come�a o seu �boom�, tornando-se, em poucos anos, a capital dos sonhos.
-Nascia a nova �Terra Prometida�.
-O filme foi um �xito e DeMille at� ao fim da primeira grande guerra dirigiu e supervisou mais de metade dos filmes da sua carreira.
-Desde logo se manifestou a habilidade do �regisseur� controlando mais de um filme em simult�neo.
-� paradigm�tico o caso de �A Marca de Fogo� (The Cheat), esse filme que marcou a cr�tica francesa e o cinema de vanguarda dos anos 20, que fez dele a sua bandeira e deu ao cinema a categoria de arte (a s�tima).
-�A Marca de Fogo� foi filmado em 1914 em simult�neo com �The Golden Chance�, o primeiro de dia e o segundo de noite.
-Estreado um ano antes de �Nascimento de Uma Na��o�, �A Marca de Fogo� � uma obra surpreendente por tudo o que trouxe de novo em termos de linguagem cinematogr�fica, nos enquadramentos e na ilumina��o de interiores.
-Mas o programa cultural abre logo �s 22h00 do dia 3 de Julho, uma sexta-feira, com a actua��o da Orquestra Ligeira do Conservat�rio de Coimbra, na Pra�a do Com�rcio, e encerra no mesmo local e � mesma hora no domingo, dia 12, com os Cool Hipnoise.
-Este mesmo espa�o, no cora��o da cidade, acolhe ao longo da semana e sempre � mesma hora um espect�culo de m�sica e dan�a sevilhana (dia 6), o grupo Negros de Luz (dia 7), Fausto (dia 8), Ces�ria �vora (dia 10) e Carlos do Carmo (dia 11).
-Muito perto, nas principais ruas da Baixa de Coimbra, a anima��o ser� constante, garante a organiza��o.
-Aos saltimbancos, bombos e gigantones juntar-se-�o, ao longo dos v�rios dias de festa, a m�sica, o malabarismo, anima��es de fogo, teatro e fantoches.
-P. -- H� algo de verdadeiramente diferente em �Where In The World�, o seu �ltimo trabalho?
-R. -- Penso que o fundamental � que �Where In The World� � o primeiro �lbum mesmo �da banda�, � s� isso.
-O �lbum funciona mais como uma afirma��o, � feito como um todo, n�o soa como tr�s ou quatro discos diferentes.
-N�o se construiu um mundo diferente para cada um dos seus temas, em est�dio.
-quando, finalmente, conseguimos um disco realmente da banda, ficamos sem um dos m�sicos.
-A directoria de Faro da Pol�cia Judici�ria encerrou na passada quarta-feira, ap�s den�ncia, e na sequ�ncia de investiga��es que estavam a ser feitas no Algarve sobre o aliciamento de mulheres para a prostitui��o, um bordel na zona de Ferreiras.
-Na opera��o foram detectadas, entre outras, quatro jovens com idades compreendidas entre os 16 e os 18 anos, que eram for�adas, segundo a PJ, a exercer a prostitui��o.
-O PSD decidiu deixar hoje pronta a Lei da Greve.
-Para isso, depois do debate na generalidade agendado para hoje, pedir� a avoca��o dos artigos do seu projecto-lei, de maneira a deixar feita a discuss�o na especialidade, �despachando� assim esta quest�o antes de f�rias.
-Em protesto contra esta �pressa� social-democrata, que deitar� por terra o projecto do CDS, a oposi��o decidiu n�o dar acordo para que a Lei Org�nica do Minist�rio P�blico, que regressou ao Parlamento ferida de inconstitucionalidades, seja expurgada antes do prazo regimental.
-Assim, a aprova��o desta lei, prevista para amanh�, obrigar� � realiza��o de uma sess�o extraordin�ria, j� marcada para a pr�xima quarta-feira.
-Um l�der sempre tem os seus fi�is.
-Mas, com a normal tend�ncia para a redu��o da realidade, passou-se a falar n�o apenas na �Escola do Porto�, conceito com origem numa fal�cia regionalista j� muito afastada, mas numa j� mesquinha e inexistente �Escola do Siza�.
-A arquitectura de Siza Vieira n�o o permite, talvez porque em todo o lado seja pr�prio da lideran�a cultural, o n�o se submeter �s regras que ela pr�pria cria.
-Como estilo que nunca se chega a definir, como caminho que est� sempre interminado, a �obra do mestre� � mais a permanente inflex�o que a coer�ncia inabal�vel.
-�Apaixonei-me imediatamente pela �Casa dos Esp�ritos�.
-Telefonei mil vezes para a agente de Isabel Allende, e finalmente consegui, isso foi nos Estados Unidos, onde forcei Isabel a ver �Pelle, o Conquistador� antes da estreia na Dinamarca.
-Isabel respondeu-me que ia pensar na proposta.
-No dia seguinte ligou para mim, e disse que estava interessada.
-este filme � mesmo internacional.
-Mas a adapta��o ao cinema foi f�cil.
-A minha ambi��o era a de contar exactamente a mesma hist�ria da de Isabel.
-Depois tive que encontrar os melhores actores que h� neste mundo, o que tamb�m foi muito complicado e fascinante, e eu acho, sinceramente, que conseguimos criar uma fam�lia cred�vel para a �Casa dos Esp�ritos�.
-Opt�vamos por filmar em Portugal porque era demasiado dif�cil no Chile, onde as autoridades n�o v�em com bons olhos, ainda hoje, uma recria��o cinematogr�fica do golpe de estado contra Salvador Allende.
-mas sairia muito caro.
-E devo dizer que a parte portuguesa da nossa grande equipa tem sido eficaz e prest�vel.
-As autoridades portuguesas, entre elas os militares, t�m sido muito abertas�, concluiu Bille August que ainda revelou que �A Casa dos Esp�ritos� ter� a sua primeira estreia na Alemanha em Outubro deste ano.
-Calmamente, sem grandes foguetes de �marketing�, acaba de acontecer um daqueles pequenos passos na inform�tica que podem significar uma grande revolu��o para o mundo da comunica��o tal como o conhecemos.
-Trata-se da alian�a entre a Adobe, a mais importante empresa no ramo da concep��o de produtos para edi��o electr�nica e a Netscape, que em seis meses capturou 75 por cento do mercado de programas de navega��o na Internet com o produto que lhe deu o nome.
-M�sica irlandesa em �vora: os Wingers tocam na Feira de S�o Jo�o, naquela cidade.
-�s 21 h.
-No �mbito do Ciclo Jovens Compositores, organizado pelo Acarte da Funda��o Gulbenkian, pode escutar-se a obra �...H� Dois Ou ...�, de Ant�nio de Sousa Dias.
-Os int�rpretes s�o Jo�o Natividade (movimento), Lu�s Madureira (voz), Olga Pratts (piano), Pedro Wallenstein (contrabaixo), Ant�nio de Sousa Dias (percuss�o) e Clemente Cuba (desenho de luzes).
-�s 21h30.
-A atleta e o seu t�cnico, Jo�o Campos, elegeram a corrida de 10.000m como um meio de ela se sagrar campe� ol�mpica.
-�Apesar de ser a recordista mundial dos 5000m, � nos 10.000m que a Fernanda se exprime melhor�, considera Campos.
-Fernanda Ribeiro n�o se aterroriza sequer com as condi��es climat�ricas que, decerto, ir� encontrar -- muito calor e humidade.
-�O clima � igual para todos e n�o me preocupa muito.
-Iremos com anteced�ncia para nos adaptarmos.
-�As mais tem�veis dever�o ser as do costume, em especial a et�ope Tulu.
-No Word, o salto da vers�o 2.0c para a 6.0 significou uma altera��o profunda na orienta��o do programa.
-Em vez de acrescentar uma infinidade de caracter�sticas novas, o novo Word privilegiou a consist�ncia de funcionamento e a facilidade de acesso e de aprendizagem.
-Um dos objectivos do novo Word foi tamb�m assegurar a m�xima coer�ncia entre as vers�es para Windows e para Macintosh.
-Desde o manual (que � o mesmo para os dois produtos) ao formato de ficheiros, tudo dever� contribuir para que a mudan�a entre estas duas plataformas n�o ofere�a qualquer problema.
-por exemplo, o excelente �search and replace� tem caracter�sticas que s� existiam na vers�o 5.1 para Mac.
-O WordPerfect, por seu lado, ao passar de 5.2 para 6 tornou-se praticamente num novo produto.
-Foi, dos tr�s, o que teve a altera��o mais radical e, por isso, � o que apresenta a maior quota-parte de problemas.
-Quando as imagens do Cobe foram publicadas, elas emocionaram toda a gente.
-Afinal elas representavam o embri�o do nosso Universo.
-Um embri�o t�o primitivo que quase parecia imposs�vel recuar mais no tempo.
-No entanto, Smoot pensa que vai ser poss�vel ir ainda mais longe.
-�Penso que � poss�vel recuar ainda mais no tempo�, diz o astrof�sico.
-�Acho que vai ser poss�vel aprender algo mais sobre a infla��o do Universo e sobre o seu princ�pio.
-Acho que � mesmo poss�vel chegar at� ao Big Bang.
-Em Coimbra, os estudantes marcaram um golo � defesa menos batida da prova, marca suficiente para alcan�ar o triunfo e justificar a recupera��o das �ltimas jornadas, que j� levou a equipa a ascender ao quarto lugar na competi��o ap�s um mau in�cio de �poca.
-A lideran�a � agora repartida entre Tirsense e Rio Ave, ambos com onze pontos, contra dez do Campomaiorense, que foi empatar (2-2), no s�bado, � Madeira, frente ao Nacional, e da Acad�mica.
-Logo atr�s, surge o surpreendente Desportivo das Aves, que foi golear fora o Sporting de Espinho, por 3-0, e a Ovarense -- empate a duas bolas no Algarve com o Louletano --, ambos com nove pontos.
-A diferen�a m�nima entre os primeiros reflecte uma vez mais o equil�brio da prova, tanto mais que o primeiro e o d�cimo quarto da classifica��o geral est�o separados somente por quatro pontos.
-Refer�ncia maior para o Espinho, que, depois de, na temporada passada, ter disputado a I Divis�o, est� a ter um comportamento desastroso, pois � o �lanterna vermelha�.
-Cinco pontos em oito jogos � muito pouco para um clube que procura o regresso � prova maior do futebol portugu�s.
-Entretanto, os espinhenses disfrutam da companhia do Penafiel, que foi perder a Viseu por 3-1 e est� a repetir a m� campanha da temporada anterior.
-Nos restantes encontros, o Torrense foi garantir o empate (0-0) em Matosinhos perante o Leix�es, enquanto as vit�rias tangenciais (1-0) do Uni�o de Leiria sobre o Le�a e do Chaves contra o Felgueiras, vieram elevar para 22 os golos marcados nesta 8� jornada, que forneceu quatro vit�rias dos visitados, quatro empates e apenas uma vit�ria fora.
-O escudo esteve bastante pressionado, devido sobretudo a vendas especulativas por parte de bancos estrangeiros, e as frequentes interven��es do Banco de Portugal apresentaram-se eficazes, quebrando a tend�ncia de queda, por vezes acentuada, da divisa nacional.
- R. -- Era o meu ano de agrega��o em Filosofia; conclui-a nesse m�s na Sorbonne comentando uma frase de Einstein sobre a compreensibilidade do mundo.
-Mas nunca fui um dirigente do movimento, apenas um simples pe�o.
-Tenho 46 anos, ou seja, perten�o exactamente a essa gera��o, facto de que me orgulho muito.
-Penso que em rela��o �s minhas filhas, que t�m hoje 23 e 20 anos, tive muito mais sorte, apesar de ter crescido numa sociedade que era certamente mais autorit�ria que a delas.
-As rela��es entre pais e filhos s�o hoje de melhor qualidade.
-P. -- As suas filhas compreendem o que se passou em Maio 68?
-Compreendem o que � que voc�s queriam?
-No momento em que a Uni�o Europeia decidiu abandonar a explora��o do carv�o de pedra, existem cinco mil mineiros portugueses no Norte de Espanha, nas prov�ncias de Le�n e das Ast�rias, condenados a assistir ao encerramento das minas onde trabalham.
-Partiram para um El Dorado, deparam-se agora com a perspectiva de uma reforma antecipada ou do desemprego for�ado.
-A UE � o principal parceiro comercial da R�ssia, representando 37 por cento do total das trocas comerciais contra 24 por cento no caso das restantes ex-rep�blicas sovi�ticas, ou quatro por cento com os Estados Unidos.
-Com exporta��es para a UE de 15,5 mil milh�es de ecus e importando o equivalente a 11,5 mil milh�es, a R�ssia mantinha em 1993 um excedente comercial, face aos europeus, de quatro mil milh�es de ecus.
-N�o � de estranhar, porque entre os comensais reunidos no dia 29 de Agosto em casa do romancista norte-americano William Styron, pr�mio Pulitzer, em Martha's Vineyard, uma ilha ao sul de Boston, Massachusetts, n�o se encontrava apenas o Presidente dos Estados Unidos, mas sobretudo esses dois grandes obcecados dos livros que s�o o Nobel colombiano Gabriel Garc�a M�rquez e o mexicano Carlos Fuentes, �ltimo pr�mio Pr�ncipe das Ast�rias de Literatura.
-Toda a gente acreditou que essa reuni�o, realizada em plena crise dos �balseros� cubanos, tinha sido programada para falar da nova crise aberta entre Cuba e os Estados Unidos e, dada a personalidade dos convivas -- Garc�a M�rquez tem uma rela��o estreita com Castro e Fuentes defende o fim do embargo norte-americano para que se inicie uma nova etapa no longo contencioso da ilha cara�ba com o seu poderoso vizinho --, deu-se como ponto assente que Cuba tinha de ter sido �o� assunto.
-�O carro est� bem equilibrado e estamos esperan�ados para a corrida�.
-�Confesso que entrei depressa demais.
-O carro atravessou-se, primeiro para a direita e depois para a esquerda, o que me levou a tirar o p� do acelerador.
-Quanto a Pedro Matos Chaves, o piloto portugu�s esteve uns furos abaixo do habitual, n�o conseguindo com o seu BMW S�rie 3 melhor que o oitavo tempo, com 1m14,667s, o que o deixou fora da �super pole�.
-O carro alem�o teimou em n�o se adaptar ao tra�ado do circuito, o que deixou Chaves algo desalentado, at� porque experimentava em Barcelona algumas novidades aerodin�micas que deveriam melhorar as �performances� do seu carro.
-S�o jovens, de facto.
-Tamb�m por isso, na FPJ pensa-se j� em Sydney.
-E espera-se o mesmo de sempre.
-Que para o pr�ximo ciclo ol�mpico o projecto n�o seja para dois, mas para quatro anos.
-P. -- Qual foi a opini�o que j� exprimiu aos parceiros (e ao Governo) sobre a concerta��o estrat�gica proposta pelo �Plano Cavaco�?
-R. -- H� muito que defendo que os acordos de concerta��o social devem ultrapassar as dimens�es temporal e de conte�do que t�m tido.
-Os acordos de concerta��o social t�m vigorado sempre por um ano.
-Agora temos uma proposta, inovadora, de m�dio prazo, ajustada a todo este ciclo que o pa�s vai atravessar de 1995 a 1999.
-Parece-me l�gico ligar um acordo de concerta��o social ao Quadro Comunit�rio de Apoio (QCA) e ao PDR, na vertente espec�fica de um acordo de concerta��o social e, mais do que isso, porque o primeiro-ministro afirmou aqui, na reuni�o, que est� disposto a que o pr�prio acordo contemple medidas de acompanhamento e de avalia��o do QCA e do PDR, visto que pode acontecer que os cen�rios macro-econ�micos e macro-sociais se alterem face ao previsto no PDR e no QCA.
-E essas altera��es dever�o ser discutidas com os parceiros sociais e n�o apenas decididas pelo Governo.
-Dois empres�rios, um chin�s de Hong Kong e outro portugu�s, encontram-se para falar de neg�cios.
-O primeiro come�a por explicar que est� ligado � constru��o de um pr�dio para habita��o e que tem tido dificuldades em encontrar uma fornecedora de material sanit�rio nas medidas exigidas.
-Porqu�?
-Porque a exiguidade de espa�o em Hong Kong � tal que at� um metro quadrado de um apartamento para habita��o social custa ouro, como quem diz, entre 600 e 800 contos.
-Para que se aproveite o espa�o ao m�ximo, h� zonas que t�m de ser �encolhidas�, o que acontece com a casa de banho.
-Por isso, em Hong Kong as medidas-padr�o ficam muitos cent�metros abaixo.
-�Ao princ�pio, quando vi ali o carro, sempre pensei que fosse o engenheiro que vinha vistoriar a obra.
-Depois, como ele nunca mais sa�a, comecei a espreitar.
-Foi ent�o que o vi tirar a boina e umas barbas pretas�, contou Jos� Lopes.
-O pedreiro adiantou que ainda esteve tentado a dirigir-se ao carro �e dizer ao fulano que o Carnaval j� acabou�.
-S� n�o o fez porque o empreiteiro da obra o demoveu.
-Mais tarde, o Ford Fiesta voltou a parar no mesmo local -- � esquina da rua da Pens�o Beira Baixa, onde Carlos Miguel almo�ou, e tamb�m muito pr�ximo de um eucaliptal onde o rapto se consumou.
-S� que, desta feita, o homem, em vez de a barba, tinha bigode, a boina desaparecera e trazia �culos escuros.
-Jos� Lopes garante ser o mesmo que vira durante a manh� e que estava a fazer uma chamada atrav�s de um telem�vel.
-O estudante nunca falsifica uma assinatura, deixa descansar o seu encarregado de educa��o, que v� em ele um grande futuro.
-O estudante n�o bebe, saboreia.
-Brennan e Laurent Filipe revelam uma maior seguran�a instrumental, a bateria de Ac�cio Salero (visiense apostado em desmentir a macrocefalia nacional que no jazz � pouco menos do que ditatorial) mant�m um grau de aten��o ao que se passa � sua volta absolutamente indispens�vel � afirma��o de qualquer bom jazzman, e o contrabaixo de David Gausden, embora fraquejando quando lhe compete marcar o sentido da marcha, cumpre razoavelmente a sua fun��o colectiva.
-Uma palavra final para sublinhar tr�s elementos essenciais, clara e inteligente -mente valorizados por Patrick Brennan: o prazer e a alegria de tocar (sem os quais, ali�s, a m�sica de Monk � inacess�vel), relembrando que, mais do que um emprego, o palco � um local de paix�o; o peso do humor no desenvolvimento das notas e, acima de tudo, a sua presen�a peripat�tica, mesmo quando instrumentalmente afastado do discurso, dan�ando os sil�ncios e coreografando os tempos.
-� esse um dos grandes segredos da m�sica do pianista (cujos bailados foram, quase sempre, interpretados como uma mera excentricidade exibicionista).
-� que � a dan�ar que Monk se entende.
-O croata Goran Ivanisevic, o norte-americano John McEnroe, o checoslovaco Petr Korda, o franc�s Henri Leconte e o holand�s Richard Krajicek foram os primeiros a assegurar a passagem � segunda ronda da Ta�a do Grand Slam em t�nis, competi��o que est� a ser disputada em Munique (Alemanha) e que est� dotada com seis milh�es de d�lares (cerca de 840 mil contos) em pr�mios.
-Ivanisevic, n� 4 do �ranking� mundial, encontrou algumas dificuldades para bater o franc�s Guy Forget (7-5 e 6-4), acabando por se imp�r na batalha do servi�o.
-O franc�s conseguiu dez ases no encontro, contra 17 do croata, que est� perto de atingir a incr�vel marca de mil ases este ano.
-Ivanisevic vai defrontar na segunda ronda o norte-americano John McEnroe, que eliminou o sueco Niklas Kulti (6-1 e 6-4).
-McEnroe, que nas �ltimas semanas tem evitado os jornalistas, depois de ter admitido dificuldades no seu casamento com a actriz Tatum O'Neal, voltou a jogar o seu melhor t�nis, empolgando a assist�ncia com todo o seu repert�rio de pancadas espectaculares.
-Henri Leconte, que venceu o sul-africano Wayne Ferreira (3-6, 6-3 e 6-0), vai defrontar na pr�xima ronda o vencedor do encontro entre Pete Sampras (EUA) e Alexander Volkov (R�ssia).
-Tamb�m Petr Korda n�o encontrou facilidades para derrotar o australiano Wally Mansur (2-6, 7-5 e 6-4), esperando agora pelo norte-americano Michael Chang, que bateu o seu compatriota Andr� Agassi (6-4 e 6-2).
-Por fim, o jovem holand�s Richard Krajicek teve o encontro mais f�cil desta primeira ronda, batendo o espanhol Em�lio Sanchez (especialista em pisos mais lentos) por 6-3 e 6-2.
-Na pr�xima jornada, Krajicek defrontar� o vencedor do encontro entre Stefan Edberg (Su�cia) e Michael Stich (Alemanha).
-Eles representam mais um aborrecimento do que uma amea�a para o Governo, comentou Sergio Ramirez, o sandinista que preside ao Parlamento.
-�O perigo � a internacionaliza��o do conflito, por causa da instabilidade que os grupos armados causam nas zonas onde operam�.
-Tony Bryant, l�der dos �Comandos L�, uma organiza��o hostil ao regime de Fidel Castro e sediada em Miami, admitiu ao �Washington Post� que est� a ajudar os �Recontras� na luta contra Violeta Chamorro e os sandinistas.
-O corpo do escritor franc�s Alain Fournier, autor de �O Grande Meaulnes�, morto no come�o da I Guerra Mundial, foi formalmente identificado, anunciou ontem a Direc��o Regional de Assuntos Culturais Franceses, na cidade de Metz.
-Os despojos do escritor franc�s era um dos 19 cad�veres descobertos em Novembro, na regi�o de Verdun, local da batalha contra o ex�rcito alem�o onde se sabia que Alain Fournier tinha sucumbido.
-O autor de �O Grande Meaulnes� (edi��o portuguesa na Rel�gio d'�gua) pertencia ao 288� Regimento de Infantaria que a� combateu.
-O seu corpo foi identificado por antrometria, sem qualquer margem para d�vidas, pela equipa chefiada pelo antrop�logo Fred�ric Adam, que comprovou a estatura do esqueleto, a sua idade � data da morte e a complei��o f�sica, por compara��o com documentos da �poca.
-Contra a lenda que falava da morte por tortura do escritor, �s m�os de soldados alem�es, os exames efectuados por Adam demonstram que �a morte de Henri Alban Fournier, dito Alain Fournier, se deveu a impactos de balas�.
-Foi em 22 de Setembro de 1914.
-R. -- N�o, de todo.
-O que acontece � que, na altura em que foram feitas as estimativas das receitas no or�amento, era j� sabido que o cen�rio internacional adiantado pelo Fundo Monet�rio Internacional poderia ser optimista.
-Isso implicou uma maior incerteza e estimativas acrescidamente prudentes.
-A confirma��o de que as perspectivas de crescimento n�o s�o, afinal, t�o favor�veis s� veio validar essa abordagem.
-P. -- Quer dizer que nunca se acreditou num crescimento de tr�s por cento e que a estimativa da receita foi feita, desde o in�cio, a pensar em dois por cento ou menos?
-Os outros operadores s�o os membros negociadores (interv�m na negocia��o em bolsa, introduzindo directamente no sistema ofertas de compra ou de venda) e os membros compensadores, que al�m de as fun��es dos anteriores, participam, designadamente, nos procedimentos de liquida��o de contratos nas datas de vencimento e no processo de constitui��o, substitui��o, redu��o e liberta��o de garantias.
-O futuro sobre OT-10 (uma taxa de juro de longo prazo) conta, � partida, com nove �market makers�, significativamente mais do que os cinco que cumprir�o ind�ntica fun��o para o futuro sobre o PSI-20 (um �ndice bolsista calculado para uma carteira de 20 t�tulos).
-O contrato sobre a Lisbor a tr�s meses (taxa de juro de curto prazo, correspondente � m�dia das taxas praticadas no mercado monet�rio interbanc�rio) s� come�ar� a ser negociado no in�cio de Julho mas j� tem garantidos seis �market makers�.
-Segundo o Instituto Nacional de Estat�stica (INE), Portugal exportou 265,2 milh�es de contos e importou 521 milh�es de contos, durante os primeiros cinco meses de 1995, o que resultou num d�fice comercial de 255,8 milh�es de contos.
-A taxa de cobertura das importa��es pelas exporta��es melhorou, situando-se em 50,9 por cento, contra 45,1 por cento nos cinco primeiros meses de 1994.
-Em Maio verificou-se um aumento de 19,3 por cento nas exporta��es e uma queda de 4,3 por cento nas importa��es, o que permitiu uma diminui��o de 19,2 por cento no d�fice comercial mensal, em rela��o ao mesmo m�s de 1994.
-As compras aos PALOP (Pa�ses Africanos de L�ngua Oficial Portuguesa) aumentaram 45,5 por cento de Janeiro a Maio deste ano, face a id�ntico per�odo de 1994, enquanto as vendas ao Jap�o subiram 34,6 por cento no mesmo per�odo.
-�O caso tem sido absolutamente devastador para a ag�ncia .. tanto em termos de p�blico como internamente�, disse um funcion�rio da Administra��o.
-�Temos de o ultrapassar ...a fim de restaurar a confian�a do Congresso e do p�blico�.
-�Creio que era tempo de Woolsey sair�.
-E deu como motivos ele n�o haver despedido quadros que n�o conseguiram detectar a tempo o trabalho de sapa que Aldrich Ames andava a realizar.
-A banda sonora de �Thirtysomething� � a de uma s�rie televisiva, dom�nio onde a m�sica vem sendo tratada pior que no cinema.
-Claro que tamb�m faz os usuais recursos a fundo de cat�logo, mas logo a esse n�vel h� uma selectividade fora do comum, e os temas repescados de Ray Charles como de Rickie Lee Jones s�o n�o apenas can��es cl�ssicas, como concordam absolutamente com o esp�rito da s�rie.
-Mais importante que isso, a m�sica composta por Snuffy Walden n�o � um mero adere�o, mas surge como outro personagem de �Thirtysomething�, de algum modo participando do seu enredo e da sua l�gica, mas com a diferen�a de ser de car�cter musical.
-Predominantes no trabalho de Walden s�o guitarra e piano, mas os instrumentos que usa s�o rel�quias do in�cio do s�culo passado, porque estes t�m em seu entender mais car�cter, ou, se se preferir, um som mais distintivo.
-Empregou, para al�m disso, tons ressonantes e profundos, de forma a aumentar a densidade emotiva.
-Da� resulta uma m�sica com uma individualidade peculiar, um misto de pureza e de permeabilidade, mas ao mesmo tempo com um sentido de passado e de amadurecimento.
-O ditador ter� sabido evitar, assim, as tr�s caracter�sticas que marcaram os regimes totalit�rios de Hitler e Estaline: moderniza��o, mobiliza��o e expans�o.
-�Salazar quis reinserir Portugal na sua tradi��o, n�o queria a moderniza��o mas a seculariza��o�, disse Braga de a Cruz.
-Tamb�m n�o tinha veleidades de mobiliza��o, pois �o seu grande intuito foi despolitizar, baixar a febre pol�tica�.
-�Ele herdou um imp�rio colonial e o seu objectivo foi nacionaliz�-lo, conserv�-lo�.
-�N�o h� nada nela que obrigue o regime a ser ditatorial.
-Nem sequer havia proibi��o de partidos�.
-Como � que, ent�o, aconteceu a ditadura?
-�Pela via administrativa�.
-Atrav�s da �policializa��o do Estado� e do esvaziamento do sistema representativo.
-�Com o tempo, o poder legislativo foi transferido para o Governo, esvaziando os poderes da Assembleia Nacional, que funcionou apenas tr�s vezes por ano�, disse Braga da Cruz, que, apesar disso, encontra algum �pluralismo� no salazarismo.
-�A Uni�o Nacional era uma grande frente onde Salazar tolerava algum pluralismo org�nico, nomeadamente a Causa Mon�rquica, que, em 1961, se n�o fosse o in�cio da guerra em �frica, teria mesmo aparecido como alternativa � Uni�o Nacional�.
-Kadhafi, da L�bia, far� o mesmo.
-A Bolsa cai e o pre�o do petr�leo sobe.
-�As pessoas que assistem a tais sess�es saiem loucas, hist�ricas, falam alto, as crian�as choram�, observa a administra��o daquele condom�nio.
-�Todas estas pr�ticas deveriam ter locais espec�ficos.
-Segundo se julga, o cinema foi licenciado para exibi��o de filmes e n�o para culto�, defende.
-A finalizar, o protesto solicita uma interven��o do presidente da Junta de Freguesia, �a fim de esclarecer esta situa��o ou, se poss�vel, acabar com as sess�es�.
-O autarca remeteu c�pias do of�cio � delega��o de sa�de respons�vel pela �rea de Alverca e � administra��o da Lusomundo, empresa propriet�ria da sala de cinema em causa.
-Afirma��es extraordin�rias exigem provas extraordin�rias.
-Drosnin e muitos dos seus seguidores aceitam acriticamente o epis�dio Rabin como �prova extraordin�ria� do c�digo da B�blia.
-Mais grave, a afirma��o dos �media� � de que foi �demonstrada cientificamente� a realidade dos c�digos.
-n�o s� as t�cnicas utilizadas n�o demonstram nada, como as conclus�es se baseiam em fal�cias, como todo o processo nada tem a ver com Ci�ncia, ao contr�rio do que as m�quinas de propaganda pretendem fazer crer.
-A t�cnica utilizada por Drosnin � muito simples.
-Na descri��o que se segue realizo algumas simplifica��es, bem como uma adapta��o do hebraico para o portugu�s.
-Passo 1: pegue num texto qualquer, de prefer�ncia grande.
-Passo 2: elimine todas as vogais, espa�os e pontua��o, ficando apenas com uma longa cadeia de consoantes.
-Passo 3: pense num n�mero inteiro, digamos 7.
-Passo 4: fa�a uma bola em torno de uma consoante qualquer da sua cadeia, e a partir dessa em torno de todas as consoantes contadas de 7 em 7 (7�, 14�, etc.), construindo uma nova cadeia de consoantes.
-Passo 5: pegue na nova cadeia e tente construir uma ou v�rias palavras com sentido introduzindo vogais onde quiser.
-Se sim, BINGO!
-Acertou.
-Se n�o, repita os passos 3 a 5 variando o que quiser at� conseguir alguma coisa interessante.
-Pode, por exemplo, come�ar a nova cadeia em qualquer das milhares de consoantes � sua escolha.
-Ou, em vez de contar de 7 em 7, pode contar de 33 em 33.
-Ou acrescentar vogais diferentes.
-Tem milhares de milh�es de varia��es ao seu dispor.
-o nome de Rabin, na �previs�o� de Drosnin, aparece contando cada 4772 letras a partir da 4333�.
-A abertura da nova Ponte Vasco da Gama parece estar a influenciar de uma forma positiva o tr�nsito na cidade de Vila Franca de Xira.
-A Pol�cia de Seguran�a P�blica vila-franquense efectuou, durante o m�s de Abril, um conjunto de recolhas de dados sobre a circula��o na cidade e detectou uma redu��o de tr�fego da ordem dos 20 por cento comparativamente com as m�dias registadas em 97.
-A mo��o apresentada pela bancada socialista defendeu com rigor o projecto do Governo para a cria��o de regi�es administrativas, considerando-o uma boa base de trabalho, e acrescentou-lhe argumentos para impor a necessidade da sua concretiza��o.
-Orlando Magalh�es recorreu a dados estat�sticos para provar que o Norte do pa�s, apesar �do seu peso econ�mico�, tem sido a �regi�o menos beneficiada pelos fundos comunit�rios�, em rela��o �s zonas do Sul e, por isso, menos desenvolvida.
-As assimetrias regionais foram, de resto, os argumentos base para defender uma mo��o que considera a regionaliza��o �uma reforma essencial ao Estado�.
-A bancada da CDU concordou e refor�ou politicamente o teor do documento socialista.
-�A regionaliza��o, al�m de promover o desenvolvimento, favorece a democracia participativa atrav�s do voto popular�, disse o comunista Ant�nio Gra�a.
-�Eu nasci e vivi em Vila Real at� aos 17 anos e por isso senti na carne o isolamento do interior�.
-No entanto, o deputado popular acusou �receios de bairrismos exacerbados� e acabou por seguir a linha do l�der do partido, ao rejeitar a cria��o de regi�es em favor de mais poder para as autarquias.
-O presidente da C�mara de Esposende, Alberto Figueiredo, anunciou ontem, que vai pedir ao ministro das Finan�as um inqu�rito a todos os fundos comunit�rios que as suas empresas receberam nos �ltimos anos.
-O pedido, feito durante uma confer�ncia de imprensa, surge na sequ�ncia das insinua��es que o candidato do PP, Franklim Torres, lhe fez de ter utilizado o seu cargo de presidente da autarquia para obter este tipo de apoios do Governo.
-Figueiredo, que se recandidata a um terceiro mandato, considera que o seu advers�rio �est� a insinuar corrup��o� e que a sua dignidade foi posta em causa, por isso n�o tem outro caminho sen�o �esclarecer estes processos para que n�o fiquem d�vidas�.
-Alguns estudos em que foram usadas defini��es de depress�o mais restritas do que as internacionais apuraram taxas mais baixas -- de tr�s a cinco por cento.
-No entanto, este especialista, psiquiatra no Hospital de Santa Maria, considera que �n�o h� raz�es m�dicas, culturais ou sociais que nos permitam pensar que a frequ�ncia da depress�o seja diferente no nosso pa�s, pelo que os dados internacionas podem ser extrapolados com alguma seguran�a�.
-As principais preocupa��es m�dicas da actualidade s�o, segundo Filipe Arriaga, �a elevada morbilidade associada � depress�o e ao suic�dio�.
-�A depress�o � o principal factor de risco do suic�dio, est� em primeiro lugar nas causas que levam ao acto suicida�, acrescenta.
-O PRIMEIRO-MINISTRO israelita, Yitzhak Rabin, e o chefe da Autoridade palestiniana, Yasser Arafat, conferenciam amanh� em Erez, ponto de passagem entre a Faixa de Gaza aut�noma e o Estado de Israel, afirmou ontem � ag�ncia noticiosa France Presse um conselheiro do chefe da OLP.
-A pe�a do jovem dramaturgo Sergi Belbel (Pr�mio Nacional da Literatura Catal� em 91, 92 e 93) tem muito de futurista.
-Mas o futuro de que fala � mais ou menos pr�ximo.
-Repress�o, discrimina��o, transgress�o s�o as molas da com�dia posta em cena por In�s C�mara Pestana.
-O repressor apela para o transgressor e vice-versa.
-A repress�o do tabagismo, por exemplo, atrai a transgress�o.
-E � dessa transgress�o que nasce o espect�culo cruel do Teatro do S�culo.
-Uma verdadeira dan�a da morte.
-Ou da vida tomada como um desporto de alt�ssima competi��o.
-� proibido fumar.
-Mas toda a gente fuma (�s escondidas) incluindo os proibicionistas.
-Se, espectador distra�do, os nomes de actores como Teresa Roby, In�s C�mara Pestana, Ant�nio Filipe, Elisabete Piecho, Manuela Pedroso, Marina Albuquerque, Orlando S�gio e Rui David n�o te dizem nada, aproveita a noite de hoje (�s 22h) para ir � Rua do S�culo ver o prod�gio de uma companhia em que os actores parecem ligados � corrente.
-Porque corrente magn�tica n�o falta � encenadora, que, em espect�culos como �Crimes e Interl�dios�, �Car�cias�, �Kvetch� e �Zucco�, fez do Teatro do S�culo uma refer�ncia incontorn�vel no panorama do teatro portugu�s nos anos 90.
-O SECRET�RIO-GERAL da Organiza��o das Na��es Unidas (ONU), Butros Butros-Ghali, deixou ontem ao princ�pio da tarde Luanda com a promessa de que at� ao fim de Agosto dever�o chegar a Angola as unidades de infantaria que faltam para se completar a Miss�o de Verifica��o (Unavem III).
-Ele pintor, 26 anos, chamado Johnson, ela professora, 28 anos, Edel de seu nome, entraram no carro de um taxista de apelido S�o Pedro, 40 anos.
-A troca de palavras menos agrad�veis come�ou logo, antes de arrancarem, por causa da curta dist�ncia da viagem.
-No sinal vermelho seguinte, a coisa ficou t�o feia que o casal abriu as portas e saiu do carro.
-O taxista n�o se ficou e, com a seguran�a que a dimens�o do seu porte lhe d�, foi atr�s deles, exigindo o seu dinheiro.
-A actual administra��o da TVI, presidida por Miguel Paes do Amaral, l�der do grupo SOCI, e a Antena 3 espanhola assinaram ontem um acordo de parceria estrat�gica, em que se comprometem a duplicar o actual capital social do quarto canal portugu�s.
-A Media Capital (do grupo SOCI), que gere a TVI, apresenta assim mais um argumento para a assembleia de credores que se realiza no pr�ximo dia 14.
-Nessa assembleia devem ser apresentados, pelo menos, dois projectos de recupera��o da TVI: o da Media Capital e da Antena 3 (a principal televis�o privada espanhola) e o do grupo Lusomundo, associado ao empres�rio macaense Stanley Ho.
-De momento, ambos os grupos est�o em contactos com os v�rios credores para assegurarem o respectivo apoio, pois � necess�rio que os votos favor�veis a uma das propostas venham de um conjunto de credores que detenham pelo menos 75 por cento da d�vida da TVI, que ascende a 17 milh�es de contos.
-Entre as mais belas �fotografias de cinema� do mundo as da ag�ncia Magnum ocupam o primeiro plano.
-s�o as que procuras os actores, mas tamb�m os maridos e mulheres e amigos; as cenas de repouso, o cinema no trabalho.
-Estas imagensque publicamos de Cartier-Bresson, Robert Capa, Eve Arnold ou Dennis Stock, entre outros, demonstra, uma vez mais, a voca��o totalizadora da Magnum, a capacidade em acompanhar de perto fen�menos mais importantes da hist�ria da humanidade.
-Uma exposi��o de fotografias, concebida em conjunto com o livro �Magnum-Cinema�, poder� ser vista em Fevereiro, em Lisboa, na Culturgest.
-Ter como amigos pessoas s�bias, bem sucedidas e eventualmente belas � um privil�gio.
-Digamos que a qualidade dos amigos, para al�m da qualidade da sua amizade, constitui para mim um factor importante de qualidade de vida.
-Que o meu querido amigo Jo�o Carlos Espada tenha acesso aos sabores duma das tradicionais bolsas da erudi��o ocidental constitui um contributo, n�o despiciendo, para a melhoria da minha qualidade de vida.
-Mais tarde ou mais cedo, quando nos encontrarmos, usufruirei, eu tamb�m, das experi�ncias de que ele agora desfruta.
-Entretanto, eu -- e os milhares de pessoas que o leram no P�BLICO (da passada segunda-feira) -- vou-me contentando com as suas Cartas de Inglaterra.
-Um quarteto formado por Bob Mover (sax alto e voz), Carlo Morena (piano), Pedro Gon�alves (contrabaixo) e Jo�o Silvestre (bateria) actua a partir das 23h, na catedral lisboeta do jazz: no Hot Clube de Portugal.
-Uma �aut�ntica� big band, constitu�da por 16 m�sicos, com alguns dos temas mais conhecidos do report�rio �standard� liderada pelo trombonista Claus Nymark e com a voz de Ana Paula Oliveira: no Speakeasy (Cais da Rocha Conde d'�bidos -- Armaz�m 115), �s 23h e 01h.
- Alguns milhares de trabalhadores afectos � CGTP desfilaram ontem pela baixa de Lisboa em protesto contra a pol�tica econ�mica e social do Governo.
-Um boneco cabe�udo baptizado de �Santo Cavaco� foi a estrela da manifesta��o, que partiu dos Restauradores e foi at� � Pra�a da Ribeira, depois de interromper o tr�nsito das Ruas do Ouro e da Prata.
-�N�o podemos permitir que a contrata��o colectiva continue bloqueada, que o desemprego continue a aumentar, que a seguran�a social, a sa�de e a educa��o continuem a degradar-se�.
-�Somos obrigados a tornar os nossos programas o mais interessantes poss�vel, num ambiente onde existem m�ltiplas escolhas�, refere Victor Neufeld, o produtor executivo do programa 20/20, da ABC, citado pela Associated Press.
-Conseguir um bom exclusivo pode significar a entrada de milh�es de d�lares em publicidade.
-Da� que Shapiro tenha ficado t�o orgulhoso com o exclusivo dos pais dos sete irm�os g�meos.
-E, para que fique registado, o produtor afirma que a NBC n�o pagou ao casal McCaughey.
-Shapiro acredita que eles concordaram em aparecer no programa Dateline, da NBC, pura e simplesmente porque gostam de o ver.
-Quanto � presen�a dos seguran�as � porta de casa deles, foi a NBC que os contratou para manterem os �paparazzi� � dist�ncia durante a entrevista.
-Seriam 9h30 quando os tr�s homens, de quem n�o se conhecem dados identificativos, surgiram de armas na m�o e rosto coberto � porta do BNU de Massam�, uma depend�ncia recentemente inaugurada e localizada na denominada Sexta Fase da Urbaniza��o Pimenta e Rendeiro (�rea que na sua maioria ainda est� em constru��o).
-Os assaltantes atra�ram a aten��o de uma das funcion�rias, que deu de imediato o alarme, pelo que o gerente conseguiu bloquear a porta de entrada ainda antes desta poder ser aberta pelos suspeitos.
-Ap�s verificarem que a entrada havia sido bloqueada, os tr�s homens fugiram de imediato para um autom�vel Citr�en AX, de cor branca, cujas letras da matr�cula s�o AJ, e tomaram a estrada que conduz a Queluz.
-Segundo o comandante da GNR do Cac�m, entidade a quem primeiro foi comunicada a ocorr�ncia, n�o foi consumado qualquer acto violento.
-Quanto a saber donde � que vem a nossa prefer�ncia quase un�nime pela m�o direita, a quest�o permanece em aberto.
-Tanto mais quanto, hoje em dia, o hemisf�rio esquerdo (dos dextr�manos) j� n�o � considerado como o hemisf�rio cerebral �dominante�, nem como o �nico capaz de desempenhar altas fun��es mentais e de controlar movimentos precisos e subtis.
-Sabe-se que o hemisf�rio direito tamb�m � essencial para fun��es mentais de alt�ssimo n�vel, tais como o racioc�nio, a mem�ria, o reconhecimento dos rostos, das melodias musicais, etc.
-Uma explica��o poss�vel da hegemonia dextr�mana poder� ser o facto de, nos dextr�manos, o hemisf�rio cerebral esquerdo possuir liga��es nervosas sensoriais e motoras para os dois lados do corpo, enquanto o hemisf�rio direito est� quase s� ligado a um �nico lado do corpo.
-Isto poder� significar, simplesmente, que o controlo volunt�rio da m�o direita � mais f�cil do que o da m�o esquerda.
-As delega��es do Governo de Luanda e da Unita rubricam o protocolo das conversa��es de Lusaca para que haja paz em Angola.
-O acordo definitivo dever� ser assinado dentro de quinze dias.
-Marques Mendes, ministro-adjunto da presid�ncia de Conselho de Ministros com a tutela da comunica��o social, amea�a proceder a altera��es legislativas caso as televis�es n�o cheguem a acordo sobre a passagem de imagens de alegada viol�ncia.
-O provedor recomenda, assim, a �imediata transfer�ncia� do agente da PSP para um estabelecimento prisional �tutelado pelo Minist�rio da Justi�a� e �que permita compatibilizar as exig�ncias de seguran�a com o exerc�cio dos direitos conferidos a qualquer recluso em ambiente prisional normal�.
-A falta de consci�ncia do sentido de rid�culo ainda recentemente foi dada, em declara��es ao P�BLICO, por um douto professor universit�rio que classificou liminarmente de �mau plano� um PDM elaborado dentro de uma c�mara municipal com uma equipa t�cnica de qualidade e fortemente assessoriada por urbanistas experientes.
-Fazer uma gest�o urban�stica inteligente, dialogante, eficaz, informada e com bons resultados pr�ticos, exige uma tenacidade e um talento que n�o est�o ao alcance de t�cnicos cinzentos e submissos que o sistema inevitavelmente prefere, produz e atrai.
-O inc�ndio que deflagrou no final da semana passada nos concelhos de Ma��o, Abrantes e Sardoal, foi dado como extinto pelas 12h00 de ontem.
-O jogo dos campe�es escoceses, apesar das m�ltiplas tentativas dos futebolistas do Rangers de maior nome, como Hateley e Durrant, n�o s� perdia �mpeto mas morria em qualidade, quando enfrentava o meio-campo do Celtic, onde McStay se exibia a grande altura.
-Por outro lado, os defesas-centrais do Celtic, Mowbray e Grant, sempre coadjuvados por McGinlay, chegaram para reduzir a pouco o ataque do Rangers, onde Hateley n�o dispunha do apoio habitual.
-O primeiro tempo terminou sem golos.
-Na segunda parte, apesar de o Rangers ter tentado o tudo por tudo para rapidamente resolver a partida, o Celtic depressa recuperou o comando das opera��es.
-Mas o jogador russo do Rangers Mikhailichenko come�ou a evidenciar-se devido � frescura e � rapidez do seu jogo.
-Era de facto por ali que come�ava a surgir perigo para o Celtic, e n�o surpreendeu que, com pouco mais de uma hora de jogo, fosse esse mesmo Mikhailichenko a colocar a bola � frente de McCoist, de modo a permitir-lhe a marca��o do primeiro golo da partida.
-Cerca de tr�s centenas de trabalhadores municipais manifestaram-se ontem diante da C�mara Municipal de Sintra, exigindo da presidente socialista Edite Estrela o pagamento das horas extraordin�rias e das ajudas de custo e a reposi��o do subs�dio de insalubridade, penosidade e risco.
-No fim, sa�ram com algumas promessas e um �nim� para o subs�dio.
-Face a o marco, a nota verde n�o apresentou uma tend�ncia definida, oscilando entre os 1,79 e os 1,80 marcos por d�lar, enquanto no �mbito do SME se mantinha a tradicional apatia.
-Em o fecho dos mercados europeus,o marco/escudo transaccionava-se a 102,35/ 102,36 escudos por marco,tal como tinha j� acontecido ter�a e quarta-feira.
-Em o que respeita �s taxas de juro,o Bundesbank confirmou a expectativa do mercado ao anunciar uma manuten��o de todas as suas taxas directoras.
-Os bancos centrais franc�s,holand�s,austr�aco e su��o tomaram id�nticas decis�es.
-ALVO: Com este afluxo -- recorde de vota��o, a A.B.P. saiu vencedora?
-E.G.: A A.B.P.ganhou bastante e acrescento que nunca houve em Delega��o nenhuma,uma t�o grande aflu�ncia de s�cios para a vota��o,como se verificou nestas Elei��es.
-Isto significa que os Barmens n�o est�o esquecidos.
-Continuo a dizer que acho bem que os Barmens saibam que a Delega��o est� aberta para todos eles,e gostaria imenso que eles aparecessem em vez de uma vez por m�s, dez vezes porque temos todas as condi��es criadas para os receber.
-Podemos beber um copo,jogar gam�o,damas,snooker,ver televis�o,etc.
-Judo (52.500 contos)Nelson Br�s,S�lvia Henriques,Pedro Caravana,Michel Almeida,Guilherme Bentes,Pedro Soares e Filipa Cavalleri.
-Lutas Amadoras (7 mil contos)-- David Maia.
-um documento de meados do s�culo XVII refere j� uma Rua de o Reim�o.
-da� que surja muitas vezes referida como Campo do Cirne.
-Rua onde ainda hoje se concentram algumas das mais antigas casas de m�rmores e cantaria da cidade,a Avenida de Rodrigues de Freitas conta ainda com duas institui��es de especial relevo para a hist�ria da cidade,descontado o j� referido recolhimento para �rf�s: a Biblioteca P�blica Municipal do Porto -- cuja fachada lateral est� voltada para a Rua de D.Jo�o IV e para o Jardim de Marques de Oliveira (vulgo de S.L�zaro)-- e a Escola Superior de Belas-artes do Porto.
-Passados seis meses sobre o an�ncio oficial da exist�ncia da arte paleol�tica do C�a,continuamos pois � espera de iniciativas v�lidas e de boa f� para que,independentemente da decis�o final que venha a ser tomada sobre a barragem,o monumento seja estudado com os meios que a sua grandeza requer.
-At� quando permitir�o os cidad�os portugueses,cujos impostos sustentam a hierarquia do IPPAR,e cujas contas de electricidade alimentam os or�amentos sumptu�rios da EDP,que esta vergonha continue?
-O segundo dia ter� a economia como tema comum �s tr�s sess�es.
-Incluir�,naturalmente,o debate sobre a UEM,numa perspectiva europeia e portuguesa,a posi��o europeia na economia mundial e,ainda,o papel da UE no processo de reintegra��o da R�ssia na economia internacional ou a dimens�o econ�mica e pol�tica das rela��es transatl�nticas.
-Entre os participantes,estar�o Alan Milward,Jacques Attali,V�tor Const�ncio,Leonardo Ferraz de Carvalho,V�tor Martins,Artur Santos Silva,Jorge Jardim Gon�alves e Pedro Ferraz da Costa.
-Finalmente,o terceiro dia ser� dedicado a uma reflex�o mais profunda sobre essa entidade a que se chama Europa -- do ponto de vista da sua cultura e da sua hist�ria.
-Para responder � quest�o primordial -- o que � a Europa?-- interv�m na confer�ncia personalidades como Alain Finkielkraut,Edgar Morin,Susan Sontag ou Marcelo Rebelo de Sousa.
-Andr� Glucksman,Peter Schneider e Victor Cunha Rego falar�o de cultura europeia,e o americano Simon Shama abordar� a procura de uma hist�ria europeia.
-Em os mintos iniciais da segunda parte os vitorianos conseguiram de novo adormecer os seus advers�rios,nomeadamente gra�as a o trabalho laborioso de Paneira e Toni�o e a excelente marca��o que Marco exerceu sobre Zola.
-O portugu�s �secou� de tal forma o g�nio parmes�o que Ancelotti acabou por substitui-lo por Melli.
-O Parma voltou a acordar aos 66',quando Melli rematou � barra uma bola passada por Dino Baggio.
-Por�m,quando parecia que os italianos iam embalar para uma exibi��o arrasadora,aconteceu o golpe de teatro.
-Acabadinho de entrar a substituir Riva,o brasileiro Gilmar surgiu isolado na �rea italiana e deu o melhor seguimento a um centro de Quim Berto.
-Os adeptos italianos gelaram,enquanto a pequena comitiva vitoriana festejava ruidosamente na bancada central.
-de novo a pol�mica � ribalta.
-Um investimento de 27 milh�es de contos (mais seis milh�es para aquisi��o de uma colec��o pr�pria)suportado por as arcas bascas apesar de a exist�ncia de 47 �partenaires� comerciais,� sin�nimo do interesse que o governo de Euskadi,do Partido Nacionalista Basco (PNV),atribui ao evento.
-Implantado em terrenos antes ocupados por ind�strias desarticuladas por a reconvers�o industrial dos anos 80 e cujo �ferro velho� permanecia como legado da crise econ�mica da outrora laboriosa cidade de Bilbau,o Museu pretende ser um s�mbolo da regenera��o basca: de uma sociedade que quer vencer as dificuldades presentes e,em v�speras do s�culo XXI,dar novos argumentos -- os da esperan�a e da paz -- aos seus cidad�os.
-Por isso,atentos ao perder da sua influ�ncia,os etarras,atrav�s de o at� agora desconhecido �comando Katu�,tentaram destruir o s�mbolo de um novo tempo,menos rural -- � nessas zonas e entre os deserdados das cidades que a Eta faz o seu recrutamento --,mais din�mico e,sobretudo,aberto � influ�ncia exterior,algo que o nacionalismo admite com dificuldade.
-Desvalorizando,por outro lado,a posi��o assumida por o deputado independente Jos� Magalh�es,que considera �errada� a proposta de Manuel Carrilho -- �Se ele disse isso,o problema � de ele,foram as suas palavras --,Jorge Coelho reafirmou a sua confian�a no ministro da Cultura.
-�Se ele apresentou esta solu��o para resolver aquelas d�vidas,� porque deve ser uma boa solu��o�,rematou.
-�poca de Ouro abre, com chave d'ouro, o ciclo.
-Fundado por o mestre Jacob do Bandolim em 1964,o grupo tem mantido viva,ao longo de os anos,a tradi��o no dom�nio do chorinho,valorizando-a com sabedoria.
-Comp�em o grupo seis m�sicos de reconhecida craveira: Toni (viol�o),C�sar Faria (violino),Jorge Filho (cavaquinho),Ronaldo do Bandolim (bandolim),Crist�v�o Bastos (piano)e Jorginho do Pandeiro (flauta).
-Hoje e s�bado,�s 21h30,uma oportunidade �nica para confirmar,em palco,toda a alma e virtuosismo de um g�nero musical tamb�m �nico.
-Com o apoio da Funda��o luso-brasileira para o Desenvolvimento da L�ngua Portuguesa.
-�s 17 horas,pode ser visto �Adamubies� (t�tulo de um poema de Guimar�es Rosa),projecto de m�sica c�nica onde textos de Miguel Torga,Clarice Lispector,Jo�o Guimar�es Rosa e Agustina Bessa-Lu�s surgir�o �vestidos� com m�sicas reinventadas a partir de matrizes populares do Brasil,�frica e Portugal.
-A direc��o musical � de Tilike Coelho e a encena��o e cenografia de Jos� Caldas Neto.
-A estes juntar�o-se-,em palco,os cantores/m�sicos Marta Silva,Marcelo Lafontana e Pedro Ribeiro.
-O espect�culo repete domingo � mesma hora e no fim-de-semana seguinte,11 e 12,tamb�m �s 17h.
-O inter-Fiorentina era o jogo grande da terceira jornada do campeonato italiano.
-A partida at� come�ou bem para os homens da casa.
-Ronaldo,� beira de o intervalo,inaugurou o marcador para o Inter,justificando o forte investimento que a equipa milanesa fez na sua aquisi��o.
-Mas os homens de Gigi Simone tiveram que sofrer muito para levar de vencida a Fiorentina que,com golos de Serena e Batistuta,deu a volta ao resultado.
-Batistuta viu ainda dois remates seus baterem nos postes da baliza contr�ria.
-Um golo de Moriero recolocou as duas forma��es em p� de igualdade e s� a nove minutos do fim o Inter chegou ao golo da vit�ria,por interm�dio do franc�s Djorkaeff.
-Em os outros jogos do �calcio�,destaque para mais uma goleada da Juventus de Dimas (4-0 frente a o Brescia),enquanto a Lazio de Eriksson parece ter perdido a veia goleadora demonstrada em Guimar�es e foi derrotada por o rec�m-promovido Empoli,por 1-0.
-Realce tamb�m para mais uma derrota do Milan,desta feita por 2-1,frente a a Udinese.
-Agora, perante os olhos da velha Elvira, sentada no centro da sala com os xailes e o casaco que a protegem do frio, encontra-se o vestido verde com os bot�es com pequenos sabres dourados idealizado pela costureira Danilina.
-Rev�-se no Mercedes de Goebbels, apreendido na Alemanha e entregue ao marechal Oslikovsky, sentado com a filha pequena, Lora, no assento posterior.
-Uma corrida para Moscovo a chupar as bolinhas de �Kliukva v sacarnoi pudre�, feitas de a��car em p�, com uma baga siberiana de sabor agridoce no meio.
-Nessa manh�, usava pela primeira vez os sapatos de pele macia criados por Goldin, o surdo sapateiro judeu.
-Tinha cal�ado um par de pantufas inchadas de p�lo velho.
-De s�bito, ergue os olhos para voltar a mergulhar no passado que ressumava daqueles trajes velhos.
-Eis o casaco de linho claro e a saia que lhe havia dado a filha casada em It�lia.
-Uma medida grande para o seu corpo pesado, agora que tinha setenta e dois anos.
-Usou-o no navio de cruzeiro Taras Scevcenko, que partia de Odessa.
-Estava calor e ela enxugava o suor com um len�o bordado apertado entre os dedos brancos e resplandecentes dos an�is, ainda que agora de pouco valor.
-Quando o navio estava a passar no estreito dos Dardanelos e as c�pulas das mesquitas de Constantinopla pareciam pombas brancas numa atmosfera de palhetas douradas, apresenta-se-lhe uma velha senhora magra, elegante e �pripudrennaia� (empoada) que a submerge numa admira��o comovida, quase como se se tratasse de uma irm� ou de um familiar regressado do t�mulo.
-Esta senhora senta-se junto dela e, enquanto lhe acaricia as m�os e procura lev�-las at� �s faces magras, come�a a recordar-lhe o tempo passado, a sua beleza extraordin�ria, que se tornara uma lenda em toda a R�ssia e nas rep�blicas mais quentes.
-Recordou-lhe os invernos em Bakuriani, quando percorria os caminhos da aldeia a comer tangerinas e a macular, com as cascas, os montes de neve branca ao longo das estradas, por entre as casas de madeira.
-E os admiradores seguiam-na de longe, recolhendo aquelas cascas para ficarem qualquer coisa dela.
-Recordou-lhe quando, no fim da guerra, passava devagar na Avenida Gorki com o carro que pertencera a Goebbels.
-Falou da praia de Soci e do Castelo d'Aria, no cimo da colina de Dorzacos, quando o chefe da orquestra bebia copos de �gua gaseificada, apontou o pequeno restaurante do Ermitage em Moscovo, onde se comiam trutas.
-Os beijos que todos procuravam dar-lhe na Pra�a Vermelha no dia da vit�ria.
-O seu vestido escuro durante o funeral de Estaline, quando, apesar da multid�o que se apinhava ao longo dos muros, para ela havia espa�o, para que ningu�m sequer lhe tocasse.
-Depois, os longos anos de aus�ncia dos teatros, dos restaurantes e das praias da moda.
-Um aviso fugaz no grande mercado das aves, quando a indiferen�a da multid�o lhe permitia observar com tranquilidade um peixinho circunscrito � �gua de uma garrafa e j� ningu�m era atra�do pelo seu perfume, que ainda ent�o se evaporava da carne rosada e abundante.
- Finalmente, eis que podia rev�-la e abra��-la.
-Subitamente, a mulher empoada recolhe todo o seu afecto nos olhos claros e avermelhados pela como��o.
-�Mas a senhora lembra-se de quando era nova?� -- pergunta-lhe de s�bito.
-Nesta onda de apertada concorr�ncia em que os bancos t�m vivido nos �ltimos anos, parece que n�o s�o apenas os clientes que por vezes ficam baralhados com tantos produtos novos, taxas de juro irrecus�veis e remunera��es estonteantes.
-O turbilh�o � de tal forma irresist�vel que at� as pr�prias institui��es ficam abananadas e entram, olimpicamente, pela via do disparate a toda a prova.
-Vem isto a prop�sito da recente experi�ncia do depositante de �um conceituado banco�.
-Segundo o relato do pr�prio, houve um dia em que foi � caixa do correio e l� encontrou o familiar envelope que regularmente o informa acerca do movimento da sua conta banc�ria.
-Parecia um pouco volumoso para t�o pouca coisa, mas logo se colocou a hip�tese de o extracto ir acompanhado de algum folheto de publicidade a um novo produto verdadeiramente arrasador.
-Aberto o envelope, a surpresa n�o podia ser maior.
-L� dentro, al�m do que era suposto l� estar, havia mais treze papelinhos.
-Nada menos que os extractos de conta de outros tantos clientes que a esta hora dever�o estranhar o facto de o seu banco n�o lhes passar cart�o acerca dos seus saldos.
-se tinha sido nomeado gestor de conta de toda aquela gente ou se era o banco que estava a desenvolver alguma ac��o de luta contra o sigilo banc�rio ...
-A eurodeputada portuguesa Maria Santos � uma das personalidades convidadas pela Confedera��o dos Sindicatos Agr�colas Bascos para as jornadas �Agricultura Viva para o Meio Rural�, que decorrem em Bilbau.
-Em debate est�o a rela��o entre os problemas dos agricultores europeus e as quest�es relacionadas com a defesa do meio ambiente, o desenvolvimento regional e os direitos dos consumidores.
-em Barcelos, o �quei recebe o Benfica, partida que poder� servir aos minhotos para recuperarem de uma campanha fraca (tr�s derrotas e um empate), enquanto os benfiquistas tentar�o manter o percurso vitorioso.
-Na outra partida, a Oliveirense joga em casa com o sensacional Pa�o d'Arcos, actualmente em quarto lugar, a tr�s pontos do l�der.
-O FC Porto n�o ter� especiais dificuldades, pois joga nas Antas com o HC Sintra.
-� primeira vista, Mousa, Mohammed, Abu Wahed e Khalid, o cabo, tinham a express�o deprimida e encurralada dos recrutas derrotados.
-Os uniformes estavam amarrotados e sujos, as botas imundas e rotas.
-Tinham a barba por fazer, estavam exaustos e famintos.
-Em o saco havia nacos de p�o, uma lata pequena de sumo e uma garrafa de �gua.
-Em Fran�a, a jornada deste fim-de-semana provocou grandes altera��es no posicionamento dos primeiros classificados, com vantagem para o Auxerre, que chegou ao primeiro lugar, e para o Nantes, que, apesar de derrotado, beneficiou dos maus resultados do Paris Saint-Germain e do M�naco e n�o abandonou o comando.
-Auxerre e Nantes dividem agora o primeiro lugar, ambos com 26 pontos, 35 golos marcados e 18 sofridos, seguidos pelo M�naco, ainda com 26 pontos, pelo Marselha, com 25 (menos um jogo), e pelo Paris Saint-Germain, com 24.
-A 19� jornada come�ou na sexta-feira, com a vit�ria do Marselha no Parque dos Princ�pes (0-1), perante a equipa treinada por Artur Jorge.
-No s�bado, o Nantes foi surpreendido no terreno do Toulouse (2-0), cedendo a terceira derrota da �poca, enquanto o Auxerre recebeu e venceu o Le Havre (4-1).
-No campo do Lyon, o M�naco n�o foi al�m de um empate sem golos, o que impediu a equipa de Rui Barros de se isolar no primeiro lugar.
-A prova de que a exibi��o de �O Convento� deixou muita gente baralhada podemos encontr�-la, por exemplo, naquele jornalista do �New York Post� que fala sempre em �scoops� -- do estilo �quem est� a filmar com quem� -- e que na confer�ncia de imprensa de apresenta��o do filme declarou: �Sr. Oliveira, o seu filme � o meu favorito de todo o festival�.
-Diga-se, tamb�m, que h� quem pense o contr�rio.
-Mas ontem, Catherine Deneuve e John Malkovich foram, de facto, as atrac��es da imprensa.
-Ao lado de Lu�s Miguel Cintra e de Leonor Silveira, apresentados como os guardi�es da casa de Oliveira, Deneuve e Malkovich eram os estranhos seduzidos pela �obscuridade� -- palavra de Deneuve, lembrando-se de Bu�uel.
-E como disse a actriz, �h� certas coisas que n�o se devem desvendar�.
-Malkovich, por seu lado falou em �primitive dream paintings�.
-Silenciosos, os guardi�es observavam.
-Foi com eles que o P�BLICO falou.
-basta-nos procurar compreender o conte�do do acordo agora assinado.
-E tendo integrado o n�cleo fundador da Plataforma -- sem estarmos sequer ligados � cis�o que, circunstancialmente, no PCP lhe deu origem --, � naturalmente sem satisfa��o que vemos a Plataforma dar raz�o �a posteriori� a �lvaro Cunhal.
-Acreditando na possibilidade e na necessidade da constru��o de uma terceira for�a na esquerda portuguesa, com uma l�gica nova de interven��o e funcionamento, dar raz�o a Cunhal � tamb�m dar raz�o a todos os que ainda n�o tiveram coragem de arriscar este projecto.
-O texto do �Protocolo de Coopera��o� � suficientemente vago e impreciso para ser in�cuo e, ao mesmo tempo, ter um significado pol�tico claro.
-Embora reafirmem a cada dois passos o car�cter estritamente aut�rquico do acordo, os dirigentes da PE subscrevem um texto que vai desde a reforma do sistema pol�tico em geral at� ao modelo de desenvolvimento para o pa�s.
-No �ltimo par�grafo das seis longas p�ginas, conclui-se por �uma vis�o convergente sobre a necessidade de reformar positivamente o sistema pol�tico no sentido de assegurar melhor democracia e melhor desenvolvimento, na concretiza��o de uma alternativa pol�tica ao PSD e ao Governo�.
-A 45 anos de governa��o do Partido Nacional, quatro dos quais sob a batuta de Frederik Willem de Klerk, dever� seguir-se agora um per�odo indetermin�vel de preponder�ncia pol�tica do Congresso Nacional Africano (ANC), criado em 1912 para conseguir o fim do racismo.
-As sondagens � opini�o p�blica indicam que o ANC, sob a lideran�a de Nelson Mandela, poder� conseguir de 58 a 60 por cento dos votos nas elei��es de Abril para a Constituinte.
-E alguns observadores v�em em semelhante vantagem o perigo de uma tenta��o hegem�nica, se bem que a Constitui��o interina a aprovar durante as pr�ximas semanas preveja a representa��o no governo de todos os partidos que consigam pelo menos cinco por cento dos votos.
-O lan�amento de est�gios para jovens desempregados ou � procura do primeiro emprego, o refor�o de incentivos j� existentes ao emprego por conta de outr�m ou � cria��o do pr�prio posto de trabalho bem como a sistematiza��o de informa��o sobre alternativas de forma��o e de profiss�es s�o as tr�s principais medidas do Programa para a Integra��o dos Jovens na Vida Activa.
-menos de um m�s ap�s ter vencido o Campeonato Nacional de Clubes em golfe, disputado no Oporto Golf Club, coloca na final do �Individual� dois elementos que contribuiram para a conquista desse t�tulo, Stephane Castro Ferreira e Jos� Sousa e Melo.
-O FC Porto conquista a sua oitava Ta�a de Portugal ao vencer o Sporting, por 2-1, no jogo da final�ssima disputado no Est�dio Nacional.
-No final do jogo, adeptos do Sporting lan�am garras e pedras para a tribuna de honra, onde estavam Manuela Ferreira Leite, ministra da Educa��o, e V�tor Vasques, presidente da FPF.
-Palma In�cio, ex-comandante operacional da LUAR, numa entrevista ao �Expresso�, afirma que n�o reconhece, aos que contra ele se colocam, envergadura moral para o ofender e lembra que o ELP de Sp�nola foi a organiza��o mais terrorista de Portugal.
-O templo, de configura��o quadrangular, com cerca de 15 metros de largo, foi descoberto quando S�rgio Coutinho, propriet�rio de um terreno, ali quis fazer um estabelecimento de turismo rural.
-Os arque�logos chamados ao local avaliaram o achado como sendo da �poca de J�lio C�sar, mas s� agora, ap�s diversas investiga��es das arque�logas Ana Arruda e Catarina Viegas, acompanhadas por t�cnicos do Instituto Portugu�s do Patrim�nio Arquitect�nico e Arqueol�gico, se chegou a um �consenso pleno�.
-Na mesma zona em que foi encontrado o templo, a Alc��ova, a caminho das Portas do Sol, foram ainda descobertas cisternas romanas que est�o tamb�m a ser objecto de escava��es e estudos arqueol�gicos.
-Para o autarca Jos� Noras, em declara��es � ag�ncia Lusa, o achado arqueol�gico �permite descodificar a presen�a romana na velha �Scalabis� e explicar a import�ncia estrat�gica de Santar�m no contexto da Pen�nsula dessa �poca�.
-O munic�pio vai agora preservar o monumento e promover o seu conhecimento por arque�logos e estudantes.
-Ontem, at� os futebolistas brasileiros Ronaldo, Roberto Carlos e Denilson ajudaram � festa (�O nosso favorito era Kuerten; agora � Rios�), aplaudindo o vencedor de p�.
-O pr�ximo advers�rio ser� o �artista� Hicham Arazi que garantiu nova presen�a nos quartos-de-final do Grand Slam franc�s.
-Vindo do anonimato em 1997 gra�as a quatro vit�rias consecutivas (a �ltima das quais sobre Marcelo Rios) em Roland Garros, Arazi (47� ATP) parece disposto a fazer melhor este ano depois de ter eliminado Alberto Berasategui (cabe�a de s�rie n�16), um dos tenistas em melhor forma esta �poca sobre a terra batida (vit�rias-derrotas: 18-4).
-�N�o tenho feito grandes resultados ultimamente, mas quando come�o a bater umas bolas aqui sinto-me logo melhor�, reconheceu o marroquino ap�s o triunfo por 6-2, 6-4, 3-6 e 6-3.
-A economia � muito, mas n�o � tudo para aferir da for�a vital que sai das entranhas de um povo.
-O sistema encontra-se dispon�vel no mercado portugu�s e faz parte do pacote proposto aos franchisados.
-Migu�ns Cardoso, da Triunfo / Il Fornaio, considera que, em termos de �software�, uma solu��o integrada e o apoio do consultor inform�tico � a solu��o mais adequada � gest�o de uma rede comercial deste g�nero.
-O Grupo apostou nesta solu��o desde 1990 e as perspectivas s�o para a abertura de uma nova loja por m�s.
-Uma associa��o de consumidores de Coimbra exigiu de novo a extin��o do Instituto do Consumidor, que acusa de ter gasto em 1994 dinheiro sem proveito vis�vel para os consumidores.
-A Deco tem uma posi��o oposta e o organismo visado limita-se a propor uma leitura atenta do relat�rio de actividades desenvolvidas.
-O Instituto do Consumidor (IC) gastou em 1994 mais de meio milh�o de contos sem resultados vis�veis, acusa a Associa��o Portuguesa de Direito do Consumo (APDC), que endere�ou uma carta ao primeiro-ministro propondo a �extin��o�, ainda antes das elei��es, daquela estrutura do Minist�rio do Ambiente.
-Cada dia que passa torna mais evidente que o voto dos eleitores do Entre Douro e Minho vai ser decisivo para o resultado final do referendo.
-� para esta regi�o que se viram os olhos dos partid�rios do �sim�, ansiosos por uma vota��o que compense a quebra anunciada pelas sondagens noutras zonas do pa�s.
-Mas � tamb�m neste espa�o que cabem as esperan�as dos que querem travar o modelo das oito regi�es.
-se o �n�o� na primeira pergunta do referendo for maiorit�rio na mais populosa das oito regi�es propostas, isso significar�, quase de certeza, a certid�o de �bito do modelo nascido do acordo entre o PS e o PCP.
-�Se isso vier a acontecer, a regionaliza��o ficar� adiada por 10 ou 15 anos�, reconhece Narciso Miranda, l�der da Federa��o do Porto do PS, que acredita numa �vit�ria esmagadora� do �sim� no Entre Douro e Minho.
-Pense-se em Kingsley Amis, Malcolm Bradbury e Albert Finney.
-Dois escritores, um actor.
-Pense-se no romance que o primeiro escreveu -- �The Green Man� --, que o segundo adaptou e o terceiro interpretou.
-Pense-se num enredo mirabolante, centrado num her�i desfeito, o anti-her�i Maurice Allington, e na maneira como o impens�vel -- o fantasma de Thomas Underhill -- o cerca.
-No fim, obt�m-se uma s�rie de televis�o.
-Uma boa s�rie de televis�o: a que a RTP estreou ontem � noite, na TV2, e � qual nada ligou -- pouco mais do que �primeiro epis�dio� escreveu na apresenta��o.
-Motor: Econ�mico, com grande elasticidade e bom n�vel de pot�ncia.
-Caixa: Mais um Toledo �salvo� por uma caixa bem escalonada, com destaque para as tr�s primeiras velocidades.
--- � o �nico candidato que me parece capaz de promover uma mudan�a de paradigma na vida pol�tica americana.
-Clinton � mais novo na idade e nas ideias.
-Bush endureceu na atitude de conserva��o a todo o pre�o de uma ordem hist�rica condenada.
-A Am�rica tem de preparar-se para o futuro.
-Com Bush, n�o conseguir� faz�-lo.
--- George Bush.
--- Em primeiro lugar porque conhece os problemas europeus; em segundo lugar pelo papel que desempenhou na pol�tica mundial nos �ltimos quatro anos e, em terceiro lugar, porque o CDS � sempre mais ligado aos republicanos do que aos democratas.
-Para Eurico de Melo s� faz sentido convocar um referendo se se chegar � conclus�o da sua necessidade para cumprir �um formalismo constitucional�.
-N�o desvalorizou, por�m, a convoca��o do Conselho de Estado por entender que �n�o deve subsistir a menor d�vida sobre os formalismos constitucionais a cumprir nem sobre a vontade pol�tica de ades�o ao Tratado�.
-Eurico de Melo defende que as decis�es de Maastricht �s�o de grande import�ncia para o pa�s� na medida em que reflectem uma linha de �mais compromisso pol�tico com a CE�.
-Segundo a �Comiss�o de Afectados pela Barragem do Lindoso�, entidade promotora da concentra��o, o objectivo perseguido mant�m-se: prosseguir no seu protesto contra o que entendem ser �uma atitude de chantagem da EDP�.
-Em declara��es ao P�BLICO, um dos elementos da �Comis�o dos Afectados� manifestou esperan�as na possibilidade de reatamento do di�logo interrompido a 16 de Dezembro �ltimo, remetendo para os resultados de uma reuni�o que ir� juntar no Porto o governador civil de Ourense, o presidenta da C�mara do concelho de Lovios (Ourense) e Marques Seabra, respons�vel da EDP, e que est� prevista para sexta-feira, embora sujeita ainda a confirma��o.
-A mesma fonte afirmou que os afectados pela barragem estar�o dispostos a permitir que prossigam os trabalhos de remo��o da igreja de Aceredo, que ir� ficar submersa pela albufeira, logo que a �arbitragem acordada entre as partes seja assumida em documento assinado perante um not�rio�.
-Em v�speras de Carnaval, a Associa��o Portuguesa para a Defesa do Consumidor (DECO) mostra-se preocupada com a utiliza��o de explosivos nas brincadeiras carnavalescas, respons�vel todos os anos por in�meros acidentes, sobretudo com crian�as em idade escolar.
-Em comunicado, a DECO considera essencial a informa��o dos consumidores sobre este assunto, causador tamb�m de ru�do e perturba��o da ordem p�blica, especialmente nas escolas.
-As bombas de Carnaval pertencem ao conjunto de explosivos tecnicamente designado como bombas de arremesso, cuja venda -- regulamentada por lei -- s� pode ser feita a pessoas, com mais de 18 anos, que tenham autoriza��o das autoridades competentes para as comprar.
-Mas de faltas de correspond�ncia entre a lei e a realidade dos factos est� o pa�s cheio.
-Por exemplo, lembra tamb�m a DECO, entre os �brinquedos� preferidos pelas crian�as nos festejos carnavalescos encontram-se os estalinhos, considerados brinquedos ou artif�cios pirot�cnicos que podem rebentar por choque ou atrav�s de um detonador.
-Encontram-se em todo o lado e, no entanto, o seu fabrico � proibido por lei.
-Hoje, Bush tem na agenda as cidades de Baidoa e Bali-Dogle e mais visitas a soldados, orfanatos e organiza��es humanit�rias.
-O �nico incidente registado ontem em Mogad�scio ocorreu na embaixada francesa quando um somali tentou entrar nas instala��es e n�o obedeceu � ordem de parar de um sentinela, anunciou o comando franc�s da opera��o �Oryx�.
-O soldado disparou para o ar, mas o indiv�duo continuou a avan�ar e foi atingido mortalmente.
-Lawrence Summers evitou atacar os pa�ses do G7, mas n�o p�de deixar de falar no Jap�o, sublinhando que os EUA �n�o manipulam artificialmente as taxas de c�mbio� e que � seu desejo e de todo o mundo que este pa�s �volte a ter um crescimento r�pido�.
-O Jap�o respondeu que concorda com as sugest�es norte-americanas e que apoia uma ac��o concertada para travar a valoriza��o do iene, considerada como brutal a amb�gua -- j� que se pode conduzir � diminui��o do excedente comercial japon�s pode tamb�m p�r em causa o crescimento mundial, na opini�o do secret�rio do Tesouro dos EUA, Lloyd Bentsen.
-As multid�es n�o acorreram � abertura, domingo, da exposi��o �A Idade do Barroco em Portugal�, organizada pela National Gallery de Washington e a Secretaria de Estado da Cultura portuguesa, atrav�s do Instituto Portugu�s de Museus (IPM).
-Mas a exposi��o estar� patente at� 6 de Fevereiro e � prov�vel que, nas suas visitas de rotina aos museus, grande parte dos washingtonianos venham a visit�-la.
-�Isto � maravilhoso, � um verdadeiro tesouro, que n�o imaginei que existisse�.
-Mary Sue, 55 anos, entrou com a amiga na exposi��o, por acaso.
-Na realidade, vieram ao museu por causa da exposi��o sobre os �P�ssaros da Am�rica�, que est� nas salas ao lado.
-Mas n�o se arrependeram.
-�� um povo e uma �poca fascinantes.
-Estamos mortas por visitar Portugal�.
-Estas novas atitudes correspondem � c�lebre frase de Robert Fillion .
-�a arte � o que faz a vida parecer mais interessante que a arte�.
-Esta exposi��o nasceu, ainda no dizer de Jean de Loisy, da leitura do c�lebre artigo de Allan Kaprow: �A heran�a de Jackson Pollock�.
-Kaprow pretende que Pollock n�o teve tempo de levar as suas obras at� �s �ltimas consequ�ncias, as quais teriam sido, n�o limitar o quadro � tela posta no ch�o, mas de nele integrar o pr�prio ch�o do atelier, os objectos, os ru�dos da rua, em suma, a vida.
-Este artigo, escrito em 1957, posiciona a arte numa nova direc��o, da qual a exposi��o tenta ser o reflexo.
-Accionismo, novo realismo, �happening�, poesia sonora, Fluxus, �performance�, arte corporal, �environnements�, s�o alguns dos nomes que, segundo os per�odos e os pa�ses, foram dados a estas novas formas de arte.
-O Jap�o quer continuar a negociar com os EUA tendo em vista resolver o diferendo comercial que op�e os dois pa�ses, apesar de a amea�a norte-americana de aplica��o de san��es, caso as autoridades n�p�nicas n�o abram os seus mercados p�blicos num prazo de 60 dias.
-O ministro das Finan�as de T�quio, Masayoshi Takemura, afirmou lamentar a atitude de Washington, mas adiantou que o Jap�o continuar� a tentar ultrapassar as diferen�as entre as duas partes, em cada um dos sectores em negocia��o: autom�vel, seguros e mercados p�blicos nas �reas das telecomunica��es, equipamento m�dico, computadores e sat�lites.
-O ultimato para a abertura dos mercados p�blicos nip�nicos foi imposto por Washington no �ltimo fim-de-semana, depois do fracasso das conversa��es bilaterais.
-Em Portugal desde 23 de Maio, Manuel Ant�nio viveu em Lisboa, cerca de tr�s meses, deslocando-se depois para o Porto.
-Pelas 3h55 da passada quinta-feira foi surpreendido nas escadas interiores da 15� Esquadra da PSP, na Foz do Douro, sem ter usado a porta de entrada.
-Fonte policial admite que o jovem tenha saltado o muro das traseiras das instala��es.
-Na altura, Manuel Ant�nio alegou sede e que queria beber �gua, justificando desta forma a sua entrada na esquadra atrav�s do muro.
-Indocumentado, deu um nome trocado -- Manuel Carneiro --, disse ser mo�ambicano e que tinha os documentos numas obras.
-Esta informa��o n�o foi confirmada pelos agentes da PSP que o acompanharam a estaleiros sitos na Foz, Boavista e no Carvalhido.
-As dilig�ncias da pol�cia terminaram com a sua entrega ao Servi�o de Estrangeiros e Fronteiras (SEF).
-Junto do Consulado de Mo�ambique, o SEF apurou ser falsa a nacionalidade indicada pelo Manuel Ant�nio e descobriu os documentos no interior de uma pasta na posse de um tal Albertino.
-As autoridades verificaram que o Manuel Ant�nio tinha dois passaportes: um angolano, verdadeiro; e outro portugu�s, falsificado.
-Este �ltimo documento ter� sido adquirido no Centro Comercial Dallas, no Porto, por 15 contos e destinava--se a ser usado numa viagem a Fran�a.
-Acusado de falsifica��o de documentos, Manuel Ant�nio viu a deten��o confirmada por um juiz de instru��o, que n�o atendeu ao facto de o jovem ter menos de 16 anos, em fun��o do passaporte angolano de que era portador.
-Quatro dias mais tarde, o Minist�rio P�blico detectou o erro e ordenou a transfer�ncia do processo para o foro do Tribunal de Menores, a quem foi entregue ontem.
-A Fran�a alcan�ou, em 1995, um excedente comercial recorde de 104,5 mil milh�es de francos (3,1 mil milh�es de contos), o que representa um acr�scimo de 27 por cento em rela��o aos resultados de 1994.
-O ministro do Com�rcio Externo, Yves Galland, anunciou ainda que, no ano passado, as exporta��es francesas atingiram o montante recorde de 1427 mil milh�es de francos (cerca de 43 mil milh�es de contos), reflectindo uma alta de 9,2 por cento relativamente ao ano anterior.
-As importa��es apresentaram uma progress�o de 7,9 por cento, o que equivale a 108,6 mil milh�es de francos (3,25 mil milh�es de contos).
-O �ltimo saldo recorde do com�rcio externo havia sido atingido em 1993, com um excedente de 87 mil milh�es de francos (2,6 mil milh�es de contos).
-A Comiss�o Europeia aguarda uma notifica��o das autoridades italianas sobre o plano de reestrutura��o da companhia a�rea Alitalia.
-O principal accionista, o grupo p�blico italiano Iri, adoptou na �ltima quinta-feira as grandes linhas do plano, que prev� uma injec��o de capital na ordem dos 937 milh�es de d�lares (cerca de 142 milh�es de contos) e o refor�o da estrat�gia de alian�as.
-A Comiss�o Europeia dever� em breve tomar uma decis�o sobre a segunda parte da ajuda p�blica acordada com a companhia a�rea grega, Olympic Airways.
-Espera-se ainda a aprova��o, por parte da Comiss�o, da terceira parte do plano de ajuda � companhia francesa Air France, cujo montante global � de cerca de quatro milh�es de d�lares (cerca de 605 mil contos).
-Raramente as institui��es de planeamento falam claro.
-Mas, �s vezes, acontece.
-em segundo lugar, e trata-se de uma conclus�o menos taxativa, � de admitir que tenha diminu�do a posi��o relativa da Regi�o Norte no contexto do espa�o s�cio-econ�mico portugu�s�.
-Desde que o ministro do Planeamento e Administra��o do Territ�rio, Valente de Oliveira, se reuniu em Setembro e Outubro, em Vila Real e no Porto, com as c�maras do interior e do litoral da Regi�o Norte, que a CCRN se tem desdobrado em contactos para discutir a forma de aplica��o do pr�ximo quadro de apoio.
-Deste esfor�o, um contra-rel�gio que se destina a ouvir tanto os �rg�os de poder local como os agentes de desenvolvimento e essa entidade gen�rica a que se chama �sociedade civil�, dever� nascer a proposta nortenha para o novo Plano Regional de Desenvolvimento, � espreita dos fundos acrescidos proporcionados pela aprova��o em Edimburgo do Pacote Delors II.
-A equipa masculina concorre � Primeira Liga, no decatlo, em Helmond, na Holanda, contra as forma��es da Alemanha, Bielor�ssia, Est�nia, R�ssia, Holanda, Pol�nia e Sui�a.
-Sobem � Superliga (para o ano) as duas primeiras equipas e descem as duas �ltimas e Portugal dificilmente escapar� � despromo��o.
-� que, de facto, s� por puro acaso equipas como a alem� e a russa est�o nesta divis�o.
-Portugal alinha com M�rio Anibal Ramos (Benfica), que recentemente deixou o recorde nacional em 7614 pontos, F. Nuno Fernandes (FC Porto- 7381 pontos), Jos� Dur�o (CN Rio Maior- 6614 pontos) e Lu�s Her�dio Costa (Sporting- 6585 pontos).
-Ao mesmo tempo decorre a Superliga feminina (heptatlo), envolvendo a Bielor�ssia, Fran�a, Gr�-Bretanha, Alemanha, Holanda, Pol�nia, R�ssia e Ucr�nia, com as russas favoritas para manterem o trof�u.
-A selec��o feminina portuguesa, por seu lado, compete no heptatlo da segunda liga em Dilbeek, na B�lgica, com belgas e sui�as.
-A equipa vencedora subir� � primeira liga, mas para essa posi��o � favorita a Sui�a.
-Portugal alinha com Sandra Turpin (Benfica- 5218 pontos), S�nia Machado (individual- 5061 p), M�nica Sousa (GD Cavadas- 5122 pontos) e Catarina Rafael (Bairro Anjos- 4602 pontos).
-A maior perspectiva da parte portuguesa � a hip�tese do recorde nacional (� de 5228 pontos) por Sandra Turpin.
-�Desejava que tivessem visto a express�o no rosto do dr. Steve�, disse ao centro de controlo da miss�o Ken Bowersox, comandante do vaiv�m, escreve a ag�ncia Reuter.
-� ali no por�o do Discovery que o Hubble vai ser reparado no decurso de quatro passeios no espa�o, com seis horas de dura��o cada um, que ser�o feitos pelos astronautas Mark Lee, Steve Smith, Greg Harbaugh e Joe Tanner.
-O primeiro, o mais importante desta miss�o, estava previsto precisamente para a noite passada.
-Se tudo correu como estava previsto, fez-se a substitui��o de dois instrumentos de observa��o do Hubble -- o Goddard High Resolution Spectrometer e o Faint Object Spectrograph -- e a instala��o de dois novos instrumentos destinados a ampliar significativamente as suas capacidades de observa��o: o Space Telescope Imaging Spectrograph (STIS) e o Near Infrared Camera and Multi-Object Spectrometer (NICMOS), cada um do tamanho de uma cabine telef�nica.
-A perspectiva de as duas empresas competirem entre si sem se terem em conta os inc�modos resultantes para os aveirenses acabou por ditar uma solu��o de consenso, tendo a autarquia funcionado como intermedi�ria para o bom entendimento entre as partes.
-E a possibilidade de as ruas de Aveiro se transformarem num estaleiro permanente, com um operador a abrir valas onde o seu concorrente as tinha fechado uns dias antes, n�o seria de todo inadmiss�vel, at� porque a legisla��o permite a livre concorr�ncia entre os concession�rios da TV por cabo.
-Segundo o acordo estabelecido, a TV Cabo Mondego, que entrou j� em for�a no mercado local de assinantes, utiliza as fibras �pticas da rede telef�nica j� instaladas pela Portugal Telecom, enquanto a Pluricanal se servir�, mediante uma comparticipa��o financeira, das condutas do g�s natural.
-Para o presidente da autarquia, Celso Santos, este acordo, que ser� formalizado atrav�s de um protocolo alargado � EDP e � Lusit�niag�s, permitiu � C�mara �controlar o processo de instala��o das novas tubagens e evitou que as ruas permanecessem intransit�veis durante muito tempo�.
-O vice-presidente Andriessen participa na Reuni�o de Coordena��o da Ajuda Internacional � CEI, no Centro Cultural de Bel�m.
-A reuni�o termina amanh�.
-Reuni�o informal dos ministros da Agricultura, na Curia.
-Termina no dia 25 deste m�s.
-Ora existem muitas fun��es (ordenamento territorial, incentivos ao desenvolvimento, ambiente, turismo, cultura, vias de comunica��o, educa��o, etc.), para as quais os munic�pios s�o demasiado pequenos e o Estado demasiado distante.
-� para isso que em todos os pa�ses, grandes ou pequenos, existe uma autarquia territorial (ou mesmo duas) entre o Estado e os munic�pios.
-N�s pr�prios, desde a revolu��o liberal at� 1974, sempre tivemos acima do munic�pio ora o distrito, ora a prov�ncia.
-As regi�es administrativas n�o s�o mais do que a restaura��o da figura das prov�ncias, com atribui��es mais centradas no ordenamento territorial e no desenvolvimento.
-� evidente que as regi�es administrativas ter�o tamb�m condi��es para reivindicar uma mais equilibrada reparti��o dos recursos or�amentais, mesmo nas fun��es que h�o-de continuar a ser do foro da administra��o central.
-Nas minhas desloca��es de comboio a Lisboa n�o posso evitar um quase sentimento de revolta, quando comparo a escandalosa indig�ncia da esta��o de caminhos-de-ferro de Coimbra, mais pr�pria de um apeadeiro terceiro-mundista, com a sumptuosidade megal�mana da nova Gare do Oriente, que pelos vistos corre o risco de vir a ser o mais oneroso dos apeadeiros de luxo do mundo.
-E sou levado a pensar que a exist�ncia de regi�es poderia contribuir tamb�m para evitar estas gritantes disparidades de tratamento regional ...
-Que a posi��o do Vaticano possa ser entendida deste modo por um intelectual desta craveira -- sobretudo a ideia de um malvado voluntarismo de Deus que lhe est� subjacente -- deveria fazer reflectir os argumentadores oficiais da doutrina da Igreja.
-Parece-me que nela se continuam a misturar alhos com bugalhos e a n�o hierarquizar adequadamente nem as convic��es de f� nem as raz�es.
-Neste sentido, espero que o interessante documento de trabalho do Conselho Pontif�cio da Fam�lia, �Evolu��es demogr�ficas: dimens�es �ticas e pastorais�, Lisboa, 1994) leve uma grande volta.
-Se, como nele se diz, �a Igreja deseja encetar um di�logo construtivo com os que continuam convencidos da necessidade de realizar um controle imperativo da popula��o e com os governos e as institui��es que se ocupam de pol�ticas da popula��o, j� que existem problemas demogr�ficos reais, apesar de frequentemente serem vistos a partir de uma perspectiva errada e de se proporem solu��es depravadas para os resolver� (n�24), n�o pode favorecer os mal-entendidos.
-Esta � uma posi��o fundamental que n�o pode ser trocada por nada, sejam quais forem as chantagens dos patr�es deste mundo na Confer�ncia do Cairo ou fora dela.
-Numa reuni�o com comerciantes e moradores da vila velha, realizada ter�a-feira � tarde, os vereadores da CDU refutaram as acusa��es feitas pela presidente do munic�pio de estarem a atrasar obras importantes, garantindo n�o estar �contra ou a favor da constru��o do silo na Volta do Duche� -- que se encontra em �banho-maria� --, mas fizeram depender uma posi��o favor�vel da realiza��o de um estudo mais vasto para toda a vila que prove a necessidade daquele investimento.
-Todos os partidos pol�ticos com assento na Assembleia Municipal de Leiria contestam o Plano Estrat�gico do Eixo de Leiria-Marinha Grande e do Sistema Urbano da Alta Estremadura.
-Contactados pelo P�BLICO, os l�deres das concelhias do PP, do PSD- com a maioria da Assembleia Municipal-, do PS e o deputado municipal da CDU s�o un�nimes em considerar que o documento mandado elaborar pela Associa��o de Munic�pios da Alta Estremadura (AMAE) carece de um importanle debate p�blico, havendo mesmo quem n�o Ihe reconhe�a o estatuto de �plano estrat�gico�.
-Apesar disso, as diferentes for�as partid�rias est�o dispostas, na pr�xima reuni�o da Assembleia Municipal, sexta-feira, a criarem as condi��es para que sejam aprovados os projectos a candidatar pela C�mara de Leiria e pela associa��o de munic�pios ao Prosiurb (Programa de Consolida��o do Sistema Urbano Nacional e Apoio � execu��o dos PDM).
-Ant�nio Guterres foi o primeiro convidado de uma s�rie de debates com l�deres pol�ticos que o Inesc est� a promover.
-Ao falar no Porto, mas ligado a outros pontos do pa�s gra�as �s inova��es tecnol�gicas, o dirigente socialista defendeu ontem as suas ideias na mat�ria: ideias orientadas para �uma ci�ncia e uma investiga��o com qualidade e relev�ncia para os problemas do pa�s� e contra a �alian�a entre a mediocridade e a inveja�.
-Ainda n�o me tinha lembrado da conveni�ncia de levar uma sandesitas e uma garrafa de �gua, quando fui confrontado com a not�cia de que tal ousadia era proibida.
-Antevi-me, com ou sem sandes, a ser interpelado -- ou mesmo revistado -- por um qualquer seguran�a imbu�do de uma autoridade disparatada.
-Imaginei a quantidade (e a qualidade!) de conflitos que essa rasqueirice iria provocar.
-E n�o gostei.
-Depois, contaram-me que, em horas normal�ssimas, o acesso a certos locais -- como o passeio mar�timo, que me dizem ser dos mais apraz�veis -- passava a ser proibido, e guardado pelos correspondentes seguran�as, sem que os pr�prios soubessem explicar porqu�.
-Conhe�o o g�nero, e n�o aprecio.
-Esta medida foi conseguida com a colabora��o activa da Associa��o dos Operadores Portu�rios do Sul (AOPS) e da Associa��o dos Agentes de Navega��o e Empresas Operadoras Portu�rias (Anesul), e insere-se na pol�tica de moderniza��o do sistema de informa��es da comunidade portu�ria em Set�bal.
-Sporting-Vit�ria de Set�bal e Mar�timo ou Ovarense-FC Porto.
-Ontem, em Lisboa, foi este o resultado do sorteio das meias-finais da Ta�a de Portugal, a jogar dia 9 de Maio.
-Uma tiragem de sortes que afastou os dois grandes ainda em prova, mas que leva o Sporting a receber uma equipa que lhe roubou, em Alvalade, um ponto para o �Nacional�, enquanto o FC Porto poder� ir � Madeira defrontar a �nica equipa com quem sofreu uma derrota para o �Nacional� nesta temporada.
-Ainda assim, no final todos ficaram contentes.
-J� antes do s�culo XIV se havia iniciado o cap�tulo da hist�ria que une Portugal � famosa Flandres, cuja refer�ncia povoa os nossos livros de Hist�ria do secund�rio, marcando a mem�ria com nomes quase m�ticos, como o de Antu�rpia.
-Muito mais fant�stico do que essas men��es soltas da realidade actual � saber que as cidades m�gicas ainda existem, mesmo que por detr�s de arquitecturas e modas no trajar que j� nada t�m a ver com os tempos em que se bailava a compassos diferentes e em que as ruas se pavimentavam com pressas diversas das nossas.
-O plano tem vindo a ser executado gradualmente, atrav�s de interven��es que integram ou reintegram fun��es antigas.
-� exemplo disso a inaugura��o de uma nova resid�ncia paroquial em Novembro de 1996, o primeiro passo no sentido da reafecta��o de espa�os do monumento.
-Fundado no s�culo VI, em pleno dom�nio suevo, o Mosteiro de Santa Maria de Tib�es foi posteriormente arrasado, datando a sua reconstru��o do �ltimo ter�o do s�culo XI.
-A partir da�, foi sucessivamente remodelado e aumentado e, tal como hoje existe, � o resultado de campanhas de reconstru��o e amplia��o levadas a cabo nos s�culos XVII e XVIII, respondendo actualmente a uma linguagem mista entre o primeiro barroco e o �rocaille�, explica o Ippar.
-P.S. -- �PROJECTO DE DIPLOMA� e �Portaria� v�m em mai�sculas no texto, mas �escola� vem em min�sculas!
-A �ESCOLA de Excel�ncia� escreve-se em mai�sculas.
-O vosso subconsciente anda a trair-vos!
-Os gestores de topo das empresas japonesas est�o a aceitar o corte dos seus sal�rios, em face da s�bita recess�o que se abateu sobre a economia do pa�s, impondo-se um teste pr�tico quanto � solidariedade que caracteriza a imagem das empresas japonesas no exterior, e tentando contribuir desta forma, para que as firmas que administram possam suportar a crise actual.
-Uma vez mais o p�blico primou pela aus�ncia nas bancadas do Aut�dromo do Estoril, tornando quase �secretas� as quatro corridas ontem disputadas.
-Como que a sentirem a falta de �testemunhas�, as provas tamb�m n�o foram particularmente emocionantes, com as vit�rias decididas muito cedo.
-No Trof�u Renault Clio 16V V�tor Lopes comandou de princ�pio a fim, construindo uma s�lida lideran�a.
-Lopes terminaria com 10,017'' de avan�o sobre Jos� Jo�o Magalh�es e 12,378'' sobre Celestino Ara�jo.
-Na F�rmula Ford, Carlos Azevedo (Swift) regressou �s vit�rias, terminando com uma vantagem de 2,328'' sobre Rui �guas (Van Diemen) e 3,040'' sobre Frederico Viegas.
-Quanto ao Trof�u BMW 320iS, Jorge Petiz ultrapassou o seu irm�o Alcides a meio da corrida para obter uma vit�ria f�cil, com 2,382'' de avan�o, deixando o 3�., Ant�nio Barros, a 4,788''.
-O portugu�s Pedro Chaves (Lola / Cosworth) terminou ontem a corrida de F�rmula 3000 disputada em Hockenheim no 13�. lugar, parando logo a seguir � meta com o motor partido.
-O piloto portugu�s fez um bom arranque do 15�. posto da grelha, ganhando quatro lugares.
-�Depois comecei a ter problemas com a embraiagem e com o motor que aquecia muito.
-A partir de meio da corrida, o motor come�ou a perder pot�ncia e partiu na �ltima volta, j� perto da meta�, contou Chaves.
-Ca�do, entretanto, no 12�. lugar, o portugu�s acabou mesmo por perder uma posi��o na derradeira volta.
-A vit�ria foi para o italiano Luca Badoer (Reynard / Cosworth) que dominou a corrida de princ�pio a fim, assumindo tamb�m o comando do campeonato.
-�ltimo teorema de Fermat: agora � de vez?
-Andrew Wiles, o investigador brit�nico que anunciou prematuramente, no ano passado, ter demonstrado o �ltimo teorema do matem�tico franc�s do s�culo XVII Pierre de Fermat, talvez tenha finalmente levado este trabalho a bom termo -- noticiou o di�rio �New York Times� na semana passada.
-Rui Vilar, ex-comiss�rio da Europ�lia 91 e ex-presidente do conselho de administra��o da Caixa Geral de Dep�sitos (CGD), vai ter uma tarefa dif�cil.
-O patrim�nio da Gulbenkian � valios�ssimo, est� estimado em cerca de 260 milh�es de contos, a valores de 1994, mas a desvaloriza��o do d�lar nos �ltimos tr�s anos tem afectado significativamente os rendimentos que permitem a sua sobreviv�ncia.
-A administra��o sempre foi bastante conservadora nas suas aplica��es de capital, que se traduzem principalmente por investimentos no sector do petr�leo e pela gest�o de uma carteira de t�tulos no valor de dois bili�es de d�lares nos Estados Unidos, composta por ac��es e obriga��es.
-S� no ano de 1994, o patrim�nio da Funda��o diminu�u, em valor, cerca de 30 milh�es de contos por causa das perdas cambiais do d�lar contra o escudo.
-Recorde-se que as receitas s�o obtidas na sua quase totalidade em d�lares, que depois � necess�rio converter para a moeda nacional.
-Com �O Fim�, as r�plicas cruzadas formam uma rede ainda mais inextric�vel, um verdadeiro concerto desconcertante, mas afinado, em que, de vez em quando, as palavras parecem disparos, explos�es, rajadas de metralhadora.
-Parecem.
-Mas quem n�o se fiar nestas apar�ncias descobrir� que, nesta am�lgama de sonoridades informes -- ou nesta acumula��o de nuvens (cinzentas) com formas caprichosas -- toma forma um discurso feito de premoni��es, amea�as, trov�es e rel�mpagos, mortes anunciadas.
-Um clima abafado, pren�ncio de cat�strofes.
-Quando, na primeira cena, Tom� -- amigo e c�mplice de Mateus no assass�nio da mo�a -- fala do macaquinho que um amigo lhe vai trazer de Angola, est� a falar da arma do crime, do �macaco� com que Mateus matar� Sandra.
-E, a prop�sito do macaco, Mateus sugere que, em vez disso, tragam um tigre.
-A�, come�am a instalar-se nos di�logos as alegorias da ca�a, do ca�ador e da presa, do predador, dos carn�voras e dos omn�voros, da comida que se devora -- alegorias que dominam toda a pe�a, evocando �a priori� ou �a posteriori� o crime que � o ponto de chegada do espect�culo.
-Assim, todas as palavras com que Mateus (Manuel Wiborg) contribui para as conversas de caserna anunciam ou recordam o estupro e o assass�nio de Sandra, bem como o suic�dio com que ele se vai autopunir no final do espect�culo.
-Apesar dos esfor�os desenvolvidos pela presid�ncia luxemburguesa para conseguir o acordo da totalidade dos estados membros, a It�lia manteve a sua oposi��o ao acordo final em sinal de protesto pela redu��o da quota do leite.
-N�o possui hoje Vendas Novas pra�a de toiros, raz�o por que a corrida aconteceu numa desmont�vel, mas Ant�nio Morais, no seu livro �A Pra�a de Toiros do Campo Pequeno�, ao referir-se �s outras pra�as do pa�s, diz que Jos� Val�rio construiu uma pra�a em Vendas Novas em 1862, tendo nela havido festas de toiros at� 1875, ano em que soldados da Escola Pr�tica de Artilharia, por descuido, provocaram o seu inc�ndio.
-Regista ainda na terra a exist�ncia de uma pra�a nos anos 20 com capacidade para 3400 espectadores, que julgamos ter sido a que existiu at� h� cerca de 20 anos.
-Desta feita, redimiu-se a Escola Pr�tica, ajudando � montagem da pra�a instalada no campo da feira e nela fizeram as cortesias Jos� Maldonado Cortes, Nuno Pardal, o praticante Jos� Francisco Cortes e o amador Jos� Soudo, a quem saudamos o regresso ap�s convalescer do grav�ssimo percal�o que lhe aconteceu na pra�a da Malveira.
-Lidou-se um curro de toiros de Jos� Lu�s Sommer de Andrade, que o Grupo de Forcados amadores da Moita pegou.
-Acompanhando o comportamento dos principais mercados asi�ticos, a Bolsa de Sidney terminou a sess�o de ontem em alta pronunciada.
-Para os operadores, tamb�m aqui as valoriza��es se ficaram a dever � reentrada de novos investidores, nomeadamente fundos de investimento internacionais.
-O �ndice AOI encerrou nos 2034 pontos.
-Nesta classifica��o, destaque para nova subida do sueco Stefan Edberg, que surge na 20� posi��o, gra�as � presen�a na final de Queen's (700 mil d�lares).
-Recorde-se que Edberg, antes de Roland Garros, estava no 45� lugar, mas as excelentes exibi��es na terra batida parisiense e na relva londrina permitiram-lhe o salto.
-O alem�o Boris Becker, vencedor do Queen's, ao derrotar Edberg por 6-4, 7-6 (7-3) 11 anos depois de ter conquistado no mesmo local o seu primeiro t�tulo em relva, manteve a quarta posi��o mas diminuiu a diferen�a pontual para Andre Agassi.
-Em Rosmalen (500 mil d�lares), na Holanda e tamb�m em relva, o vencedor foi o norte-americano Richey Reneberg, que bateu na final o franc�s St�phane Simian por 6-4, 6-0.
-Espect�culo de um jovem grupo italiano, integrado no esp�rito das mais novas tend�ncias teatrais europeias.
-Cerim�nia e combate em que a m�stica grotowski-barbiana, as artes marciais orientais, a m�sica e a poesia italiana e um projecto intercultural se cruzam em boa harmonia.
- Depois de Montemor, �vora, Beja, Coimbra e Braga, � a vez de a Grande Lisboa o ver na Damaia.
-Ocasi�o �nica.
-SALA D. JO�O V Largo da Igreja.
-Dom., 15, �s 21h45.
-O actor e realizador norte-americano Clint Eastwood, 63 anos, presidente do j�ri do Festival de Cannes (ver p. 28), defendeu ontem a entrada de uma maior variedade de filmes estrangeiros no mercado dos Estados Unidos.
-Em confer�ncia de imprensa dada conjuntamente com a vice-presidente do j�ri, a actriz francesa Catherine Deneuve, 50 anos, Eastwood confessou que, em vez de �san��es de proteccionismo�, preferiria que �uma maior variedade de filmes franceses, asi�ticos, russos� entrasse nos Estados Unidos.
-�Para alargar o horizonte do p�bico norte-americano�, explicou.
-O actor disse estar a produzir �The Stars Fell on Henrietta�, um filme realizado por James Keach, com Robert Duvall, e projecta rodar �Golf in the Kingdom�, que tem por tema o golfe, um desporto de que se confessa adepto.
-Como actor dever� desempenhar o papel de um fot�grafo em �The Bridge of Madison County�, uma pel�cula a realizar pelo australiano Bruce Beresford com base no �best seller� hom�nimo de Robert James Weller.
-Os Utah Jazz voltaram a provar que s�o os visitantes mais antip�ticos da Liga Norte-Americana de Basquetebol profissional (NBA), ao averbarem na jornada de sexta-feira o seu 11� triunfo fora de casa, melhorando o seu registo da Liga na presente temporada para 11v/4d.
-Desde Maio deste ano que Joaquim Correia, escultor natural do concelho da Marinha Grande- que doou os seus trabalhos para integrar o n�cleo do museu no Convento de Santo Agostinho- chegou mesmo a amea�ar desvincular-se do compromisso com a autarquia, caso o processo n�o fosse desbloqueado at� ao final do ano.
-Em declara��es ao P�BLICO, Joaquim Correia afirma manter a sua posi��o, apesar de considerar positiva a iniciativa agora tomada pelo IPPAR, que lhe ter� sido comunicada pela pr�pria C�mara de Leiria na passada sexta-feira.
-Joaquim Correia justificou a sua posi��o cautelosa sobre o assunto, adiantando que o processo de reconvers�o do Convento de Santo Agostinho em museu se arrasta h� oito anos.
-�Quem estraga velho paga novo�, disse V�tor Mel�cias, afirmando pretender que sejam repensadas as situa��es onde �j� houve entregas apressadas� de antigos edif�cios das Miseric�rdias, ocupados at� h� bem pouco tempo por unidades hospitalares do Estado.
-Segundo V�tor Mel�cias, at� aos anos 70, as Miseric�rdias dedicavam cerca de 90 por cento da sua actividade a ac��es na �rea da Sa�de.
-A ocupa��o dos edif�cios das Miseric�rdias por unidades hospitalares do Estado conduziu, nas �ltimas d�cadas, � reconvers�o das �reas de interven��o das Miseric�rdias portuguesas, que t�m actualmente na assist�ncia social o seu principal campo de ac��o.
-�Ainda se podem queixar se quiserem ...�, gracejou Raposo, ap�s entregar o documento.
-Foi por entre elogios un�nimes dos deputados � sua actua��o e a manifesta disponibilidade para dela �retirar os necess�rios ensinamentos� que M�rio Raposo deixou ontem o Parlamento onde foi formalizar e explicar as raz�es da sua ren�ncia ao cargo de Provedor de Justi�a.
-Poucos minutos depois do final da reuni�o que, durante cerca de tr�s horas, juntou o Provedor demission�rio e os deputados da Comiss�o Parlamentar de Direitos, Liberdades e Garantias, era divulgado um comunicado onde se real�a �a actua��o de elevado m�rito do dr. M�rio Raposo, marcada por crit�rios de independ�ncia na defesa dos direitos dos cidad�os perante a Administra��o, dela se devendo retirar os necess�rios ensinamentos para que sejam criadas as adequadas condi��es institucionais q [...]
-Jean Alesi obteve ontem a �pole position� provis�ria para o Grande Pr�mio de Espanha, que se disputa amanh� no circuito da Catalunha (Barcelona).
-O piloto franc�s foi o mais r�pido na primeira sess�o de treinos de qualifica��o, superando por 35 cent�simos de segundo o seu companheiro de equipa Gerhard Berger.
-A Ferrari conseguiu assim colocar os seus dois carros na primeira linha da grelha provis�ria, um resultado que motiva toda a equipa.
-Depois do segundo e terceiro lugares no GP de San Marino, h� duas semanas, e dos bons resultados conseguidos nos testes realizados nos dias seguintes, tamb�m no circuito de �mola (Berger foi o mais r�pido dos 16 pilotos que estiveram em pista, batendo Schumacher e Hill), a Ferrari mostra em Barcelona que a sua competitividade est� a aumentar, refor�ando a ideia de que se poder� bater em igualdade de circunst�ncias com a Benetton e a Williams, as duas equipas motorizadas pela Renault.
-�O Gerhard tem raz�o, ele tem os p�s bem assentes no ch�o.
-� preciso n�o esquecer que estes s�o os treinos de sexta-feira, n�o os de s�bado.
-Entretanto, Bernardo Vasconcelos, m�dico do Benfica, confirmou ontem que, na sequ�ncia do ocorrido no �ltimo Benfica-Sporting, Jo�o Pinto ser� operado, embora ainda n�o se conhe�a exactamente a extens�o da les�o.
-Como �h� d�vidas se existem roturas totais ou parciais dos ligamentos�, o futebolista far� agora uma artroscopia e s� depois se saber� se h� necessidade de fazer uma ligamentoplastia.
-Tamb�m n�o se sabe quando ou onde ocorrer� a interven��o cir�rgica.
-� �informa��o reservada, a pedido do jogador�.
-Um guineense e uma portuguesa que se dedicavam a angariar trabalhadores para o Kuwait, cobrando uma taxa de dez contos, foram detidos pela Pol�cia Judici�ria.
-Assim, �a Liga nem sequer pode comprovar que de facto est� a ser feito um inqu�rito�, sublinhou Pedro Vieira.
-Quanto aos 75 mil contos que a Secretaria de Estado diz agora ter disponibilizado para a opera��o de salvamento do peixe, �ningu�m sabe� onde, como e por quem foram utilizados, at� porque das centenas de toneladas ali existentes apenas se salvaram cerca de duas dezenas.
-Cumprindo a promessa de se deslocar ao Porto na primeira ter�a-feira de cada m�s, para reuni�es de trabalho com os respons�veis aut�rquicos e os agentes culturais da cidade, o ministro recebeu ontem, entre outros, o director do Teatro Nacional S. Jo�o, Ricardo Pais, a respons�vel do Teatro Rivoli, Isabel Alves Costa, e ainda representantes do Teatro Art'Imagem e do Museu de Imprensa, cuja primeira fase ser� inaugurada pelo Presidente da Rep�blica na pr�xima sexta-feira.
-�s j� habituais cr�ticas � pol�tica cavaquista no dom�nio da cultura, que considerou �economicista� e �fr�vola�, Carrilho acrescentou alguns ataques ao actual l�der do PSD.
-�Neste �ltimo ano, o que � que o PSD prop�s em mat�ria cultural?�, perguntou o ministro, aludindo ao primeiro anivers�rio da lideran�a de Marcelo Rebelo de Sousa, que se celebrava � mesma hora em Santa Maria da Feira.
-A Food and Drug Administration (FDA) -- a ag�ncia americana que fiscaliza os medicamentos e os alimentos -- pode passar a regulamentar o tabaco, em virtude dos efeitos biol�gicos desta subst�ncia.
-Quem o decidiu foi o juiz William Osteen, na sexta-feira passada, naquela que foi considerada �a mais devastadora derrota da ind�stria tabaqueira nos Estados Unidos�.
-A decis�o significa que vai vingar a inten��o da FDA de proibir a venda de tabaco a menores, obrigando as lojas a pedir os bilhetes de identidade para o efeito.
-Ser� tamb�m � FDA que caber� regulamentar, a partir de agora, as m�quinas de venda de tabaco.
-Num pa�s em que -- ainda segundo estat�sticas das Na��es Unidas -- mais de metade da popula��o tem menos de 15 anos, foi estranho para muitos observadores que o n�mero de eleitores potenciais se estimasse em 5,8 milh�es, para uma popula��o total calculada em dez.
-V�rios ajustamentos t�m sido feitos ao longo desta maratona, como no Bi�, em que o n�mero potencial de eleitores passou de 577 para 700 mil.
-Tamb�m em Benguela e no Cunene houve altera��es.
-O que se sabe, concretamente, � que neste momento o n�mero de portadores do cart�o de eleitor em Angola j� ultrapassou os 4,3 milh�es e o alargamento do prazo de registo at� 10 de Agosto permitir� recensear as pessoas que vivem nos lugares mais remotos do territ�rio.
-�Esta situa��o demonstra que o tema ambiente est� na moda.
-Quando a obra foi feita pela primeira vez, h� uns cinco anos, n�o aconteceu nada ao respons�vel.
-Agora que s� se veio agravar um mal que j� estava feito � que as pessoas se interessaram�, afirmou Jo�o Mendon�a, adiantando que o Posto 7 n�o tem nada que ver com a destrui��o da duna e esclarecendo que o bar n�o est� a ocupar ilegalmente a praia -- como sup�s um funcion�rio da Junta de Freguesia do Castelo, a que a praia do Moinho Baixo pertence.
-A licen�a de ocupa��o de dom�nio p�blico mar�timo foi emitida pela DRARN de Lisboa e Vale do Tejo em Maio passado.
-O Governo Civil tamb�m autorizou o funcionamento do bar.
-Neste momento, a DRARN n�o est� a conceder novas licen�as de ocupa��o de dom�nio p�blico, mas tem renovado licen�as antigas, segundo Vit�ria Bruno da Costa.
-Isto porque �v�o ser aplicados Planos de Ordenamento da Orla Costeira (POOC), pelo que n�o vale a pena estar a autorizar investimentos que podem vir a estar em desconformidade com os POOC�, explicou a directora.
-No cantinho da bancada central que estava �habit�vel� havia algumas caras conhecidas.
-Todas do Benfica, claro, que divide muitos jogadores com o seu clube-sat�lite.
-M�rio Wilson foi o primeiro a chegar.
-Depois, sentaram-se o guarda-redes Veiga e o belga Lucien Huth, treinador dos guardi�es �encarnados�.
-O Alverca foi feliz e conseguiu o golo logo aos 4'.
-Foi na sequ�ncia de uma jogada bonita de Ra�l, que subiu bem e deu para Ramirez.
-O mais novo refor�o do Benfica -- do Alverca, no caso -- centrou bem e, na �rea, Akw� cabeceou para dentro da baliza.
-Se a primeira volta das elei��es foi marcada por um inenarr�vel caos organizativo, a segunda correu relativamente bem.
-As chuvas atrasaram as opera��es em algumas regi�es.
-Mas o grande motivo do atraso no an�ncio dos resultados parecia ser a proximidade dos n�meros.
-Na segunda-feira � noite, segundo os dados parciais da CNE, Nino tinha uma vantagem tangencial.
-a vontade de mudan�a dividiu ao meio o eleitorado, algo de impens�vel meses atr�s.
-Um �tunnelier� � uma aut�ntica f�brica debaixo do solo.
-� composto por uma cabe�a escavadora, parecida com uma roda dentada, com pontas de carboneto de tungst�nio.
-� este material super-resistente que permite roer a rocha � m�dia de duas a tr�s voltas por minuto e avan�ar � velocidade vertiginosa de 200 metros por semana.
-Em cada volta desta roda avan�a-se 10 cent�metros e s�o trucidadas cinco toneladas de rocha.
-Depois da cabe�a vem uma aut�ntica f�brica ambulante que tritura as pedras e as envia para o exterior, ao mesmo tempo que vai enfiando uns aros em bet�o armado, imperme�veis e resistentes a uma press�o de 200 bars, que revestem o t�nel.
-O tempo da dinamite, p� e picareta j� acabou h� muito.
-Estes monstros s�o comandados e controlados por meios electr�nicos e inform�ticos.
-�Tinha que ser bonito�, invocaram os respons�veis pelo projecto Y, a nova arma compacta da Lancia para o fim do s�culo, mais um dos refinados produtos do �design� italiano, ainda que sa�do dos esbo�os de um engenheiro.
-Maior que o seu antecessor, o Y10, o Y assume formas tridimensionais e curvil�neas, sempre exclusivas e eternamente femininas.
-Esta cumplicidade de �conversa constante entre v�timas da mesma sociedade� -- na defini��o de Liberto Cruz -- doou ao teatro de marionetas o infort�nio e o orgulho da marginalidade.
-Bonecos e bonecreiros foram desde sempre perseguidos e interditados, e � sintom�tico que o dramaturgo Ant�nio Jos� da Silva, �O Judeu�, tivesse morrido na sacra fogueira da Inquisi��o -- condenado pelas pe�as para marionetas que escrevia e representava no seu Teatro do Bairro Alto.
-Os esbirros da Inquisi��o apareciam sempre aos pares, perturbando o S�culo das Luzes, a julgar pela Sala Ant�nio Jos� da Silva do Museu da Marioneta, em Lisboa.
-Um par de presen�as enlutadas fazem aqui as vezes de personagens das trevas, no meio de uma vitrina de bordados barrocos, azuis debruados e rendas de brilho transparente: os personagens das pe�as �Vida do Glorioso D. Quixote de La Mancha e do Gordo Sancho Pan�a� e �Guerras do Alecrim e da Manjerona�.
-Ambos os textos foram recuperados para a cena pela companhia Marionetas de S�o Louren�o (seguindo textos do �Judeu�), cujos fundadores s�o tamb�m os respons�veis pela constitui��o do Museu -- Helena Vaz e Jos� Gil.
-Foi anteontem empossado o grupo de trabalho interministerial que vai preparar a articula��o entre as bibliotecas escolares e as da rede de leitura p�blica.
-Chefiada pela escritora Isabel Al�ada, a equipa, constitu�da por representantes dos minist�rios da Cultura e da Educa��o, tem tr�s meses para analisar a situa��o e fazer propostas.
-�A administra��o p�blica n�o tem capacidade do ponto de vista veterin�rio para fiscalizar e punir os prevaricadores�.
-Nos termos do novo regulamento, devem ainda ser destacadas algumas inova��es.
-Estabelece-se que �n�o h� lugar � suspens�o ou demiss�o do m�dico veterin�rio coordenador ou dos executores no decurso do programa sanit�rio anual, a n�o ser por motivo de for�a maior, devidamente justificado e aceite pela direc��o regional de agricultura, com posterior homologa��o pela Direc��o Geral de Veterin�ria�.
-Consagra-se tamb�m o direito desta �ltima �efectuar visitas de inspec��o e auditoria t�cnica �s OPP e explora��es nelas integradas, bem como aos produtores individuais, impor as correc��es tidas como necess�rias ou propor medidas sancionat�rias�.
-Antes do relator-geral, falaram o cardeal Angelo Sodano, prefeito da Congrega��o para os Religiosos e os Institutos Seculares, e o arcebispo Jan Schotte, secret�rio-geral do S�nodo, que fizeram a s�ntese dos trabalhos preparat�rios.
-Durante esta semana e parte da pr�xima, os cerca de 350 participantes -- bispos, superiores de congrega��es religiosas masculinas e femininas, peritos e auditores -- estar�o reunidos na �aula sinodal�, ou sess�o plen�ria.
-As interven��es s�o feitas com base nos temas e conte�dos do �documento de trabalho�, elaborado precisamente em resultado do processo preparat�rio.
-Depois desta fase, os participantes dividem-se em �c�rculos menores�, por grupos lingu�sticos, de modo a produzir sugest�es para os documentos finais.
-�Perdoa-nos, Erich Honecker� era o t�tulo de primeira p�gina do antigo jornal do Partido Comunista sovi�tico, �Pravda, segundo o qual os actuais dirigentes da R�ssia teriam aberto um precedente para si pr�prios ao entregar o seu �antigo amigo e camarada�.
-A mulher de Honecker, Margot, abandonou ontem a embaixada chilena em Moscovo, tendo seguido directamente para Santiago do Chile, onde vive a sua filha Sonya, e n�o para Berlim como chegou a ser anunciado.
-Margot, a quem os alem�es de leste chamavam de �bruxa�, foi ministra da Educa��o da ex-RDA e actualmente est� a ser investigada por suspeita de ter for�ado v�rios dissidentes pol�ticos a entregarem os seus filhos para adop��o.
-O professor Marcelo Rebelo de Sousa, ao exigir o referendo nacional, est� a facilitar imenso a resolu��o de t�o momentoso problema.
-N�o estamos esquecidos de que o eng� Guterres fez da sua promessa da cria��o das regi�es administrativas uma das principais bandeiras da sua campanha eleitoral.
-Queremos que cumpra a promessa, mas de maneira digna e sensata.
-O tempo, quente e h�mido, impediu a obten��o de grandes marcas, mas n�o foi obst�culo ao dom�nio f�cil de Pinheiro sobre os seus mais directos advers�rios -- Pedro Pessoa, do Bairro Santiago (31m31s), Lu�s Vieira, da AA Peniche-�ptica 2000 (31m55s) e Carlos Almeida, da UR Dafundo (31m57s).
-Em senhoras, Paula Laneiro tamb�m n�o teve dificuldades em bater Umbelina Nunes, do Casal Privil�gio (267� da geral e primeira veterana), e Lu�sa Almeida, do Cruz Quebradense (295�).
-inicialmente, apareceu na lista de classifica��o como sendo Oct�vio Sousa, do Super Estrelas.
-Isto deve-se possivelmente ao facto de Pedro Pessoa ter feito a prova com dorsal trocado.
-Casos semelhantes a este s�o frequentes nas corridas de estrada que se efectuam em Portugal e dificultam e falseiam a elabora��o das classifica��es individuais e colectivas.
-Magalh�es Mota, que se confessou �muito perturbado� ao tomar conhecimento da morte do seu �grande amigo�, evocou um encontro de ambos, h� cerca de um m�s, na Buchholz, livraria lisboeta que o professor Miller Guerra frequentava assiduamente.
-R. -- N�o.
-Pe�o-lhes para desligar e tentar nova liga��o porque est�o a invadir a privacidade do meu auscultador.
-P. -- Um amigo precisa de emprego e concorre � sua empresa.
-Outra pessoa com melhor curr�culo candidata-se ao mesmo emprego.
-D� o emprego ao seu amigo?
-P. -- O �pay-tv� chega tarde a Portugal?
-R. -- Chegou um pouco atrasado porque Portugal come�ou mais tarde com a rede de cabo.
-Mas se tivermos em conta a nossa dimens�o, ningu�m em t�o pouco tempo cobriu o pa�s como n�s.
-Se estamos atrasados, � um ano ou dois.
-O incidente de ontem � grave mas n�o � o primeiro.
-V�rias vezes, nos �ltimos dois meses, afeg�os e iranianos trocaram acusa��es sobre viola��es do territ�rio ou do espa�o a�reo, alega��es nunca confirmadas por fontes independentes.
-Em Agosto, por exemplo, Teer�o anunciou uma troca de tiros, que ter� sido ef�mera e com um n�mero indeterminado de v�timas, sem conseguir no entanto provar uma agress�o.
-Lu�s de Matos apresenta 45 minutos de magia com �Pequenas Grandes Ilus�es�.
-A m�sica do Chile pelo grupo Alturas .
-A nossa participada A. DE MATOS atingiu uma factura��o de cerca de 1.150.000 contos, mais 48% do que no ano anterior.
-Na sua actividade tomou um peso importante a venda de produtos transformados, na linha de estrat�gia que fix�mos.
-�O mau tempo atrasou consideravelmente as opera��es�, disse Ajit Vardi, um dos respons�veis da coordena��o das opera��es em Bombaim, capital do estado de Maharashtra.
-Entretanto, a �ndia rompeu com a sua tradi��o, aceitando com gratid�o a ajuda material estrangeira.
-Recusou, contudo, as propostas dos governos estrangeiros de enviar para o pa�s equipas de especialistas.
-O Governo indiano considera que disp�e de meios suficientes para realizar com sucesso as opera��es de socorro, mostrando-se reticente, segundo um respons�vel da distribui��o da ajuda internacional, no que respeita a receber pessoal estrangeiro.
- Equipas propostas pela R�ssia, �ustria, It�lia, Alemanha e Su��a estavam a postos para partir para a �ndia.
-Mas o estado de alerta foi suspenso no s�bado com a justifica��o de que j� era demasiado tarde para encontrar sobreviventes e que a �ndia n�o fizera um apelo oficial, considerando suficientes os seus pr�prios recursos.
-Em rela��o � situa��o da Fonte da Telha e �s demoli��es que ali j� se efectuaram, Mar�al Pina afirma n�o saber explicar por que � que parte do entulho se mant�m no local, remetendo a explica��o para o Minist�rio do Ambiente.
-Minist�rio que, ali�s, acusa de ser culpado de parte dos problemas que se vivem na Costa da Caparica.
-O vereador do Ambiente da C�mara Municipal de Almada, CMA, Jos� Lu�s Leit�o, por seu turno, refere que a limpeza das matas que envolvem a zona da Fonte da Telha, que � feita, dentro do poss�vel, pela autarquia, deveria ser compet�ncia do Instituto de Conserva��o da Natureza, ICN, pois a �rea est� sob a sua al�ada, atrav�s da tutela do Minist�rio do Ambiente.
--- �The Edge�, realizado por um neozeland�s em Hollywood, Lee Tamahori, e baseado numa pe�a de David Mamet, acabou de estrear.�The Edge�, realizado por um neozeland�s em Hollywood, Lee Tamahori, e baseado numa pe�a de David Mamet, acabou de estrear.
-Junta Anthony Hopkins e Alec Baldwin no Alaska, depois de um desastre de avi�o.
-Hopkins � um bilion�rio, e pensa que Baldwin, um fot�grafo de moda, est� a dormir com a sua mulher, Elle MacPherson, �top model� a tentar que a sua carreira cinematogr�fica pegue.
-Hopkins diz que, ao contr�rio dos seus filmes anteriores, que �eram t�o divertidos quanto ver tinta a secar� e �bons exerc�cios de disciplina e economia e tudo isso�, este � um filme do tipo que lhe apetece fazer agora -- ac��o.
--- �U-Turn�, de Oliver Stone, com Sean Penn, tamb�m acabou de ser distribu�do nos ecr�s americanos.
-Penn tem um problema no seu carro que o obriga a parar numa pequena cidade de loucos no meio do Arizona.
-De l� n�o vai conseguir sair.
-N�o vai ser um filme que obrigar� Stone a pedir desculpa a dezenas de pessoas nas pr�ximas dezenas de anos, como ele ainda hoje anda a fazer depois de �J.F. K .� e de �Assassinos Natos�.
-Os procedimentos de registo, complicados e morosos, devem s� por si afugentar muitos ciganos, j� de si com baixos n�veis de alfabetiza��o.
-E os interessados t�m de apresentar �s autoridades checas documentos obtidos em tr�s reparti��es eslovacas diferentes.
-�O objectivo da lei � livrarmo-nos de habitantes inconvenientes�, explica Michal Pulo, presidente da maior organiza��o de ciganos da Rep�blica Checa.
-Jorge Sampaio formaliza a sua candidatura � Presid�ncia da Rep�blica, na Reitoria da Universidade Cl�ssica de Lisboa.
-Terceiro anivers�rio da assinatura do Tratado de Maastricht pelos ministros dos Neg�cios Estrangeiros e das Finan�as da Comunidade Europeia.
-A solu��o encontrada parece ser a do encaminhamento da popula��o escolar para os centros de sa�de, entregue aos cuidados do respectivo m�dico de fam�lia, mas capacitando estes servi�os do seu papel crescente na sa�de escolar.
-Se n�o houver, de facto, uma substancial altera��o na conduta dos centros de sa�de nesta �rea, a sa�de escolar tender� a ser o que j� � fora dos concelhos de Lisboa, Coimbra e Porto: a medicina curativa das urg�ncias hospitalares, a que os pais recorrem quando o filho est� doente.
-Representantes das 60 fam�lias que ocupam ilegalmente casas na urbaniza��o do Vale de Arcena, delegados do Centro Regional de Seguran�a Social, respons�veis da C�mara Municipal de Vila Franca de Xira e da empresa propriet�ria dos fogos, a Eurocapital, reuniram-se, na sexta-feira, naquela cidade, para discutirem a forma como ser� feito o levantamento individual que determinar� quais os moradores que ali poder�o continuar a residir no caso de terem dispon�veis as verbas pedidas por cada casa.
-Nesta avenida de luxo, cortada longitudinalmente por um canal, perfilam-se, de um lado, os bancos (al�m dos alem�es, cerca de cem bancos estrangeiros operam na capital da Vestef�lia); do outro, os estabelecimentos comerciais -- Cartier, Armani, Gucci, Van Cleef, etc.
-Ourivesarias que exp�em nas suas montras conjuntos de pulseiras e an�is com pre�os superiores a meia d�zia de milhares de contos, casas de moda com casacos de homem a custar mais de duas centenas de contos.
-Cheira a dinheiro em D�sseldorf, uma cidade em que, mesmo nas horas de ponta (e apesar do tr�fico intenso), as �nicas bichas s�o as dos imigrantes turcos junto ao seu consulado.
-Uma cidade onde at� h� carros de lixo com monitores de televis�o em vez de espelhos retrovisores.
-Jos� Greg�rio (�Grego�) � o novo campe�o nacional de surf, t�tulo conquistado durante a II Semana Radical da Beira Litoral, que terminou no �ltimo s�bado na Figueira da Foz.
-O surfista da APSSOC ganhou a final�ssima, onde estiveram os oito primeiros no conjunto das duas mangas.
-A APSSOC, com tr�s atletas nos quatro primeiro lugares, � a campe� nacional de clubes.
-Entretanto, est� a disputar-se a Ta�a de Portugal, competi��o por equipas, na praia Grande, at� o dia 12 de Agosto.
-Paulo Silva (�Fluorescente�) foi o vencedor do Campeonato Nacional de bodyboard, que tamb�m se realizou na Figueira da Foz.
-Apesar do quinto lugar nas duas mangas, Paulo Silva, da Quinta dos Lombos, venceu a final�ssima.
-O Surfing Clube de Portugal, de S�o Pedro do Estoril, venceu por equipas.
-Na praia Grande, j� terminou a Ta�a de Portugal de bodyboard, disputada por equipas e a vit�ria coube ao Surfing Clube da Caparica.
-Subir ao monte Garizim, no primeiro dia de neve do ano, quando as pedras e os abetos se escondem sob um manto de neve, � ascender ao para�so, t�o grande � a beleza celestial da paisagem.
-Mas Shalom Cohen quer descer do cume da �montanha dos bem-aventurados� para um lugar mais terreno.
-O seu desejo � sentar-se no Conselho Palestiniano, onde Yasser Arafat reservou uma cadeira para um dos tr�s candidatos do �mais pequeno e mais antigo povo do mundo� -- os samaritanos.
-S�o cerca de 600 almas, 284 a viver em Nablus, a maior cidade da Cisjord�nia, e 297 a residir em Holon, pr�ximo de Telavive.
-Arafat sempre defendeu um Estado multi�tnico e, ao apoiar os descendentes de uma das tribos de Israel, a de Levi, filho de Jacob, ele mostra que tamb�m os judeus ser�o bem-vindos numa futura Palestina.
-Al�m disso, ao proteger os samaritanos de Nablus, mostra que vai mais longe do que o Estado hebraico, que n�o d� aos de Holon a oportunidade de estarem representados no Knesset (parlamento).
-A Espanha vai investir at� ao fim do ano 67,6 mil milh�es de pesetas em infra-estruturas ferrovi�rias.
-Mas, ap�s o esfor�o destinado ao Sul, com a linha de alta velocidade Madrid-Sevilha, em 1992, as prioridades de 1995 apontam para o Leste e Norte.
-O chamado �corredor mediterr�neo� (Valencia-Barcelona) e a linha de alta velocidade Barcelona-Narbonne representam metade do investimento total em infra-estruturas de transporte ferrovi�rio.
-A UNITA declarou ontem que o seu l�der, Jonas Savimbi, n�o aceitar� o cargo de vice-presidente que lhe � proposto nos acordos de paz de Angola, preferindo viabilizar um Governo de unidade nacional desempenhando o papel de l�der de uma oposi��o leal, com direito a ser consultado pelo Presidente sobre todas as quest�es nacionais.
-�As pessoas no MPLA temem que a UNITA queira romper o processo, estando deliberadamente a provocar atrasos at� Novembro, data em que expira o mandato do Governo�, disse � Reuter o chefe dos negociadores da UNITA em Luanda, Isa�as Samakuva, explicando que tinha entregue ao Governo e � ONU um documento com propostas concretas.
-Mas �os atrasos correspondem �s dificuldades que temos enfrentado�, acrescentou Samakuva.
-�O Governo tem capitalizado sobre o que n�s n�o fizemos, o que s� contribuiu para enfraquecer a lideran�a da UNITA, dificultando-lhe o cumprimento das tarefas restantes�.
-�A seguran�a � a antecipa��o a todos os n�veis para ver, ao longe, e ser-se capaz de tudo prever -- um mal-estar, uma sacanice dos outros.
-N�o conhe�o um s� piloto que n�o conduza � sua velocidade de seguran�a.
-Segundo o artigo 1� do C�digo da Estrada, � aquela que permite ter o dom�nio da viatura e de parar ao m�nimo imponder�vel.
-Baseado na sua experi�ncia e em testes realizados sob controlo m�dico, Jean-Pierre Beltoise afirma que a maior parte dos condutores n�o tem a menor necessidade de parar de duas em duas horas.
-Antes pelo contr�rio: uma paragem ma�adora pode fazer baixar a vigil�ncia.
-Em contrapartida, se se sentir com dores nas costas ou se um enorme desejo de ir apanhar malmequeres o estiverem a massacrar, uma pausa relan�ar� a energia.
-Uma cochilada?
-Tudo bem, se for capaz de passar em poucos minutos da vig�lia ao sono e vice-versa.
-Especialistas em luta anti-terrorista e no complexo �puzzle� de grupos e grup�sculos afeg�os identificam � partida duas organiza��es como as mais suscept�veis de fornecerem treino a jovens idos de outros pontos do mundo.
-E isto porque possuem um conceito �internacionalista� da �guerra santa� contra o Ocidente.
- o outro � o Markaz Al-Dawat, organiza��o extremista wahabita.
-Os �le�es� de Faro e de Lisboa lutaram ontem muito no Est�dio de S�o Luiz, mas n�o conseguiram marcar.
-Os da casa est�o ainda muito longe de uma boa forma f�sica e a partir dos 25 minutos do primeiro tempo refugiou-se quase sempre na defesa.
-O Sporting dominou, alguns jogadores voltaram a mostrar pormenores interessantes, mas faltou-lhes intelig�ncia no futebol ofensivo.
-Um empate que acaba por ser justo, para duas equipas que precisam ainda de ser muito trabalhadas.
-O Sporting iniciou o jogo com o habitual 4x4x2 de Oct�vio, mas com algumas novidades em rela��o � temporada passada.
-Saber ocupou a direita da defesa, enquanto l� mais na frente Yordanov jogou na esquerda do ataque, cabendo a Hadjy alinhar no meio no apoio ao avan�ado Leandro, ficando a direita a cargo de Pedro Barbosa.
-Lang subiu muito no terreno, ficando Oceano sozinho no apoio � defesa, facto que valorizou o futebol ofensivo dos �le�es�.
-Alberto Jo�o Jardim foi a Porto Santo para conferir posse ao delegado do Governo Regional na ilha, Jos� Rosado.
-O dirigente do PSD da Madeira aproveitou a ocasi�o para dizer que, �at� 1985, n�o houve qualquer desenvolvimento empenhado (no arquip�lago) por iniciativa de Lisboa�.
-Para Alberto Jo�o Jardim, �s� a autonomia pol�tica da Madeira e de Porto Santo juntos permitiu grandes saltos nos �ltimos anos2 e seria �suic�dio para Porto Santo se essa solidariedade e unidade fossem quebradas�.
-O chefe do Governo regional fez apelo ao investimento privado para assinalar que �ao sector p�blico n�o cabe resolver todos os problemas da ilha�.
-Jo�o Alberto da Rocha P�ris, um dos dezanove diplomatas �despromovidos� pelo recente Acord�o do Supremo Tribunal Administrativo, que p�s em causa as promo��es efectuadas em 1987, apresenta hoje as credenciais ao Presidente angolano Jos� Eduardo dos Santos.
-O novo embaixador de Portugal em Luanda tem 46 anos, iniciou a carreira diplom�tica em 1969 e desempenhava as fun��es de director-geral para a Coopera��o.
-N�o � que o s�bio das matrizes encontrou, no PSD, entusiastas seguidores?
-A morgue do Hospital de Beja foi privatizada!
-J� s� falta a Paz eterna ...
-Ainda por cima em Beja, um dos ber�os do colectivismo em Portugal!
-aposto que ele n�o partilharia os m�todos seguidos pelos seus disc�pulos do Baixo Alentejo e era bem capaz de organizar concursos p�blicos abertos ...
-O aval de 600 mil contos do Governo � UGT foi posteriormente abordado por Cunha Rodrigues.
-O procurador adiantou que j� lhe foi entregue um parecer sobre o caso, mas s� dever� pronunciar-se dentro de 15 dias.
-Foi perempt�rio, no entanto, ao afirmar que, se o Supremo Tribunal Administrativo declarar a anula��o do empr�stimo, a central sindical tem de devolver o dinheiro, mesmo que este j� tenha sido gasto.
-A selec��o nacional de futebol e as eventuais agress�es a prostitutas durante o est�gio efectuado antes do jogo com a Irlanda, no final de 1995, tamb�m foi abordada.
-Cunha Rodrigues diz que tudo est� nas m�os do procurador do Tribunal de Cascais, de quem aguarda um relat�rio para breve.
-A extrema direita fez uma campanha eleitoral �moderna�, servindo-se do processo �direct mailing� americano enviando os seus panfletos xen�fobos, do tipo �Hamburgo tem de permanecer um estado alem�o�, pelo correio, em especial a milhares de jovens eleitores.
-E, por ironia do destino, fazem-no a coberto da lei eleitoral hamburguesa que autoriza os servi�os municipalizados a fornecerem as moradas de qualquer habitante, por cinco marcos cada.
-Esta legisla��o, altamente contestada pelos servi�os de protec��o de dados, n�o foi alterada a tempo pelas autoridades da cidade.
-�Uma das coisas que mais me impressionaram foi a desertifica��o do pa�s no interior.
-E todos os esfor�os que t�m sido feitos n�o t�m dado resultado�, disse o Presidente, que desculpou a actua��o dos seus governos ao afirmar que �hoje temos melhores condi��es e melhores t�cnicos do que t�nhamos�.
-Valente de Oliveira, que falou antes do Presidente, foi h�bil ao fazer uma interven��o que quase esvaziava o discurso de Soares.
-�mas estes problemas est�o a ser resolvidos�.
-Quando Borges morreu, a criada apareceu com outro testamento, que era o que desaparecera e que ele tinha procurado antes de partir para Genebra.
-Por isso, Borges fez novo testamento.
-Um e outro dizem a mesma coisa, n�o h� qualquer problema jur�dico quanto a isso, a �nica diferen�a � que, no primeiro, ele deixa uma determinada soma a Fanny e, no segundo, essa soma � um pouco menor.
-Voc� fala constantemente daqueles que se dizem �amigos de Borges�, dos que lhe vinham pedir que �escrevesse os seus pr�logos�, e garante que a est�o a acossar.
-Quem s�o?
-Os primeiros judeus s�rios autorizados a emigrar pelo Presidente Assad j� chegaram aos EUA.
-Em Damasco, outros querem seguir o exemplo, aproveitando este novo privil�gio que amanh� lhes pode ser negado.
-Tchernomirdin est� a cozinhar um Governo com o Parlamento.
-Sabe que se n�o chegar a acordo, � chumbado.
-A R�ssia caminha para uma coliga��o.
-A maioria comunista ter� uma palavra a dizer.
-A nata dos reformistas foi exclu�da ou auto-excluiu-se.
-Os mercados inquietam-se.
-Ieltsin garantiu a Clinton que as reformas ser�o uma prioridade.
-Mas o Presidente est� cercado por pedidos de ren�ncia.
-O Parlamento Europeu condenou ontem a decis�o anunciada pela multinacional Seagate de encerrar a f�brica de Palmela, que ir� provocar o despedimento de 850 trabalhadores.
-A resolu��o aprovada pelos deputados europeus foi apresentada pelo grupo da coliga��o de esquerda e subscrita pelos tr�s deputados comunistas, Barros Moura, Miranda da Silva e S�rgio Ribeiro.
-Considerando que a f�brica est� tecnologicamente bem apretechada, com elevados n�veis de produtividade e com uma excelente situa��o financeira, os parlamentares insistiram na necessidade da Comunidade e dos estados-membros exigirem aos parceiros comerciais, respeito das condi��es sociais m�nimas, tendo por base as conven��es e recomenda��es da Organiza��o Internacional do Trabalho (OIT).
-A Fran�a est� em vias de tomar medidas para a concretiza��o de um embargo comercial ao Haiti, tendo j� pedido aos seus parceiros comunit�rios que acompanhem Paris na tomada destas medidas.
-Um porta-voz do minist�rio franc�s precisou ainda que o Governo est� em vias de congelar todos os bens p�blicos haitianos.
-O ministro dos Neg�cios Estrangeiros, Roland Dumas anunciou ontem, que a Fran�a vai aplicar as decis�es tomadas pela Organiza��o dos Estados Americanos (OEA).
-Decis�es estas referentes � imposi��o de um embargo comercial, at� que o presidente do Haiti, Jean-Bertand Aristide volte ao poder.
-a �m�sica� verbal parece pedir a correspond�ncia com a m�sica do violoncelo, e uma e a outra s�o associadas a ideias e sentimentos de ru�na e ruptura, embora a sua produ��o e perfei��o impliquem, talvez, um al�vio e uma catarse.
-e a sua forma, ou a sonoridade que produz, � expressa por imagens bem vis�veis ou concretas: pontes, arcos, arcadas, bala�stres; rio, caudais, sorvedouro; barcos, lemes, mastros; urnas, blocos de gelo.
-6 Ali�s, h� no poema uma alus�o expl�cita � cor (�brancos os arcos�, para n�o falar na impl�cita dos �alabastros� e dos �blocos de gelos�) e v�rias imagens cin�ticas: �de que esvoa�am�, �por baixo passam�, �se despeda�am�, �caudais de choro�, �tr�mulos astros� ...
-O rond�, ou �rondel� (como lhe chamou o poeta), �Viola chinesa� imita e fala de um som lento, mon�tono, fastidioso, id�ntico ao de uma �parlenda� ou de uma �lengalenga�, que todavia repercute subitamente na consci�ncia do enunciador, ou no seu cora��o, tornando vis�vel uma sua �cicatriz melindrosa� e permitindo a distens�o das suas �asitas�.
-A rela��o cambial entre o escudo e a peseta n�o tem constitu�do mat�ria pac�fica nos �ltimos meses.
-Por um lado est�o os empres�rios, defensores de uma maior estabilidade cambial entre as duas divisas.
-Opini�o diferente t�m por vezes as autoridades monet�rias nacionais, empenhadas em fazer passar a ideia de que o escudo n�o tem sempre de seguir a evolu��o da moeda espanhola.
-Mas os agentes econ�micos e o mercado consideram que h� uma liga��o inevit�vel entre as duas moedas, enquanto o Banco de Portugal e o Minist�rio das Finan�as v�o reafirmando a autonomia cambial do escudo, embora na pr�tica sigam parcialmente a peseta.
-Este tema � alvo de uma an�lise no �ltimo relat�rio da SAER -- Sociedade de Avalia��o de Empresas e Risco, entidade ligada ao ex-ministro das Finan�as Ern�ni Lopes.
-Para a SAER, a recente aprecia��o do escudo face � peseta poder� n�o ter sido a decis�o mais correcta.
-Isto porque, �nestas condi��es, e atendendo ainda a que Portugal e Espanha produzem e vendem, grosso modo, a mesma gama de bens e servi�os, deixar o escudo apreciar-se relativamente � peseta reduz a capacidade concorrencial das nossas empresas no pa�s, em Espanha e em terceiros mercados, ao mesmo tempo que facilita a penetra��o das exporta��es espanholas no mercado nacional e em mercados nossos clientes�.
-Os principais opositores do Presidente russo, Boris Ieltsin, v�o reunir-se hoje em Moscovo para definirem uma estrat�gia que os leve ao poder.
-Foi pelo menos essa a inten��o do ex-vice-Presidente Aleksandr Rutskoi e do l�der do Partido Comunista, Guennadi Ziuganov, quando convocaram o encontro que vai juntar, no centro parlamentar em Moscovo, a oposi��o nacional-comunista e as for�as conservadoras que recusaram assinar, em Abril, o pacto de paz civil de Ieltsin.
-A peseta continuou no topo do mecanismo de taxas de c�mbio do SME onde a divisa portuguesa ocupa agora o terceiro lugar.
-O Banco de Portugal n�o interveio no mercado interbanc�rio.
-A taxa m�dia do �overnight� desceu para 4,949 por cento.
-No mercado da d�vida p�blica foram colocados 15 milh�es de contos de Bilhetes do Tesouro a 182 dias, � taxa m�dia ponderada de 4,4593 por cento, contra 4,4887 conseguidos no �ltimo leil�o da mesma maturidade, realizado a 15 de Janeiro.
-A cria��o da comiss�o de inqu�rito da AMS foi motivada por uma den�ncia de moradores de S�o Marcos, freguesia de Agualva-Cac�m, de altera��es efectuadas nas cartas de ordenamento do PDM, ap�s a sua aprova��o pelos deputados municipais, em que espa�os antes urbanos passaram a zonas industriais.
-Funcion�rios da fiscaliza��o municipal foram tamb�m acusados de aconselharem residentes a venderem as suas propriedades.
-Na proposta de relat�rio elaborada pelo relator, Silvino Teixeira (CDU), constata-se que desde 1982, in�cio da elabora��o do PDM, at� Mar�o de 1993, a autarquia �esteve totalmente alheada da g�nese, defini��o, estudo e acompanhamento� do plano.
-Mas a situa��o n�o melhorou ap�s a aprova��o pela AMS, em Abril de 1994, pois as linhas mestras do ordenamento do concelho n�o foram enviadas para ratifica��o governamental, como a presidente anunciara, mas ter�o ficado �nas gavetas ou prateleiras da C�mara�.
-Mas para al�m dos temas desse �lbum, e em particular da vers�o minimalista de �All apologies�, um original de Kurt Cobain que Sin�ad adoptou j� depois da morte do l�der dos Nirvana, espera-se ainda a interpreta��o de algumas das outras can��es que a tornaram notada, em particular as do �lbum �I Do Not Want What I Haven't Got� (que continha �Nothing Compares 2 U�), j� que as do trabalho que se seguiu, �Am I Not Your Girl?�, constitu�do apenas por vers�es de velhos cl�ssicos da m�sica popu [...]
-Num pa�s com mais de sete mil ilhas e onde os golpes de Estado se foram sucedendo quase mensalmente nos anos 80 e onde a guerrilha fundamentalista isl�mica avan�a na zona meridional do arquip�lago, os incidentes de ontem permitiram � comiss�o de elei��es dizer que �o dia foi relativamente calmo�.
-Os cinco mortos e 26 feridos foram v�timas aparentes da guerrilha independentista mu�ulmana, que atacou com fogo de morteiro v�rias localidades nas ilhas de Mindanao, Sulu e Jolo, de maioria mu�ulmana.
-Nas elei��es locais de 1988, ocorreram 149 mortos, e nas presidenciais de 1992 o balan�o foi de 63 mortos.
-No Porto, a gare do aeroporto de Pedras Rubras era ontem pequena demais para albergar a confus�o de gente que a inundou.
-Havia bichas para tudo, desde a tabacaria at� aos bares, onde as provis�es mostravam uma perigosa tend�ncia para se esgotar.
-As pessoas viam-se obrigadas a improvisar lugares para esperar os avi�es que se iam atrasando.
-Atrasos que, segundo as informa��es recolhidas junto dos balc�es da TAP e da ANA, n�o se deviam � greve dos pilotos, mas ao elevado volume de tr�fego e a um elemento que tem mais poder sobre os c�us que os pilotos: o nevoeiro.
-Os passageiros que se preparavam para partir, na sua esmagadora maioria, para f�rias n�o se mostravam muito preocupados com os atrasos que nalguns casos ultrapassavam as tr�s horas.
-E quanto � t�o falada quest�o de seguran�a, pelo menos Andreia Silva, de partida para Dublin, garantia que �n�o havia meio de transporte mais seguro� e aludia ao acidente da madrugada na portagem dos Carvalhos para exemplificar como viajar por terra � mais perigoso do que pelo ar.
-Mesmo o �Gil�, a mascote da EXPO 98, de bra�os abertos junto � zona das partidas, parecia concordar com ela.
-Sem os necess�rios e competentes requisitos t�cnicos e a adequada experi�ncia para o exerc�cio daquele complexo e dif�cil cargo, dadas as suas ex�guas habilita��es, e sem um m�nimo de conhecimentos de gest�o, este mesmo senhor tem vindo a �gerir� a dita institui��o de maneira desastrada, discricion�ria e in�bil, transformando mesmo aquela j�ia do patrim�nio duriense numa casa arruinada!
-� confrangedor olharmos hoje em dia para os meios de comunica��o social e verificarmos o caos financeiro em que se encontra atolada aquela casa de t�o nobres tradi��es.
-S�o not�cias de penhoras, pelos tribunais, execu��es fiscais, montes de d�vidas � banca e � Seguran�a Social, esbanjamento de v�rios milh�es em neg�cios pouco claros com a Real Companhia Velha, etc. etc.
-Uma gest�o calamitosa e incrivelmente ruinosa que os vinicultores durienses deveriam responsabilizar criminalmente!
-Mas o que � mais espantoso no meio de tudo isto � que toda esta bagun�a provocada pelo senhor Mesquita Montes tem contado com a complac�ncia dos sucessivos governos, nomeadamente os seus v�rios ministros e secret�rios de Estado da tutela!
-Tem contado tamb�m com o completo alheamento do Parlamento, que t�o pressuroso se mostra, por vezes, a discutir assuntos de �lana caprina� e nada faz para esclarecer este monstruoso esc�ndalo!
-E o mau exemplo dos Estados Unidos impede que a maior pot�ncia militar possa herdar a tarefa de controlar os conflitos que persistem ou estejam a caminho.
-A partir de agora, as guerras como a de Angola ou da B�snia s�o praticamente imposs�veis de travar de fora e qualquer interven��o -- cir�rgica ou n�o, em nome da ONU ou n�o -- acarreta um grau de incerteza t�o grande que, ao ser accionada, n�o s� pode eternizar os fogos que se pretendiam extinguir como ainda desencadear inc�ndios em zonas dantes poupadas.
-Foi j� em tom de festa que a Comiss�o Central da Queima das Fitas de Coimbra anunciou o pr�-programa da grande celebra��o dos estudantes deste ano, que ter� pela primeira vez uma mascote: um morcego de ar matreiro, que em sete �poses� diferentes retrata o estudante ao longo dos sete longos dias da Queima.
-a Comiss�o Central continua a contar com a participa��o da Sec��o de Fado, como exige o regulamento, afirmando desconhecer �oficialmente� a decis�o daquela de n�o participar no programa da Queima das Fitas/96.
-Tudo por causa da atribui��o a outro grupo acad�mico, a Fan-Farra, de uma actividade que os Fados consideram sua: o Festival de Tunas (ver P�BLICO de 23/2).
-Nuno Guerra, presidente da Comiss�o Central, minimizou o diferendo entre as duas estruturas e afirmou que �a linha orientadora � trabalhar com a Sec��o de Fado�, pelo que o convite vai ser feito, como � h�bito.
-S� se o Fado n�o aceitar � que a Comiss�o assume a realiza��o dos dois eventos.
-Problema ser� conseguir fazer uma Serenata Monumental sem os fadistas da Academia, que entretanto prometem fazer uma serenata paralela, no mesmo dia e � mesma hora, e em local onde os estudantes n�o poder�o ignorar.
-No entanto, ap�s esta corrida ao d�lar durante a primeira metade da semana, o mercado optou por uma posi��o mais defensiva que provocou um ligeiro recuo do d�lar face � generalidade das restantes divisas.
-Os factores que contribu�ram fortemente para este movimento de correc��o foram, por um lado, os receios de interven��es por parte da Reserva Federal travando a r�pida aprecia��o da paridade d�lar / iene e, por outro lado, o facto de o Bundesbank ter deixado uma vez mais as taxas de desconto e lombarda inalteradas respectivamente nos 5.75 por cento . e 6.75 por cento.
-LLoyd Bentsen, secret�rio do Tesouro norte-americano, afirmou, num discurso proferido na quinta-feira, que um iene fraco n�o � solu��o aceit�vel para os problemas econ�micos no Jap�o e insistiu na necessidade urgente de um est�mulo efectivo que atenue o enorme excedente comercial japon�s.
-Foi com duras cr�ticas ao presidente da C�mara de Vila Real, Manuel Martins, que o �ex-n�mero dois� desta autarquia, Caseiro Marques (PSD), renunciou esta semana ao seu mandato.
-Na sua opini�o, Manuel Martins, que � tamb�m l�der da Concelhia do PSD local e que agora se apresenta novamente como candidato � C�mara, �afunilou o PSD� a n�vel local e �n�o est� � altura de conduzir este partido para o futuro�.
-At� � conclus�o deste complicado processo, a CGD dever� continuar a suspender a execu��o das d�vidas, excepto para as situa��es de abandono.
-Este acordo surge ap�s anos de press�es pol�ticas e sociais para resolver a situa��o irregular das 234 fam�lias que podiam ficar na rua, uma vez que a Caixa Geral de Dep�sitos tinha iniciado autos de penhora.
-A Urbaniza��o da Bela Vista foi constru�da no in�cio dos anos 80, no �mbito de um contrato de desenvolvimento de habita��o celebrado entre o antigo Fundo de Fomento da Habita��o (actual IGAPHE), a Caixa Geral de Dep�sitos e a empresa construtora Amadeu Gaud�ncio, tendo na altura a C�mara Municipal do Montijo favorecido a aquisi��o de um terreno e procedido � isen��o de taxas por ser um contrato de habita��o social com custos limitados.
-O processo de execu��o fiscal vai passar a ser exclusivamente aplicado na cobran�a de d�vidas ao Estado e a outras pessoas de direito p�blico, de acordo com o decreto-lei 241/93 de 8/7/93.
-O fim desta norma � evitar a execu��o fiscal de d�vidas de organismos sujeitos a um regime de gest�o privada, como a Caixa Geral de Dep�sitos.
-Mas n�o ser� aplic�vel aos processos pendentes.
-Relativamente ao FEF do presente ano (um �bolo� global de 253 milh�es de contos), as autarquias portuguesas dever�o, assim, receber no pr�ximo ano mais quase 18 milh�es de contos.
-Um crescimento que, todavia, n�o deixa a ANMP satisfeita.
-�Lamentamos profundamente que as verbas para as autarquias voltem a ser atribu�das em fun��o de uma lei desadequada e injusta, mas infelizmente os partidos n�o se entenderam quanto � promulga��o de uma lei que cumpra a Constitui��o da Rep�blica e que promova uma distribui��o equitativa dos dinheiros do Estado�, criticou M�rio de Almeida.
-Pelo seu lado, Jos� Augusto de Carvalho preferiu sublinhar que o aumento supera em muito o valor previsto para a infla��o no pr�ximo ano (dois por cento), acrescentando que o actual Governo tem cumprido a Lei das Finan�as Locais em vigor.
-�A Associa��o Nacional de Munic�pios Portugueses pode ter outra leitura, mas esta realidade � inequ�voca�, acrescentou.
-Das v�speras da institucionaliza��o do Estado Novo � queda da cadeira que afastou Salazar, meio milhar de cartas trocadas entre o ditador e o seu delfim, que �ilumina zonas vitais de um longo e complexo relacionamento que foi feito de solidariedade e de conflitualidade, de intensidade e de distancia��o, de sintonia e de diverg�ncia�.
-Com pr�vio enquadramento hist�rico.
-Nos pavilh�es da FIL, os visitantes poder�o apreciar a variedade da oferta de embarca��es a motor -- a lancha Campion Marine, de 18 p�s, por 3200 contos; a Status 180, um arrojado exemplar de 18 p�s, com atrelado, a 4730 contos; ou a sofisticada linha italiana Cranchi, especialmente a de 36 p�s e a Azimute, o mais luxuoso �fly bridge� do mundo, que custa 50 mil contos.
-Entre os extremos, v�-se tamb�m uma colec��o de embarca��es da tradicional Bayliner, a refinada Caravelle, Celebrity, Searay, Argus, Chaparral, Rinker, Fairline, Gobbi, Sealine, Nimbus e Cobalt, a �ltima considerada o �Rolls Royce� dos mares.
-Como atrac��es extra, apresenta-se o Balt, um pequeno barco de 5,30 metros, com motor de 50 cavalos, vocacionado para o uso em rios, por 3679 contos, e a Cobia, uma linha de barcos para pesca com consola central.
-Nos veleiros, as op��es n�o s�o tantas, sendo a principal novidade representada pelo Jeanneau 24, de 24 p�s, que se pretende organizar em classe nacional para futuros campeonatos, al�m dos populares e pr�ticos veleiros McGregor e dos conhecidos GibSea, barcos de cruzeiro seguros e confort�veis.
-Em termos de navega��o, h� uma oferta vasta e actual de equipamentos de conv�s e electr�nicos, especialmente sondas (com um novo modelo que permite a visualiza��o do fundo, al�m da proa, o Echopilot Incastec) e GPS (Global Posiotioning System).
-Desde o Ver�o de 1993 mais de sete mil xiitas iraquianos fugiram para o Ir�o, atravessando imensos lama�ais, para escapar �s persegui��es e ataques do Ex�rcito do presidente Saddam Hussein.
-Calcula-se que mais de 20 mil pessoas tenham abandonado as suas vilas e aldeias e se dirijam para �reas pr�ximas da fronteira.
-J� em territ�rio iraquiano contam -- em relatos que t�m surgido nos �ltimos meses, sobretudo na imprensa brit�nica -- o pesadelo que deixaram para tr�s: quil�metros e quil�metros de terrenos lamacentos onde anteriormente existiam p�ntanos, rios, lagos, culturas agr�colas; aldeias destru�das, popula��es massacradas, animais e plantas mortos em consequ�ncia do que se suspeita serem ataques com armas qu�micas.
-As bases de dados piratas existentes em Portugal dedicam-se � afixa��o e difus�o de c�pias ilegais de programas sujeitos a protec��o, de resultados de experi�ncias de penetra��o em sistemas inform�ticos, de informa��o acerca de protec��es, de �portas de acesso� e de �passwords� de entrada nas redes Telenet, Telepac, Itapac e, em alguns casos, n�meros de cart�es de cr�dito.
-Algumas das chamadas �portas de entrada� vendidas eram da Lusa, do Laborat�rio Nacional de Engenharia Civil (LNEC) e da empresa Aeroportos e Navega��o A�rea (ANA).
-A heterogeneidade dos alunos que nos dias de hoje chegam � escola determina diferentes atitudes e, obviamente, diferentes tipos de indisciplinas.
-Durante o debate foram claramente distinguidos dois deles: aquele que � t�pico do ensino preparat�rio e das classes baixas e aquele que se verifica mais no secund�rio e que � protagonizado em conjunto por jovens das classes m�dias-altas, que se sentem protegidos pela sua origem.
-Momentos antes deste verifica��o, Albino Esteves, professor da Secund�ria de Clara de Resende, enunciava medidas preventivas para a indisciplina na escola: o olhar reprovador do professor, o sil�ncio t�ctico, a sobrevaloriza��o dos pequenos sucessos dos alunos mais fracos e o acompanhamento discreto das crises dos alunos.
-De um memorando de Jorge Ferreira sobre a elei��o anual dos l�deres dos grupos parlamentares.
-Poder� dar alguns exemplos concretos do programa que tinha apresentado?
-N�o foi verdade, por exemplo, que os pr�prios livreiros se manifestaram contra a realiza��o de concertos e debates, considerando que isso era desmobilizador dos potenciais compradores?
-Isso n�o pode ser dito fora de contexto.
-fizemos um palco suspenso e as pessoas que convid�mos tamb�m eram um chamariz para o imenso p�blico que acorreu ao local.
-Protestaram, com alguma raz�o, porque os concertos foram previstos tardiamente, visto que as elei��es para a APEL foram muito em cima da data da feira.
-Mas as pessoas acabaram por admitir que t�nhamos feito o nosso melhor.
-Numa reuni�o no final da feira, pedimos desculpa pelo ocorrido e fomos perdoados e ovacionados, porque foi considerada uma iniciativa interessante.
-Na altura, assumi o compromisso de este ano ser dialogante com as pessoas; de preparar a feira com tempo, de tomar nota de um conjunto de cr�ticas.
-Mas pensava que esse modelo seria de manter em 1996.
-Por exemplo, uma das minhas propostas inclu�a um concerto com M�rio Laginha e Pedro Burmester, e tamb�m a vinda de Eunice Mu�oz ...
-O Comiss�rio europeu para o audiovisual apelou anteontem a uma �mudan�a de atitude� da ind�stria europeia do sector, de modo a adaptar-se � globaliza��o mundial das redes de distribui��o.
-A preparar um Livro Verde sobre a pol�tica europeia para o sector, Jo�o de Deus Pinheiro, falando num semin�rio sobre os media, considerou que a Uni�o Europeia devia �encorajar o desenvolvimento de novas e mais eficazes redes de comunica��o transeuropeias�.
-A TVI-Televis�o Independente e a TDF-Telediffusion de France fundaram uma sociedade de teledifus�o para operarem em Portugal, a RETI, que ter� sede social em Lisboa.
-O acordo foi assinado no in�cio do m�s e, na nova empresa, a TVI det�m 55% do capital e a TDF 45%, podendo o capital vir a ter mais participa��es portuguesas.
-Est� prevista a cobertura de 80% do territ�rio portugu�s, atrav�s de 19 esta��es repetidoras.
-As associa��es servem para prestar servi�os � sociedade empresarial e aos fins dos empres�rios.
-Mas, se me pergunta se o parque de feiras de Lisboa ser� mais rent�vel que o do Porto, eu pessoalmente digo-lhe que estou convencido que sim.
-Desde logo por causa do grande afluxo de p�blico ...
-O nome diz tudo.
-O nome do disco, e o nome do grupo que o assina.
-A colec��o completa dos singles dos Pet Shop Boys � um daqueles registos que o consumidor �vido de m�sica pop n�o pode deixar de receber de bra�os abertos.
-Imaginem s� :18 can��es de puro sumo pop, sem bafio nem conservantes.
-Se o formato � sint�tico -- tanto na f�rmula da can��o utilizada pelo grupo como pela sonoridade que a envolve --, neste caso o palavr�o s� tem conota��es positivas.
-Porque Neil Tennant e Chris Lowe t�m, de facto, uma capacidade extraordin�ria para surpreender e agradar.
-Porque sabem ser concisos, sem falsas simplicidades, porque s�o inteligentes, sem armar grandes espalhafatos, porque conseguem ironizar e autoparodiar-se sem fazer figuras tristes.
-�A luta � de todos, o que prejudica os colegas, prejudica-me a mim�, disse Maria Teresa Feio, educadora de inf�ncia de Albergaria, enquanto se preparava para participar na manifesta��o organizada pela Federa��o Nacional de Professores (Fenprof), ontem, em Lisboa.
-Acabou a �America's Cup� de 1992, viva a de 1995.
-Os americanos conseguiram defender a posse do trof�u, mas os desafiantes prometem regressar mais fortes, daqui por tr�s anos, � ba�a de San Diego.
-os cubanos podem simplesmente n�o acreditar que os Estados Unidos os retenham perpetuamente em Guantanamo, ou que os enviem para outros pa�ses, e ent�o a fuga continuar�.
-O est�mulo imediato para a mudan�a de pol�tica foi o receio de que a Florida fosse invadida por uma vaga de refugiados -- uma possibilidade que traria s�rios perigos pol�ticos.
-a incapacidade de Jimmy Carter em conter a vaga de embarca��es vindas de Mariel em 1980 contribuiu para a sua derrota a favor de Ronald Reagan.
-Clinton, cuja pol�tica externa tem uma pobre reputa��o, ficaria seguramente mais vulner�vel �s cr�ticas.
-� claro que nesta perspectiva as autoridades espanholas tudo tentar�o fazer para integrar o pelot�o da frente, cen�rio sem d�vida mais favor�vel a Portugal.
-Mas as coisas em Espanha n�o est�o nada f�ceis.
-A derrapagem da economia acentua-se.
-um em cada cinco espanh�is est�o sem emprego.
-O Governo socialista previa que essa fasquia fosse atingida apenas no final deste ano, depois de um forte aperto na economia, mas, supreendentemente, foi j� alcan�ado.
-Com este estado de coisas, iniciou-se uma forte press�o dos mercados sobre a peseta.
-O Banco de Espanha foi chamado a intervir e come�arem os rumores de que a peseta poderia tomar o caminho da libra e da lira e abandonar o SME.
-Calcula-se o que poderia posteriormente suceder ao escudo, sabendo-se, como se sabe, que os t�cnicos do Comit� Monet�rio aconselham uma desvaloriza��o substancial da moeda nacional.
-Como em Fran�a o clima � tamb�m de incertezas, agravado pelas elei��es marcadas para meados do pr�ximo m�s, a Europa passa nas pr�ximas semanas por um per�odo periclitante.
-T�o periclitante, que se sobrevier nova tempestade cambial, o SME muito simplesmente poder� acabar e dar o lugar � tal UEM acelerada para as economias mais fortes, e mais lenta para os que ainda t�m muito que convergir.
-cada unidade � uma unidade.
-O processo do desejo e da sua imposs�vel miss�o.
-Ao entregar um cargo equiparado a minist�rio � representante de um partido historicamente avesso aos compromissos pol�ticos, Itamar Franco abriu uma crise sem precedentes no Partido dos Trabalhadores (PT).
-�Eu curvei-me �s raz�es do Presidente�, disse Luiza Erundina, que contrariou o veto p�blico de Lula � participa��o do PT no Governo e o pr�prio partido, que j� havia declarado oficialmente a sua oposi��o a Itamar Franco.
-Eleita para suceder ao ex-presidente J�nio Quadros na Prefeitura de S�o Paulo em 1988, Luiza Erundina, de 58 anos, geriu at� ao final do ano passado o terceiro maior or�amento do Brasil.
-�Fui oposi��o a vida toda.
-�s vezes cheguei a ser radical e sect�ria, mas aprendi que a gente s� interfere se estiver dentro do barco�, declarou a ex-prefeita � imprensa paulista, ao justificar a sua presente decis�o.
-O mundo est� a tornar-se �amigo das mulheres�, mas as salas dos conselhos de administra��o n�o.
-Menos de tr�s por cento das empresas ocidentais s�o dirigidas por mulheres, revela um estudo da Organiza��o Internacional do Trabalho (OIT), ontem divulgado em Genebra.
-O rep�rter da �R�dio Elmo� de Pinhel, Craveiro Lopes, foi condenado em tribunal a 14 meses de pris�o e 60 dias de multa por ter criticado a actua��o da PSP, informou ontem a Lusa.
-A pena foi suspensa por 28 meses, atendendo � conduta do arguido anteriormente aos factos e por ter demonstrado �algum arrependimento por os haver praticado�.
-O rep�rter foi accionado por, em cr�nicas emitidas em Julho de 1992, ter criticado o comandante do posto da PSP, subchefe Amadeu Eiras e o guarda Ant�nio Soares, cr�ticas que o Minist�rio P�blico considerou difamat�rias.
-De acordo com o processo, Craveiro Lopes fora detido, meses antes, por aqueles pol�cias �por factos suscept�veis de integrarem il�cito criminal�, ap�s o que ter� dito aos microfones ser �inconceb�vel que, nas m�os de homens sem qualquer escr�pulo, se deposite poder�.
-Em tribunal, o rep�rter afirmou n�o ter tido inten��o de difamar, �mas t�o s� de informar�, n�o pretendendo �atingir a honra e considera��o dos visados�.
-O tribunal considerou, por�m, que as afirma��es de Craveiro Lopes �s�o objectiva e subjectivamente difamat�rias e suscept�veis de atingir sen�o a ess�ncia da personalidade destes, pelo menos o patrim�nio do seu bom nome, do cr�dito e da confian�a por eles adquiridos enquanto pessoas, cidad�os e agentes da autoridade numa comunidade pequena onde todos se conhecem�.
-Em declara��es � Lusa, Craveiro Lopes disse que se limitou a tornar �p�blicas situa��es de persegui��o que ainda perduram�.
-�Se hoje tiver de fazer e dizer o que disse, n�o hesitarei�.
-O presidente da Associa��o Portuguesa de Surdos advertiu ontem que o desenvolvimento da maioria da popula��o surda �deixa muito a desejar�.
-Falando � Lusa do I Congresso Nacional de Surdos, que decorrer� durante o fim de semana em Coimbra, Jos� Bettencourt considerou que �os m�todos de ensino t�m feito tudo ao contr�rio e os resultados est�o � vista�.
-Chamou a aten��o para o facto de �sendo a l�ngua gestual pura e rica do ponto de vista gramatical e lingu�stico, e constantemente ignorada pela sociedade, importa alertar para a sua import�ncia na educa��o, forma��o e na plena integra��o na vida activa�.
-Sem rejeitar o m�todo oralista, Jos� Bettencourt defende que o sistema educacional da crian�a surda deve contemplar l�ngua gestual, escrita e falada.
-A isto, precisou, �damos o nome de comunica��o total�.
-A quest�o dos televisores estereof�nicos tem agora alguma actualidade, uns vez que muitos dos consumidores que compraram aparelhos com essas caracter�sticas antes do in�cio das emiss�es em est�reo s�o agora confrontados com o facto de os seus televisores n�o emitirem em est�reo o sinal que recebem das emissoras.
-Vindo directamente do Algarve, de avi�o, chegou �s instala��es da Igreja ao volante de um Mercedes e vestindo uma �t-shirt�.
-Vestiu depois um fato azul escuro, com gravata vermelha e camisa branca de riscas cinzentas.
-E �culos escuros -- porque estava �muito cansado� -- que tirou para o fot�grafo.
-J� se definiu uma vez como �mo�o de recados� de Deus.
-Qual foi o primeiro recado que recebeu?
-Dentro dos filmes (curtas e m�dias metragens de 17 pa�ses) sobre tem�ticas actuais destaca-se a presen�a de �Black Harvest� de Bob Connoly (Austr�lia), �Aspen� de Frederick Wiseman (EUA), �Face Value� de Johan Van Der Keuken (Holanda) e �Das Ungehobelte Pack� de Nana Swiczinsky (�ustria).
-A retrospectiva / concurso de cinema documental asi�tico inclui ainda a homenagem ao cineasta sueco Stefan Jarl, � qual a Cinemateca Portuguesa adere apresentando duas pel�culas suas.
-Outras quatro obras de Jarl estar�o presentes no festival, simbolizando �a met�dica abordagem de um dos cineastas suecos mais experimentais, mais radicais, tra�ando sempre novas vias no documentalismo�, como salienta Manuel Costa e Silva.
-Tamb�m Portugal se encontra representado com a estreia mundial de �Cren�as e Lendas� de Jo�o Soares Tavares, obra inscrita na retrospectiva RTP, homenageada nestes III Encontros.
-�Nas d�cadas de 60 e 70, a produ��o documentarista em Portugal tinha um ritmo diferente e raizes de produ��o diversas, devido � estrutura das sess�es de cinema que permitia o visionamento de um bloco de filmes curtos e de notici�rios antes da apresenta��o das obras ficcionais do programa.
-Assim, as empresas apostavam em pequenos filmes de prest�gio, longe dos esfor�os de canaliza��o de publicidade que a televis�o hoje mobiliza, para serem projectados nas salas de cinema e esses document�rios passaram a ser, para essa gera��o, a grande escola inici�tica para quem desejava seguir a aventura do cinema�, relembra Manuel Costa e Silva.
-A fase II do terminal �multipurpose�, o novo porto de pesca com a respectiva lota, o sistema de comando e controlo dos terminais petrol�fero e petroqu�mico, diversos acessos rodo-ferrovi�rios e a beneficia��o e tratamento paisag�sticos da zona marginal de Sines, investimentos rondando os 4,7 milh�es de contos, foram as infra-estruturas que Azevedo Soares inaugurou.
-O ministro -- que referiu representarem as receitas do porto de Sines 12 por cento do produto interno bruto do Alentejo, assegurando cerca de 4200 postos de trabalho -- elogiou a �boa colabora��o� entre a autarquia local, a C�mara de Sines, e a Administra��o do Porto de Sines, APS, afirmando que �em Sines disse-se pouco e fez-se muito�, numa indirecta aos problemas entre a Administra��o do Porto de Lisboa e a c�mara da capital.
-Porque � que isto aconteceu?
-N�o � porque todos os condutores fiquem subitamente atacados de uma febre Fittipaldi quando se sentem como que rodeados por algod�o doce.
-O que acontece, explica Robert Snowden, que estuda a percep��o visual do movimento h� mais de dez anos, � que quando est� nevoeiro vemos o mundo com menos contraste.
- �Quanto maior o contraste detectado pelos nossos olhos, mais r�pido as coisas parecem andar�, diz o investigador.
-Isto porque os nossos olhos confundem facilmente uma mudan�a de velocidade com uma altera��o do contraste.
-� que as c�lulas localizadas numa zona do c�rebro chamada ��rea visual 5� s�o t�o sens�veis a uma como ao outro e a linha de fronteira entre estas duas situa��es � t�nue.
-�As pessoas que t�m esta �rea do c�rebro danificada n�o s�o capazes de ver o mundo em movimento.
-Para elas, est� tudo sempre parado, numa imagem muito difusa�, explicou Snowden.
--- de toda a maneira, n�o aceito, enquanto coordenador, pela Antena 1, dos referidos programas, as suas afirma��es de �academismo�, �montagem que deixa muito a desejar�, �sopor�fero�, e a refer�ncia �s �bibliotecas� como espa�o a evitar por quem trabalha em r�dio -- refer�ncia, no m�nimo, curiosa.
-Com participa��o de elementos do grupo, neste caso T� Pereira, ser� lan�ado pela Tribal um CD s� com trabalhos da Kaos (os temas inclu�dos dever�o repartir-se entre os primeiros lan�amentos e os mais recentes) misturados numa �megamix� de T� Pereira.
-Ainda deste, aqui sob o nome de DJ Vibe, ir� ser lan�ado j� em Janeiro um maxi-single j� anunciado pela Kaos, a que se juntar�o os dos Urban Dreams e T� Ricciardi.
-Depois disso, a Kaos tem prevista a estreia do LL Project, do DJ Lu�s Leite, de um novo projecto do Porto designado Algo R�tmico, um novo maxi dos Ozone, e �lbuns destes dois �ltimos projectos.
-Em finais de Fevereiro, princ�pios de Mar�o, ser� editada uma segunda compila��o da Kaos que vai incluir todos os lan�amentos n�o contidos em �Totally Kaos�, mais tr�s edi��es exteriores � editora -- um projecto chamado Duplex de um portugu�s radicado na Alemanha, e mais dois em negocia��o -- e ainda uma remix pelos USL para �Bottom heavy� de Danny Tegnalia.
-A explora��o do �aparthotel�, que ter� 134 quartos -- todos eles com �kitchenete� e distribu�dos ao longo de oito pisos (entre o segundo e o nono) -- caber� � cadeia Orion, pertencente aos s�cios franceses do grupo Amorim, maiorit�rios na Inogi.
-J� a explora��o das �reas comerciais, que se v�o distribuir por tr�s pisos -- o r�s-do-ch�o, o primeiro piso e um �mezzanino� -- est� ainda por definir a quem ir� ser atribu�da.
-�Estamos em negocia��es com v�rias empresas, entre elas a FNAC, mas n�o h� ainda neg�cio fechado com nenhuma delas�, disse ao P�BLICO Almeida Guerra.
-O Decreto Regulamentar 19/91 (B) descobriu que a factura e a guia de remessa permitem controlar o efectivo car�cter, p�blico ou particular, do transporte, pelo que acabou com a guia de transporte.
-Menos papelada � sempre bom, ainda que saiba a pouco.
-Se quiser telefonar -- servi�o manual -- para o Transkei prepare-se para pagar 51000 por minuto, o mesmo que, por exemplo, para o Afeganist�o, Qatar, G�mbia, Brunei ou Honk-Kong.
-J� se quiser falar, ainda por servi�o manual, para Trindade e Tobago, Tortola, Estados Unidos, Jamaica ou Austr�lia, o custo por minuto ser� de 34000.
-Um H�rcules C 130 da For�a A�rea Portuguesa seguiu ontem para Mo�ambique e poder� vir a servir, no s�bado ou no domingo, para o transporte de S�o Tom� para Lisboa de mais um grupo de estrangeiros que entretanto sejam retirados do Huambo.
-Na sua viagem para Maputo, o avi�o militar portugu�s transportou 27 militares mo�ambicanos, dois cabo-verdianos e seis s�o-tomenses, que participaram em ac��es de forma��o em Portugal, para al�m de algum material destinado aos portugueses do batalh�o de comunica��es (BT4) que integra a miss�o das Na��es Unidas em Mo�ambique (Onumoz).
-O gabinete do primeiro-ministro vai apresentar queixa na Alta Autoridade para a Comunica��o Social contra o jornal �Seman�rio�, que ontem titulou em primeira p�gina que �Cavaco deu 2,5 milh�es de contos ao PSD�.
-De acordo com a nota oficiosa emitida pelo gabinete de Cavaco Silva, o referido t�tulo � �completamente falso e abusivo� porque �o primeiro-ministro n�o d� dinheiro aos partidos�, e associa o teor da not�cia a um procedimento legal � luz da lei de financiamento dos partidos.
-Em termos de unidades vendidas, se se venderam cerca de 145 mil LP de pre�o m�ximo, em CD, na mesma escala de pre�o, venderam-se quase 405 mil -- uma discrep�ncia que se acentua na factura��o (176 mil contos em LP de pre�o �top� contra cerca de 817 mil contos em CD tamb�m de �top�), devido ao segundo formato ser vendido sensivelmente pelo dobro do primeiro.
-A cassete do mesmo escal�o continua a n�o ir muito bem.
-Vendendo menos que o vinil: pouco mais de 103 mil, o que corresponde a uma factura��o de cerca de 124 mil contos.
-Os discos mais vendidos s�o os que chegaram ao fim do ano passado j� com maior n�mero de galard�es.
-� o caso por excel�ncia de �Waking Up The Neighbours�, de Bryan Adams, que agora chegou a sextuplo de platina (cada disco de platina equivale � venda de 40 mil unidades).
-As colect�neas de �xitos dos Bee Gees, Queen e Tina Turner tamb�m recolheram mais um galard�o de platina.
-O �nico grupo portugu�s que alcan�ou este estatuto foram os Onda Choc com �Ela S� Quer, S� Pensa Em Namorar�.
-O �lbum de estreia dos Resist�ncia tamb�m j� � disco de platina, mas ainda n�o consta nas contas do trimestre, porque s� o alcan�ou em Abril.
-P. -- Face aos dados de que disp�e, continua a acreditar em poder alcan�ar a maioria absoluta?
-R. -- Continuo.
-P. -- J� percebemos a sua cautela.
-Define a maioria absoluta como um objectivo, mas, se n�o a atingir, isso tamb�m n�o ser� para si uma derrota ...
-O Comit� Central do PCP est� reunido para analisar a situa��o na Uni�o Sovi�tica.
-Em cima da mesa, ainda a situa��o interna do partido.
-Mas os dirigentes ir�o tamb�m poder ler um documento sa�do de uma reuni�o em que o in�dito aconteceu.
-Militantes comunistas encontraram-se em p�blico e exigiram a antecipa��o do XIV Congresso.
-Querem novos dirigentes, nova ideologia, novo programa, novos estatutos.
-Em suma, um novo partido.
-Est�o dispostos a lutar por isso, mas v�o fazer uma pausa at� 6 de Outubro.
-Com uma carteira de t�tulos obrigat�ria para o estudo da obra nemesiana -- �Vitorino Nem�sio.A Obra e o Homem�, ed. Arc�dia, 1978, �Temas Nemesianos�, ed. Angra, 1981, e �Vitorino Nem�sio -- � Luz do Verbo�, ed. Vega, 1988, al�m de ter prefaciado v�rios livros para a Imprensa Nacional-Casa da Moeda, que est� a publicar as Obras Completas --, Martins Garcia encontrou-s pela primeira vez com Vitorino Nem�sio num exame.
-Foi em 1960, na Faculdade de Letras de Lisboa.
-Actualmente a leccionar Teoria da Literatura e Literatura Portuguesa na Universidade dos A�ores (doutorou-se, em 1985, com a tese �Fernando Pessoa: ' Cora��o Despeda�ado ' �), tem sido -- a par de David Mour�o-Ferreira, Ant�nio Manuel Machado Pires, F�tima Morna e Maria Margarida Maia Gouveia -- um dos investigadores que mais tem contribu�do para que Nem�sio n�o caia no esquecimento.
-Contactado pelo P�BLICO, o m�dico confirma ter entregue os medicamentos �a um senhor que se calhar facilitou e despejou [ o lixo ] de qualquer maneira�.
-Esta �, para David Paiva, uma justifica��o suficiente para n�o se considerar �directamente respons�vel� pela situa��o criada.
-Mesmo depois de ter sido informado que, ao in�cio da tarde de ontem, o P�BLICO observou tr�s crian�as -- o Ant�nio, de 8 anos, o Tiago, de 12 anos e o Lu�s, de 10 anos --, todos residentes no bairro camar�rio da Pasteleira a brincar no meio do lixo.
-�Est�vamos s� a mexer nas latas.
-N�o tocamos nos rem�dios� afirmou Lu�s.
-Mas o Bruno, de 10 anos, e tamb�m residente no Bairro da Pasteleira, revelou que o lixo �tinha l� umas seringas que depois pusemos a arder�.
-Apesar da evid�ncia do perigo, David Paiva, limita-se a notar que �n�o se tratam de lixos do tipo hospitalar.
-S�o coisas secas que j� est�o fora da validade�.
-Mas para o respons�vel pelos Servi�os de Fiscaliza��o da C�mara do Porto, Jos� Adriano, os produtos encontrados �representam sempre perigo, mesmo que n�o estejam no prazo de validade�.
-�S�o coisas que j� est�o de tal maneira fora de validade que j� n�o t�m ac��o farmacol�gica�.
-Ou seja, podem n�o cumprir o fim para o qual s�o indicadas mas n�o deixam, por isso, de constituir perigo se forem ingeridos.
-�Penso que n�o porque o tempo tamb�m desactiva os medicamentos�, remata, sem certezas, o m�dico.
-Lu�s Afonso -- Quando comecei a fazer o Bartoon, em 1993, tinha essa ang�stia.
-Mais do que isso, vivia aterrorizado com o facto de ter de arranjar uma ideia todos os dias.
-Hoje vivo em paz com esta rela��o.
-P. -- Criaste condi��es para isso, j� que vives em Serpa.
-Rodeaste-te de algum material especial, como foi?
-O cineasta americano Steven Spielberg apresentou na quinta-feira, em estreia mundial, num p�tio de Liceu Sophie Charlotte, em Berlim, na presen�a de uma plateia de jovens alunos impressionados e atentos, um document�rio bastante emotivo sobre os sobreviventes do holocausto, um CD-Rom, intitulado �O Futuro da Educa��o�.
-�� uma maravilha estar aqui convosco� disse o autor da �Lista de Schindler�, que foi agraciado com a Grande Cruz de M�rito, a mais alta distin��o alem�.
-Porque o �debate� foi um pantanal de lugares-comuns e de manobras de divers�o, no qual os oradores, em vez de encararem objectivamente a realidade dos factos, procuraram, antes de mais, a minimiza��o do papel dos outros.
-At� o moderador do debate contribuiu para o arraial, dando ares de perdi��o que sugeriam a imagem dos negociadores comunit�rios face � impossibilidade de um cessar-fogo na B�snia.
-�E a quota do tomate�, perguntou, a dada altura do caos em que se transformou a discuss�o sobre uma reforma que apenas contempla os sectores das culturas arvenses, do leite, da carne bovina e do tabaco.
-mostrou que, apesar das boas palavras, a capitaliza��o de protagonismo pol�tico est� acima da discuss�o s�ria e prof�cua.
-e o homem da CNA, repetiu a confrangedora ideia que o documento inicial da reforma protegia as explora��es extensivas e que o documento final as penalizava, quando, afinal, poucas linhas se alteraram nesta quest�o.
-A conquista de mercados parece ser, no entanto, a preocupa��o imediata da Soporcel para os pr�ximos tempos.
-At� � data, a rede de distribui��o da Wiggins Teape �demonstrou que a nossa op��o estrat�gica tem sido a mais correcta�, considerou �lvaro Barreto, real�ando a necessidade de um parceiro externo que opere nos mercados mundiais do papel.
- Al�m disso, a Soporcel est� em vias de adquirir uma �importante posi��o� numa distribuidora espanhola, divulgou o presidente do Conselho de Administra��o da Soporcel.
-Os mercados da Europa do Sul s�o para j� os alvos estrat�gicos para a distribui��o do papel produzido pela empresa, principalmente os dos pa�ses Ib�ricos �que s�o os que mostram mais elevada taxa de crescimento�, cerca de 4,5 por cento ao ano.
-Os produtos fabricados s�o, fundamentalmente, o papel de c�pia, o papel de impress�o �offset� e os pap�is de computador, que representam os mercados mais promissores.
-Lu�sa Senos, chefe de Divis�o de Sismologia do Instituto de Meteorologia (IM), relatou os �ltimos progressos da rede nacional de sism�grafos.
-Gerida pelo IM, a rede funcionava desde os anos 70 com nove esta��es anal�gicas em Portugal continental, 11 nos A�ores, uma na Madeira e outra em Macau.
-�Em cerca de 600 sismos no continente, s� em dez a 12 por cento se conseguia calcular os par�metros s�smicos�.
-Raz�o que levou o IM a decidir a instala��o de duas redes digitais.
-Uma das redes digitais, em fase de instala��o entre 1994 e 1997, custar� 150 mil contos, ter� 14 esta��es (12 no continente e duas na Madeira).
-Neste momento, conta j� com seis esta��es no continente.
-Os registos falam por si, pois as esta��es anal�gicas n�o detectavam sismos de magnitude inferior a tr�s na escala de Richter.
-�Em 1995, duplicou o n�mero de sismos detectados.
-Com a rede digital detectaram-se sismos de magnitude inferior a dois�.
-A segunda rede digital, que ser� instalada nos A�ores entre 1997 e 99, ter� 12 esta��es e custar� cerca de 200 mil contos.
-O Trif�sica � um bar da 24 de Julho, isto �, longe das minuscularias do Bairro Alto.
-� muito engra�ado.
-As portas e janelas s�o no n�mero das letras do bar, ostentando, uma a uma, cada letra da palavra T-R-I-F-�-S-I-C-A, em torno do gaveto das Escadinhas da Praia com a 24 de Julho, num vidro fosco, em que s� transparece o corpo da letra.
-Nove corpinhos bem feitos.
-A decora��o tamb�m � divertida.
-Detr�s do balc�o, as bebidas protegidas pela barreira vis�vel de um vidro est�o ligadas a mangueiras, que entornam os preciosos l�quidos computadorizadamente para os nossos copos.
-Isto equivale a n�o poder servir melhor o �whisky� de um amigo, a n�o ser que lhe mangueire dois para dentro do copo.
-E a� tem de se haver com o computador, que lhe cobra os dois!
-Enfim, este conv�vio com computadores custa-nos um bocado.
-� que s�o uns antip�ticos que nunca oferecem copos.
-A n�o ser que os homens, seus donos, lhes ordenem!
-Boa!
-Mas, para al�m de n�o nos oferecer copos, a n�o ser que a obriguem, esta m�quina � muito bonita.
-� t�o gira que a empresa que a comercializa se chama Coisas Giras.
-R. -- Vamos l� a ver.
-nos primeiros tempos, a minha vis�o era a de um homem que vivia numa boa casa, com ar condicionado, boa comida, comodidades.
-Nesses tempos at� olh�vamos com alguma sobranceria para as popula��es, eu ainda n�o me tinha apercebido de que os negros talvez n�o fossem afinal uns selvagens, tinham era uma cultura diferente ...
-Depois, foi na guerra, quando tive de penetrar no mato e andar pelas bolanhas da Guin� ou pelas savanas de Angola, quando descobri povoa��es isoladas, etc., que passei de facto a conhecer �frica.
-P. -- Onde estava quando come�aram os massacres em Angola?
-A anomalia criou dificuldades, nomeadamente, em f�bricas e restaurantes locais.
-Tamb�m, ontem, em entrevista � RDP-Madeira, Alberto Jo�o Jardim, presidente do governo regional madeirense, surgiu em defesa de Jorge Sampaio, numa aut�ntica tr�gua, face � aproxima��o da presid�ncia aberta de Sampaio no arquip�lago.
-Mostrando d�vidas quanto � interpreta��o da lei que revogou a obrigatoriedade do PR ouvir o CEMGFA na recondu��o de um chefe de ramo, Sampaio, disse o l�der do PSD-Madeira, ter� agido bem, j� que, sublinhou, �uma carta daquelas n�o se escreve ao Presidente da Rep�blica�.
-At� porque Fuzeta da Ponte, nas palavras de Alberto Jo�o, n�o era �grande espingarda� e �antip�tico�, devendo por isso ter sido �demitido logo�.
-Depois, Jardim aproximou-se da tese defendida pelo PCP, da exig�ncia da demiss�o de Veiga Sim�o, ao defender que o actual ministro da Defesa, com Marcelo Caetano j� dera �cabo da Educa��o�.
- TEATRO NACIONAL DE D. MARIA II.
-Hoje, �s 21h30; amanh�, �s 16h00 e �s 21h30; dom., �s 16h00; 2�, �s 21h30.
-TEATRO NACIONAL.
-Dias 5 e 7, �s 18h00.
-A Gr�-Bretanha estar� preparada para impor o seu dom�nio directo sobre Gibraltar, para controlar a banca e o sistema legal respectivos, numa tentativa para acabar com as alega��es de que a col�nia se transformou num centro de lavagem de dinheiro, informou ontem o jornal Sunday Telegraph.
-Funcion�rios do Governo brit�nico confirmaram que a Gr�-Bretanha foi aos arames com as posi��es das autoridades gibraltinas sobre a concretiza��o de directivas da Uni�o Europeia, bem como sobre o tema da lavagem de dinheiro.
-O jornal acrescenta que os gibraltinos receiam que a medida seja um primeiro passo para os brit�nicos desistirem da soberania sobre o rochedo, situado num promont�rio no sul de Espanha, devolvendo-o aos espanh�is.
-O jornal garante, embora um porta-voz oficial do Minist�rio dos Neg�cios Estrangeiros n�o o tenha confirmado, que o Governo brit�nico est� pronto para, �antes do Ver�o�, tomar medidas para que Gibraltar deixe o seu estatuto de col�nia com governo pr�prio, passando a depender directamente da Coroa brit�nica.
-Um mi�do de tr�s anos cujas pernas foram cortadas por uma ceifeira-debulhadora foi operado para a reimplanta��o dos dois membros e recupera no Hospital Rei Eduardo VIII em Durban, �frica do Sul, informou ontem fonte hospitalar.
-Amos Mosea brincava no meio de um milheiral, sexta-feira, numa quinta perto de Underberg, a 200 quil�metros da cidade portu�ria de Durban, no Oceano �ndico, quando foi atropelado pela ceifeira-debulhadora e lhe cortou as pernas abaixo dos joelhos.
-Os gritos da crian�a alertaram um vizinho que a conduziu a uma cl�nica local, em estado de coma e sangrando abundantemente.
-Mas o mi�do saiu de coma para dizer: �Estou doente�.
-Conduzido de helic�ptero para Durban com os cotos das pernas mergulhados em gelo, foi imediatamente operado durante oito horas.
-Pouco a pouco, foi-se esquecendo em grande parte o objectivo primordial que para ali levara norte-americanos, paquistaneses, italianos e outros soldados de meio mundo: distribuir comida a muitos africanos que estavam perigosamente � beira da morte.
-E a situa��o passou a ser, em primeiro lugar, a de um confronto cada vez mais agudo entre a for�a expedicion�ria estrangeira e as mil�cias locais, muito em particular a de Aidid, que se tem feito passar por um nacionalista e um paladino da cultura isl�mica.
-O ataque a�reo de ontem, em que participaram nove helic�pteros, e a opera��o terrestre que se lhe seguiu fizeram com que somalis furiosos tivessem morto um fot�grafo da ag�ncia Reuter, o anglo-americano Dan Eldon, de 22 anos, e outro da Associated Press, o alem�o Hansi Krauss, de 30, estando ainda por confirmar a morte de mais um fot�grafo, Hos Maina, e de um operador de som da Reuters Television, Anthony Macharia, ambos quenianos.
-Para medir a largura da regi�o emissora da radia��o, os astr�nomos utilizaram, como se se tratasse de uma aut�ntica lente de aumentar, a bolha de g�s em expans�o que envolve o pulsar.
-O g�s tamb�m constitui um dos restos da supernova e encontra-se em expans�o sob o efeito da onda de choque gerada pela explos�o.
-Visto que o pulsar era demasiado pequeno para a sua imagem ser medida desde a Terra, mesmo pelos telesc�pios mais potentes, a ideia consistia em captar �imagens� do g�s para, a partir da�, extrair a �imagem� do pulsar.
- A bolha de g�s �fornece uma resolu��o equivalente � de uma ' lente ' do tamanho da �rbita da Terra�, explica um comunicado ontem emitido pela Associa��o Astron�mica Americana.
-Para o presidente da CML, �o objectivo da UCCLA n�o � ter dinheiro a prazo nos bancos�, mas �servir as popula��es das cidades que s�o membros�.
-E disse tamb�m que a transforma��o da UCCLA em funda��o, proposta por Pinto Machado, �� uma novidade absoluta para todos os membros da Assembleia Geral�.
-O autarca classificou as suas rela��es pessoais com Pinto Machado como sendo �as melhores� e considerou n�o haver qualquer ruptura no plano institucional, porque �o secret�rio-geral acaba de apresentar a sua demiss�o�.
-Negou ainda que as suas diverg�ncias com Pinto Machado resultem de um conflito pol�tico-partid�rio no munic�pio lisboeta (onde o PP est� na oposi��o) que tenha sido transposto para a UCCLA, o que foi confirmado pelo secret�rio-geral demission�rio.
-Os desafios da globaliza��o e as respostas para o desenvolvimento de �frica na viragem do s�culo s�o o tema de um f�rum de dois dias, a come�ar amanh�, em Lisboa.
-Organizado pela Sociedade de Geografia de Lisboa, em colabora��o com o ISCSP-Instituto Superior de Ci�ncias Sociais e Pol�ticas, o encontro conta com a participa��o de representantes das empresas portuguesas com investimentos em �frica e dos respectivos benefici�rios.
-A C�mara de Palmela vai submeter � aprecia��o da Assembleia Municipal uma proposta que reduz em 0,1 por cento a contribui��o aut�rquica, fazendo com que, em 1995, esta taxa, em vez de representar 1,3 por cento sobre o valor dos pr�dios urbanos, passe a ser de 1,2 por cento.
-Outra declara��o, desta vez vinda do Governo indiano, voltou a deixar preocupadas as cinco pot�ncias nucleares (EUA, Fran�a, R�ssia, China e Gr�-Bretanha).
-Um respons�vel indiano pelo projecto de fabrico de m�sseis, Abdul Kalam, disse que o Agni (Fogo) -- um engenho com capacidade para transportar uma carga nuclear a uma dist�ncia de 1500 metros -- est� pronto a ser produzido em s�rie.
-E outro, com maior alcance, vir� a caminho.
-Segundo o assessor cient�fico do primeiro-ministro indiano, Atal Behari Valpayee, trata-se de um Agni melhorado, com um alcance de 2500 metros, num �estado avan�ado de desenvolvimento� e cuja produ��o j� recebeu a aprova��o do Governo.
-�As san��es n�o nos afectar�o neste dom�nio�, disse ainda Kalam, referindo-se �s penaliza��es econ�micas impostas contra a �ndia pelos EUA, Jap�o e Canad�.
-�O nosso programa nuclear � 100 por cento indiano.
-Um inc�ndio de grandes propor��es deflagrou ontem, cerca das 20h00, na escarpa da Serra do Pilar, em Vila Nova de Gaia, numa f�brica de estatuetas localizada na margem esquerda do rio Douro.
-Consciente da debilidade partid�ria no relacionamento com a sociedade, Gonz�lez apostou forte em independentes de prest�gio.
-O �efeito Garz�n�, a inclus�o na lista de Madrid do magistrado que mais reconciliou os espanh�is com a Justi�a, n�o teve, no entanto, o efeito duradouro que o l�der socialista pretendia.
-T�o-pouco o tiveram as promessas de um �novo impulso democr�tico�, necessariamente regenerador, uma das chaves da sua campanha, porque n�o foram completadas com um lavar da roupa suja a n�vel partid�rio.
-O c�rculo vicioso, entre o enunciado da mudan�a e a prud�ncia aconselhada pelo momento eleitoral, deixou pouco sabor na boca.
-O mau momento seria agravado pelos resultados do primeiro debate televisivo, com um Felipe Gonz�lez acabrunhado pela avalanche das cr�ticas dos conservadores.
-O programa televisivo Falar Claro viveu, na segunda-feira, um dos seus mais acalorados momentos.
-Isto porque o jornalista Joaquim Furtado, sem peias nem concess�es como � seu timbre, decidiu esta semana tomar o pulso ao estado do futebol portugu�s.
-Espetou duas l�minas na cara da boneca.
-Deitou-lhe para cima sangue ou tinta vermelha, n�o se percebia bem.
-Come�ou a bater-lhe com um martelo.
- Cortou-lhe a cabe�a com uma navalha.
-Depenou-a.
-Deve ter passado meia -hora.
-Vera apagou a luz.
-Vestiu o casaco.
-Bebeu �gua.
-Pegou no papel e na caneta e foi-se embora.
-Mais tarde disse que teve a sensa��o que as pessoas estavam � espera do climax que n�o aconteceu.
-De facto, estavam.
-Vera quis mostrar a �usurpa��o da carne� e chamou � sua performance �Foda de Morte� porque num ensaio de Angela Carter sobre Sade, a foda levava � morte das mulheres.
-� a �death fuck�.
-Os automobilistas, esses, continuam � espera ...
-Tr�s centenas e meia de pessoas a ver, ouvir e aplaudir o espect�culo montado pela Associa��o Timorense Lafaek.
-Ontem � noite, num clube desportivo de Darwin, muitos australianos sentaram-se ao lado dos estudantes e levantaram-se para gritar �Viva a miss�o de paz!�, �Viva Timor-Leste�, �Viva Xanana�, quando est� pr�xima a chegada do Lusit�nia.
-Crian�as e adultos da Associa��o dan�aram, vestidas com os trajes e panos coloridos que h� s�culos os timorenses fabricam.
-Leu-se o poeta Borja da Costa e o c�ntico que Xanana Gusm�o escreveu na montanha para a �Mulher Timor�.
-Rui Marques, coordenador da miss�o que quer ir a D�li, foi chamado para ler a carta enviada clandestinamente pelos estudantes timorenses presos na Indon�sia.
-�Obrigado pela vossa visita a Timor-Leste�.
-Depois, num c�mulo de m�sica e emo��o, cantou-se �Peace Mission�, o hino composto e ensaiado para o primeiro dos dois dias de festa.
-�Venham e juntem-se � miss�o de paz.
-(...) Duzentos mil j� morreram.
-Acreditam?
-Acreditam?
-Num local da enorme sala, um jovem timorense vestido de guerreiro solu�ou e chorou abra�ado �s pessoas.
-O movimento ecologista b�lgaro Ecoglasnost pediu aos pa�ses da CEE para fornecer gratuitamente energia � Bulg�ria com o objectivo de possibilitar o encerramento da central nuclear de Kozlodoui, situada no Dan�bio e considerada perigosa pelos peritos b�lgaros e internacionais.
-Os quatro reactores ainda em funcionamento da central, de 440 megawatts cada um, foram constru�dos entre 1974 e 1975 e inspeccionados recentemente por uma miss�o da Ag�ncia Internacional da Energia At�mica.
-Dois deles est�o num estado extremamente envelhecido.
-�Como � que explicamos todas estas medidas israelitas?
-Chamamos a isto terrorismo de Estado organizado�, acrescentou Arafat.
-Enquanto a viol�ncia de palavras entre Israel e a OLP aquece, a viol�ncia continua a marcar a cena no L�bano, onde ca�as israelitas lan�aram ontem mais dois raides contra for�as hostis ao processo de paz.
-No bombardeamento da base da Frente Popular de Liberta��o da Palestina- Comando Geral, na fronteira l�bano-s�ria, ficou ferido um guerrilheiro.
-No ataque anterior contra uma base do Hezbollah, no vale de Bekaa, L�bano, morreu um guerrilheiro fundamentalista e outros tr�s ficaram feridos.
-Ramos Horta n�o veio a Portugal s� para receber os parab�ns pelo Pr�mio Nobel da Paz com que foi distinguido juntamente com o bispo Belo.
-13 anos depois da �ltima vota��o sobre Timor-Leste na ONU, chegou o momento de voltar a levar o tema ao julgamento da Assembleia Geral daquela organiza��o.
-A defesa desta estrat�gia de �guerra total� no plen�rio das Na��es Unidas n�o assenta exclusivamente no impulso que a quest�o timorense ganhou com a atribui��o do Nobel a Horta e a Belo -- Ramos Horta j� tinha sugerido esse passo num memorando que fez chegar ao Pal�cio das Necessidades meses antes de se conhecer a escolha de Oslo --, mas o certo � que o Nobel da Paz timorense constitui um refor�o importante.
-� para o aproveitar que Ramos Horta vem agora pessoalmente insistir na sua proposta.
-�Os que querem passar uma esponja sobre o passado impedem a reconcilia��o�.
-Ele sa�da a esperada vinda do Presidente israelita, Ezer Weizman, �s cerim�nias do 8 de Maio, como um gesto de reconcilia��o por parte da Alemanha.
-Mas, acrescenta, �o ritmo e a forma desta reconcilia��o n�o devem ser ditados do ponto de vista dos culpados, mas pelo das v�timas�.
-Em vez da esperada barracada musical, em Alvalade houve outro tipo de cenas bem menos divertidas.
-Por causa do �perigo de morte� representado pela pala que amea�a que cai mas n�o cai, alguns milhares de pessoas pagaram para assistir ao concerto num local e acabaram noutro, por falta de espa�o.
-�Est� tudo cheio�, diziam elementos da organiza��o, �tente na bancada do lado�.
-O mais conhecido dos ardinas de Lisboa, Carlos Francisco dos Santos, foi ontem a enterrar no Cemit�rio do Alto de S�o Jo�o.
-�Carlos dos jornais�, como todos lhe chamavam, tinha 77 anos e faleceu no domingo, num hospital da capital, em consequ�ncia de uma prolongada doen�a pulmonar.
-Com 57 anos de profiss�o, Carlos dos Santos, tornou-se popular pelos preg�es que usava na venda de jornais e de lotaria, na zona da Baixa e Bairro Alto, e pela maneira af�vel com que se relacionava com toda a gente.
-Fernando foi a figura do jogo de ontem entre o Rio Ave e o Sporting ao marcar tr�s golos ao clube lisboeta.
-Peixe acabou por ser o her�i sportinguista, ao defender, no �ltimo minuto e sobre a linha de golo, um remate que daria o empate ao clube de Vila do Conde.
-No ano passado, os organizadores pensaram em acabar com a corrida, devido � insufici�ncia de apoios.
-os Sinos � uma das provas de estrada com maiores pergaminhos no nosso pa�s.
-Falta agora que os corredores contribuam, com a sua presen�a.
-�N�o Roubar�s�.
-O �roubo� neste epis�dio n�o � de bens materiais.
-Tudo circula � volta de uma crian�a, abanadonada pela m�e natural e criada por outra mulher que reconhece como m�e.
-A primeira vem �roub�-la�.
-A crian�a ir� depois escolher entre elas.
-A Comunidade Econ�mica, por outro lado, dever� preparar as condi��es para a �transi��o gradual para a livre circula��o de mercadorias e servi�os� em todos os Estados que a ela aderirem.
-Mais tarde, quando estiverem criadas condi��es econ�micas, proceder-se-� � cria��o de um �mercado comum de m�o-de-obra�.
-No cap�tulo das bases econ�micas, os membros dever�o acordar ac��es nos dom�nios da pol�tica monet�ria, financeira, alfandeg�ria e de regulamenta��o de impostos.
-Tamb�m se prev� a cria��o de uma moeda �nica, embora, quem o deseje, possa ter a sua pr�pria divisa.
-Ao sair da penumbra, arrastando uma coisa parecida com n�voa cinzenta e oleosa, suspensa a dois palmos da cabe�a, Jo�o Carlos andou tr�s ou quatro passos e parou com um suspiro, como se as suas pernas utilizassem um sistema de suspens�o a ar.
- Via-se que, por v�rias causas, Jo�o Carlos se cansa com facilidade, pois tamb�m baixou os ombros e inclinou o queixo para o peito, sem nunca olhar para os lados das grandes janelas do tribunal.
-E depois a ju�za chamou-o, vendo um homem com uma gabardina enorme, ainda maior que ele, um homem com cabelos grossos e brilhantes como crina de cavalo que tem andado � chuva, sem acompanhamento veterin�rio e com pouca forragem.
-Os olhos dele sa�am para fora da cara e quase chegavam ao n�vel da cana do nariz, no caso de se apanhar de perfil a figura perdida e magr�ssima de Jo�o Carlos, que tanto podia ter vinte e poucos anos (estragados), como muitos mais, e de facto tinha.
-Com 37 anos, Jo�o Carlos acabara de ser preso mais uma vez por furto num supermercado.
-passou as caixas registadores trazendo escondidas nos bolsos 12 embalagens de 10 l�minas de barbear.
-Mas poderia vende-las.
-� ali�s certo que as venderia num reles mercado negro, com tanto orgulho como, h� umas d�cadas, uns senhores vendiam numa ruela da Baixa de Lisboa os esticadores de colarinho, e parece que disso viviam (disso e de preservativos clandestinos).
-Madrid tamb�m fechou em alta de 0,55 por cento (mais 2,05 por cento), com o seu �ndice geral a atingir 376,82 pontos.
-A alta madrilena foi causada pela abertura em alta de Wall Street e pela subida dos mercados obrigacionistas, que compensaram os sustos com o an�ncio da demiss�o do general russo Alexander Lebed.
-O volume de neg�cios da sess�o de ontem 31,2 milh�es de contos.
-Em Frankfurt, registou-se uma subida de 0,05 por cento, com o �ndice DAX a fechar a 2.176,26 pontos, devido � baixa que atingiu Wall Street na quarta-feira.
-Nos mercados orientais, T�quio foi a excep��o e, ao meio da manh�, a bolsa tendia para uma alta marginal, com o �ndice Nikkei a marcar 12,07 pontos no fim da sess�o da manh�.
-As baixas dos demais mercados marcaram uma tend�ncia.
-Em Hong-Kong, no entanto, houve uma quebra e o �ndice Hang-Seng atingiu 61 pontos negativos, com uma subida posterior para 46 pontos.
-Singapura tamb�m fechou com uma ligeira baixa de 2,54 pontos.
-Vance destacou a aceita��o pelos beligerantes do envio de uma for�a de manuten��o da paz e sustentou que o novo cessar-fogo �indica, ao contr�rio dos anteriores, os procedimentos necess�rios para um acordo espec�fico�.
-�O ponto mais cr�tico reside agora nas possibilidades em manter o cessar-fogo.
-Agora vou para Nova Iorque, onde relatarei a Butros-Ghali [ secret�rio-geral da ONU ] o que aconteceu nos �ltimos dias�, afirmou antes de entrar apressadamente no Mercedes preto, j� com o motor a trabalhar.
-Antes, tinha-se recusado a comentar quais as suas pr�ximas iniciativas caso o acordo n�o resulte.
-Vincent Askew, com 20 pontos, liderou os Seattle SuperSonics na sua vit�ria sobre os Los Angeles Clippers no �nico jogo da Liga Norte-Americana de Basquetebol profissional (NBA) realizado no domingo.
-Terry Dehere, dos Clippers, foi o melhor marcador do encontro, com 24 pontos.
-Os SuperSonics alcan�aram o seu terceiro triunfo na �poca e est�o em quarto lugar na Divis�o Pac�fico.
-Quanto aos Clippers, ainda n�o conheceram o sabor da vit�ria e seguem com cinco derrotas.
-A China quer organizar em 1997 um Grande Pr�mio de F�rmula 1 no circuito de Zhuhai, que tem 4,83km de per�metro e est� situado perto de Hong Kong.
-Nas obras previstas para o complexo, que incluir� um campo de golfe e seria terminado em 1996, as autoridades pretendem gastar cerca de 30 milh�es de contos.
-Se a Federa��o Internacional do Autom�vel, que j� aprovou os planos de altera��o ao circuito, aceder aos sonhos dos chineses, estes garantem a presen�a de 200 mil espectadores.
- Folha marcou em Chaves o seu segundo golo do campeonato, que foi considerado pelo P�BLICO como o melhor desta jornada.
-Mais um golo conseguido em jogada individual.
-O portista pegou na bola na esquerda, progrediu pelo centro do terreno, entrou na �rea e, com dois toques preciosos, sentou os dois centrais flavienses, Manuel Correia e Amarildo.
-Depois, perante a sa�da de Orlando rematou de p� esquerdo j� a curta dist�ncia da baliza.
-Depois desta jornada, que rendeu 18 golos, Juskowiak e Marcelo continuam a liderar a lista dos melhores marcadores, ambos com oito remates certeiros.
-Os dois jogadores voltaram a marcar no fim-de-semana, curiosamente ambos em bonitos remates de cabe�a.
-�Diatriba de amor contra un hombre sentado� assinala amanh� a estreia na escrita teatral do colombiano Gabriel Garcia Marquez.
-Romancista, contista, cronista e guionista, faltava a �Gabo� experimentar, em livro, o teatro, um meio para o qual outros, por ele, verteram muito dos seus contos.
-A tiragem inicial da obra, um mon�logo, ser� de 50 mil exemplares.
-Segundo o jornal de Bogot� �El Tiempo�, este texto de �Gabo� estar� nos palcos em breve, numa encena��o a cargo de Ricardo Garcia.
-A obra, redigida em 1987, esteve sete anos na gaveta antes de ser editada.
-Sete b�ias de sinaliza��o da barra do Douro v�o ser hoje recolocadas, marcando o percurso da Cantareira at� Vila Nova de Gaia.
-Cinco desses aparelhos est�o equipados com um sistema de ilumina��o, para que a entrada nocturna de embarca��es se possa fazer com toda a seguran�a.
-As b�ias tinham sido arrastadas durante as cheias de Dezembro e Janeiro passados e deviam ter sido repostas logo no in�cio do m�s de Mar�o.
-Uma fonte da Capitania do Porto do Douro disse ao P�BLICO que �o sistema vai entrar imediatamente em funcionamento�, colmatando assim o processo de recoloca��o das b�ias destru�das pelas cheias, que ocorre desde Fevereiro.
-Fica assim totalmente sinalizado o percurso entre a barra do Douro e a Ponte de D. Lu�s I, para o qual foi necess�ria a substitui��o das b�ias originais por outras de maior dimens�o, enviadas pela Direc��o de Far�is.
-As novas unidades ficar�o seguras por blocos de bet�o.
-Iliescu tinha anunciado que se deslocaria amanh� ao vale de Jiu, mas ontem os servi�os presidenciais disseram que a viagem fora cancelada.
-Os tr�s atletas portugueses em ac��o no quarto dia de provas n�o foram felizes.
-A sportinguista Teresa Machado foi a primeira a entrar em ac��o, lan�ando no segundo lugar do grupo A qualificativo do disco.
-a portuguesa, muito nervosa, falhou por completo o primeiro lan�amento.
-No segundo ficou a mais de dez metros do seu recorde nacional (63,70m) com 53,60m, e s� no derradeiro intento (a qualifica��o s� tem tr�s) se aproximou um pouco mais do que vale, com 56,02m, mas n�o chegou.
-Foram precisos 61,22m para ir � final.
-Quem brilhou de manh� foi Lucr�cia Jardim (Benfica), na eliminat�ria de 200m.
-Correu a s�rie 4 e ganhou � russa Natalya Voronova (23,45s) e � americana Gwen Torrence, a campe� ol�mpica (23,46s), com 23m45s.
-De tarde, por�m, tudo acabaria em frustra��o.
-No terceiro quarto-de-final precisava de uma posi��o nas quatro primeiras para ir �s meias-finais e perdeu esse precioso quarto posto para a jamaicana Dhalia Duhaney mesmo nos metros finais, com 23,11s contra 23,16s.
-Ganhou a francesa Marie-Jos� P�rec com 22,73s.
-Resta a pequen�ssima consola��o de ter feito o melhor tempo nacional de 1993.
-De que tem medo o IPACA?
-O Instituto Portugu�s das Artes Cinematogr�fica e do Audiovisual (IPACA, ex-IPC) tamb�m n�o respondeu �s perguntas formuladas pelo P�BLICO.
-Respons�veis seus come�aram por pedir que as perguntas fossem enviadas por fax, para serem respondidas por escrito -- �para n�o haver mal entendidos�.
-O fax foi enviado, tal como pedido, � presidente do Instituto, Zita Seabra.
-Quarenta por cento da �gua pot�vel usada em sua casa vai pela sanita abaixo.
-O Presidente da Rep�blica, M�rio Soares, enviou no in�cio da semana um telegrama � Coreia do Norte, atrav�s do embaixador de Portugal em Pequim, apresentando condol�ncias pela morte de Kim Il Sung, soube o P�BLICO junto de fontes coreanas em Lisboa.
-Portugal tem rela��es diplom�ticas com a Coreia do Norte desde 1975 e � representado em Pyongyang pelo chefe da sua miss�o diplom�tica na capital chinesa.
-O telegrama � dirigido a Kim Jong Il, filho do falecido Presidente da Coreia do Norte e seu presum�vel herdeiro.
-O primeiro-ministro, Cavaco Silva, fez apresentar na embaixada norte-coreana em Lisboa, atrav�s do seu adjunto diplom�tico, �sentidos p�sames� pela morte de Kim Il Sung, falecido h� uma semana, com 82 anos.
-Entretanto, ontem, a Coreia do Sul, encorajada pelos sinais tornados at� agora p�blicos sobre o que se vai passando na semana de luto no vizinho Norte, indicando uma aparente passagem calma de poderes de pai para filho, decidiu levantar parte do alerta especial em que tinha colocado as suas tropas, na sequ�ncia do falecimento do �Grande L�der�.
-P -- Mas as Assembleias Municipais s� t�m parecer vinculativo numa segunda fase ...
-R -- Sem d�vida.
-Mas n�o faria muito sentido, se as Assembleias Municipais se pronunciarem neste ou naquele sentido j� nesta fase, vir a ser aprovada uma lei de cria��o das regi�es contrariando uma vontade que se sabe que vai ser manifestada ulteriormente.
-Mas o sistema de inscri��o foi alterado h� cerca de um ano.
-Deixou de ser for�oso as pessoas deslocarem-se � sede para se inscrever em turnos de 15 dias num dos centros de f�rias.
-Agora podem tratar directamente, em contacto telef�nico ou por fax, com o centro onde pretendem passar f�rias.
-O sistema antigo s� se mant�m para os Centros de Entre-os-Rios, S�o Pedro do Sul e Foz do Arelho.
-�N�s, dentro de Espanha, sempre manifest�mos que deveria haver interesse por Portugal, que sempre teve um certo receio, porque a hist�ria foi o que foi�, comenta ao P�BLICO Jordi Pujol, �se temos uma identidade pr�pria e n�o temos medo, muito menos os portugueses, que t�m um Estado pr�prio�.
-� desta forma directa que o presidente da Generalitat, sem d�vida um dos dirigentes pol�ticos mais influentes de Espanha, equaciona as rela��es entre os dois pa�ses peninsulares.
-Pujol recebe oficialmente pela primeira vez o Presidente da Rep�blica de Portugal -- uma anterior visita de M�rio Soares, no Outono de 1987, foi privada --, mas n�o esquece o ocorrido h� quase nove anos.
-�A visita de Soares foi privada mas muito positiva para n�s�, assegura, relembrando tempos de busca de protagonismo que, nos �ltimos tr�s anos, com socialistas e conservadores no poder em Madrid, deram lugar � condi��o de parceiro indispens�vel.
-Ainda quanto a altera��es na Liga de Clubes, a direc��o ser� reduzida de quatro para tr�s membros, passando apenas a haver um presidente (eleito em AG), um director-executivo e outro elemento eleito pela direc��o da Liga, onde t�m assento onze clubes.
-Este �ltimo ser� o �nico que n�o coincide com o OA.
-De resto, decidiu-se ainda aumentar os elementos da Comiss�o Arbitral da Liga, que ser�o nove em vez de sete.
-Todas estas decis�es, disse Dam�sio, foram tomadas por unanimidade.
-A FPF confirmou ontem a repeti��o do Benfica-Sporting para amanh�, no est�dio do Restelo, negando assim provimento � contesta��o do Sporting.
-A hora do jogo, referente � 30� jornada do campeonato nacional e repetido por alegado erro do �rbitro na expuls�o do benfiquista Caniggia, ficou dependente do clube de Alvalade.
-A d�vida � entre as 18h30 ou as 20h30, esta �ltima proposta pelo Benfica, para permitir a transmiss�o televisiva.
-�Confundir identidade e fisionomia: um sonho tenaz�.
-Uma vez em interac��o com os outros, a gest�o das nossas express�es faciais representa um capital simb�lico que implica um dom�nio e um controle socialmente constru�dos.
-Os presentes autores, seguindo de perto as coordenadas te�ricas e os par�metros metodol�gicos e cronol�gicos de Foucault, prop�em-nos uma hist�ria do modo como a emerg�ncia da racionalidade moderna instituiu uma tens�o constante entre o que � org�nico, e como tal objecto de um saber exacto, e o que � expressivo, logo pass�vel de uma hermen�utica que valida processos cont�nuos de reclassifica��o social.
-Trata-se de uma separa��o politicamente prof�cua, j� que, ao longo de os s�cs. XVI a XIX, o homem ter� interiorizado a necessidade de vigiar a maior ou menor conformidade entre rosto, preceitos �ticos e poder social, ao mesmo tempo que lhe pedem que seja singular e aut�ntico.
-Uma verdade subjectiva incorporada atrav�s de normas sociais e, inversa e complementarmente, pr�ticas sociais que avaliam do grau de integra��o de cada um.
-O �cuidado de si� como inscri��o do poder.
-No termo de um Ver�o em que a febre dos div�rcios e esc�ndalos delapidou o patrim�nio de prest�gio da coroa brit�nica, foi a vez de a libra cair em descr�dito.
-Tal como a rainha Isabel II, John Major limitou-se a acompanhar os factos.
-Mas se o sil�ncio pode favorecer a recupera��o da imagem da coroa, a indecis�o � mortal, tanto em pol�tica como em economia.
- O primeiro-ministro brit�nico n�o pode querer assinar Maastricht e manter a libra fora do SME e da sua correspondente disciplina.
-Como n�o pode continuar a afirmar a prioridade da luta contra a infla��o deixando a libra desvalorizar-se.
-Menos pode ainda permitir que o seu ministro das Finan�as escreva aos colegas de Gabinete notas prevendo que a libra ir� continuar fora do SME por meses, talvez anos.
-O presum�vel autor de 15 assaltos ocorridos recentemente em resid�ncias de Set�bal e do Pinhal Novo, atrav�s da extra��o do canh�o das fechaduras, foi detido pela PJ daquela cidade e viu a pris�o confirmada pelo tribunal local.
-Trata-se de um jovem de 20 anos, que ter� confessado os crimes e a venda dos objectos roubados para a compra de hero�na.
-O detido saiu pouco antes do in�cio da s�rie de assaltos de uma institui��o de recupera��o de toxicodependentes, aparentemente reabilitado, e come�ara a frequentar um curso de forma��o profissional financiado pela Uni�o Europeia.
-O facto de os assaltos ocorrerem, por norma, � hora do almo�o ou em per�odos a que o jovem faltava �s aulas p�s a PJ na sua pista.
-N�o foi divulgado o valor dos objectos em ouro e electrodom�sticos roubados.
-Os dois autores de um assalto a uma bomba de gasolina da Cepsa em Vila Franca de Xira, ocorrido na madrugada de ontem, foram detidos cerca de uma hora depois na Pra�a de Espanha, �s 4h25, em Lisboa.
-Os mesmos indiv�duos s�o acusados de outros tr�s assaltos ocorridos em Coimbra entre o dia 14 de Agosto e a tarde da �ltima quinta-feira.
-A PSP sabia que os assaltantes se deslocavam numa carrinha Renault Express, facto que a levou a mandar parar o ve�culo onde seguiam.
-Levados de volta a Vila Franca, os assaltantes, de 28 e 31 anos, foram identificados.
-Nos quatro assaltos, preferencialmente feitos a postos de gasolina, foram roubados mais de 300 mil escudos.
-A viatura em que seguiam era igualmente roubada.
-Cerca de metade dos resultados apurados, concretamente sete milh�es de contos, vai ser distribu�da ao accionista (Estado).
-Quanto ao �cash flow� da EDP, atingiu os 128,3 milh�es de contos em 1991.
-�Estes resultados foram positivamente influenciados pelo acr�scimo da procura de electricidade, pela estabilidade dos pre�os dos combust�veis importados para produ��o de electricidade e pela conten��o dos restantes custos de explora��o�, refere a mesma nota.
-Como dividir os minist�rios?
-Os dirigentes turcos Mesut Yilmaz (ANAP, direita) e Necmettin Erbakan (Refah, islamista) iniciaram ontem o processo de forma��o de um Governo, decidindo criar uma comiss�o encarregue de repartir os minist�rios entre os dois partidos.
-Esta quest�o esteve na origem das diverg�ncias que surgiram durante as negocia��es do fim-de-semana e que quase puseram em causa os esfor�os para um acordo.
-A comiss�o mista dever� iniciar amanh� os seus trabalhos que, espera-se, estejam terminados no fim da semana.
-�Cheg�mos a acordo sobre a maior parte das quest�es, s� restam algumas diverg�ncias menores�, explicaram Yilmaz e Erbakan na confer�ncia de imprensa conjunta que deram ontem.
-Segundo a ag�ncia Anat�lia, o Refah aceitou que Yilmaz seja primeiro-ministro at� ao in�cio do pr�ximo ano.
-Em seguida, se for aplicado como previsto o princ�pio da rotatividade, a Turquia dever� passar a ter o seu primeiro chefe de Governo islamista.
-O �nico empate de ontem faconteceu no jogo que op�s o Friburgo ao Bayern Leverkusen (1-1).
-Anteontem jogaram Werder Bremen-Nuremberg (2-3) e Hansa Rostock-Wolfsburg (3-3).
-Os marginalizados do sistema de ensino: que solu��o?
-Os desfavorecidos: que a solu��o para os marginalizados do sistema de ensino?
-O Governo admite criar uma linha de cr�dito bonificado para ajudar a atenuar os preju�zos do temporal que nos �ltimos dias afectou as regi�es do interior Norte e Centro.
-Quem o diz � o secret�rio de Estado da Administra��o Interna, Armando Vara, que passou o dia de ontem a inteirar-se dos efeitos da intemp�rie em Bragan�a, o distrito mais atingido, mas onde j� n�o h� aldeias isoladas.
-�Um Vestido para cinco mulheres� � a pe�a encenada por Diogo Infante que transformou Margarida Pinto Correia numa loura.
-Um texto em torno do �sagrado matrim�nio� no qual se discute as possibilidades de encontrar um homem que n�o seja casado, nem maricas e tenha emprego.
-Um teatro assumidamente comercial.
-O Hospital de Santo Ant�nio, no Porto, dever� pedir ainda esta semana � Lipor para ali depositar as v�rias dezenas de toenaladas de cinzas resultantes da queima de lixos hospitalares que, h� um ano e meio, se acumulam em contentores de pl�stico.
-� o resultado de um of�cio enviado na semana finda pelo Minist�rio do Ambiente, o qual atesta a inocuidade daquelas cinzas e aconselha a sua deposi��o do aterro de Ermesinde.
-As esc�rias do Santo Ant�nio v�o, assim, passar a conhecer um fim semelhante � generalidade das cinzas produzidas pelas incineradoras hospitalares.
-Mais complicada parece a situa��o do Hospital de Guimar�es.
-Desde o encerramento, em Julho, da incineradora do Hospital de S. Marcos, de Braga, que ali s�o tratados os res�duos de todas as unidades de sa�de do distrito, estando a laborar perto do seu limite.
-Toxicodepend�ncia que o levara a contrair o v�rus da sida.
-Cauteleiro de profiss�o, era, portanto, seropositivo, embora a doen�a estivesse ainda numa fase controlada.
-Nascera na freguesia de Miragaia, no Porto, e estava em Santa Cruz do Bispo.
-Na cadeia era bem-comportado e ocupava-se em trabalhos de faxina.
-Suicidou-se a 7 de Agosto.
-Sem deixar qualquer sinal que exteriorizasse o seu estado de esp�rito, uma conversa com algu�m.
-Sa�ra da cela �s 8h30, pedindo ao guarda para voltar pouco depois, para descansar.
-�s 9h30, encontravam-no enforcado, com um len�ol, nas grades da cela.
-O caso est� a ser analisado pela Direc��o Regional de Educa��o do Centro e o Coordenador da �rea Educativa (CAE) j� admitiu n�o haver �condi��es objectivas para que os professores executem as suas tarefas� e continuem as actividades lectivas, sobretudo enquanto o director do Col�gio do Mondego se encontrar ausente no estrangeiro.
-Mas o Sindicato dos Professores da Regi�o Centro (SPRC) reagiu, pedindo a demiss�o da direc��o do instituto de reinser��o.
-A situa��o dos professores deste �reformat�rio� � complicada e complexa, o que motiva a maior parte dos protestos do SPRC.
-� que os professores colocados no Col�gio do Mondego pertencem � escola b�sica do 2� e 3� ciclo de Santa Clara, na Guarda, institui��o para a qual concorrem.
-S� que esta EB 2,3 tem um protocolo com o Col�gio para a disponibiliza��o do seu corpo docente.
-Sendo assim, v�o parar ao instituto de reinser��o social professores �sem experi�ncia profissional e sem forma��o adequada � situa��o�.
- No outro dia, apareceram l� dois guerrilheiros do PAIGC.
-Um deles olhou para mim e reconheceu-me logo.
-Era Oto, um ex-controlador de tr�fego a�reo em Bissalanca que se juntara � guerrilha.
-Deu-me um ma�o de cigarros e sossegou-me.
- No dia seguinte, um domingo, cheg�mos a Conakry.
-Levaram-me ao Minist�rio da Defesa para encontrar algu�m a quem me entregar, mas o edif�cio estava vazio.
-Demos imensas voltas pelos corredores at� os gendarmes decidirem levar-me para uma esquadra de pol�cia.
-No dia seguinte, abriram-me a porta da cela, fizeram-me subir umas escadinhas e entrar para uma sala.
-Sentados a uma mesa trapezoidal encontravam-se cinco indiv�duos de �grand boubou� [ vestimenta mu�ulmana ] at� aos p�s, com os seus gorros t�picos, todos muito grandes e com ar s�rio.
-Transportado para os Estados Unidos, foi mantido nove meses numa cela sem luz, vigiado 24 horas por dia por uma c�mara de televis�o e por guardas prisionais.
-�Lavagem ao c�rebro�, press�o do advogado na altura que lhe deu conta da inevit�vel cadeira el�ctrica na falta de uma confiss�o, alega o presum�vel homicida de Luther King.
-James Earl Ray, reza a publicidade da Thames, �reclamou a sua inoc�ncia e pediu julgamento.
-Ningu�m ouviu.
-At� agora�.
-Os bastidores do neg�cio que levou � entrada do Banco Central Hispano (BCH) no capital do Banco Comercial Portugu�s foram a gota de �gua.
-Ali�s, muito possivelmente v�o ser expostos em tribunal.
-Tudo porque Neto da Silva, ex-secret�rio de Estado do Com�rcio Externo e depois l�der da Socifa, exige receber uma comiss�o alegadamente prometida por Am�rico Amorim caso conseguisse vender o lote de ac��es do empres�rio no banco portugu�s.
-O que Am�rico Amorim n�o confirma, recusando-se a pagar qualquer presta��o de servi�os.
-Tudo come�ou quando o �rei da corti�a� concedeu a Neto da Silva um mandato para procurar um comprador para as ac��es que detinha no BCP.
-n�o havia limite de tempo para a concretiza��o do neg�cio, a comiss�o a receber seria de tr�s por cento do montante total envolvido, incluindo impostos, e deveria ser observado o mais rigoroso sigilo sobre a transac��o.
-Marius Weiers, alto funcion�rio do minist�rio sul-africano do Com�rcio e Ind�stria, disse ontem em Joanesburgo que �Portugal re�ne condi��es para vir a constituir a porta da �frica do Sul na Europa�.
-apenas 4,6 por cento dos patr�es s�o licenciados e s� cerca de 30 por cento t�m habilita��es equivalentes ao secund�rio.
-Uma das preocupa��es claras do manifesto � esclarecer que o congresso n�o concorre no plano dos partidos pol�ticos.
-Como ali � afirmado, �n�o cabe exclusivamente � classe pol�tica� dar respostas sobre as interroga��es que o futuro levanta, �antes exige a participa��o activa da sociedade civil, que tem igualmente responsabilidades e deveres de que n�o pode nem deve demitir-se�.
-Gomes Motta, respondendo �s perguntas dos jornalistas, iria mais longe ao afirmar que os �partidos n�o esgotam a actividade c�vica do pa�s� e, afastando qualquer mal-estar que o congresso possa provocar nas hostes socialistas por eventualmente ofuscar alguns dos seus projectos, esclareceria ainda que esta iniciativa e as do PS �em certa medida completam-se�.
-Este manifesto ser� publicado na �ntegra nos jornais, sendo acompanhado por uma ficha de inscri��o para participar nos trabalhos do congresso que decorrer�o no pavilh�o da FIL, de 8 a 10 de Maio pr�ximo.
-At� l�, ser�o organizadas sess�es em v�rias cidades publicitando a iniciativa e recolhendo sugest�es sobre a incorpora��o de temas regionais.
-No esquema apresentado, s�o seis os pain�is em debate, que abrangem temas que v�o desde a cultura, o ensino e a estruturas econ�micas at� ao Estado democr�tico, solidariedade e o papel de Portugal na Europa e no mundo.
-Estes s�o alguns dos dados da avalia��o externa feita pelo Instituto de Inova��o Educacional (IIE).
-O estudo representa um dos mais importantes indicadores das aprendizagens dos alunos, tendo inaugurado a era das �provas aferidas� no sistema educativo portugu�s.
-recentemente (ver P�BLICO de 27/03/97), o ministro da Educa��o anunciou que seriam lan�ados �testes de aferi��o de �mbito nacional� nos 4�, 6� e 9� anos.
- A inten��o figura no documento estrat�gico para a Educa��o entregue na Assembleia da Rep�blica, no qual, curiosamente, se retira a mat�ria da al�ada do IIE e se entrega ao Gabinete de Avalia��o Educacional (Gave).
-O relat�rio adianta que �todos os relatos de tortura e maus tratos se referiam a pessoas que tinham sido detidas sob suspeita de terem cometido delitos criminais, tendo em muitos dos casos sido libertadas sem serem inculpadas�.
- R. -- � l�gico que os directos s� podem existir se houver regras claras.
-E t�m de existir porque, neste momento, � imposs�vel produzir um filme sem ser em co-produ��o e sem dar contrapartidas a realizadores estrangeiros.
-Mas acredito que as preocupa��es que os realizadores t�m, tamb�m a direc��o do IPACA as tem.
-P. -- Est� a falar pelo IPACA?
-O espanhol Jesus Montoya (Amaya) venceu ontem a 16� etapa da Volta � Espanha em bicicleta, disputada entre Santander e o Alto de Campoo, na dist�ncia de 173,4km e subiu ao 4� lugar da classifica��o geral individual.
-O Banco Nacional Ultramarino (BNU) tinha aprovado at� Dezembro de 1991 cerca de seis milh�es de contos de financiamentos para linhas dedicadas a pequenas e m�dias empresas.
-A dota��o global das linhas espec�ficas para as PME � de 12,5 milh�es de contos, oriundos do Banco Europeu de Investimentos, do Fundo de Regulariza��o da D�vida P�blica e da Caixa Geral de Dep�sitos.
-Este apoio foi decidido em 1990 e inclui o refor�o de capitais pr�prios, linhas de cr�dito em colabora��o com a CGD, tal como os fundos de apoio �s iniciativas de jovens empres�rios.
-Por outro lado, at� ao final de 1991 o BNU tinha prestado 292 garantias a favor do Instituto de Apoio �s Pequenas e M�dias Empresas, para a liberaliza��o pr�via de incentivos concedidos por este instituto.
-Toxicodepend�ncia: falar claro ou confundir?
-A toxicodepend�ncia, pelo desespero que provoca, � um terreno prop�cio a todo o tipo de manipula��es e os �mass media� n�o t�m fugido a esta tenta��o.
-As not�cias revelam, salvo raras excep��es, um cariz sensacionalista, que alimenta sobretudo a ideia de �cura m�gica� ou o desejo de encontrar �bodes expiat�rios� para a explica��o do fen�meno, permitindo, por exemplo, que se fale de efic�cia do(s) tratamento(s) de formas pouco honestas, por ignor�ncia ou por manipula��o deliberada.
-� �bvio que quem lucra com esta situa��o n�o s�o os toxicodependentes e as suas fam�lias.
-Um exemplo recente de como se pode confundir a opini�o p�blica ocorreu no programa de TV Falar Claro, no passado dia 22 de Junho.
-O relat�rio foi elaborado por tr�s dos mais respeitados peritos da Europa: John Wilesmith, director de epidemiologia no Laborat�rio Central do Governo brit�nico, Bram Schreuder, do Instituto de Ci�ncia e Sa�de Animal da Holanda, e C. Straub, do Centro Federal Alem�o de Pesquisas sobre V�rus e Doen�as de Animais.
-O que espanta, por�m, n�o � que se pretenda fazer marcha atr�s relativamente a um referendo que devia ter sido realizado h� j� muito tempo.
-Bem vistas as coisas, os portugueses dificilmente compreenderiam o facto de serem agora chamados a pronunciar-se sobre algo que h� muito foi decidido � sua revelia.
-Pelo que, muito provavelmente, voltariam a abster-se de ir �s urnas.
-Talvez prefiram ir comer castanhas para qualquer lado.
-O que realmente impressiona � que ningu�m pare�a inclinado a defender -- por simples analogia -- que uma absten��o em massa no referendo das regi�es por� tamb�m em causa, e de modo irremedi�vel, o processo de regionaliza��o.
-Exceptuando o PCP e alguns perigosos radicais socialistas, o referendo das regi�es parece ter sido definitivamente aceite como algo de imprescind�vel.
-Circunst�ncia que, tendo em conta a argumenta��o agora utilizada para tirar a castanha da Europa do braseiro da indiferen�a popular, s� pode ser lida de uma forma: a tend�ncia dominante da classe pol�tica j� tra�ou o destino � velha quimera da descentraliza��o.
-Na melhor das hip�teses, o povo, devidamente aterrorizado pelo fantasma do separatismo, chumba o processo.
-No pior dos cen�rios, o pa�s volta a abster-se e a regionaliza��o tem assegurados mais 25 anos de perman�ncia no fundo falso da gaveta da democracia.
-H�, mas todas elas est�o j� transpostas para o direito nacional.
-Referem-se a normas de seguran�a e de sa�de e higiene, regras de ilumina��o, etc.
-As quest�es mais complicadas est�o ainda sobre a mesa.
-� o caso da organiza��o do tempo de trabalho e disposi��es sobre mulheres gr�vidas, cuja aprova��o n�o se espera para a presid�ncia brit�nica, n�o entrando, assim, em vigor a 1 de Janeiro de 1993.
-�s vezes, pensa que isto de imagem de empresa passa tamb�m por uma boa auditoria e que as empresas de auditoria estrangeiras d�o melhor nome.
- Poder� recorrer a elas, mesmo que n�o estejam sediadas em Portugal?
-Os partidos pr�-governamentais voltam atr�s quanto � prometida revis�o constitucional.
-13 de Maio -- A oposi��o apela de novo � popula��o para que se manifeste contra o Governo a partir do dia 17.
-A forma��o espanhola do Chapela venceu ontem o Torneio Internacional Feira de S. Mateus, que decorreu em Viseu, ao derrotar na final o Valladolid, por 28-27 (13-13 ao intervalo), na quinta e �ltima jornada da prova, na qual participaram ainda FC Porto, Benfica, Sporting e Madeira SAD.
-O Feira de S. Mateus foi uma excelente oportunidade de ver em ac��o estas quatro equipas portuguesas que ser�o, certamente, uma amea�a � hegemonia do tetracampe�o ABC.
-Segundo um alto respons�vel da institui��o, que solicitou o anonimato, o ritmo de recupera��o da economia mundial dever� acentuar-se j� no segundo semestre de 1992, opondo-se, deste modo, �s teses mais pessimistas que prognosticam fortes probabilidades de uma recess�o mundial.
-�Embora se constatem riscos em algumas zonas, as nossas expectativas s�o de uma recupera��o global�, disse a mesma fonte.
-Apesar de n�o ser previs�vel que a Europa abrande ainda mais a sua actividade, a retoma do seu crescimento dever� ser mais fraca do que em outros pa�ses industrializados, devido � insufici�ncia das reformas estruturais, acrescentou.
-Tomando como caso concreto a Fran�a, com um mercado de trabalho considerado pouco flex�vel, o mesmo respons�vel do FMI antev� que a Europa dever� continuar a registar um �crescimento lento�, caso n�o concretize rapidamente as necess�rias reformas estruturais.
-Esta situa��o faz prever que a Cimeira de Lisboa acabar� por aprovar apenas um �acordo pol�tico� sobre o Pacote Delors II que constitua um compromisso formal dos Doze relativamente � sua futura aprova��o detalhada.
-A demiss�o de Hans-Dietrich Genscher e a crise pol�tica que atravessa o Governo de Bona (tendo em pano de fundo uma �derrapagem� econ�mica, resultado da unifica��o, que est� a afectar a Alemanha e a ser inevitavelmente �exportada� para os outros pa�ses europeus) �, talvez, o maior rev�s que a presid�ncia portuguesa tem de enfrentar n�o s� quanto � aprova��o do Pacote Delors (Genscher era um sincero apoiante das novas perspectivas financeiras para a Comunidade) como quanto � generalidade [...]
-A Administra��o da Casa Branca decidiu ontem manter algumas dist�ncias face �s declara��es do antigo Presidente democrata norte-americano Jimmy Carter ap�s a sua visita a Pale -- o basti�o da lideran�a s�rvia da B�snia nos arredores de Sarajevo --, ao recordar que os s�rvios b�snios continuam a ser considerados �os agressores� no conflito que se prolonga h� mais de dois anos e meio nesta rep�blica balc�nica.
-O Concurso de Dan�a de Sal�o para a Terceira Idade � outro projecto destinado aos idosos sintrenses, que, previsto para o in�cio de Fevereiro, levar� a diversas colectividades locais todos os que queiram concorrer ou simplesmente trocar uns passos de dan�a.
-Distribu�dos por v�rios escal�es segundo a idade, aos concorrentes basta pertencer ao universo de cerca de 30 mil reformados do munic�pio, podendo inscrever-se na altura do baile, a divulgar brevemente por todos as associa��es e grupos de idosos.
-Na sequ�ncia de anteriores projectos, como as visitas ao Jardim Zool�gico, os espect�culos de teatro e um passeio de cacilheiro no Tejo, a ac��o deste ano, como explica Jaime da Mata, pretende continuar o trabalho j� iniciado: �Impulsionar uma viv�ncia que � salutar e necess�ria�.
-Ainda segundo Travessa de Matos, �as c�maras da regi�o querem que a estrada passe a ter caracter�sticas de itiner�rio complementar� e os anteriores respons�veis �apenas queriam proceder � pavimenta��o do piso a partir de Pinheiro, P�voa de Lanhoso�.
-A beneficia��o da EN 103 chegou a estar prevista no PIDDAC (Plano de Investimentos e Despesas para Desenvolvimento da Administra��o Central) para 1995, tendo as reclama��es apresentadas pelos munic�pios � Junta Aut�noma de Estradas impedido a sua concretiza��o.
-Agora v�o �exigir� ao ministro da tutela �a urgente rectifica��o da EN 103, entre Braga e Chaves�.
-As t�cnicas de terapia gen�tica -- tamb�m chamada �geneterapia� -- consistem, em termos gen�ricos, em inserir um gene terap�utico nas c�lulas de um doente.
-O gene agora introduzido, de nome p53, � considerado como um dos mais importantes genes �supressores de tumores�, pois comanda a produ��o de uma prote�na-chave da regula��o da divis�o celular.
-Recorde-se que a canceriza��o se produz quando, por alguma raz�o, as c�lulas do organismo come�am a dividir-se de forma descontrolada sem chegarem � matura��o.
-Da� que, quando o p53 � defeituoso, a prote�na n�o � fabricada e surge o cancro.
-Os cientistas estimam que cerca de metade dos casos de cancros esteja associada a muta��es do gene p53.
- No caso do doente agora tratado, que sofre de uma forma comum do cancro do pulm�o, o tratamento consiste em administrar v�rias injec��es do gene p53 normal -- ou seja, dotado da sua ac��o supressora de cancros -- dentro do pr�prio tumor, �a bordo� de um v�rus.
-Como o v�rus tem uma propens�o para infectar as c�lulas humanas, consegue em princ�pio fazer penetrar o gene dentro das c�lulas cancerosas, servindo de �cavalo de Tr�ia� aos genes p53.
-Os Estados Unidos �reexaminar�o as bases� do acordo de coopera��o econ�mica conclu�do com o Jap�o, se n�o se alcan�arem �acordos cred�veis� entre os dois pa�ses durante a cimeira Clinton-Hosokawa, prevista para 11 de Fevereiro em Washington.
-A advert�ncia foi feita ontem em T�quio pelo secret�rio norte-americano do Tesouro, Lloyd Bentsen, depois de se ter encontrado a seu pedido com o primeiro-ministro Morihiro Hosokawa e o ministro das Finan�as Hirohisa Fujii.
-Os investimentos estrangeiros v�o continuar a afluir este ano � China, mas a um ritmo menos elevado do que em 1993, e o governo vai refor�ar o controlo sobre as �joint-ventures�, segundo o jornal �China Daily�.
-A baixa ir� dever-se principalmente ao arrefecimento da actividade imobili�ria, cujo crescimento exponencial no ano de 1993 se deveu em grande parte a capitais estrangeiros.
-Estes investigadores �vacinaram� quatro macacos com uma estirpe pouco virulenta do v�rus HIV2 humano (o v�rus da sida mais vulgar na �frica), que n�o provoca a doen�a nestes animais e que desaparece rapidamente do seu organismo.
-A seguir, infectaram-nos com o v�rus da sida dos macacos, o SIV.
-Quase quatro anos depois, tr�s dos animais ainda se encontram em boa sa�de, tendo o quarto morrido h� uns meses.
-Todos os elementos de um grupo de animais que n�o tinha sido vacinado com o HIV2 morreram da sida dos macacos, nos meses que se seguiram � sua infec��o pelo SIV.
-�Com os meus colegas, tencionamos agora tentar desenvolver vacinas destinadas ao ser humano, e em particular contra o v�rus HIV2.
-Tratar-se-� de vacinas preventivas que poder�o ser eficazes contra qualquer estirpe do HIV2.
-Por outro lado, j� estamos a colaborar com colegas do Instituto Nacional de Sa�de da Guin�-Bissau, na selec��o de popula��es que possam vir a participar em ensaios cl�nicos, quando tivermos uma vacina potencial.
-�Reais j�ias do Norte de Portugal� � o t�tulo de uma exposi��o que ir� decorrer entre os pr�ximos dias 10 e 26 de Novembro no Pal�cio da Bolsa, no Porto.
-Comissariado conjuntamente por J� T�vora e Manuel Ad�lio Valle Gomes, o certame conta com o �alto patroc�nio� dos duques de Bragan�a, que cederam para a ocasi�o a tiara em brilhantes do s�culo XIX usada por Isabel Her�dia no casamento com Duarte Pio.
-Segundo Virg�lio Folhadela, presidente da Associa��o Comercial do Porto, entidade que promove a iniciativa, a mostra tem como um dos seus objectivos principais revelar a forte tradi��o nortenha nos campos da ourivesaria e joalharia.
-A exposi��o -- formada sobretudo por objectos provenientes de colec��es particulares -- inicia-se cronologicamente no s�culo XVII e vem at� aos nossos dias.
-Entre as j�ias apresentadas contam-se colares de brilhantes e esmeraldas (s�c. XVIII e XIX), pe�as de ouro popular, trenedeiras, cris�litas, la�as, condecora��es das ordens de Malta e de Cristo em minas e brilhantes e uma caixa de rap� do Rei Carlos Alberto.
-Assinale-se ainda a presen�a de um �stand� da Christie's no espa�o da mostra, bem como de um avaliador oficial daquela leiloeira inglesa.
-Mais de um milh�o de contos dever�, segundo a Lusa, custar o seguro das obras expostas.
-Os independentistas tchetchenos prosseguiram o cerco a diversas posi��es militares russas, que responderam ao ataque abrindo fogo sobre �concentra��es de combatentes� tchetchenos, segundo o termo utilizado pelo centro de imprensa instalado em Mosdok (Oss�tia do Norte), quartel-general das for�as de interven��o russas.
-N�o foram fornecidas informa��es sobre o balan�o destes confrontos.
-Segundo a ag�ncia Interfax, a artilharia russa bombardeou na noite de sexta para s�bado as localidades de Samachki e Zakan-Iurt (situadas respectivamente a 30 km e 15 km a oeste de Grozni).
-Ap�s o fim do cerco � capital tchetchena pelas for�as russas, t�m decorrido violentos e incessantes combates a sudoeste da cidade.
-A artilharia e a avia��o russas t�m vindo a atacar regularmente povoa��es situadas nestas zonas, para onde recuaram os combatentes tchetchenos ap�s a queda de Grozni.
-Os confrontos tamb�m est�o a atingir Argun, 15 km a leste da cidade.
-O mar.
-Tudo o que tenha a ver com o mar, no mar, ao p� do mar.
-Quem � que espera n�o encontrar nestas f�rias?
-O meu porteiro.
-A s�tima jornada do campeonato ingl�s de futebol n�o trouxe altera��es ao topo da classifica��o, j� que os tr�s primeiros venceram os seus jogos e mant�m as posi��es relativas.
-O Norwich bateu em casa o Southampton por 1-0 e soma agora 16 pontos, o Coventry foi ganhar ao terreno do Oldham por 1-0 e est� com 15 e o Blackburn Rovers goleou no seu est�dio o Nottingham Forest por 4-1, somando 14 pontos, mas com menos um jogo.
-Belmiro de Azevedo, presidente da Sonae, acredita que nos pr�ximos anos os neg�cios do grupo no Brasil v�o crescer at� chegarem � dimens�o que actualmente t�m em Portugal.
-�Vamos ser t�o grandes no Brasil como em Portugal�, disse ontem, no Porto, o patr�o da Sonae, no decorrer de uma videoconfer�ncia que colocou em di�logo oito personalidades do mundo dos neg�cios dos dois pa�ses.
-S�o muitos os registos, ao longo de s�culos, de in�meras e variadas express�es de p�nico e supersti��es provocadas pela apari��o s�bita de um objecto brilhante, projectado no escuro da esfera celeste.
-A sua forma estranha, a mudan�a de posi��o relativamente �s estrelas e a altera��o de forma sugeriam interpreta��es de almas vagabundas de grandes homens desaparecidos, ou sinais dos deuses anunciando pr�xima a vingan�a de algum comportamento menos ajuizado dos terrestres.
-Ora, os ricos n�o est�o para isto.
-Como dizia o eng. �lvaro Barreto, ser ministro � ganhar mal, perder neg�cios, empobrecer alegremente.
-O pr�prio professor Cavaco, de modesta fortuna, farto de nos aturar, mandou tudo �quele s�tio -- aplicando uma bofetada sem m�o aos que vivem da politiquice -- e retomar� a carreira profissional ganhando o dobro, chateando-se pela metade.
-Resta, por exclus�o, o governo dos pobrezinhos, humildes mas honrados.
-Modelo muito querido ao dr. �lvaro Cunhal, mas completamente ultrapassado.
-�L'Incoronazione di Poppea� foi a �ltima a ser reeditada e este regresso �s discotecas no suporte j� irrevers�vel conquistador do mercado ter� de ser saudado com uma efusividade guardada para, e s� para, as ocasi�es muito, muito, muito especiais.
-Nunca mais se poder� falar, no futuro, da �Poppea de Harnoncourt�.
-Porque, depois deste registo de 1972, ficaria imortalizada em som e imagem -- na realiza��o visual de Jean-Pierre Ponnelle -- uma aproxima��o dos finais dos anos 70 deliberadamente expressionista e, agora, em 1993, em Salzburgo, Harnoncourt surpreende (e abre uma inflamada pol�mica) ao explorar at� aos limites do sustent�vel uma vis�o quase grotesca, comportando a contamina��o por uma componente burlesca surpreendentemente suportada pelo cinismo da narrativa, com inesperada opul�ncia de [...]
-Os investidores estrangeiros est�o de volta ao Brasil.
- No centro das aten��es est�o as privatiza��es que h� pouco mais de um m�s tiveram in�cio.
-Para concretizar os seus investimentos, os estrangeiros aguardam apenas a conclus�o do acordo entre o Brasil e o Fundo Monet�rio Internacional (FMI) a realizar ainda este m�s, que trar� ao Brasil mais tr�s mil milh�es de d�lares.
-Alguns investidores externos aguardam apenas pela luz verde para a concretiza��o do empr�stimo, interpretando de forma positiva o facto de o FMI estar disposto a aceitar a carta de inten��es do governo de Collor de Mello, e a disponibilidade deste para aceitar o tratamento de choque que ser� imposto � economia brasileira.
-Quantos melhores jogos j� aconteceram neste Mundial?
-O Nig�ria-Espanha e o Inglaterra-Rom�nia, da primeira fase?
-O Holanda-Jugosl�via e o Argentina-Inglaterra dos oitavos-de-final?
-O Brasil-Dinamarca?
-Ou, o at� aqui melhor de todos, o Holanda-Argentina que, por si s�, justifica a exist�ncia de um campeonato e a paix�o que todos temos?
-Este futebol que apazigua os desejos e termina com as nostalgias foi lan�ado desde o primeiro segundo.
-O tempo de estudo, esses aborrecidos, in�teis e intermin�veis minutos iniciais, deram lugar ao jogo claro.
-Uma densidade construtiva, um vocabul�rio variado e extremo, uma intensidade magn�fica, dif�cil de atingir.
-Poder-se-� ir mais longe?
-Quando, aos 38', Veron decidiu uma pequena pausa em dois passes laterais sem progress�o, levou uma monumental assobiadela.
-Ningu�m queria que aquilo parasse.
-O teatro de Beaumarchais.
-A m�sica de Mozart.
-O cinema de Renoir.
-A Regra do Jogo � a s�ntese perfeita do esp�rito dos dois primeiros na arte do �ltimo.
-Toda a com�dia humana numa dan�a � beira do precip�cio, a guerra que se avizinha.
-Um filme premonit�rio, que ao tempo foi proibido e mutilado pela censura.
-Assim, de acordo com informa��o da CML, na Rua Edison inverte-se o sentido, passando a circular-se da Av. de Roma para a Av. de Madrid.
-Na �scar Monteiro Torres, o tro�o compreendido entre a Rua Oliveira Martins e a Av. de Roma volta a ter sentido �nico, circulando-se da Oliveira Martins para a Av. de Roma.
-No �outro lado da guerra�, em Belgrado, a elei��o do escritor Dobrica Cosic, um ex-pr�ximo de Tito, como Presidente da �nova Jugosl�via� foi cumprida, como previsto, pelo parlamento.
-Cosic era o �nico candidato e os diplomatas ocidentais notam que o seu poder �, na pr�tica, fict�cio, pois o homem que �mexe os cordelinhos� em Belgrado continua a ser o Presidente s�rvio, Slobodan Milosevic.
-A contesta��o a este continua a subir de tom e ontem, pelo terceiro dia consecutivo, as ruas de Belgrado foram o palco de manifesta��es exigindo a sua demiss�o.
-Mais de dez mil estudantes exigiram pacificamente o afastamento de Milosevic, a forma��o de um governo de salva��o nacional e a realiza��o de elei��es.
-Decretaram uma greve, ocupam tr�s faculdades e prometem resistir at� � satisfa��o das suas exig�ncias.
- Hoje de manh�, � o dia do encontro de Fernando Nogueira com o Presidente da Rep�blica e o ministro j� manifestou grande curiosidade quanto ao que Ben Ali ter� para lhe dizer.
-Segue-se a reuni�o com o secret�rio-geral do partido no poder (RCD, Rassemblement Constitutionnel Democratique, Liga Constitucional Democr�tica), e a entrevista com o ministro de Estado e do Interior, Abdallah Kallel, tido como bra�o direito do Presidente e o n�mero dois do Governo.
-Um dos resultados pr�ticos desta fus�o � que Michael Eisner, presidente da Walt Disney, se tornou da noite para o dia o homem mais poderoso do sector.
-Nada mau para quem era acusado de ter demasiadas cautelas na condu��o do seu grupo e de estar tolhido por uma not�vel falta de vis�o global.
-o seu amigo e colega de direc��o Frank Wells morreu num desastre a�reo e, logo depois, o director dos est�dios, Jeffrey Katzenberg (respons�vel pelo �renascimento� da anima��o na Disney), bateu com a porta, insatisfeito por n�o chegar ao topo da empresa, fundando a produtora SKG-Dreamworks com Steven Spielberg e David Geffen.
-Di Matteo recebeu a bola na sua intermedi�ria, progrediu pela zona central e, a 25 metros da baliza, arrancou um �tiro� fulminante que s� parou nas redes.
-Estavam decorridos apenas 42 segundos do jogo da final da Ta�a de Inglaterra em futebol, que opunha o Chelsea ao Middlesbrough.
-No fim, o Chelsea juntou a este golo mais um, de Newton (83'), e conquistou o trof�u pela segunda vez na hist�ria.
-A circular justifica a iniciativa por terem �surgido alguns problemas no tratamento de Testemunhas de Jeov�, quando � imperativo ou h� a eventualidade de se administrar sangue, como medida indispens�vel � manuten��o da vida�.
-Em declara��es ao P�BLICO, Francisco Costa, membro da comiss�o de liga��o do Hospital, um �rg�o de contacto entre os hospitais e as Testemunhas de Jeov�, disse conhecer o documento, que, no essencial, reitera uma pr�tica utilizada anteriormente pela direc��o do hospital, � excep��o do que se passava com o tratamento de crian�as.
-Enquanto at� aqui o HDL tinha em aten��o o parecer dos pais no tratamento de crian�as a necessitar de sangue, de agora em diante os m�dicos est�o livres de o fazer.
- Francisco Costa, h� tr�s anos na comiss�o de liga��o hospitalar criada pelas Testemunhas, refere que a posi��o do HDL n�o tem semelhan�as com os procedimentos de outros hospitais dos distritos � volta, citando os casos de Coimbra e Santar�m.
-P. -- Como economista, acredita que isso possa acontecer?
-R. -- N�o, n�o acredito.
-Nunca quis assinar uma carta de inten��es com o FMI que colocasse metas que n�o pudessem ser cumpridas.
-Se o acordo for cumprido, tal com ele foi escrito, a consequ�ncia vai ser mais recess�o, maior aperto.
-Os indicadores apontam para uma quebra na actividade econ�mica, para um aumento do desemprego e da infla��o.
-O acordo inclui um maior aperto fiscal e logo a diminui��o dos gastos e da actividade e da oferta dos servi�os de infra-estruturas.
-O acordo indica que vamos continuar num processo recessivo.
- As metas quanto � infla��o � conseguir que esta, at� ao final de 1992, se situe nos 12 por cento ao m�s.
-P. -- Porqu�?
-A confirmarem-se os confrontos, ser�o o primeiro incidente fronteiri�o grave desde a morte de oito diplomatas e um jornalista iranianos no Afeganist�o, no princ�pio de Agosto, o acontecimento que agudizou a crise entre os dois pa�ses.
-Desde ent�o, Teer�o, que viu derrotados os seus �ltimos aliados na guerra civil afeg�, e Cabul, com a confian�a renovada e o apoio do Paquist�o, envolveram-se numa escalada de amea�as verbais, concentrando ao mesmo tempo frente a frente poderosos efectivos militares -- os maiores desde o fim da guerra entre o Ir�o e o Iraque, em 1988.
-As fam�lias ali residentes, que actualmente sobem a p� cinco andares por escadas de madeira que amea�am ruir, v�o passar a ter elevador e ver�o o interior das suas resid�ncias modernizado, com a instala��o de casas de banho e cozinhas devidamente equipadas.
-O lan�amento do projecto de recupera��o, por concurso p�blico entre arquitectos, ter� lugar em Julho, estando previsto o in�cio das obras, or�adas em 75 mil contos, para o Ver�o de 1997.
-Jo�o Pinto -- Ant�nio Oliveira n�o lhe dever� fazer a mesma surpresa de Carlos Queiroz que, para admira��o de todos, em Junho deste ano o remeteu para o banco dos suplentes no encontro com a Est�nia, de apuramento para o �Mundial� dos Estados Unidos, trocando-o por Abel Xavier.
-O capit�o portista continua numa forma excelente e, apesar dos anos, n�o perdeu a velocidade, percorrendo o seu flanco com grande �-vontade.
-O jovem sportinguista N�lson ter� de esperar.
-H�lder -- O central benfiquista ter� mais dificuldades em conseguir uma �cadeira� no �onze� do seu clube -- onde os lugares parecem estar destinados � dupla brasileira Mozer / Paul�o -- do que na equipa nacional.
-Uma situa��o complicada porque H�lder se tem mostrado, neste in�cio do campeonato, como um dos melhores jogadores do Benfica.
-Se, como se prev�, a Irlanda do Norte jogar com dois pontas-de-lan�a, H�lder ter� fun��es de marca��o e a� deve jogar mais em antecipa��o para evitar descuidos por alguma lentid�o.
-Quem culpabiliza o exterior pelas suas pr�prias falhas est� na verdade procurando desculpas para o seu pr�prio insucesso.
-As etapas boas e m�s por que cada indiv�duo tem de passar fazem parte do sentido delineado para a sua pr�pria vida.
-Isto �, � necess�rio para essa pessoa ter de enfrentar essas circunst�ncias e prosseguir sem apego.
-(Atitude basicamente budista em rela��o a todas as coisas da vida, porque as desagrad�veis causam repulsa, e as agrad�veis tristeza quando j� se as n�o tem).
-O amor deve servir como pano de fundo � vida de cada pessoa.
-Claro que se evoca aqui um amor justo e totalmente abrangente, com base em regras �ticas universais.
-As coisas que ocorrem ao longo da vida consideradas como desagrad�veis devem ent�o ser encaradas como um novo passo na aprendizagem existencial, algo pelo qual temos de passar para evoluir.
-N�o h� que sentir revolta, des�nimo nem tristeza, devendo procurar-se ver sempre �o outro lado da moeda�.
-At� l�, no entanto, o imenso pa�s precisa da ajuda do Ocidente e, se bem que esteja convencido da �irreversibilidade das reformas em curso�, o Presidente russo n�o deixaria de argumentar que, se elas falharem, �a� haveria que pagar dez vezes mais do que os investimentos que agora s�o necess�rios para sustentar a reforma�.
-No encontro com a imprensa, Kohl afirmaria que foi a primeira vez que houve um �debate com total sinceridade e boa vontade, num respeito total por cada um dos parceiros, at� porque a R�ssia entrou na via da democracia, de um Estado de direito e do respeito pelos direitos humanos�.
-Em Castelo de Vide, no Centro Municipal de Cultura, est� patente a exposi��o �Diversidades ... com Mestre�, com obras de pintura de Martins Correia.
-As motos BMW fazem 75 anos de exist�ncia e o Centro Comercial Colombo comemora esse anivers�rio com uma exposi��o hist�rica, na Pra�a Tr�pico de C�ncer (a pra�a central do Centro).
-Ocasi�o para ver 22 modelos antigos e oito recentes de motos BMW.
-Em verdade vos digo que Indiana Jones e os seus �mulos ainda est�o na fase do desmame se os compararmos com alguns her�is do passado, do �serial� ou do filme de aventuras.
- Neste �ltimo caso, o destaque vai para um filme de guerra, �Jornada Tr�gica�, que ter� menos a ver com o conflito a que se referia do que com o �western� ou a floresta de Sherwood.
-Errol Flynn p�s de lado o arco e as flechas, mas levou o mesmo esp�rito a bordo do bombardeiro.
-Ao vermos filmes como �Jornada Tr�gica�, �Objectivo Burma� e outros �Sargentos Imortais�, podemos interrogar-nos como foi poss�vel que a Alemanha e o Jap�o tivessem resistido tanto tempo a estas pelot�es de �indom�veis patifes�.
-�Vamos para a Austr�lia despachar os japoneses�!
-Promessa cumprida apenas com um desvio na rota, porque a segunda �incurs�o� de Flynn na guerra foi na Birm�nia, onde faz uma razia entre os filhos do Sol Nascente.
-O filme chamou-se �Objectivo Burma� e, embora mais �s�rio�, resultava no mesmo.
-Realce ainda para o mau dia de Marco Pantani, que apenas veio a Espanha para se preparar para o Mundial da Col�mbia.
-O italiano chegou na 66� posto, a 13m45s do primeiro, e � agora 27� na geral, quatro lugares abaixo de Zuelle.
-Hoje, o pelot�o tem mais uma etapa no dif�cil tra�ado dos Piren�us, com in�cio em Naut Aran e final em Luz Ardiden, na parte francesa, ap�s 179km.
-Destaque para a subida do Tourmalet, a 2115m de altitude, que � uma das montanhas m�ticas da Volta � Fran�a.
-Para a Quercus, as 40 incineradoras de res�duos hospitalares existentes no pa�s s�o ilegais.
-Na Procuradoria Greal da Rep�blica deu j� anteontem entrada um processo criminal contra o Hospital J�lio de Matos, de Lisboa.
-Um momento hist�rico � como pode classificar-se a presen�a do Castelo da Maia na �final-four� da Liga das Ta�as em voleibol, que entre hoje e amanh� decorre na cidade de Cuneo, no Norte de It�lia.
-Depois de terem terminado a fase regular s� com uma derrota nos sete jogos realizados, os maiatos n�o dever�o ir muito mais longe.
-Com advers�rios como os gregos do Olympiakos, os espanh�is do Gran Canaria e os italianos do Alpitour Cuneo (actuais detentores do trof�u), ao Castelo da Maia pouco mais resta do que tentar ter uma participa��o digna.
-A cria��o de um Conselho Nacional do Ambiente seria um passo decisivo para criar um f�rum onde se cruzassem todas as for�as que atravessam horizontalmente as quest�es de ambiente e desenvolvimento.
-Contribuiria, a meu ver decisivamente, para um distender de tens�es e limar de arestas entre os planos de desenvolvimento e a correcta gest�o e preserva��o de bens alimentares, e seguramente para o indispens�vel di�logo entre for�as que dele t�m andado arredias.
-As experi�ncias do Conselho Econ�mico e Social ou do Conselho Nacional de Educa��o, com todos os seus eventuais defeitos, s�o sem d�vida um indicador da possibilidade desta �inova��o�.
- � tempo de desdramatizar o ambiente e de o encarar de uma forma racional e corajosa, n�o basta o bom senso.
-A ver vamos.
- Em 1990, existiam 800 supercomputadores em todo o mundo, distribu�dos por grandes empresas ou organismos p�blicos que investem nestes equipamentos para os disponibilizar a institui��es cient�ficas que pagam pelo tempo de utiliza��o -- como a FCCN em Portugal (ver �Universidades nacionais sem supercomputador�).
-Para o presidente da FCCN, o n�mero destas m�quinas �� mais ou menos constante�, porque, conforme se v�o desenvolvendo novos equipamentos, outros deixam de se enquadrar na defini��o de supercomputador.
-As duas grandes fam�lias da supercomputa��o s�o as chamadas �m�quinas de multiprocessamento vectorial� (como alguns Cray) e as de processamento paralelo -- de que a mais conhecida � a Connection Machine, da Thinking Machines.
-Ao contr�rio do processamento vectorial, em que v�rios processadores utilizam a mesma mem�ria -- e onde, na opini�o de Heitor Pina, apenas poder�o existir progressos marginais --, as m�quinas de processamento paralelo, surgidas nos anos 60 e generalizadas no final da d�cada de 80, t�m uma mem�ria dedicada para cada processador, acabando com os �engarrafamentos� na partilha da mem�ria.
-Falamos, obviamente, de Nuno Gomes, que marcou quatro golos num jogo do campeonato, selando a vit�ria do Benfica sobre o Varzim.
-O jovem de Amarante, 21 anos feitos em Julho, custou ao Benfica cerca de 600 mil contos e demorou a mostrar servi�o.
-com Souness e o seu futebol de cruzamentos, Nuno Gomes n�o era a primeira op��o mas, provavelmente, acabar� at� por ter mais facilidade em marcar golos.
-O treinador ingl�s liberta mais a equipa, joga com mais unidades na �rea e favorece o ponta-de-lan�a.
-Nuno Gomes marcou quinze golos no Boavista da �poca passada, sobretudo atrav�s de uma segunda parte da �poca -- com M�rio Reis -- muito forte, numa equipa que tinha ainda Jimmy.
-Era uma dupla terr�vel, que se completava pela pot�ncia do holand�s e o jogo mais t�cnico do jovem portugu�s.
-Funcionou �s mil maravilhas e o Boavista acabou por ganhar a Ta�a de Portugal com dois golos de Sanchez e um de Nuno Gomes.
-Deparamos ent�o com uma situa��o caricata.
-Os israelitas dizem que n�o abandonar�o a sua �zona de seguran�a� enquanto os s�rios continuarem a ocupar o L�bano.
-S� que, ao mesmo tempo, pedem aos s�rios que dominem o Hezbollah, reconhecendo implicitamente que s� Damasco pode pacificar a sua fronteira mais vulner�vel.
-� poss�vel que os s�rios tenham permitido, ou at� mesmo fomentado, esta subida de tens�o para obrigar os israelitas a admitir que o L�bano � um protectorado de Damasco.
-�Numa negocia��o � sempre bom ter dois ferros no fogo�, observou o jornalista franc�s Patrice Claude.
-Como corol�rio inevit�vel do processo, e �na impossibilidade de injectar mais capitais pr�prios�, a administra��o da Jotocar �decidiu solicitar em tribunal um processo de recupera��o�, lamentando �os inconvenientes que esta situa��o n�o deixar� de trazer� aos credores.
-Quanto � data da reabertura da empresa, como disse ao P�BLICO um respons�vel da Cuf-T�xteis, �� ainda imprevis�vel�.
-Teixeira da Mota, porta-voz do BFE, limitou-se a dizer, sobre este assunto, que, �ap�s seis meses de efectiva gest�o da actual administra��o�, conclu�dos em Agosto de 1992, �o banco considerou o processo encerrado� e que �o comprador confirmou� ao BFE, nesse mesmo m�s, �a plena viabilidade e efic�cia do contrato celebrado� entre as partes.
-E mais n�o disse.
-E as varia��es dos pap�is n�o foram mais expressivas.
-O vector accionista atravessa, de facto, um mau momento, apresentando permanentes hesita��es.
-Com muitos dos pap�is com a cota��o interrompida em consequ�ncia do per�odo de pagamento de dividendos, o neg�cio continuou pouco expressivo, sem profundidade.
-N�o se prev�, ali�s, que at� ao final do m�s se registem altera��es com significado.
-O �ndice BVL Geral encerrou em baixa, cotando-se nos 973,03 pontos, menos 0,23 por cento, enquanto o BPA Cont�nuo cedeu 0,18 por cento ao fixar-se nos 154,72 pontos.
-Em termos de totais, na Bolsa de Lisboa intermediaram-se 10,592 milh�es de contos, mais 258,62 por cento.
-A Bolsa do Porto encerrou com 5,094 milh�es de contos, mais 215,44 por cento que na segunda-feira.
-Mesmo antes de jogar, o FC Porto j� estava a ganhar com a viagem � Cro�cia.
-Os respons�veis pelo futebol croata gostaram de rever Ivic e, principalmente, da coragem revelada pelos portistas ao aceitarem jogar numa zona de conflito militar premente, e j� garantiram o direito de prefer�ncia ao FC Porto na escolha de futuros talentos.
-Uma bom investimento na terra de onde sa�ram Boksic, Prosinecki, Boban ou Suker ...
-Um lugar na primeira linha da grelha de partida na contrata��o de futuros talentos croatas foi, para j�, o que o FC Porto conseguiu com a visita a esta ex-rep�blica jugoslava.
-Afastado das competi��es internacionais desde 1990 -- a selec��o jugoslava apurada para a fase final do Europeu da Su�cia ficou em casa � �ltima hora e foi substitu�da pela surpreendente Dinamarca --, o futebol croata tenta agora voltar ao circuito europeu.
-E a presen�a do FC Porto faz parte dessa tentativa, com a particularidade dos �drag�es� n�o cobrarem �cachet� para serem a primeira equipa de nomeada a visitar o pa�s.
-Se for aprovada a vers�o final do anteprojecto de lei de liberdade religiosa -- que hoje ser� apresentada publicamente --, os crentes que o desejarem podem passar a indicar que destino pretendem para uma �quota equivalente a 0,5 por cento do imposto sobre o rendimento das pessoas singulares� (IRS).
-De acordo com o texto proposto no ponto 3 do artigo 31, os contribuintes podem indicar qual a �igreja ou comunidade religiosa radicada no pa�s�, a inscrever na declara��o de rendimentos, que desejam que receba aquela dota��o �para fins religiosos ou de benefic�ncia�.
-O valor de 0,5 por cento n�o � aleat�rio.
-Ele corresponde sensivelmente ao valor actual da devolu��o do IVA, que o Estado faz � Igreja Cat�lica, de acordo com a interpreta��o que tem sido feita da Concordata.
-foi essa a op��o em Espanha e It�lia, pa�ses com acordos de Concordata semelhantes a Portugal.
-Desde h� poucos anos, em ambos os pa�ses optou-se por a possibilidade de cada pessoa indicar, na declara��o de rendimentos, qual o fim que pretende dar aquela percentagem -- 0,8 em Espanha, 0,523 em It�lia.
-Destaque: Grande parte da imagina��o da inf�ncia passa-se na descoberta e na contesta��o da mentira das regras que o mundo lhe imp�e.
-noutras encaram-nas como um jogo e respondem-lhes jogando tamb�m, mas � sua maneira.
-O viaduto da Infante Santo ter� uma faixa em cada sentido, dispondo tamb�m de um passeio para pe�es.
-A sua abertura ao tr�fego estava inicialmente prevista para o m�s de Novembro.
-A medida preconizada prende-se com o objectivo de se criaram mais empregos e visa, sobretudo os pa�ses da Comunidade Europeia que, entre 1972 e 1992, viram aumentar o n�mero de postos de trabalho em cinco por cento, contra uma taxa de 37 por cento nos Estados Unidos, Canad� e Jap�o.
-Para combater o mal -- que s� nos 24 pa�ses da Organiza��o para a Coopera��o e Desenvolvimento Econ�mico (OCDE) abrange 36 milh�es de pessoas --, o FMI sugere a promo��o da flexibilidade no mercado de emprego, cuja aplica��o dever� levar � diminui��o de regalias sociais, mas, em alguns pa�ses, � preciso �retirar as restri��es aos hor�rios de trabalho e sobre os empregos em ' part-time '�.
-Defende o Fundo que �h� uma necessidade urgente em quase todos os pa�ses de reexaminar o financiamento e a generosidade global dos regimes de seguran�a social, com o objectivo de eliminar os elementos que desencorajam a cria��o de novos empregos�.
-No relat�rio citam-se os elevados encargos sociais das empresas, a �generosidade� dos subs�dios de desemprego, o �muito elevado� sal�rio m�nimo e as regras de protec��o de emprego, consideradas �muito r�gidas�, como factores desmotivadores da cria��o de postos de trabalho.
-Entretanto, a Junta de Freguesia de Riba de Ave foi recebida anteontem por Agostinho Fernandes, a quem se manifestou preocupada com a situa��o e prop�s o encerramento da ETRSU at� que seja reparada a avaria.
-�O senhor presidente disse-nos que o que se est� a passar � inadmiss�vel e que a popula��o tem raz�o para estar preocupada, mas adiantou-nos que est� convencido de que se trata de um problema t�cnico�, declarou-nos Miguel Lopes, cujo pedido para suspender a labora��o da esta��o at� � repara��o definitiva da avaria n�o recebeu uma resposta concreta.
-O presidente da C�mara, ali�s (na linha do que dissera ao P�BLICO o director regional do Ambiente do Norte, Guedes Marques), afirmou � Lusa que �uma avaria pontual nunca poder� justificar o encerramento de uma estrutura deste tipo [ ETRSU ]�.
-O Conselho de Arbitragem da Associa��o de Futebol de Lisboa apoiou ontem Jorge Coroado e contestou a Comiss�o de Arbitragem da Liga Portuguesa de Futebol Profissional, que excluiu aquele �rbitro do jogo FC Porto-V.Guimar�es depois de ter montado um esquema para culpar Coroado de fugas de informa��o.
-O conselho lisboeta considera �censur�vel� o comportamento de Coroado, mas recorda que n�o est� prevista nas normas qualquer pena para a infrac��o que este ter� cometido, pelo que a comiss�o da Liga n�o podia t�-lo exclu�do do jogo.
-Por isso, condena as �interpreta��es de conveni�ncia� da lei e p�e os seus servi�os ao disp�r de Coroado, para apoiar o �rbitro em �qualquer ac��o disciplinar que porventura lhe seja injustamente instaurada�.
-O volume financeiro em entradas de cinema atinge 5000 milh�es de d�lares, enquanto o mercado dos videojogos vale 13 mil milh�es de d�lares anuais (7000 milh�es gastos em salas de jogos e mais 6000 milh�es em videojogos dom�sticos).
-Por outro lado, segundo dados da editora Capcom citados na revista �Business Week�, foram vendidas 12 milh�es de c�pias de �Street Fighter� em todo o mundo, havendo 25 milh�es de norte-americanos que j� o jogaram.
-A Capcom cr� que, com estes n�meros, n�o ser� dif�cil recuperar os 40 milh�es de d�lares investidos no referido filme.
-Segundo o presidente da empresa, Kenzo Tsujimoto, �o que se ganha na produ��o do filme � o conhecimento e a experi�ncia de que a Capcom necessita para fazer videojogos no futuro�.
-Nem de prop�sito, na Primavera sair� �Street Fighter III: The Movie Game�.
-Mas a dificuldade desta op��o assumidamente militante da organiza��o est� nessa nova voca��o dos portugueses ter de nascer durante o curto per�odo em que a exposi��o estiver aberta ao p�blico.
-Na verdade, a organiza��o da exposi��o tem de juntar duas realidades que sempre andaram afastadas: arquitectura e grande p�blico.
-O desafio posto � organiza��o da exposi��o � ent�o levar os mun�cipes de uma cidade a apaixonarem-se perdidamente por um edif�cio ao ponto de sa�rem para a rua em sua defesa.
-� por isso que a exposi��o �Cassiano Branco e o �den -- Lisboa 1991� resultou na maior opera��o de mediatiza��o da arquitectura jamais vista em Portugal.
- A grande d�vida que circula entre a comunidade timorense � a raz�o que teria levado esta mulher doente -- Wendi tem esclerose m�ltipla -- a escolher o jornal �Kompas� para prestar tais declara��es, pois �se, em tudo isto, existe um fundo de verdade, um peri�dico indon�sio seria a �ltima escolha para algu�m que quer ter o m�nimo de credibilidade�, comentam.
-[ Jos� Ramos-Horta reagiu j�, acusando Wendi Holland de estar a ser �utilizada pela intelig�ncia indon�sia�.
-Num depoimento telef�nico prestado ao CMR -- o primeiro �rg�o da informa��o estrangeira a divulgar o conte�do da entrevista publicada pelo jornal indon�sio --, Horta disse tratar-se de uma campanha �que se arrasta h� v�rios meses� e foi lan�ada pelo jornalista Petrus Suriadi, que esteve recentemente em Portugal.
-A Comiss�o Europeia divulgou na semana passada as novas previs�es de crescimento para as economias dos Doze em 1994.
-Para o crescimento m�dio � apontada agora uma estimativa de 1,6 por cento, superior em 0,3 pontos � previs�o adiantada anteriormente, no Outono de 1993.
-Mas enquanto a evolu��o m�dia foi revista em alta, os valores para Portugal registaram um recuo ligeiro: dos anteriores 1,4 por cento para 1,25 por cento.
-O trabalho di�rio de Peter Williams � construir mundos e imaginar o modo como as pessoas v�o interagir neles (ou como pensa que isso vai acontecer).
-Deuses em ascens�o, os criadores de realidades virtuais v�o influenciar as sociedades futuras com as imagens que criarem.
-Se j� se d�o conta disso, � algo que n�o deixam transparecer ...
- Numa casa georgiana com vista para o Tamisa, fora de Londres, coexistem dois mundos.
-Para os diferenciar, tabuletas indicam o �Real World� e, outra, apontada ao est�dio, o �Virtual World�.
-Carlos Cidade, Linhares de Castro, Lu�s Janu�rio, Leal Amado e Moura e S� -- o �nico que n�o � ex-militante do PCP -- s�o os nomes escolhidos e j� ratificados por o N�cleo de Coimbra da Plataforma de Esquerda para integrar as listas do PS � c�mara e assembleia municipais da capital do distrito.
-A Plataforma de Esquerda dever� ainda ficar representada nos concelhos de Montemor-o-velho, Lous�, Condeixa e Cantanhede, Arganil, Figueira da Foz, Miranda do Corvo e Soure.
-Essencialmente no concelho de Coimbra e em v�rios casos, a PE poder� mesmo encabe�ar a candidatura � presid�ncia das juntas de freguesia.
-� a primeira vez que � feita uma persegui��o federal a organizadores de apostas na Internet.
-Nos �sites� das empresas explicava-se como se podia apostar sobre os resultados de jogos profissionais e universit�rios de futebol, basquetebol, h�quei e basebol.
-Os apostadores teriam de abrir uma conta e depositar a� entre 1000 e 5000 d�lares (185 a 925 contos).
-As apostas sobre os resultados do jogo, feitas por telefone ou pela Internet, custavam entre dez e 50 d�lares (1.85000 a 9.25000) -- valores sobre os quais as empresas retinham dez por cento.
-Os eventuais ganhos seriam depositados nas contas banc�rias dos apostadores ou enviados por correio.
-Cada um dos acusados arrisca-se agora a uma pena m�xima de cinco anos de pris�o e a uma multa que pode ir at� aos 250 mil d�lares (45 mil contos).
-Mas Benjamin Brafman -- advogado de Jay Cohen, presidente e propriet�rio de uma das empresas (a World Sports Exchange) -- n�o tem a certeza de que o Governo norte-americano tenha jurisdi��o neste caso.
-Mary Jo White considerou no entanto que as empresas n�o estavam protegidas pelo facto de a sua sede se situar fora dos Estados Unidos.
-Ao longo da semana o Banco de Portugal cedeu liquidez num montante superior ao da semana anterior, tendo mantido as taxas.
-No que concerne � D�vida P�blica corrente, realizaram-se tr�s leil�es de Bilhetes do Tesouro.
-e no terceiro, a 182 dias, foram colocados 25 milh�es de contos, � taxa m�dia de 10,48 por cento, o que acabou por reflectir uma subida das taxas em rela��o aos leil�es anteriores para id�nticos per�odos.
-O abortamento tem sempre uma justifica��o.
-Bem basta sofr�la, bem basta ter de o realizar por causa dela.
-Digase, de uma vez e claramente, o que se quer ou o que se quer mais.
-As reformas a levar a cabo podem conduzir ao desaparecimento do ENDA e � sua substitui��o por outro �rg�o, que englobe as diversas tend�ncias do movimento associativo universit�rio.
-�Quando as coisas n�o correm bem, � preciso mudar alguma coisa�, justificou um dos participantes num encontro de dirigentes associativos que decorreu durante o fim de semana nas instala��es da Universidade de Aveiro.
-A realiza��o de um inqu�rito destinado a apurar o encargo m�dio mensal de cada estudante universit�rio foi outra das medidas sa�das do encontro de Aveiro.
-�Pretendemos definir com o m�ximo rigor os custos m�dios de cada estudante, conforme a regi�o onde se encontra, pois actualmente n�o existem dados concretos sobre o assunto�, esclareceu Miguel Rodrigues, que � tamb�m presidente da Associa��o Acad�mica da Universidade de Aveiro.
-As conclus�es do inqu�rito -- que ser� realizado com o apoio do Conselho de Reitores -- servir�o de base a uma proposta a apresentar ao Minist�rio da Educa��o relativa ao montante das bolsas de estudo e propinas.
-J� no pr�ximo dia 25, os dirigentes associativos ir�o reunir-se com o ministro Couto dos Santos para discutir, mais uma vez, o problema do pagamento das propinas universit�rias.
-De facto, os ind�cios acumulam-se nesse sentido.
-N�o s� por aquilo que se viu ontem nas fortalezas tradicionalmente inexpugn�veis do PCP, mas tamb�m pela receptividade que a campanha de Torres Couto est� a encontrar e, sobretudo, pelo que as sondagens come�am a indicar.
-Segundo o estudo publicado ontem pelo Expresso, a CDU perderia em Set�bal quatro dos sete deputados de que disp�e, passando o PS exactamente para a situa��o inversa.
-Em 6 de Outubro, ver-se-� se estamos mesmo perante uma �d�bacle� comunista em Set�bal.
-N�o � �bvio � primeira vista, mas uma observa��o mais cuidada n�o deixa d�vidas.
-O portal da Quinta do Castro, o �nico que resta dos dois que j� existiram, est� acentuadamente inclinado e pode cair a qualquer momento.
-Um aterro feito durante a constru��o da nova estrada Valen�a-Mon��o est� a pressionar a estrutura para tr�s e ir�, inevitavelmente, provocar o seu desabamento.
-O muro cont�guo ao portal, parte da estrutura original, foi desmantelado durante a implanta��o da nova via, obra que esteve a cargo das empresas Soares da Costa e Monte & Monte.
-No seu lugar, surgiu um muro feito de blocos de cimento.
-Os peda�os da estrutura original foram escondidos pela zeladora nas proximidades, cobertos por mato, prevenindo eventuais furtos da pedra trabalhada.
-De acordo com Manuel Cunha, o actual presidente da Junta de Freguesia, durante as obras, a empresa respons�vel necessitou de retirar saibro da zona onde o muro se encontrava para efectuar um aterro.
-Escavou quanto quis, imediatamente atr�s do muro que deitou abaixo para as m�quinas poderem passar -- diz o autarca que com a promessa de, depois, reconstruir o muro.
-Em 1990, a estrada foi inaugurada e, quatro anos depois, tudo est� na mesma.
-alguns pa�ses, mas sobretudo a Alemanha, pretendem evitar que a moeda �nica assuma logo desde o in�cio o mesmo estatuto legal que as divisas nacionais, neste caso, o marco.
-Se os Quinze conseguirem resolver estes tr�s problemas, resta apenas � cimeira de Madrid escolher o nome da moeda �nica, tendo em conta que a denomina��o �ecu�, expressa no Tratado de Maastricht, � rejeitada pela Alemanha, que prefere �euro�.
-R. -- Porque o simbolismo das escadas est� em todo o lado: servem para descer ao inferno ou subir ao c�u.
-Sobem-se os degraus para chegar ao sucesso ou descem-se, em caso de fracasso.
-P. -- Quais as suas influ�ncias no campo da pintura?
-R. -- O PC serviu-se da extrema-esquerda, como ponta-de-lan�a, mas depois foi v�tima da sua imprepara��o e do seu espontane�smo.
-Quando, � noite, os Comandos atacam a Pol�cia Militar, � outra vez o Costa Gomes que, de madrugada, consegue convencer o Partido Comunista a desistir.
-P. -- Com que contrapartidas?
-Esta � uma das afirma��es principais da posi��o da Igreja Adventista do S�timo Dia sobre o aborto, que considerou ter chegado a altura �conveniente� de divulgar o ponto de vista daquela institui��o religiosa.
-� essa expectativa que poder� esboroar-se totalmente se Jer�nimo e Matos desistirem � boca das urnas, j� que nesse caso o sucessor de M�rio Soares ser� inevitavelmente eleito no dia 14.
-Isto porque, de acordo com a lei, nas presidenciais � eleito o candidato que obtiver mais de metade dos votos expressos -- ou seja, pelo menos 50 por cento mais um --, excluindo-se desta contabilidade os votos em branco e os nulos.
-Nem sempre foi assim.
-A quest�o do peso dos votos em branco no escrut�nio final s� ficou resolvida com uma altera��o da lei eleitoral, de 26 de Novembro de 1985, que veio p�r ponto final ao diferendo que op�s nessa mat�ria o Supremo Tribunal de Justi�a (STJ) e o Secretariado T�cnico dos Assuntos para o Processo Eleitoral (STAPE) � Comiss�o Nacional de Elei��es (CNE).
-Separados por linhas subterr�neas, o Metropolitano de Lisboa e a C�mara Municipal andam �s avessas.
-As solu��es adoptadas para a expans�o da rede est�o a gerar posi��es contr�rias e desta vez � a empresa que escreve a Sampaio para refutar as afirma��es do Munic�pio.
-07.00-09.00 Cafe�na. Os ouvintes da Radical acordam com Pedro Marques.
-Nono m�s do calend�rio lunar isl�mico, durante o qual mil milh�es de pessoas se abst�m de comer, fumar, ouvir m�sica ou de ter rela��es sexuais, o Ramad�o � o m�s sagrado mu�ulmano.
- Mas para alguns � tamb�m sin�nimo de �jihad� (guerra santa).
-H� onze meses, explos�es na cidade e massacres em zonas rurais causaram pelo menos 400 mortos e traumatizaram a cidade, onde o grupo isl�mico armado (GIA) enfrentou, com sucesso, a apertada malha das for�as de seguran�a argelinas.
-� o que se teme agora, segundo os panfletos, aparecidos sobretudo em mesquitas n�o controladas pelo Estado, dentro das quais as ora��es t�m sido acompanhadas por murm�rios pouco comuns.
-Traumatizado, refugio-me no Canal 1, onde se estreia Tudo pelos Outros, com V�tor Norte a mostrar que estaria muito melhor num palco.
-Aguento, com um estoicismo que eu pr�prio admiro, a inunda��o de lugares-comuns, compar�vel � das �guas do Tejo, por�m menos ben�fica para a agricultura.
-Mas, quando chega o momento de homenagem �s m�ezinhas, n�o resisto a zapar e a saltar novamente para a SIC.
-Perplexidade e desorienta��o: a SIC tamb�m transmite homenagens �s m�ezinhas e aos paizinhos, a �nica diferen�a est� em que, em vez de flores, d�o-lhes m�sica pimba.
-Zapo e rezapo e os momentos de sincronismo repetem-se com enlouquecedora const�ncia: as mesmas l�grimas, as mesmas fungadelas, o mesmo bem-fazer, os mesmos familiares abra�ados uns aos outros.
-J� n�o sei onde estou, talvez j� nem saiba quem sou.
-Gramm ser� o primeiro a declarar formalmente a candidatura, na pr�xima semana, na sua cidade natal de College Station, Texas.
-Na verdade, Gramm planeia a sua campanha h� anos e anda activamente �na estrada� h� meses.
-O ex-governador do Tennessee Lamar Alexander ser� o seguinte a declarar-se, dias depois.
-Pouco conhecido fora do Tennessee e de Washington, Alexander conseguiu ganhar a aten��o do seu partido ao apresentar � sua volta alguns nomes de peso.
-Um documento confidencial do Painel Intergovernamental Sobre Mudan�as Clim�ticas (IPCC), citado na �ltima edi��o do seman�rio brit�nico �Independent on Sunday�, afirma que o globo est� de facto a aquecer e que a polui��o de origem humana � um dos factores respons�veis pelo fen�meno.
-O documento do IPCC vai ser apresentado numa confer�ncia internacional que ter� lugar em Roma em Dezembro.
-O IPCC re�ne nesse documento a opini�o de 2.000 meteorologistas que prev�em no futuro uma maior incid�ncia de doen�as tropicais, o aumento de secas e cheias, a morte de florestas e a diminui��o de colheitas nos pa�ses pobres.
-O anterior relat�rio do IPCC, elaborado em 1990, considerava que a temperatura do globo estava a aumentar mas n�o considerava provado que a causa fosse a ac��o humana.
-Agora, dizem os investigadores, j� n�o restam d�vidas.
-O IPCC � um grupo de peritos que foi estabelecido em 1988 pela Organiza��o Meteorol�gica Mundial e pelo Programa das Na��es Unidas para o Ambiente.
-Mas o Itamaraty tem vindo a sofrer a ac��o corrosiva dos �ltimos governos, que lhe impuseram ministros sem prepara��o, al�m da redu��o de mais de 50 por cento do seu or�amento.
-Os diplomatas brasileiros queixam-se da falta de recursos, j� que s�o obrigados a cobrir muitas despesas com dinheiro do pr�prio bolso.
-Contudo, o Itamaraty apresenta alguns excessos que surpreendem.
-� o caso das embaixadas situadas nos Estados Unidos e em Londres, Paris e Roma, onde as mordomias saltam aos olhos dos brasileiros.
-o diplomata brasileiro vive num apartamento de quase mil metros quadrados na Avenue Foch, junto ao Arco do Triunfo, em Paris.
-Ultrapassadas as considera��es gerais, o documento mergulha quase ponto por ponto nas propostas do minist�rio sugerindo caminhos, apresentando alternativas e recomenda��es.
-Desde logo no que toca ao �conceito de propina�.
-Neste ponto, o CNE avan�a com dois cen�rios sobre a controv�rsia, revelando como o consenso no seio dos conselheiros n�o tem sido f�cil.
-�Todos temos de fazer sacrif�cios e n�s estamos dispostos a colaborar.
-Mas -- acrescentou -- receamos que o sacrif�cio n�o esteja a ser repartido de uma forma justa pela popula��o.
-Est� a ser pedido aos idosos que se sacrifiquem duas ou tr�s vezes mais do que o resto das pessoas�.
-�Primeiro, porque vai aumentar os impostos dos benefici�rios da Seguran�a Social.
-Segundo porque introduzir� mudan�as nos programas de assist�ncia m�dica- Medicare e Medicaid- que, ao baixarem os honor�rios dos m�dicos, far� com que estes n�o queiram assistir tantos doentes, e, terceiro, porque o aumento sobre a energia aumentar� os pre�os do combust�vel dos sistemas de aquecimento caseiro, que � uma parte consider�vel dos or�amentos dos idosos de baixos rendimentos�.
-O segmento accionista da Bolsa de T�quio fechou com reduzida altera��es face � sess�o anterior.
-Operadores disseram que o mercado dever� manter a mesma tend�ncia durante as pr�ximas sess�es devido � forte procura dos investidores dom�sticos e estrangeiros, tal como vem sucedendo nas �ltimas semanas.
-O �ndice Nikkei perdeu 0,16 por cento.
-As audi�ncias m�dias de Fera Ferida e Mulheres de Areia permitem tamb�m analisar o percurso dos notici�rios da noite, que lhe est�o �colados� na l�gica do programador e nos h�bitos do espectador.
-o m�rito do Telejornal � maior se atendermos ao facto de que esse quinto equivale a primeiro ... entre os programas que podem considerar-se fora do pacote de propostas indigentes que continuam a liderar o top).
-Os dados de audi�ncias da semana fornecem outras surpresas, de v�rio tipo.
-Na TV2, a transmiss�o, em hor�rio domingueiro de almo�o, dos Campeonatos Europeus de Atletismo, � hora a que a portuguesa Manuela Machado vencia a maratona feminina, n�o alcan�ou mais do que uns m�seros 3,0 por cento da popula��o.
-a SIC, que investiu uma nota negra na compra dos direitos de cobertura, e outra nota ainda mais negra nos meios necess�rios � cobertura, n�o consegue mais do que um m�ximo de 5,5 por cento de audi�ncia m�dia para as imagens recolhidas por esses meios nunca vistos.
-Tanto barulho para nada, parece.
-Talvez por, nestes dias, canalizar outros clientes, atra�dos pelos nomes de David Lynch e Mark Frost, que tamb�m perderam os seus cr�ditos pela mans�o de Hugh Heffner.
-Uma �ltima constata��o: a TVI est� pulverizada no Top 20 Nacional, sem qualquer proposta acima ou igual aos 10,9 por cento de S�zinhos em Casa do Canal 1.
-O que, nos tempos que correm, talvez n�o seja defeito mas feitio.
-Ao longo de uma obra original em que tem procurado figurar a g�nese e os momentos mais marcantes da nossa modernidade filos�fica e est�tica, o fil�sofo Manfred Frank (ainda desconhecido do leitor portugu�s, mas j� muito traduzido em Fran�a e na It�lia) serve-se, entre outros, do mito do judeu errante, nestas duas vertentes, para seguir um percurso que, na literatura, conduz da viragem para a Idade Moderna e das primeiras viagens pelo desconhecido at� � contempor�nea deriva pelos mares da [...]
-As duas vertentes -- Aasvero e o Holand�s -- cruzam-se e fundem-se a partir do s�culo XVI, com um predom�nio, no plano da mat�ria dieg�tica, da deriva mar�tima sobre a err�ncia terrestre, desde �Os Lus�adas� e as narrativas de viagens inglesas e holandesas, at� ao �Ancient Mariner� de Coleridge, � �L�gende des Si�cles� de Victor Hugo, ao �Bateau Ivre� de Rimbaud e ao �Navio Fantasma� de Wagner, culminando num epis�dio-chave da anti-Odisseia que � o �Ulysses� de Joyce: o dos lot�fagos (co [...]
-A Pol�cia Judici�ria de Coimbra deteve um casal suspeito da autoria de v�rios crimes de burla, dos quais ter�o sido v�timas centenas de pessoas.
-Ao que tudo indica, o modo de subsist�ncia do casal consistia na publica��o de an�ncios -- no �Jornal de Not�cias� e no seman�rio �Expresso� -- de emprego fict�cios, relacionados com actividades agr�colas no estrangeiro, nomeadamente em Inglaterra.
-�Era um pneu que s� test�mos durante tr�s voltas e corremos o risco de o usar, pensando que era o mais indicado.
-Na categoria de 250cc o japon�s Tetsuya Harada, da Yamaha, alcan�ou a sua terceira vit�ria no �Mundial� -- s� perdeu na Mal�sia --, batendo por mais de quatro segundos o italiano Massimiliano Biaggi (Honda) e o franc�s Jean-Philippe Ruggia (Aprilia), respectivamente, segundo e terceiro classificados.
-A corrida foi completamente dominada por Harada, estreante nesta edi��o do Campeonato do Mundo, que assumiu o comando � partida e nunca mais o largou.
-A partir da Zambujeira, as praias favoritas s�o acess�veis atrav�s dos montes, que se atingem atravessando o ribeiro nas traseiras do caf� Fresco.
-O Carvalhal � a mais conhecida, mas outras h� com menos gente e, por isso mesmo, mais escolhidas pelos nudistas.
-J� quase no limite do concelho de Odemira, aparece a praia da Am�lia, mesmo ao lado da pol�mica Odefrutas de Thierry Russel.
-Mais a sul, Odeceixe.
-E na Azenha � imprescind�vel comer um arroz de marisco.
-A data de 4 de Novembro tem sido apontada, geralmente, como o limite para o in�cio da desloca��o.
-No in�cio desta semana, no entanto, um diplomata indon�sio admitiu a possibilidade da visita come�ar em finais de Outubro, o que, a confirmar-se, apanhar� a Comiss�o Eventual praticamente no grau zero da prepara��o da visita.
-�Na �ltima reuni�o [ quarta-feira passada ], entr�mos, tom�mos uma bica, demos umas palmadas nas costas e viemos embora, porque n�o havia informa��es�, revelou ao P�BLICO um membro da Comiss�o.
-�N�o s� desconhecemos os crit�rios para os convites � imprensa, como ignoramos quem vai e de que partidos, pois o PRD desapareceu da actual AR [ tinha um deputado na Comiss�o ] e o PCP e o CDS diminu�ram a representa��o.
-A data aproxima-se, h� pequenas coisas a fazer, como por exemplo vacinas, e n�o podemos estar a vacinar as Cortes inteiras ..�, acrescentou o deputado, manifestando-se preocupado com o atraso na prepara��o de uma visita que �funciona como um jogo na corda bamba, pois tanto pode ser favor�vel a Portugal como � Indon�sia�.
-Uma reac��o semelhante teve o PCP, por interm�dio de Vitor Dias, da sua Comiss�o Pol�tica, que salientou que a base da gest�o camar�ria � a coliga��o entre socialistas e comunistas, continuando esta a manter a sua capacidade, lembrando que o que existira com o CDS fora um acordo pontual entre os vereadores centristas e o PS.
-Mas, na confer�ncia de imprensa -- onde estava ladeado pelo seu assessor de imprensa, Ant�nio Metello --, Jorge Sampaio deixou tamb�m entender estar para �muito pr�ximo� uma decis�o importante.
-A relativa � sua recandidatura.
-Portugal, com 6,7 por cento dos pobres da CEE.
-Um em cada 3 portugueses � pobre, uma em cada 3 casas n�o tem casa de banho e s� um em cada 5 jovens sabe utilizar um processador de texto.
-Qual ser� o pa�s mais jovem da CEE no s�culo XXI?
-P. -- Ainda no que respeita ao n�vel dos rendimentos, h� uma queixa que a oposi��o e as organiza��es socioprofissionais fazem ao Governo e que tem a ver com os custos dos factores de produ��o, principalmente no que respeita �s taxas de juro.
-N�o acha que a actual situa��o, inserida num contexto fortemente concorrencial, est� a penalizar os agricultores portugueses?
-R. -- Considero que temos alguns custos de produ��o mais altos, isso ningu�m poder� negar.
-Mas temos outros mais baratos, como os alimentos para os animais e o pre�o da m�o-de-obra.
-Sampaio visitou, durante todo o dia, as zonas do Pico e Faial mais atingidas pelo sismo do passado dia 9.
-Optou pela pedagogia nos contactos que teve com os sinistrados e nem sequer esqueceu a sua experi�ncia como autarca, recordando in�meras vezes os tempos em que foi presidente da C�mara de Lisboa para explicar as suas teorias -- mais propriamente alguma �insatisfa��o natural� -- sobre realojamentos.
-Ou pelo menos a forma de evitar alguns conflitos entre a popula��o.
-Foi o pr�prio Presidente a pedir para reunir com todas as pessoas atingidas pela cat�strofe.
-Na localidade de Flamengos, onde ainda est�o mais de 200 pessoas a dormir em tendas, Sampaio apelou ao �bom senso e solidariedade t�pica do povo a�oreano� para �compreender que n�o se podem construir todas as casas ao mesmo tempo�.
-�Quando fui autarca e fazia realojamentos era normal que quem n�o conseguia logo uma habita��o ficasse insatisfeito.
-Aqui temos de compreender que n�o se pode ter tudo ao mesmo tempo�.
-A solu��o, para uma melhor harmonia, �� que seja a popula��o a indicar quais s�o os casos priorit�rios�, explicou.
-Com caixotes do lixo, os alunos finalistas do Instituto Superior de Economia e Gest�o de Lisboa (ISEG) fecharam ontem o anexo de Buenos Aires em protesto contra a altera��o dos planos curriculares.
-Sob o mote �40 cadeiras chegam�, os estudantes impediram a entrada no edif�cio a partir das sete da manh�, tentando assim resolver o problema depois de esgotadas �todas as vias diplom�ticas�.
-Com os olhos na R�ssia, tecnicamente em viola��o do texto assinado em 1990, os pa�ses-membros do tratado sobre as armas convencionais na Europa voltam a reunir-se a partir de hoje, em Viena, para tentar limpar definitivamente o continente de armas convencionais.
-Mas ningu�m aposta num sucesso f�cil.
--- Contradit�ria.
-Ao regime n�o interessava o desenvolvimento cultural do pa�s.
-O que interessava era beber vinho, beber vinho era de comer a um milh�o de portugueses, era dar �s crian�as sopas de cavalo cansado, era ir a F�tima .
--- Ao futebol -- Bom, s� para ver o Benfica!
-Outra ideia exposta por Soltwedel foi a de que o mercado de trabalho, apesar de envolver pessoas, �deve funcionar como qualquer outro mercado�, acrescentando que �os europeus t�m de se livrar da ideia que os sal�rios n�o t�m nada a ver com o trabalho realizado�.
-�Se n�o se mudar este curso, os asi�ticos v�o esfregar as m�os�.
-Nesta reflex�o sobre o futuro da economia europeia p�s-GATT, o professor alem�o � perempt�rio em afirmar que �os sal�rios v�o descer�, em fun��o do �aumento da competi��o das empresas�, ao mesmo tempo que �o desemprego provavelmente crescer� ou estabilizar�.
-Na sua �ptica, isto deve-se a todo o tempo em que a ind�stria europeia esteve protegida.
-�Depois de tanto tempo debaixo do guarda-chuva, � evidente que a Europa se vai molhar�.
-O Minist�rio da Sa�de vai lan�ar at� ao final de Maio 15 novas experi�ncias na �rea dos centros locais de sa�de, de modo a �melhorar a acessibilidade� aos cuidados de sa�de prim�rios.
-O projecto Alfa, assim designado, foi ontem apresentado na extens�o de Fern�o Ferro do Centro de Sa�de do Seixal, e passa pela cria��o de grupos interdisciplinares e pelo alargamento do hor�rio de funcionamento destes p�los de sa�de.
-A import�ncia do projecto foi real�ada pela presen�a em Fern�o Ferro do primeiro-ministro e da ministra da Sa�de.
-A titular da pasta da Sa�de disse que �o futuro atendimento nos centros de sa�de ser� mais humanizado e personalizado�.
-�� preciso reganhar a confian�a das pessoas e incentivar os profissionais�, afirmou.
-Os bombeiros n�o conseguiram remover de imediato o corpo, que ficou preso entre as ferragens do conjunto dianteiro de rodas.
-Apenas ao meio-dia -- tr�s horas ap�s o acidente -- chegou � esta��o Socorro uma carruagem com ferramentas, macacos hidr�ulicos e cerca de vinte funcion�rios da Divis�o de Manuten��o do Metro.
-Os mec�nicos levaram ainda uma hora para remover algumas pe�as do conjunto de rodas, antes de levantar a automotora A-78 e, finalmente, retirar o corpo mutilado de Pedro Alexandre.
-Os pais do jovem, depois de ouvirem a not�cia do acidente no Metro, j� haviam ido �s urg�ncias do hospital S�o Jos� e depois seguiram at� � entrada do Metro no Martim Moniz.
-Ap�s reconhecerem os documentos do filho, foram conduzidos para a esquadra da PSP da Mouraria, acompanhados da mesma multid�o de curiosos, aparentemente insatisfeita com a simples apari��o do corpo numa maca coberta.
-�Isto parece uma manifesta��o�, comentou um oficial da PSP, antes de ordenar a dispers�o da aglomera��o.
-O segundo lugar do torneio � repartido pelo ingl�s D. J. Russel e pelo irland�s Ronan Rafferty, ambos com 67 pancadas.
-Este, vencedor da ordem de M�rito de 89 e 17� do �ranking� mundial, posiciona-se agora como o principal favorito � vit�ria no Open portugu�s.
-Embora ainda faltem tr�s dias de prova, a verdade � que o seu momento de forma � excelente, ali�s como o comprovam os resultados alcan�ados na presente temporada.
-O irland�s foi primeiro em Palm Mcadows e segundo nos Asian Classic, Dubai Deset Classic e Hong Kong Open.
-O seu �score� no final do primeiro dia do Open, surge na sequ�ncia de 16 voltas abaixo do par.
-Um total de 57 pancadas, para uma m�dia de tr�s por volta.
-Actualmente quinto classificado na Ordem de M�rito Europeia, o eventual triunfo no evento portugu�s permitir-lhe-ia ultrapassar Severiano Ballesteros no terceiro lugar da lista europeia dos ganhos monet�rios.
-Aqui reside a principal curiosidade da prova.
-David Silva, o profissional de Vila Sol, por seu lado, foi o melhor portugu�s em competi��o, terminando os 18 buracos em Par do campo.
-No entanto, come�ou mal, fazendo tr�s �bogeys� nos tr�s buracos iniciais.
-Seguir-se-ia uma recupera��o de grande categoria, na qual alcan�ou cinco �birdies�, o que lhe permitiu manter as aspira��es a um lugar entre os 65 finalistas dos dois derradeiros dias da competi��o.
-�Se jogar bem amanh� [ hoje ], um lugar entre os finalistas � inevit�vel�.
-R. -- N�o tenho sentimentos religiosos, n�o acredito na vida eterna.
-Sei que n�o h� vida do lado de l�.
-�le n�ant�, dizem os franceses.
-Tenho dito aos meus que devem preocupar-se com esse dia, n�o por mim, mas por eles.
-� uma bonita palavra esta, saudade.
-Eu deixarei de existir.
-O que ficar de mim � a consci�ncia do que fui e que os outros recordar�o -- ou n�o.
-mas se a lembran�a for de saudade, ent�o acho que pode ser uma boa coisa.
-Ferreira de Almeida disse ao P�BLICO estar a par da situa��o e que vai solucionar o problema brevemente, colocando uma conduta de cimento ligada ao colector.
-Por ora, os moradores desta zona da Ajuda, vivem rodeados de esgotos por todos os lados.
-Mas, afirma V�tor Castelinho, a Junta de Freguesia tem um projecto para aproveitar o espa�o livre que d� para a Rua Eduardo Bairrada constru�ndo um pavilh�o polidesportivo e dois campos de t�nis, para servir a popula��o da Ajuda, � espera de luz verde na C�mara.
-V�tor Mendes, de 40 anos, licenciado em direito e antigo recordista nacional (2,15m) do salto em altura, � desde o ano passado o director da sec��o de atletismo do Sporting e foi confirmado nas suas fun��es j� pela nova direc��o.
-A sua equipa, encabe�ada pelos coordenadores t�cnicos Bernardo Manuel e Abreu Matos, tamb�m se mant�m, e a t�nica � antes a do seu refor�o, com a entrada de Fernando Mamede para o quadro t�cnico, com fun��es ainda para definir, e de um incondicional do atletismo do clube, Ant�nio Frade, como seccionista.
-� um per�odo de euforia, em Alvalade, que tem um significado �extraordin�rio, pois foi o corol�rio de um trabalho desenvolvido desde h� um ano�, como explicou V�tor Mendes.
-�Quando vim para o Sporting nem havia praticamente equipa de pista formada, houve uma redu��o dr�stica do or�amento e estava quase tudo por reconstruir.
-Agora os dois t�tulos quebraram um jejum de sete e oito anos e foram conquistados, para mais, quando o Benfica era dado como favorito�.
-�S� com essa condi��o aceitei ficar � frente da sec��o�.
-Ex-primeiro-ministro, de 1974 a 1978, e ex-ministro dos Neg�cios Estrangeiros da B�lgica, no in�cio da d�cada de 80, Leo Tindemans �, hoje, o presidente do Grupo Democrata Crist�o do Parlamento Europeu, o segundo maior agrupamento parlamentar de Estrasburgo, a seguir aos socialistas.
-Europe�sta convicto, como de resto o s�o todos os governos deste pequeno pa�s, dividido ao meio pela l�ngua e pela cultura, entre um Norte flamengo e um Sul franc�fono, Tindemans defende que o grau de uni�o pol�tica conseguido em Maastricht � insuficiente.
-Seria necess�ria uma nova confer�ncia intergovernamental sobre a Uni�o Pol�tica Europeia -- mesmo antes da revis�o do Tratado, agendada para 1996 -- e, em seu entender, o alargamento da Comunidade aconselharia a que esta se dotasse de uma verdadeira constitui��o com metas e com princ�pios.
-�Por fim j� n�o conseguia remar mais.
-Tinha as m�os cobertas de bolhas, as costas queimadas, o corpo do�a.
-Com um suspiro, mal agitando a �gua, deslizei para o mar�.
-Suficientemente refrescante e estival.
-O segundo livro traduzido nesta colec��o, deste autor sul-africano.
-� um primeiro livro e recria �a Am�rica dos fins dos anos 40� renovando �a grande tradi��o de Hammet e Chandler�.
-Criou a personagem de um detective negro, Easy Rawling que, no entanto, �n�o procura fazer o contraponto de Marlow e Spade mas, sim, erguer uma figura particularmente convincente num livro contado num ritmo impar�vel e com um sabor pungente e aut�ntico�.
-Segundo o escritor e realizador de cinema Nicholas Meyer era nesta percentagem que Sherlock Holmes dilu�a a sua coca�na, antes de ter sido curado do seu mau h�bito pelos amistosos cuidados do dr. Watson.
-Mas o optimismo continuou a dominar nas sess�es seguintes, apesar das indefini��es quanto � evolu��o das taxas de juro.
-O Dow Jones passou novamente a barreira dos 2.900 pontos para se situar pouco acima dos 2906 pontos na sess�o de quarta-feira.
-Ainda com tend�ncia positiva, a Bolsa de Nova Iorque evoluiu de forma hesitante at� aos 2910 pontos, para no dia seguinte voltar a descer.
-Isto apesar de os indicadores econ�micos at� agora divulgados indicarem um final r�pido para a recess�o no pa�s.
-Na quinta-feira foi o indicador das encomendas de bens duradouros, que em Abril cresceu cerca 2,9 por cento, melhorando as perspectivas de crescimento industrial.
-Na sess�o de sexta-feira, ao subir para os 2913,91 pontos (mais 0,45 por cento do que na sess�o anterior) o �ndice Dow Jones permitiu ganhos da ordem dos 0,95 por cento na semana.
-Boris Ieltsin continua a dar sinais contradit�rios sobre a forma como vai utilizar a sua vit�ria pol�tica no referendo de domingo passado para acelerar o ritmo das reformas e imprimir-lhes uma orienta��o mais clara.
-O cabelo ter� ficado grisalho mas o seu bom aspecto e o ar agaiatado n�o deixam transparecer os seus 50 anos e, muito provavelmente, milh�es de f�s continuar�o a am�-lo quando ele tiver 64.
-O ex-Beatle Paul McCartney iniciar� em breve mais uma extenuante �tourn�e� de um ano pelo mundo, para promo��o do seu novo �lbum.
-A campanha para as elei��es de dia 19 no Punjab come�ou sob o signo das armas e do terror dos separatistas sikhs, que tendem a controlar o curso dos acontecimentos naquele estado indiano.
-Ontem foram assassinados cinco militantes do partido Bharatiya Janata, da direita hind�.
-Ontem, o FC Porto voltou a mostrar fibra de campe�o e deu a volta ao jogo com o Mar�timo, mais uma vez gra�as ao �olho� do treinador, que tamb�m erra, mas acerta mais vezes do que os outros, e a uma equipa que nunca desiste.
-Os campe�es s�o assim e este, ao cabo de 17 jornadas, leva 11 pontos de avan�o sobre o segundo, o Guimar�es, que ontem empatou no Bonfim e j� sonha com a Liga dos Campe�es.
-O Rio Ave, outra surpresa, foi derrotado em casa pelo Farense e tem j� muitos candidatos nas suas costas dispostos a roubar-lhe o terceiro lugar.
-O Estrela da Amadora continua a fazer um campeonato � Fernando Santos, ou seja, um campeonato certinho e sem crises, e at� venceu o Salgueiros na Reboleira.
-O Boavista est� a melhorar e empatou no que come�a a ser muito complicado est�dio do Campomaiorense, numa partida que tamb�m terminou empatada nas cr�ticas dos treinadores ao �rbitro.
-O Chaves, com �lvaro a treinador, �comprou� um bal�o de ar com a vit�ria em Coimbra.
-O Belenenses foi perder ao campo do Varzim e continua a sua marcha a passo acelerado para a Divis�o de Honra.
-H� mais de uma semana que o cessar-fogo entre s�rvios e mu�ulmanos est� a ser mais ou menos respeitado e, � semelhan�a das restantes frentes de combate, a situa��o nesta regi�o tem-se mantido calma.
-Apesar de em Brcko, 54 quil�metros a noroeste, se terem registado violentos confrontos no fim-de-semana.
-Uma espessa sopa de feij�o com peda�os de carne, p�o e beterraba � o almo�o destribu�do no s�bado aos soldados s�rvios.
-A refei��o � subitamente interrompida pela apari��o de um jipe NIVA 600 de onde saem dois soldados armados -- andar armado nesta regi�o, seja-se civil ou militar, � medida obrigat�ria -- com os boletins de voto para o referendo dentro de um grande envelope.
-Na Videoteca de Lisboa, �s 22h30, realiza-se o II Encontro da Associa��o de V�deo, Arte e Novas Tecnologias Interactivas PT.
-No Centro Cultural da Malaposta � inaugurada, tamb�m no �mbito das comemora��es da Revolu��o dos Cravos, a mostra colectiva �Artistas de Abril�, com obras de Jo�o Vieira, Jos� Santa B�rbara, Lu�s Ralha, Maria Keil, Vespeira e Rog�rio Ribeiro.
-�s 21h.
-A entidade patronal da Guial, a empresa t�xtil de Barcelos cujos trabalhadores se mant�m em greve desde a passada quinta-feira, requereu ao Tribunal Judicial de Barcelos a ilegalidade da medida tomada recentemente pelos trabalhadores e que consistiu no impedimento da sa�da de quatro carrinhas da companhia carregadas de mercadoria.
-Na sess�o de ontem do Mercado Monet�rio Interbanc�rio, que deu in�cio a um novo per�odo de constitui��o de reservas de caixa, o Banco de Portugal voltou a n�o anunciar as taxas directoras de interven��o e a manter suspensa a facilidade di�ria, anunciando, no entanto, uma ced�ncia de fundos at� ao montante de 300 milh�es de contos, a seis dias, em sistema de leil�o de taxa de juro contra a recompra de Bilhetes de Tesouro.
-JOS� CAL�ADA -- As rela��es entre o sindicato e o minist�rio n�o existem.
-Est�o, em bom rigor, como sempre estiveram.
-Desde 22 de Dezembro de 1993 que vimos solicitando � senhora ministra uma audi�ncia.
-Isto j� foi feito por variad�ssimos faxes, atrav�s de contactos pessoais em Janeiro de 94, mas n�o tivemos, at� agora, resposta.
-Os contactos -- de natureza informal, nem sequer oficiosos -- t�m sido com o sr. subsecret�rio de Estado-adjunto da ministra.
- Em termos estritamente oficiais, este sindicato ainda n�o conseguiu ser recebido pela ministra, o que n�o deixa de ser espantoso tendo em conta o tempo decorrido desde a primeira audi�ncia.
-P. -- E porqu�?
-Quanto a Portugal, Ferreira do Amaral reafirmou ontem que as vias priorit�rias de liga��o � Galiza s�o a conclus�o da auto-estrada Porto-Valen�a- e bem assim a conclus�o do IP1, entre a ponte que ontem inaugurou com Jos� Borrell e a ponte que ambos tamb�m inauguraram h� dois anos no Guadiana-, a auto-estrada Famalic�o-Guimar�es e o restante trajecto do IC5 at� Vila Pouca de Aguiar e da� at� Chaves e Verin (IP3), e ainda a conclus�o do IC1 (Porto-Valen�a) ligando alguns tro�os dispersos j [...]
-Tudo terminou na Pousada de S. Teot�nio, na zona hist�rica de Valen�a, entre um matraquear de perguntas dos jornalistas.
-Mas teve a compensa��o de ver, ao lado do seu hom�logo, na larga varanda da pousada, os primeiros ve�culos n�o oficiais a atravessarem a nova ponte.
-E avistou, do lado contr�rio, a constru��o met�lica de Eiffel, sucumbida a mais um engarrafamento.
-Talvez o �ltimo.
-Sem entrar em pormenores, devo recordar que as empresas portuguesas a trabalhar na Guin�-Bissau rondam a meia centena, das quais seis ultrapassam, em investimentos e responsabilidades, o milh�o de contos.
-Por si s�s, aos numerosos pequenos investidores (que n�o est�o inclu�dos nos 50) cabe uma fatia de 2,5 milh�es de contos.
-O Grupo Champalimaud, a Petrogal, a TAP-Air Portugal, a Marconi, a Salvador Caetano, a Tertir, a Somec e a Soares da Costa s�o algumas das que mais investiram e, presume-se, maiores interesses t�m a defender.
-Se a isto acrescentarmos o que est� a ser perdido -- passageiros e mercadorias na TAP, mercadorias na Portline e na Transinsular, dormidas nos hot�is (Hotti e 24 de Setembro), opera��es na banca (Banco Internacional da Guin�-Bissau e Totta & A�ores), turistas nos clubes de ca�a (como o de Cap�) --, as verbas perdidas causar�o vertigens.
-Quando iam a caminho do Pa�s Basco, jornalista e operador de c�mara receberam a not�cia da morte, em Bilbao, de Luiz Andr�s Sampiero, um tenente da Guardia Civil encarregue sobretudo de assuntos ligados � toxicodepend�ncia.
-Esperavam, pois, encontrar uma cidade em estado de s�tio, mas depararam-se com uma �estranha normalidade�.
-Ainda chegaram a tempo de registar a sa�da do funeral da Capela do Rei, �que n�o � o dos bascos�, acompanhado por muitas flores e palmas.
-Quando se trata de falar � que j� � mais dif�cil.
-Os bascos n�o gostam de falar da ETA ou das suas ac��es.
-�N�o falo, choro�, declara um transeunte perante as c�maras.
-� um povo apaixonado, o povo basco.
-Mas tamb�m �um povo adormecido� pelas atrocidades cometidas pela �Espanha federalista contra a individualidade de um povo�.
-E a maior dessas atrocidades passou-se h� 60 anos, em Guernica, para sempre imortalizada no famoso quadro de Pablo Picasso.
-Fra�sto da Silva, ex-ministro da Educa��o e actual presidente do Instituto Nacional de Administra��o, admitiu ter sido sondado para o lugar de Antero Ferreira nos conselhos directivo e de administra��o da Funda��o das Descobertas, tal como noticiou a edi��o de ontem do P�BLICO.
-�N�o falei com o primeiro-ministro, mas fui sondado nesse sentido�, disse.
-Claro, o tom j� � outro.
-Jacques Chirac fala de �terrorismo�.
-Chama �b�rbaros� aos s�rvios.
-Finalmente utiliza a �nica linguagem que eles conseguem compreender: a da firmeza.
-�Fale, senhor presidente!
-Procure falar j�!
-Talvez baste uma palavra mais forte, e que cale fundo, para fazer recuar os fora-da-lei� --, trata-se de um progresso que se imp�e saudar.
-Contudo, uma �nica pergunta: o novo Presidente ficar�-se-por aqui?
-Ou ir� ao ponto de dizer: mais �intoler�vel� ainda que a humilha��o de um soldado � a humilha��o de 300.000 homens, mulheres e crian�as, bombardeados quotidianamente, desde h� tr�s anos?
-Ele sabe que n�o lhe dei o meu voto.
-Mas tamb�m sabe que goza de um estado de gra�a que confere a todas as suas palavras uma imensa repercuss�o.
-Oxal� aproveite esta oportunidade.
-Oxal� seja o primeiro chefe de Estado a tomar finalmente, e de forma clara, o partido da democracia e do direito.
-Como gaullista que �, seria esta a ocasi�o hist�rica para se mostrar fiel � �ideia da Fran�a� de que se diz herdeiro.
-Mil�o.
-Confer�ncia de imprensa de Jean-Pierre Elkabbach comentando os resultados da cimeira das televis�es p�blicas europeias que reuniu na v�spera em Paris.
-O que � ao certo uma �televis�o p�blica�?
- E o que a distingue de facto das televis�es ditas �comerciais�?
-No fundo, e de acordo com Elkabbach, tr�s apostas: o primado da �produ��o� sobre a �difus�o�; a recusa em opor �divertimento� a �cultura�; e por fim a vontade de conciliar o imperativo do mercado (o famoso �n�vel de audi�ncias� ao qual � definitivamente absurdo pensar que qualquer televis�o possa escapar) e a exig�ncia de qualidade (� qual � perfeitamente escandaloso acreditar que uma �s�rie�, mesmo �popular�, deva ser estranha, por natureza).
-Trata-se de facto de apostas.
-Ou desafios.
-Quer sejam formulados com nitidez, quer sejam formulados, sobretudo, � medida de essa rede de televis�es tecida � escala do continente -- esta � a boa nova da semana.
-Parte significativa, mas n�o integral, do seu report�rio gravado para essa companhia foi reeditado numa compila��o tem�tica de seis LP, primeiro editada pela CBS (actual Sonny) em1986.
-Essa mesma colect�nea deu mais recentemente origem a um reedi��o em dois CD duplos, que se encontram esgotados no nosso mercado.
-RESPONS�VEIS pol�ticos do I�men e da Ar�bia Saudita tentavam ontem fazer diminuir a tens�o entre os dois pa�ses devido a uma velha disputa fronteiri�a que provocou tr�s mortos em combates perto de uma ilha contestada do Mar Vermelho.
-O vice-primeiro-ministro e ministro dos Neg�cios Estrangeiros iemenita, Abdel Kader Bajamal, dever� deslocar-se hoje � Ar�bia Saudita para tentar desbloquear a querela, disse � AFP um diplomata em Sanaa, capital iemenita.
-Foi ministro de Jacques Chirac (1986-1988) e agora � considerado o seu principal rival, embora ainda n�o se tenha candidatado oficialmente �s presidenciais.
-�douard Balladur avisou que n�o tomaria nenhuma decis�o antes de Janeiro e acusou Chirac de usar o RPR como uma fortaleza.
-As diferen�as pol�ticas entre os dois s�o menos �bvias do que o contraste nos estilos.
-Chirac, o extrovertido; Balladur, o taciturno.
-Balladur nasceu em Esmirna (Turquia), em 1929, e formou-se na Escola Nacional de Administra��o, de onde saiu a elite da fun��o p�blica francesa.
-Foi colaborador de Pompidou, de 1969 at� 1974, depois administrou tr�s empresas e, em 1986, entrou no parlamento como deputado do RPR.
-No Governo, apesar da subida do desemprego, continua a ser popular.
-A �ltima sondagem d�-lhe o apoio de 53 por cento dos franceses, contra 47 para Chirac.
-O presidente cessante da Comiss�o Europeia, Jacques Delors, n�o se apresentou ainda como o �candidato da esquerda� � sucess�o do seu correlegion�rio Mitterrand.
-Mas ningu�m duvida de que tem a inten��o.
-Se no in�cio as sondagens lhe atribuiam o �ltimo lugar, agora � mais popular do que Balladur.
-Delors, 69 anos, aderiu ao Partido Socialista em 1974.
-Antes foi militante da Juventude Oper�ria Crist�, l�der sindical, funcion�rio do Banco de Fran�a e professor de Gest�o na Universidade de Paris-Dauphine.
-Foi tamb�m ministro da Economia e �maire� de Clichy.
-Na CE, quis ser um pioneiro, defendendo o ideal de uma �verdadeira federa��o europeia at� ao fim do mil�nio�.
-A equipa do Sporting apresentou-se no Municipal de Chaves com Capucho a ocupar a posi��o de Cadete.
-Da substitui��o n�o resultou, entretanto, qualquer ganho ofensivo para os �le�es�.
-A falta de profundidade atacante, a azelhice no remate -- aspecto em que apenas Juskoviak esteve diferente para melhor -- foram raz�es para o nulo que se verificava na primeira parte.
-Os onze remates do Sporting contra apenas um do Chaves, durante a metade inicial, d�o bem a ideia da superioridade atacante dos homens de Alvalade e n�o abonam em nada a capacidade concretizadora dos seus avan�ados.
-Na segunda parte, a t�nica do jogo continuou a ser a mesma.
-Henrique Calisto decidiu-se, por isso, a mexer na equipa trocando Saavedra por Omer.
-Face � passividade de Saavedra, o novo treinador do Chaves procurou injectar sangue novo na dianteira, esperando que a sua equipa se tornasse mais agressiva na frente de ataque.
-apenas o finland�s Tarkki (outra estreia) incomodava, aqui e ali, a defesa sportinguista.
-A comercializa��o e instala��o do servi�o de televis�o por cabo em Valongo e Ermesinde � da responsabilidade da TV Cabo Porto, uma empresa do grupo TV Cabo Portugal, que prev�, at� ao fim de 1995, estender este servi�o a 75 mil habita��es na �rea do Grande Porto.
-A caravela Boa Esperan�a chegou � doca do Jardim do Tabaco ter�a-feira, ao entardecer.
-Terminava uma rota oce�nica de 10 mil milhas n�uticas atrav�s dos portos de Lisboa (Portugal), C�diz (Espanha), Las Palmas (Can�rias), San Juan (Porto Rico), Nova Iorque e Boston (EUA) e Liverpool (Inglaterra) na Regata Colombo 92, uma viagem comemorativa dos 500 anos de descoberta do Novo Mundo.
-Foram quase 4 meses de navega��o em que 60 velejadores portugueses filiados � Aporvela fizeram as vezes de marinheiros sob o comando dos skippers e irm�os Jo�o Lucio Costa Lopes e Jos� In�cio Costa Lopes.
-O estado dos �sectores produtivos� -- agricultura, ind�stria --, dos servi�os e da �complexidade da m�quina administrativa�, bem como a sua �articula��o� com os problemas da �pobreza� e da �modernidade� � outra das �reas.
-�A pobreza e a Solidariedade� � assim o tema de um col�quio a que Soares assiste em Set�bal, no dia 6, onde intrev�m o presidente da C�mara, o bispo de Set�bal e Bruto da Costa.
-Por outro lado, Soares encontra-se com agricultores em A-dos-C�es, no domingo, 31, em Manique do Intendente, na ter�a-feira seguinte, e ao fim da tarde do mesmo dia, em Vila Franca.
-A 5, no Barreiro, visita a Sociedade Agr�cola Lavradiense, a 9, na Azueira, Mafra, encontra-se de novo com agricultores, na Central Fruteira e a 10 visita a Adega Regional de Colares.
-J� no dom�nio da ind�stria, inaugura as instala��es da Dan&Cake, em Alverca, e visita uma empresa de flores e o Centro Tecnol�gico da Corti�a, a 6, no Montijo.
-�Prefiro n�o fazer progn�sticos pois, como disse ao Presidente [ Felipe Gonzalez ] e ao meu colega, at� que recebamos respostas definitivas aos convites de participa��o j� enviados, n�o gostaria de fazer qualquer antevis�o�, sublinhou James Baker.
-�O senhor Baker est� quase a conseguir a paz�, sentenciou, por seu lado, Gonzalez.
-Como o P�BLICO noticiou, a Unicre remeteu para a DGCP a fundamenta��o da nova taxa, onde se refere que os custos do servi�o, por opera��o, � de 15850.
-Um valor bastante superior � soma da �taxa de cliente�, de 100 escudos, com a nova taxa de 30 escudos.
-Isto �, a Unicre sustenta que os 130 escudos a cobrar diminuem, mas n�o eliminam os preju�zos do servi�o.
- Pais Antunes, director-geral da Concorr�ncia e Pre�os, n�o ficou �inteiramente convencido� com os argumentos avan�ados pela empresa gestora da rede Visa.
-E por isso pediu a suspens�o preventiva da taxa.
-S�o v�rias as d�vidas suscitadas � DGCP pelo processo da taxa.
-Pais Antunes entende, antes de mais, que o modo como a Unicre quer taxar as gasolineiras � �discriminat�rio�, na medida em que, em toda a rede Unicre, as �bombas� s�o as �nicas sujeitas a um valor fixo, e n�o a uma percentagem sobre o valor das transac��es.
-Num sector como o dos combust�veis, em que as margens de comercializa��o s�o esmagadas e sujeitas a pre�os fixados administrativamente, uma taxa fixa poder�, na opini�o de Pais Antunes, contribuir para que as companhias se encostem sistematicamente aos pre�os m�ximos.
-Por outro lado, o director-geral destaca o facto de Portugal ser o �nico pa�s que conhece em que os portadores de Visa est�o obrigados a pagar uma taxa de 100 escudos.
-Quanto ao peso dos encargos financeiros no valor das vendas, 57 por cento das empresas declara que s�o inferiores a cinco por cento, ao passo que tr�s por cento revela encargos superiores a 20 por cento.
-Analisando estes dados, a AIP constata que, �se � um facto que em todos os subconjuntos (empresas industriais, de constru��o, com�rcio e servi�os, exportadoras e n�o exportadoras) se verifica uma maioria de empresas em que os encargos financeiros s�o inferiores a cinco por cento do volume de vendas, � bastante significativo o facto de um quarto das empresas apresentar uma rela��o encargos financeiros-vendas entre os cinco e os dez por cento (29 por cento no caso das industriais) e 18 por [...]
-Com a partida, para terras de outras gentes, de Buddy Guy, o blues ficou mais pobre.
-Com o regresso, � nossa terra, de Buddy Guy, o blues est� mais rico.
-Se o seu �ltimo disco, �Feels Like Rain�, j� garantia a proximidade da ressurrei��o, �Slippin' In� confirma-a.
-E, mesmo ao cair da folha, 1994 tornou-se um ano de alegria.
-Mestre da guitarra de doze cordas e emblema do blues do Piedmont, Blind Willie McTell � um dos guardadores da mem�ria da genu�na m�sica popular da Am�rica.
-A come�ar em Outubro de 1929 e acabar em Setembro de 1933, totalizando 41 pe�as, esta compila��o � um disco de cabeceira.
-A C�mara Municipal de Gaia vai demolir todas as constru��es de raiz do acampamento cigano de Francelos.
- A decis�o foi tomada ontem, depois de um encontro com uma representa��o dos moradores que se queixam do tr�fico de droga na zona, atribuindo-o � comunidade cigana ali instalada h� mais de 20 anos.
-Esta � uma das quatro reivindica��es que a autarquia contemplou para agrado dos moradores que afirmam agora ir aguardar pacificamente a actua��o das autoridades.
-Paralelamente, circulou tamb�m na localidade um panfleto apelando ao boicote �s aulas nas escolas da zona.
-Recorde-se que as mesmas pessoas amea�aram j� n�o votar nas pr�ximas elei��es se o problema n�o for resolvido.
-A Pol�cia Judici�ria est� a investigar a morte de Jos� Ant�nio Tom�, de 39 anos, cujo corpo foi encontrado, ontem de madrugada, em Trov�es, S. Jo�o da Pesqueira.
-Ramos Lopes, um �hist�rico� do PSD local, que foi presidente da primeira concelhia e � actualmente director da Funda��o Gulbenkian, encabe�a uma lista sem nomes sonantes da actual gest�o aut�rquica, que integra, entre administradores de empresas, o escultor �scar Guimar�es e Maria Jo�o Vieira, assessora do ex-ministro Diamantino Dur�o.
-Aos 15 anos, Pedro, �Meloman�, �Sapito� para o �people� da Arrentela e do Monte da Caparica, j� fora acusado e absolvido de assalto a um estabelecimento.
-J� passara muitas noites nas esquadras da PSP e nos postos da GNR e j� apanhara �muita porrada da b�fia�.
-Mais qualquer discurso fez que n�o recordo.
-Mas mais espantoso ainda � que nos esperou depois � porta de sa�da, n�o para cumprimentar os clientes -- como � de bom tom! --, mas de novo agredir verbalmente o meu anfitri�o, dizendo-lhe �N�o volte c� mais!� ... e atirando-lhe com a porta na cara.
-N�o pretendo fazer ironia nem obter resultados.
-mamem a pastilha el�stica caladinhos ... sen�o rua !!!
-n�o precisa de se preocupar.
-Mas n�o lhe ensinaram aquela antiga regra do neg�cio que diz que um cliente descontente � um cliente perdido?
-E at� pode n�o saber quem � ...
-s� estava presente o a�oreano.
-Nos vinhos a coisa melhorava um pouco: uns borbas e uns reguengos razo�veis, um Paulo da Silva (Colares) e alguns Bairrada, vinho e espumante.
-Azeite, creme de castanha, frutos secos e algumas ovelhas conclu�am o que Portugal tinha para mostrar.
-Foi pouco.
-Depois de tr�s dias a visitar a feira as opini�es dividiam-se um pouco, sobretudo entre professores e alunos.
-Os primeiros estavam desencantados com o facto do Sal�o deste ano n�o ostentar o brilho, nem as dimens�es, de edi��es anteriores.
-Foi um dos primeiros sintomas do efeito que as decis�es de Maastricht ter�o na ultra-subsidiada agricultura francesa -- e o primeiro sinal de retra��o.
-Vitimado por um ataque card�aco, morreu no passado dia 3 de Julho, em Nova Iorque, o guitarrista Johnny Copeland, um dos �ltimos nomes carism�ticos do blues texano.
-A not�cia da sua morte s� ontem foi conhecida, atrav�s da revista americana �Variety�.
-A maior �rea queimada verificou-se no distrito de Santar�m, com oito mil hectares, enquanto em Bragan�a arderam apenas 64 hectares.
-No per�odo de 1 de Junho a 7 de Julho os bombeiros foram chamados a 7249 fogos florestais.
-Entretanto, o violento inc�ndio que deflagrou ter�a-feira no concelho do Fund�o, entre as povoa��es de Barco e Lavacolhos, voltou a reacender-se na madrugada de ontem, ap�s ter sido considerado extinto na quarta-feira, segundo informa��o dos bombeiros locais.
-Ontem, discursando no Washington Institute for Near East Policy, no �mbito da sua terceira visita oficial aos EUA, Netanyahu voltou a propor o reatamento do di�logo com a S�ria sem condi��es pr�vias.
-Isto �, ignorando tudo o que foi negociado nos �ltimos cinco anos, o que Damasco considera inaceit�vel.
-Netanyahu garantiu ao Presidente s�rio, Hafez Assad, que encontrar� nos israelitas �parceiros razo�veis e cooperantes� se �escolher o caminho da paz.
-O problema � que, para Netanyahu, esse caminho passa primeiro pelo fim dos ataques do Hezbollah no L�bano, enquanto para Assad passa primeiro pela devolu��o dos Gol�.
-�N�s dizemos que queremos retirar-nos do L�bano, mas na imprensa s�ria respondem-me: n�o se retirem�, queixou-se Netanyahu.
-�A S�ria procura ostensivamente a nossa retirada mas, na pr�tica, impede-a�.
-Para os actores � uma terap�utica, para os espectadores � uma aprendizagem e uma li��o.
-Os oitos actores do Grupo Teatro Terap�utico do Hospital J�lio de Matos entregam-se com tal verdade e liberdade, falam t�o desassombradamente de temas-tabus, que os espectadores se sentem em desvantagem.
-Quem s�o os doentes: eles ou n�s?
-Rua do Ouro: reparado at� hoje.
-Rua da Prata: reparado at� hoje.
-... ela atende a Academia Sueca ...
-Ele, em Frankfurt, ela em casa.
-�Foi 15 minutos antes do an�ncio.
-Eu estava na cozinha, onde quase tudo de importante acontece naquela casa, e telefonaram-me.
-Atendi e creio que falou uma senhora em ingl�s -- eu n�o sei ingl�s --mas quando ouvi ' Academia Sueca ' n�o ouvi mais nada, fez-se um vazio na cabe�a, n�o sei se agradeci, se fui cort�s, se dei um grito.
-Porque toda a gente ia para o aeroporto de Madrid � espera dele, era o que estava previsto.
-A minha preocupa��o era essa, ter mandado toda a gente para o aeroporto ...
-Quando lhe perguntamos quais s�o as poss�veis raz�es desta ascens�o aparentemente irresist�vel das mulheres, Whipp responde-nos que acha que existem dois factores principais.
-Talvez n�o seja de estranhar, ali�s, que as novas campe�s da corrida sejam origin�rias da China, o pa�s mais populoso do mundo -- onde o universo da escolha � potencialmente maior do que em qualquer outro pa�s do Mundo.
-O ritmo de treino das novas campe�s chinesas, por exemplo, � absolutamente espectacular.
-Entre outras coisas, elas correm uma maratona por dia em terreno acidentado -- mais de mil quil�metros por m�s! -- e durante cinco a seis vezes por ano o seu treino decorre na meseta tibetana, a cerca de cinco mil metros de altitude.
-Os et�opes est�o este ano ausentes da pista das A�oteias, o que retira algum fulgor � prova masculina.
-Na corrida feminina, o n�vel � superior, pese embora a falta da americana Lynn Jennings, a tricampe� mundial de crosse.
-... e municipais na Tun�sia.
-Quanto � Federa��o Nacional de Professores, que ser� recebida na pr�xima ter�a-feira pelo Presidente da Rep�blica, a quem vai falar sobre a situa��o no sector da educa��o, mant�m um dos dois dias de greve marcados durante o mandato de Diamantino Dur�o.
-Os dirigentes da Fenprof avisam no entanto desde j� que se Couto dos Santos insistir nalgumas das directrizes dos seus antecessores arranjar� lenha para se queimar.
-A mudan�a de ministro n�o basta, diz a Fenprof, disposta a mostrar o descontentamento dos professores na manifesta��o do pr�ximo dia 27, data da greve.
-Depois de uma anterior fase de conversa��es, terminada h� 11 dias, a It�lia conseguiu persuadir a comunidade arm�nia do Nagorno-Karabakh a deixar de boicotar as negocia��es de Roma.
-Mas depois da nova ofensiva azerbaijana, com centenas de tanques, helic�pteros e avi�es de ataque, os dirigentes arm�nios do enclave disseram que n�o conseguiam sair de l�.
-As conversa��es de ontem, presididas por Mario Raffaelli, o mesmo que dirige o processo de paz mo�ambicano, come�aram sem eles, embora a pr�pria Arm�nia tenha estado presente.
-Mantendo uma rela��o evidente com a estrutura hist�rica dos encontros, Albano da Silva Pereira, organizador principal, articula as escolhas entre o nacional e o internacional, a consagra��o e a revela��o, o pedag�gico e o experimental.
-por outro, corre riscos est�ticos.
-Sendo a fotografia um lugar de registo dos corpos, parece que, este ano, do conjunto de exposi��es se desprende mais uma atitude de registo, a participa��o do fot�grafo na constru��o e selec��o da imagem do que a afirma��o das pr�prias imagens, do seu corpo.
-estabelecer uma ordem na multiplicidade ca�tica das imagens pode ser uma tarefa exterior e desligada desse real mas tamb�m pode, ao procurar entender as inten��es dos fot�grafos, enriquecer o conjunto fornecer-lhe um novo sentido.
-Foi este homem, marginalizado at� em decis�es que diziam respeito ao seu pelouro, que em Janeiro decidiu partir a loi�a.
-N�o queria ver o seu nome ligado a uma gest�o altamente duvidosa e pediu ao secret�rio de Estado dos Mercados Agr�colas que mandasse investigar as irregularidades de que tinha conhecimento.
-No essencial, tratava-se da adjudica��o de servi�os de promo��o de imagem e de obras sem concurso p�blico nem visto do tribunal de contas (ver P�BLICO de 21 de Abril).
-Chegadas � Comiss�o Parlamentar de Agricultura atrav�s de uma not�cia do P�BLICO, as acusa��es em quest�o levaram os deputados a ouvir Pedro Rodrigues, agora na prateleira do Iroma, e Branco Rodrigues, agora presidente do Conselho de Administra��o da PEC-Alimenta��o, a empresa que controla as quatro PEC regionais entretanto criadas.
-Conclu�da a audi��o parlamentar, o deputado comunista Lino de Carvalho, relator do processo, n�o teve d�vidas em propor que a Comiss�o Parlamentar assumisse a iniciativa de inqu�rito �s �irregularidades e ilegalidades� detectadas no cap�tulo da promo��o da imagem das PEC e da publicidade da sua privatiza��o.
-O PS anu�u de imediato e o PSD, atrav�s do seu coordenador para a �rea da Agricultura, Carlos Duarte, admitiu claramente a hip�tese de vir a subscrever a proposta de Lino de Carvalho.
-�Depois de ouvirmos o depoimento do eng. Pedro Rodrigues fic�mos com algumas d�vidas relativas aos concursos p�blicos e penso que h� aqui algumas quest�es que o pr�prio Governo n�o conhecia�, afirmou Carlos Duarte ao P�BLICO h� duas semanas.
-Anteontem, por�m, o PSD rejeitou a proposta de inqu�rito pretextando com o facto de estar em curso uma inspec��o da iniciativa do pr�prio Minist�rio da Agricultura.
-�Escrevemos ao PS pedindo um envio r�pido da contra-proposta, passadas tr�s semanas ainda n�o conhecemos oficialmente a posi��o do PS.
-Procurei na �ltima semana contactar o presidente da concelhia socialista, mas, encontrava-se no estrangeiro, espero vir a concretizar esse contacto ainda esta semana� -- conclui Carlos Arrojado.
-As celebra��es do tricenten�rio da morte do (assim convencionado) primeiro her�i nacional do Brasil, Zombi dos Palmares, tem destaque especial na edi��o de hoje do Acontece, na TV2.
-mais de 300 mil c�pias vendidas desde o Natal, �shows� continuamente esgotados no Canec�o, por onde passaram j� cerca de 50 mil pessoas, recep��o calorosa por parte do p�blico.
-O regresso �s mem�rias do passado coloca nos olhos de Joaquim Afonso um brilho de indisfar��vel saudade.
-�Dantes, a vida era cheia de felicidade.
-A aldeia tinha mais liberdade�, garante.
-A agricultura foi, desde pequeno, a sua �nica profiss�o.
-�Mas fiz o exame da quarta classe com distin��o�, assegura, com evidente orgulho.
-Tem raz�es para isso, j� que as aulas exigiam-lhe diariamente um sacrif�cio de mais de 22 quil�metros, feitos a p�, qualquer que fosse a �poca do ano.
-� medida que vai desfiando parte do seu passado, Joaquim Afonso olha fugazmente o c�u, abre mais os olhos, esbo�a um sorriso e l� vai continuando a sua conversa.
-Desta vez, � para lembrar uma prenda do seu pai, que, num dos invernos rigorosos de Busteliberne, resolveu fazer-lhe uma surpresa, oferecendo-lhe umas botas.
- �Eu gostava tanto delas que, quando passava em s�tios onde sabia que n�o encontrava ningu�m, tirava-as e ia descal�o.
- Para as poupar�, justifica.
-A cota��o de Lenine nunca foi t�o baixa.
-As filas gigantescas � entrada do imponente mausol�u na Pra�a Vermelha desapareceram.
-Os russos preferem agora passar horas numa fila para um s�mbolo do capitalismo: o McDonald's e os seus hamburgers.
-�O pr�ximo czar da R�ssia vai ser colocado no trono pelo dinheiro�, proclama Alexandre Melnik, um diplomata russo.
-As crian�as que abandonam a escola na ilha de S�o Jorge, A�ores, para ajudar os pais e a economia familiar s�o ainda em grande n�mero, segundo informou o presidente da Comiss�o de Protec��o de Menores de Velas.
-Carlos Noysan acrescentou que o absentismo escolar constitui o principal motivo de queixas apresentadas � comiss�o.
-Entre as raz�es apontadas pelo mesmo respons�vel para a fuga � escolaridade obrigat�ria, em S�o Jorge, est�o dificuldades no pagamento do almo�o das crian�as nas cantinas das escolas, a falta de dinheiro para a compra de livros e a car�ncia de transportes.
-Problemas que, de acordo com Carlos Noysan, o Instituto de Ac��o Social e o Centro de Presta��es Pecuni�rias da Seguran�a Social t�m procurado solucionar.
-O Governo Regional dos A�ores comprometeu-se a pagar os juros de um empr�stimo a contrair pela C�mara de Santa Cruz da Graciosa e empres�rios locais, visando a compra de um barco de passageiros or�ado em 54 mil contos.
-A embarca��o, de 30 lugares e 14 metros de comprimento, destina-se ao tr�fego entre as ilhas do grupo central do arquip�lago, viajando prioritariamente entre a Graciosa e a Terceira.
-O secret�rio regional da Economia, Duarte Ponte, justificou o apoio governamental com o envolvimento camar�rio no projecto, desafiando outras autarquias das ilhas a iniciativas semelhantes.
-A partir de Maio, outra embarca��o com capacidade para 150 passageiros ser� alugada pelo governo regional para ligar as ilhas dos grupos central e oriental.
-Para o desempenho das suas atribui��es espec�ficas no campo social, a Santa Casa da Miseric�rdia de Lisboa (SCML) assegura a obten��o de meios financeiros pr�prios atrav�s, sobretudo, da organiza��o e gest�o, a n�vel nacional, da lotaria nacional, das apostas m�tuas (totobola, totoloto e joker) e, agora, tamb�m, da lotaria instant�nea, em cujos lucros comparticipa.
-Foi D. Maria I que, por real decreto assinado a 18 de Novembro de 1783, concedeu a lotaria � Santa Casa da Miseric�rdia, com o objectivo primordial de sustentar os �hospitais reais de enfermos e expostos�.
-A medida acabaria por imprimir ao jogo uma credibilidade que, de outro modo, talvez n�o tivesse.
-Actualmente, de acordo com a lei vigente, a SCML recebe um ter�o dos lucros l�quidos da lotaria e o Estado fica com dois ter�os.
-Em Monte-O-Novo � feriado municipal.
-�s 15h00 sai � rua a prociss�o em honra de S. Jo�o de Deus.
-Uma hora mais tarde o Movimento Democr�tico de Mulheres promove um conv�vio no gin�sio municipal.
-No Cine-Teatro Curvo Semedo, Mafalda Veiga, Francisco Fanhais, entre outros, participam, �s 21h00, num espect�culo produzido pelo grupo �Porta Aberta�.
-O grupo de teatro Maizum apresenta a pe�a �Florbela�.
-Silvina Pereira interpreta o papel da poetisa Florbela Espanca.
-�s 17h00, no Museu Nacional de Arte Antiga, �s Janelas Verdes.
-No lado oposto desta realidade est�o o Barcelona e o Real Madrid.
-Os catal�es, em baixa de forma que n�o poupa mesmo Figo, suavizam as suas presta��es com o ataque mais realizador -- 37 golos -- e o terceiro posto.
-Lugar de p�dio, mas a sete pontos do comandante e a dois do rival local, o Espanyol, outra das revela��es.
-Est� longe a constitui��o no Nou Camp de um novo �dream team�, como o de Rom�rio e Stoichkov, o que j� enerva a direc��o.
-Consequ�ncia imediata: as diatribes do t�cnico Johan Cruyff, consentidas com os �xitos, apresentadas mesmo como sinais de genialidade, passam agora a ser criticadas.
-J� no Real Madrid, apesar de a equipa continuar mal -- foi humilhada pelo Deportivo da Corunha na quinta-feira com tr�s golos de velocidade de Bebeto --, de n�o reencontrar a frescura que a levou na �poca passada ao t�tulo, o treinador Jorge Valdano continua com o apoio da direc��o.
-Adivinha-se que a prazo, enquanto as d�vidas do clube concentrarem a aten��o dos dirigentes e as contas n�o possibilitarem o pagamento da rescis�o do contrato.
-N�o � de literatura do que aqui se trata, embora a hist�ria, densa e tr�gica, nos envolva desde a primeira p�gina.
-Uma hist�ria bem real, t�o real e violenta que o livro foi j� posto fora de circula��o oficial no Brasil, tal as ondas de choque que provocou o seu testemunho-den�ncia, vinte anos j� passados sobre o desaparecimento sem rasto de S�nia Maria de Moraes Angel Jones.
-Os Estados Unidos devem subir substancialmente as taxa de juro durante o pr�ximo ano, de forma a manter a infla��o sob controlo e manter um ritmo de expans�o sustentada da economia.
-O conselho foi ontem dado pelos t�cnicos da OCDE, no seu mais recente relat�rio sobre o estado da economia norte-americana, em que se avisa as autoridades do pa�s a reduzirem os gastos com a Seguran�a Social com o objectivo de assegurar, a longo prazo, a sa�de financeira federal.
-A organiza��o prev� que os Estados Unidos cres�am 2,9 por cento em 1995, contra 3,8 por cento este ano, enquanto a infla��o passar� de 2,1 por cento em 1994 para 2,8 por cento no pr�ximo ano.
-A OCDE considera que nos dois �ltimos anos a economia norte-americana teve um bom desempenho, mas receia o aumento das tens�es inflacionistas e novas quedas do d�lar, caso as taxas de juro n�o venham a ser aumentadas.
-Ao que tudo indica, a decis�o de uma nova reuni�o com o ministro foi j� tomada, embora a data ainda n�o tenha sido estabelecida.
-Enquanto isso, os universit�rios do Norte t�m estado a reunir-se e a estudar cada um dos princ�pios apresentados pelo titular da pasta da Educa��o.
-� o caso do n�cleo do Porto do Movimento Nacional Contra o Aumento de Propinas e da Associa��o de Estudantes da Universidade de Aveiro, que t�m estado a discutir as mesmas propostas com vista a elaborar um documento onde seja patente a sua tomada de posi��o sobre o assunto.
-Para Miguel Dias, dirigente estudantil da Universidade de Aveiro, as palavras de Couto dos Santos no Porto deixaram �muitas d�vidas em rela��o � justi�a social�.
-Concretizando, aquele universit�rio referiu a convic��o de que �n�o devem ser os estudantes a pagar pelos erros de certos reitores que n�o t�m feito bem a gest�o dos dinheiros�.
-A inten��o dos estudantes de Aveiro �, agora, saber como � feita a gest�o das universidades e, por outro lado, saber �qual � o fim do aumento das propinas�.
-Para os habitantes do Sul, observou a Reuter, a discuss�o da guerra civil nas Na��es Unidas d� credibilidade ao seu Estado, embora este seja apenas reconhecido pela Somalil�ndia, outro territ�rio secessionista, da vizinha Som�lia, que tamb�m ningu�m reconheceu.
-�H� dois tipos de reconhecimento na lei: um claro e outro impl�cito�, comentou Abdul-Moneim Abdullah, professor de Direito na Universidade de �den.
-�Por enquanto, estamos felizes s� com o reconhecimento impl�cito�.
-Enquadrada no local mais terciarizado da capital, a exposi��o Habita��o Lisboa/92, organizada pela autarquia no Terreiro do Pa�o, pretende, durante a semana de 16 a 23, n�o s� lan�ar o debate sobre os problemas no sector como relembrar a fuga de habitantes para fora da cidade, substitu�dos pelos servi�os e o com�rcio.
-Com excep��o para o Instituto Nacional da Habita��o e do Instituto de Gest�o e Aliena��o do Patrim�nio Habitacional do Estado (os dois organismos estatais ligados ao sector) -- que declinaram o convite feito pela C�mara -- estar�o presentes no certame diversas entidades com responsabilidades na Habita��o.
-Assim, entre os 28 expositores contam-se as autarquias, as empresas construtoras, os bancos, as imobili�rias, as seguradoras e as associa��es como a dos inquilinos e a dos propriet�rios, entre outras.
-11 de Setembro -- O Bundesbank interv�m em defesa da lira, sendo seguido pelo banco central da B�lgica.
-13 de Setembro -- O Comit� Monet�rio da Comunidade opta por um realinhamento do SME, com a desvaloriza��o da lira italiana em 3,5 por cento e a valoriza��o das restantes divisas do Sistema em 3,5 por cento.
- Carlos do Carmo interpreta temas � capella, outros em que � acompanhado por apenas um instrumento e apresenta uma can��o in�dita.
-� o primeiro concerto do programa �Vozes�.
- Espect�culo do Ballet Folcl�rico Mexicano, no �mbito da programa��o oficial do pa�s.
-Um m�s ap�s a Declara��o anglo-irlandesa sobre o futuro do Ulster, continuam long�nquas as hip�teses do Sinn Fein, o bra�o pol�tico do IRA vir a aprovar os seus termos.
-O documento � pouco favor�vel aos republicanos que s� na P�scoa se pronunciaram oficialmente sobre ele.
-Interessa antes de mais decidir quem preferimos para representar a Rep�blica, a que somos e a que queremos vir a ser.
-A representa��o depende muito da qualidade do ser do representante.
-A este n�vel o estilo � o homem.
-Nenhuma d�vida me sobra ao comparar Cavaco, s�mbolo de um economicismo rasteiro e de uma extrema escassez cultural e espiritual, com Sampaio, pessoa de outra espessura humana e promessa de que a pol�tica continuar� a predominar em Bel�m.
-E quem n�o sentir� que o v�nculo entre entre Sampaio e as liberdades pol�ticas � n�o s� mais antigo mas mais visceral?
-A ag�ncia Nova China informou que para redigir este dicion�rio de 34 470 entradas em l�ngua chinesa, foi necess�rio o trabalho de 300 especialistas durante tr�s anos.
-A enciclop�dia �� considerada o primeiro grande instrumento de trabalho exaustivo e sistem�tico para o mestudo do marxismo-leninismo a ser publicado depois do nascimento da doutrina marxista�, explicou a ag�ncia.
-A primeira edi��o, de 11 mil ecxemplares, est� j� reservada na sua totalidade.
-A FRENTE Polis�rio acusou ontem Marrocos de violar pela terceira vez o cessar-fogo no Sara Ocidental ao enviar avi�es para sobrevoar a povoa��o de Mijek, no sudeste do territ�rio.
-�Para que possa n�o responder �s viola��es marroquinas, a parte sarau� exige que a comunidade internacional lance um alerta a Marrocos para que cesse as provoca��es e para que se comnporte de forma respons�vel, respeitando os seus compromissos�, declarou a Polis�rio, organiza��o que luta pela independ�ncia do territ�rio do Sara Ocidental, num comunicado divulgado em Argel.
-O norte-americano Pete Sampras foi afastado pelo seu compatriota Jim Courier (24� ATP) pelos parciais de 7-6 (7-5), 6-4, o que significa que o n�mero um do mundo vai chegar � �catedral da terra batida�, Roland Garros, com duas derrotas em outros tantos encontros disputados sobre o p� de tijolo.
-Michael Chang, n�mero dois do �ranking�, foi eliminado pelo argentino Hernan Gumy (54� ATP) com os parciais de 6-3, 6-2.
-Surpreendentes foram tamb�m as derrotas dos finalistas do torneio de Hamburgo, na semana passada, ambos batidos por australianos.
-Andrei Medvedev, vencedor do torneio alem�o, foi afastado por Scott Draper por 7-5, 6-3, e F�lix Mantilla (cabe�a de s�rie n�13) foi eliminado por Patrick Rafter por 6-1, 3-6 e 6-4.
-Quando a advogada lhe perguntou porque � que o carro dos portugueses n�o teria sido interceptado, Cardiell afirmou que pensava �estarem combinados com a pol�cia, tendo em conta a forma como as coisas se passaram�.
-�Se nos tinham localizado, podiam ter actuado quando ainda est�vamos com os portugueses�, afirmou.
-�A pol�cia n�o quer que eu preste declara��es.
-N�o lhes interessa saber mais dados.
-V�-se que este trabalho foi preparado pela pol�cia, que ter� facilitado a entrega da droga para nos deter�, rematou o arguido, sugerindo que pode perfeitamente identificar os portugueses envolvidos se as autoridades mostrarem interesse nisso.
-Para um utilizador experiente ou para um principiante, uma liga��o r�pida, eficaz e econ�mica � Internet em Portugal s� � assegurada atrav�s da Teleweb ou da Esot�rica, dois dos cinco fornecedores que operam em Portugal.
-Esta � a conclus�o a que chegou a revista de consumidores �Pro Teste�, que publicou na sua edi��o de Setembro um estudo sobre esta mat�ria.
-Fora das fronteiras do Imp�rio, consegue pouco sucesso no Oriente, mas seduz os germanos atrav�s da �heresia� do arianismo, que considerava Jesus apenas como um homem, excluindo a sua dimens�o divina.
-Mais tarde, os povos que aderiram e esta �deriva��o� ser�o duramente reprimidos.
-Inicialmente religi�o dos pobres, a nova mensagem depressa se estende a todas as camadas sociais e ser� vigorosamente divulgada pelos pequenos grupos iniciais, que depois d�o origem a novas comunidades.
-A devo��o ou o arrependimento de pessoas ricas implica, em simult�neo, a concess�o de doa��es �s autoridades crist�s, que as enriquecem.
-Trezentos anos ap�s a morte de Jesus, o cristianismo iria tornar-se a religi�o oficial do Imp�rio.
- Um grupo autodenominado �Combatentes pela Liberdade do L�bano� reivindicou ontem o rapto de um oficial da For�a A�rea norte-americana e do seu filho, que desapareceram na Turquia, e amea�ou execut�-los caso n�o seja libertado um dirigente do Hezbollah, revelou ontem em Ancara a ag�ncia Anatolia.
-A ag�ncia referiu que um indiv�duo n�o identificado e que se exprimia mal em turco telefonou de um pa�s estrangeiro para afirmar que o grupo tinha em seu poder o tenente-coronel Mike Couillard, 37 anos, e o seu filho Matthew, dez anos.
-Os dois norte-americanos desapareceram h� tr�s dias no Ocidente da Turquia.
-Segundo apurou o P�BLICO, o ministro Ferreira do Amaral nomeou o presidente do Conselho Superior de Obras P�blicas, Arm�nio Faria, para representar o MOPTC nas negocia��es tendentes a um acordo.
-Um gesto que revela disponibilidade do Governo para �um acordo de cavalheiros� que o presidente da C�mara de Fafe, Parc�dio Summavielle, classifica de �francamente positivo�.
- A hist�ria remonta a 1983, altura em que o Governo do Bloco Central, atrav�s do Minist�rio do Equipamento Social, titulado pelo socialista Rosado Correia, assinou com a C�mara de Fafe um protocolo no qual se comprometia a custear um centro coordenador de transportes at� ao montante de cem mil contos e a financiar em 90 por cento a constru��o de uma via circular � cidade, como contrapartidas � desactiva��o da linha f�rrea entre Guimar�es e Fafe.
-O XVIII Festival Internacional de M�sica da P�voa de Varzim abre hoje a sua programa��o com um concerto por o Coral de Letras da Universidade do Porto e da Orquestra Esproarte, �s 21h30, na Igreja Matriz da cidade.
-O espect�culo conta com a participa��o de Rui Taveira (tenor), Oliveira Lopes (bar�tono), Thomas Gal (piano), Isabel S� (harpa) e Helena Sofia Pereira (t�mpanos).
-Os m�sicos ir�o interpretar, sob a direc��o do professor Jos� Lu�s Borges Coelho, a cantata BWV 4 de J. S. Bach, bem como a �Sinfonia Simples� e a cantata �Misericordium�, ambas de Benjamin Britten.
-Em Pa�os de Brand�o inicia-se tamb�m o XIX Festival de M�sica de Ver�o.
-Na sede do C�rculo de Recreio, Arte e Cultura actua, pelas 21h45, o Quarteto L�rico do Real Teatro de Queluz, que � formado por Elsa Saque, Carlos Guilherme, Ana Ferraz e Wagner Dinis.
-Os cantores ser�o acompanhados ao piano por Armando Vidal.
-Hoje, a �ltima oportunidade de assistir ao espect�culo de dan�a cl�ssica indiana, com coreografia e interpreta��o de Mallika Sarabhai, uma das mais eminentes bailarinas indianas, especializada nos estilos Bharata Natyam e Kuchipudi, e cuja participa��o na obra de Peter Brook, Mahabharata, no papel de Draupadi, lhe concedeu fama internacional.
-O treinador portista optou por uma marca��o individual e muito atenta sobre os homens do Corunha.
-E logo aos 4', as cerca de 500 pessoas que se deslocaram ao Pavilh�o das Antas assistiram ao primeiro golo apontado por Pedro Alves.
-Durante a primeira parte, a constante rota��o defensiva operada pelos portistas conseguiu anular a rapidez dos espanh�is.
-A concentra��o defensiva, e consequente n�mero de bolas recuperadas, viria a originar o segundo e terceiro golos portistas, ainda na primeira parte.
-Primeiro por Pedro Alves, num inesperado remate � meia volta, e a dois minutos do intervalo por T� Neves que, de costas, conclui uma bonita jogada de envolvimento.
-Para terminar: Francisco Paula de Oliveira merece hoje o protagonismo e a import�ncia que lhe foi negado.
-O reconhecimento que tarda.
-O respeito que se imp�e.
-Os New Jersey Nets perderam a invencibilidade no campeonato, pois foram derrotados pelos Chicago Bulls, por 99-86.
-Os Bulls, com 21 pontos de Steve Kerr, regressaram �s vit�rias e somam agora quatro triunfos -- todos eles conquistados em casa -- e duas derrotas, que lhe d�o o terceiro lugar na Divis�o Central.
-Apesar da derrota, a equipa de New Jersey pode orgulhar-se de ter obtido, nesta �poca, a melhor s�rie vitoriosa num in�cio de campeonato (quatro triunfos consecutivos) desde 1976, altura em que se estreou na NBA.
-A privatiza��o do BFE processar-se-� por concurso p�blico de 65 por cento do capital do banco.
-O pre�o m�nimo por ac��o � de 1980 escudos, valor que se encontra pr�ximo da oferta p�blica de aquisi��o final feita pelo Banco Portugu�s de Investimento, em Fevereiro, o que atribui ao BF um valor global de 158,5 milh�es de contos.
-A opera��o de venda, que incide sobre 52 milh�es de ac��es, permitir� ao Estado um encaixe m�nimo de 103 milh�es de contos, destinado ao Fundo de Regulariza��o da D�vida P�blica.
-O concurso p�blico para a aliena��o do BFE � aberto �a investidores, individualmente ou em grupo, que observem os requisitos de dimens�o de activos, fundos pr�prios e capitais, estipulados no caderno de encargos�, a aprovar por Resolu��o do Governo.
-Stuart Eizenstat, sub-secret�rio de Estado do Comercio norte-americano, lan�ou um apelo �s autoridades do Estado da Calif�rnia para que reveja a sua decis�o de boicote aos bancos su��os, aparentemente sem efeito.
-O Governo su��o reagiu criticamente a este boicote, amea�ando recorrer � Organiza��o Mundial do Com�rcio (OMC).
-A tens�o entre os EUA e a Su��a vai seguramente crescer com a entrevista dada ao �L'Hebdo�, de Genebra, pelo vener�vel universit�rio Jean-Fran�ois Bergier e publicada quarta-feira.
-A Oliva informa os obrigacionistas da emiss�o Oliva/89 que o valor l�quido do juro por obriga��o � de 34 escudos e est� dispon�vel a partir de 20 de Junho na sede da empresa.
-A Indelma-Ind�strias Electro-Mec�nicas SA estar� cotada durante 30 dias no mercado sem cota��es.
-A perman�ncia no mercado come�a a ter efeito a partir do dia 31 de Maio.
- O ANTIGO chefe de Estado do Uruguai, Julio Sanguinetti, foi eleito para a Presid�ncia da Rep�blica nas elei��es gerais de domingo, segundo a projec��o de um instituto privado ap�s o escrut�nio de 15 por cento dos votos.
-Segundo o instituto Cifra, o Partido do Colorado (liberal), de Sanguinetti, ter� vencido a corrida eleitoral com 33,5 por cento dos sufr�gios, contra 31 por cento do Partido Nacional (conservador), do Presidente cessante Lu�s Alberto Lacalle, e 30 por cento da Frente Ampla (esquerda).
-Sanguinetti, um advogado de 58 anos, que dirigiu pela primeira vez o pa�s entre 1985 e 1990, ficar� no poder por um mandato de cinco anos.
- Arrigo Sacchi, seleccionador nacional italiano de futebol, indicou ontem os 22 jogadores que v�o representar o pa�s no Mundial de Futebol dos Estados Unidos.
-Os atacantes Gianluca Vialli e Gianluigi Lentini ficaram de fora.
-O Milan -- finalista, com o Barcelona, da Liga dos Campe�es Europeus -- � o clube que mais jogadores fornece � selec��o transalpina, com sete futebolistas, seguindo-se o Parma, com cinco, a Juventus e o L�zio de Roma, ambos com tr�s.
-Na manh� seguinte, com surpresa minha, o telefone tocou e falei tudo o que era necess�rio.
-Espantada com o facto, resolvi aproveitar e fazer algumas chamadas que se encontravam pendentes h� dois dias.
-S� consegui fazer duas, � terceira tudo voltou ao princ�pio.
-Chegada ao meu local de trabalho, tentei desta vez falar com a assistente do meu n�mero de telefone.
-Finalmente algu�m me entendeu, pois de imediato me disse que deveria tratar-se de ... uma avaria na central!
-Como fiquei contente por, ao fim de dois dias, ter conseguido fazer-me entender pela Portugal Telecom.
-E confesso que a minha l�ngua-m�e � o portugu�s ...
-Frei Bento Domingues, O.P.
-Diz-se que um documento do Vaticano ou provoca uma grande pol�mica -- e torna-se um sucesso editorial -- ou vai dormir tranquilamente para as bibliotecas eclesi�sticas.
-Jo�o XXIII teria sido a sant�ssima excep��o.
-Frederico Cunha celebrar� o seu 48� anivers�rio no pr�ximo domingo, na companhia dos seus familiares no Brasil.
-Distante, com a pena de 15 meses de pris�o suspensa, pela infrac��o de favorecimento pessoal, o seu afilhado Jos� Miguel Noite completar� 28 anos no pr�ximo dia 24, num pa�s da Uni�o Europeia onde estuda como bolseiro de uma institui��o madeirense.
-Os mercados de ac��es fecharam ontem em alta, com as bolsas de Londres e Paris (Frankfurt esteve encerrada) a beneficiarem de uma onda de compras coincidente com o come�o da cimeira do Grupo dos Sete (G7) pa�ses mais ricos do mundo, em Halifax, Canad�.
-O d�lar subiu para valores acima dos 1,41 marcos, aproximando-se cautelosamente dos 85 ienes e mostrando grande firmeza.
-Um d�lar est�vel ajudou os investidores activos nos mercados de ac��es, na medida em que serve de suporte aos exportadores europeus, disseram operadores.
-O �ndice FTSE-100 da Bolsa de Londres subiu 0,92 por cento, enquanto o CAC-40, de Paris, valorizou-se 1,43 por cento.
-A Bolsa de T�quio, por seu lado, encerrou nos 14867,26 pontos, mais 206,77 pontos, ao contr�rio de Hong Kong, que terminou em baixa ligeira.
-Wall Street, a meio da sess�o encontrava-se em alta, com o �ndice Dow Jones a cotar-se nos 4493,85 pontos, mais 2,77 pontos da v�spera e muito pr�ximo da barreira psicol�gica dos 4.500 pontos.
-�No seu todo o dia foi muito positivo�, afirmou um �trader�, que salientou estarem os mercados bastante activos.
-Analistas disseram que a reuni�o do G7 pode terminar com o diferendo entre Washington e T�quio relativo ao sector autom�vel.
-Dos v�rios tipos de fundos existentes, os que registaram maior procura, proporcionalmente � sua quota de mercado, foram os internacionais.
-Os pouco mais de 3,3 milh�es de contos que geriam no final do ano passado passaram no final de Junho a 21 milh�es de contos, ou seja, um crescimento de 536 por cento.
-A este aumento n�o � alheio o facto destes produtos serem os que actualmente oferecem as maiores taxas de rentabilidade, a par dos fundos de ac��es.
-A �especilaiza��o do mercado� foi, segundo �lvaro Peixoto, a nota mais importante do semestre.
-Para o secret�rio geral da ASGFIM torna-se, no entanto, necess�rio proceder a certas altera��es dentro do sector, por forma a torn�-lo mais competitivo.
-Uma das reivindica��es � a urgente altera��o da actual lei que baliza o comportamento dos fundos.
-A lei � de 1988 e obriga a que as sociedades gestoras tenham pelos menos 25 por cento das suas aplica��es em d�vida p�blica nacional e 75 por cento das aplica��es t�m que ser em t�tulos cotados em Bolsa.
-A vit�ria, por 3-0, do Estrela da Amadora frente ao Desportivo de Chaves � indiscut�vel, como tamb�m � indesment�vel que aquilo que se viu ontem na Reboleira pouco teve a ver com futebol.
-Os visitados, que fizeram uma exibi��o sofr�vel, s� depois de os transmontanos ficarem com menos um jogador conseguiram criar jogadas com princ�pio, meio e fim.
-O jogo dos visitantes descreve-se com uma palavra: paup�rrimo.
-Tudo � poss�vel encontrar no IX Sal�o de Antiguidades e Coleccionismo, desde objectos de ouro e prata, moedas, mob�lias cl�ssicas, armas, tape�arias, pinturas, livros e postais antigos, onde marcam presen�a de destaque as pe�as de Art Deco, �a mais nova das antiguidades�.
-Estes tr�s items foram considerados pelos alunos -- e at� por professores do ensino secund�rio -- como os mais pol�micos da primeira chamada.
-No que diz respeito � analogia �fluido est� para v�treo assim como viscoso est� para transl�cido�, o j�ri considerou que a validade do conte�do da quest�o � muito reduzida, dado que �o grau de dificuldade da rela��o estabelecida horizontalmente, acrescida do facto de os termos terem um significado em F�sica n�o coincidente com o da linguagem corrente�.
-Assim, todos os candidatos recebem os dois pontos atribu�dos a este item.
-O investimento directo portugu�s no estrangeiro elevou-se no per�odo em an�lise a 482 milh�es de d�lares, o que � mais 48,31 por cento do que o verificado no per�odo hom�logo do ano de 1991, e que se explica em grande parte pelo aumento do investimento industrial em Espanha.
-Quase metade dos valores registados destinam-se ao pa�s vizinho e, desse montante, cerca de 95 por cento ter� sido aplicado na ind�stria.
-O investimento l�quido nacional em t�tulos estrangeiros, por seu turno, elevou-se a 298 milh�es de d�lares quando no ano anterior praticamente n�o tinha express�o.
-Um inc�ndio destruiu, ontem � tarde, quatro habita��es de madeira do bairro de pescadores avieiros de Vila Franca de Xira, desalojando um total de dez moradores, que n�o sofreram quaisquer danos pessoais.
-Trav�es -- Discos � frente, tambores atr�s.
-Rodas -- Pneus 185/60 R 14.
-Entre 1 e 4 de Setembro decorreu em D�sseldorf, a edi��o Primavera-Ver�o 1992 da Igedo, certame de vestu�rio, no qual Portugal participou como pa�s-parceiro.
-A Igedo come�ou em 1949 com apenas sete exibidores e hoje cresceu at� aos dois milhares e meio, em representa��o de 47 pa�ses.
-; e a sua relev�ncia � tanto maior quanto o seu calend�rio a torna um bar�metro da esta��o que antecipa.
-Os pa�ses mais representados em termos de exibidores s�o a Fran�a, a It�lia e, obviamente a Alemanha, enquanto os maiores compradores v�m de B�lgica, Escandin�via e Holanda.
-Coordenadas que fazem com que a Igedo seja especialmente atractiva para as empresas portuguesas viradas para a exporta��o, sobretudo quando o processo de ades�o � CEE torna o momento decisivo para o que � um dos sectores produtivos de maior peso na economia do nosso pais.
-Uma senhora, por�m, que n�o resistiu a abra�ar com algum orgulho o vereador Oliveira Dias, chamando-lhe �ex-camarada� (recorde-se que Oliveira Dias foi, durante largos anos, o rosto da CDU na autarquia portuense), abeirou-se de Gomes para lhe dizer que os arm�rios que a C�mara instalou na avenida s�o ex�guos para guardar a mercadoria.
-O presidente desculpou-se, lembrando-lhe, mais uma vez, que tudo aquilo � provis�rio.
-Quem n�o colocou nenhum obst�culo foram as vendedoras de peixe, que saudaram efusivamente o autarca.culo foram as vendedoras de peixe, que saudaram efusivamente o autarca.
-�� filho, d�-me um abra�o, que eu fa�o sempre campanha por ti e eu hoje n�o cheiro a peixe como no outro dia�, afirmava, emotiva, uma senhora de meia-idade.
-Para o autarca vila-franquense, a �hesita��o� do PSD na discuss�o desta mat�ria estar� relacionada com a posi��o assumida pelo ministro das Obras P�blicas, Transportes e Comunica��es, em reuni�o recente com a C�mara e a Assembleia Municipal.
-�Transpareceu a tentativa de evitar discutir este problema e, depois, uma certa vontade de que o assunto fosse dado como definitivamente arrumado.
-Finalmente, o ministro acabou por admitir que esta quest�o ter� que ser analisada futuramente, n�o deixando de considerar que a aboli��o ter� que se verificar, mas sem definir qualquer horizonte temporal�, sustenta o presidente da Assembleia Municipal.
-Carlos Arrojado aguarda que, depois das f�rias parlamentares, o projecto-lei e a peti��o pela aboli��o das portagens sejam discutidos, em plen�rio da Assembleia da Rep�blica, at� ao final deste ano ou princ�pio de 93.
-�Os interesses da Brisa e do Governo, ao n�vel do Or�amento de Estado, n�o podem continuar a contrariar a necessidade de criar melhores condi��es de vida � popula��o�, acrescenta o autarca, que salienta que por haver portagens n�o pode ser decidida a proibi��o da circula��o de pesados no interior de Vila Franca e Alverca.
-�A �nica justifica��o para n�o haver a aboli��o de portagens � de que, ali, se recebe muito dinheiro�, conclui o presidente da Assembleia Municipal.
-O Braga conseguiu ontem em Chaves a sua primeira vit�ria no campeonato nacional, por 2-1.
-Tal como aconteceu na partida frente ao Farense, Wosniak voltou a ser a principal figura do encontro, mas, desta feita, pela positiva.
-Bem pior est� o Chaves, que continua sem ver a cor dos pontos.
-E, ao fim de tr�s jornadas, a forma��o de Jos� Rom�o soma outras tantas derrotas.
-O Presidente da Assembleia da Rep�blica solicitou a v�rios juristas ligados ao seu gabinete que se pronunciem sobre a legalidade da forma como tem sido descontada no vencimento de deputados do PSD a quantia correspondente �s multas aplicadas por faltas de compar�ncia.
-Barbosa de Melo foi sens�vel �s reclama��es de alguns parlamentares da maioria que a ele se dirigiram pondo em causa tais descontos sem deles terem sido previamente informados e, segundo o P�BLICO apurou, admitiu mesmo vir a solicitar um parecer � Procuradoria Geral da Rep�blica.
-Na reuni�o de ontem, o l�der dos sociais-democratas portuenses n�o deixava qualquer ind�cio sobre a forma como ir� conduzir todo o processo face �s candidaturas que se desenham.
-Lembrava apenas que �tudo est� ainda em aberto� e, por isso, insistiu na necessidade de n�o haver declara��es precipitadas de apoio at� porque poderiam fragilizar �eventuais candidaturas que possam vir a aparecer�.
-E contrariando as teses de que o pr�ximo presidente do PSD ser� fatalmente um l�der de transi��o, defendeu a aposta numa solu��o para quatro anos.
-se o PSD interiorizasse a ideia de que seria uma lideran�a a prazo estaria a admitir desde j� que os resultados das pr�ximas elei��es aut�rquicas iriam redundar num novo desaire eleitoral.
-Pelo contr�rio, Menezes considera que os resultados obtidos nas elei��es presidenciais s�o potenciadores de uma vit�ria nas aut�rquicas.
-Sem iludir a derrota, defendeu que em causa esteve ainda o julgamento do cavaquismo conjugado com �um estado de gra�a� do governo socialista, circunst�ncias que lhe permitem concluir que a margem de 46% dos votos obtida por Cavaco Silva �, apesar de tudo, animadora.
-Para al�m do mais, diz Menezes, o PP saiu destas presidenciais �fragilizado, e come�am a ser not�rias as fracturas internas�.
-o PSD tem de se afirmar como uma oposi��o cred�vel, com uma lideran�a forte, at� porque nas previs�es de Menezes tamb�m entram as medidas impopulares do governo socialista que estar�o a� a chegar ...
-Ora a� est� ...
-talvez chegue mesmo � auto-estrada.
-Perigosamente.
-O citado desvio, pela escarpa do Observat�rio, aproxima-se dos acessos � Ponte do Freixo e � auto-estrada.
-Nada mais nada menos que o Itiner�rio Principal n�.1, o eixo vi�rio mais importante e carregado do nosso pa�s.
-Logo que a V.C.I. do Porto f�r dada por concluida, um aut�ntico formigueiro de carros em andamento.
-Sempre na �nsia de, � primeira oportunidade, cortarem pelo caminho mais recto.
-As autoridades paquistanesas criticam a �ndia pelos seus planos de desenvolver m�sseis bal�sticos, sobretudo o Agni, que tem um alcance de 2500 quil�metros, e o Prithvi, de m�dio alcance.
-O ano passado, o Paquist�o enviou uma carta ao secret�rio-geral da ONU depois de o �Washington Post�, citando os servi�os secretos americanos, ter noticiado que a �ndia instalara m�sseis Prithvis pr�ximo da cidade de Jullundur, no estado do Punjab, no noroeste.
-Nova Deli desmentiu a not�cia.
-� �ndia e ao Paquist�o � reconhecida a capacidade de fabricar -- e de j� possuir -- armamento nuclear.
-Ambos se recusaram a assinar, no final de 1996, o tratado de interdi��o total de testes nucleares (CTBT, segundo o acr�nimo ingl�s).
-Helena Vaz da Silva, uma ex-jornalista, manifestou a opini�o de que a �qualidade vende� e que �os ' media ' ganhadores s�o aqueles que conseguem conjugar qualidade, lucro e interven��o c�vica�.
-Menos optimista sobre a rela��o qualidade / venda est� o analista econ�mico Francisco Sarsfield Cabral, que apontou o caso do mercado brit�nico, onde os tabl�ides vendem dez vezes mais do que os jornais de qualidade.
-O tamb�m ex-jornalista da RTP lembrou que se est� a voltar � ideia de que �o accionista deve interferir na vida das empresas�, mas referiu que �o jornal para ser cred�vel, n�o pode ser portador de recados do seu propriet�rio�.
-Para defesa da credibilidade do pr�prio jornal e para permitir aos leitores um julgamento, disse, �a estrutura dos accionistas deve ser conhecida� como, ali�s, acontece na maior parte dos casos em Portugal.
-Sarsfield Cabral recordou que os ganhos dos investidores medi�ticos devem ser financeiros como acontece noutras �reas empresariais, mas n�o devem ser esquecidos os outros tipos de proventos que eles recolhem: �A influ�ncia pol�tica e a influ�ncia social�.
-Freneticamente, o Governo tem-se empenhado em gastar centenas de milhares de contos em propaganda para nos convencer das vantagens do aumento em 50 por cento da capacidade (seis faixas) da ponte em termos rodovi�rios e noutra inquestion�vel vantagem que � a futura implanta��o nela do caminho-de-ferro.
-ser�o 120.000 passageiros luxuosamente transportados todos os dias e que, como � �bvio, deixar�o de circular de autom�vel.
-Depois, exagera desmedidamente com os paternais cuidados com os utentes da Ponte 25 de Abril, ao ponto de, ap�s tantos benef�cios, ainda lhes querer dar mais uma ponte.
-(...) Depois de tantas melhorias, qual a necessidade da nova ponte?
-N�o se estar� a comportar o Governo como aqueles babados paizinhos que estragam os filhos com guloseimas?
-Estar�o os esfor�ados ministros a prever uma explos�o demogr�fica no pa�s?
-Os respons�veis pelas condi��es de trabalho da imprensa, do Minist�rio dos Neg�cios Estrangeiros, j� montaram, entretanto, no CCB, 630 telefones directos, 25 faxes, cinco aparelhos de telex e 350 m�quinas de escrever para os, certamente poucos, jornalistas que n�o usem o respectivo computador.
-� primeira vista, se compararmos os n�meros -- de jornalistas e de telefones, por exemplo --, n�o parece estar garantido de antem�o que, nas horas de ponta, se evitem os �engarrafamentos�.
-Confrontado com o pedido da mudan�a topon�mica, o munic�pio viseense, atrav�s do seu l�der, Fernando Ruas, oficiou a Junta no sentido de dar o nome de Lu�s Martins a uma outra avenida que atravessa a freguesia e que se situa num tro�o da Entrada Nacional 2 gerido pela C�mara -- o que n�o agradou aos elementos da autarquia repesense.
-Jos� Ferr�o, presidente da Junta, referiu que, mesmo assim, a proposta da edilidade �vai ser analisada numa pr�xima sess�o da Assembleia de Freguesia, a realizar em Abril�.
-Um americano de 43 anos, John Esposito, que se entretinha a sequestrar crian�as numa cela met�lica enterrada no jardim da sua casa em Nova Iorque, que vigiava atrav�s de circuitos internos de v�deo, entrega-se � pol�cia.
-O custo de vida no Funchal � superior ao de Lisboa, revelam estudos que apontam as taxas portu�rias praticadas no arquip�lago como causa do desequil�brio observado.
-O aparecimento de filtros e de certo tipo de tabaco mais suave em cigarros, destinados a evitar os cancros das vias respirat�rias, est�o a multiplicar os casos de uma certa forma de cancro do pulm�o, adianta um estudo realizado pela Sociedade Americana de Cancro (ACS).
-At� aos anos 50, o fumo do tabaco usado nos cigarros era extremamente irritante e, em consequ�ncia disso, era dif�cil inal�-lo profundamente.
-A maior parte dos fumadores realizava, assim, apenas uma inala��o parcial e a maior parte do fumo ficava-se pelas vias respirat�rias superiores e depositava-se na garganta e na boca.
-Era a� que se fixava a maior parte das subst�ncias cancer�genas e a maior parte dos cancros dos fumadores surgiam nestas regi�es.
-Foi quando apareceram os filtros e os tabacos mais suaves que os fumadores come�aram a inspirar o fumo mais profundamente, levando-o mesmo at� aos alv�olos pulmonares, permitindo a cria��o de dep�sitos de subst�ncias cancer�genas nas vias mais finas, na periferia dos pulm�es -- o que deu origem ao desenvolvimento de uma forma de cancro chamada adenocarcinoma.
-Pinochet passeou-se por Portugal, tudo numa visita �oficialmente privada�.
-Governo e Ex�rcito fizeram vista grossa � passagem do general.
-Eis quando sen�o um jipe dos Comandos deu o n�o dito por dito.
-Certo � que Pinochet fez do pa�s uma casa portuguesa, com certeza.
-Secreta foi uma reuni�o nos arredores de Lisboa e uma saltada-rel�mpago a Londres.
-O chefe do grupo conservador �Rossia� no Parlamento russo, Serguei Babourine, concordou que n�o existe �nenhuma base legal� para julgar as ac��es de Erich Honecker enquanto chefe de Estado de um pa�s internacionalmente reconhecido.
-O pr�prio Gorbatchov considerara �imoral� a expuls�o de Honecker mas a posi��o pol�tica em que se encontra actualmente o Presidente sovi�tico n�o � a mais prop�cia para fazer fazer as suas opini�es.
-No dia dedicado a debater as quest�es do emprego, o antigo presidente da Comiss�o Europeia brindou-os com as suas quatro condi��es para o �xito da moeda �nica (uma quest�o que divide profundamente os alem�es), entre as quais est�o um �pacto de confian�a� entre os pa�ses que ambicionam participar na terceira fase da UEM e um �novo sistema monet�rio europeu� que crie o quadro das rela��es entre os que aderem numa primeira vaga e os que ficam de fora.
-Falando ao cora��o dos sociais-democratas, numa cr�tica velada ao ministro das Finan�as Theo Waigel, Delors afirmou que �a pol�tica econ�mica n�o � s� uma quest�o de or�amento e de moeda� a cheirar a �thatcherismo defunto�, mas deve ter tamb�m em conta a dimens�o humana, que envolve os sal�rios e o emprego.
-Mas n�o deixou de advertir para o facto de �o pleno emprego n�o ser poss�vel com d�fices�.
-Estas s�o algumas das novas linhas directivas do TPC anunciadas recentemente pelo Ministro da Educa��o brit�nico, David Blunkett, para as escolas p�blicas.
-Estudos recentes revelaram que metade dos alunos da quarta classe n�o estavam a receber TPC compulsivo.
-A GNR de Barcelos deteve esta semana um indiv�duo de 28 anos, solteiro, desempregado, residente na freguesia de Carvalhas, acusado de ter agredido e tentado violar uma vi�va de 48 anos, residente na mesma localidade.
-O alegado violador foi detido em sua casa, depois de a v�tima ter denunciado o caso �s autoridades policiais quando se encontrava no Hospital Distrital de Barcelos para receber tratamento.
-Os factos, segundo a queixa apresentada, ocorreram ao in�cio da noite, num caminho ermo, sem qualquer casa pr�xima, uma passagem pouco utilizada na aldeia.
-No momento em que regressava a casa, o indiv�duo lan�ou-se sobre ela, tapou-lhe a boca, agrediu-a e atirou-a ao ch�o.
-Depois rasgou-lhe a roupa e tentou consumar a viola��o.
-A mulher ofereceu resist�ncia e, alguns minutos mais tarde, apareceu um filho da v�tima, de 16 anos, que pegou num pau e agrediu o alegado violador.
-Na Escola Superior de Educa��o Jean Piaget, de Macedo de Cavaleiros, est� instalado o clima de medo.
-Nesta vila transmontana t�m ocorrido algumas situa��es de confronto entre estudantes e grupos de jovens locais, a �ltima das quais teve lugar na madrugada de s�bado passado e resultou em ferimentos com alguma gravidade num aluno.
-Para resolver o problema, o director da institui��o de ensino universit�rio vai hoje reunir com o presidente da C�mara e o comandante da GNR locais.
-Centros urbanos e candidatos independentes s�o os denominadores comuns dos pequenos partidos na disputa aut�rquica.
-Tudo por causa dos poucos meios financeiros e das restri��es da lei � candidatura de listas de cidad�os.
-Mais uma semana que passou mais, mais uns m�ximos hist�ricos estabelecidos pela Bolsa de Nova Iorque.
-Apesar de a economia norte-americana estar a dar mostras de um arrefecimento, as ac��es cotadas em Wall Street continuam a valorizar-se de uma forma progressiva e continuada.
-Na semana que passou os fundos de investimento foram os investidores mais activos.
-O �ndice Dow Jones fechou nos 4585,84 pontos, mais 1,66 por cento face � semana anterior.
-O director responsabilizou ainda a Redac��o pela degrada��o da situa��o de �O Primeiro de Janeiro�, exigindo maior empenho por parte dos jornalistas.
-�, por�m, percept�vel que s� aparentemente os dois mundos t�m vivido completamente separados.
-Por um lado -- salientando os aspectos positivos --, as produ��es estrangeiras conduziram a um apetrechamento t�cnico dos prestadores de servi�os nacionais, � constitui��o de excelentes equipas, � rodagem de actores que beneficiaram as produ��es nacionais e, nalguns casos, promoveram internacionalmente a nossa imagem.
-No entanto, ao mesmo tempo, elas muitas vezes vampirizam a imagem do pa�s, determinam um aumento nos custos de produ��o em Portugal -- vide, de novo, as declara��es de Cunha Telles --, o que, por sua vez, conduziu a que o IPC deixasse de ter possibilidade de suportar, para o mesmo n�mero anual de produ��es, a totalidade do seu custo e marginalizaram os nossos criadores -- realizadores, guionistas e m�sicos -- que s� muito excepcionalmente foram chamados a intervir nessas produ��es.
-A necessidade de obter financiamentos fora dos apoios do IPC tem levado a uma altera��o estrutural das rela��es produtores / realizadores no �mbito do cinema portugu�s, com o refor�o do papel dos primeiros, que deixaram de ser meros gestores dos subs�dios obtidos pelos segundos para passarem a ser portadores do valor acrescentado que � o financiamento, normalmente externo, que complementa os apoios locais -- IPC e RTP -- e permite a montagem financeira do projecto.
-Por sua vez, o refor�o do papel dos produtores e a presen�a de produtores estrangeiros trazem altera��es decisivas na pr�pria natureza dos projectos a montar, passando naturalmente a existir uma aten��o diferente em rela��o ao espectador e, consequentemente, �s perspectivas comerciais da obra.
-Do alto de uma varanda, microfone na m�o, ele atordoa a pra�a, vibra e faz vibrar todos os que o escutam.
-S� Sampaio parece n�o ser muito admirador do estilo, cultivando uma sobriedade pouco compat�vel com o espect�culo que lhe foi preparado.
-Mas a verdade � que foi em Abrantes que o l�der socialista teve a melhor entrada e apresenta��o da campanha.
-Quando chega ao palco a assist�ncia j� est� rendida.
-Resta apenas dar substrato pol�tico a uma ades�o emocional garantida.
-O respons�vel por este ambiente � um jovem de 28 anos, l�der da JS de Abrantes e apontador de profiss�o.
-Trabalha na C�mara local, mas a sua paix�o � mesmo o espect�culo, a r�dio, o jornalismo.
-�Isto come�ou na escola.
-Logo naqueles espect�culos de escola, mostrei que tinha um certo jeito para aquilo�, explica Manuel Maur�cio.
-Mais tarde inscreveu-se numa escola de m�sica e n�o perdia tudo quanto era �festinha�.
-Solicitado para apresentar, ler poemas, animar a malta.
-Um �entertainer� ribatejano que foi ganhando notoriedade.
-Nestes �ltimos dias, os bracarenses apenas t�m estudado �pormenores do jogo, pois, quando duas equipas de n�vel semelhante se encontram, os pormenores � que decidem�, refor�ou Donner, que vai iniciar o jogo com uma defesa 3x2x1, agressiva quanto baste.
-Depois, na transi��o para o ataque, M�rio Costa e Paulo Faria (ainda em d�vida devido a uma les�o) saem para dar lugar aos atacantes Bolotskih e Dobrescu.
-tem o t�tulo praticamente assegurado.
-Jos� Saldanha mostra-se ainda �muito surpreendido� com a suspens�o de que foi alvo a ETEM por parte da Direc��o-Geral de Armamento (DGA) e acusa este organismo de �n�o assumir as suas responsabilidades�.
-Alegando ter tomado conhecimento da suspens�o atrav�s do P�BLICO, Jos� Saldanha diz que �as responsabilidades t�m que ser assumidas pela DGA que recebeu todos os documentos da opera��o e autorizou a exporta��o�.
-�quem assinou os documentos de exporta��o n�o fui eu�.
-Jos� Saldanha acusa a DGA de ter um comportamento �amb�guo e vago� nesta hist�ria, �dando cobertura a investiga��es sem credibilidade nenhuma que foram utilizadas na Bol�via num contexto de luta pol�tica pelo poder nas �ltimas elei��es presidenciais�.
-Saldanha n�o quer ser o �bode expiat�rio� deste caso e admite meter um processo judicial contra o Estado portugu�s, com pedido de indemniza��o.
-A situa��o dos professores de Portugu�s a leccionar no estrangeiro dominou a reuni�o, na passada quinta feira, da Federa��o Nacional dos Sindicatos da Educa��o (FNE) com as secretarias de Estado da Administra��o Escolar e da Inova��o e Educa��o.
-Uma das vit�rias reivindicadas pela FNE � a integra��o destes professores no Estatuto da Carreira Docente dos educadores de inf�ncia e dos professores do ensino b�sico e secund�rio.
-Uma medida que, no entender da entidade sindical, �s� peca por tardia� e vai alterar o decreto-lei de 1979 que regulamentava a actividades desses professores, estabelecendo-se agora novas condi��es e regras para o exerc�cio do ensino da l�ngua portuguesa no estrangeiro.
-A �exig�ncia de clareza nos concursos para o recrutamento dos professores� a leccionar no estrangeiro foi outra das reclama��es da FNE, que rejeita a pr�tica actual, �sujeita a despachos pontuais�.
-Defende, por isso, que �os concursos para recrutamento de professores passem a ser regulados por decreto�.
-Outra exig�ncias da estrutura sindical foram que o portugu�s como segunda l�ngua fa�a parte integrante dos curr�culos das comunidades emigrantes no estrangeiro, que o sistema de seguran�a social dos professores assegure a protec��o na sa�de e que o vencimento-base seja acrescido de um subs�dio de custo de vida.
-A �guerra das pedras� deu credibilidade internacional � luta dos palestinianos e obrigou Arafat a renunciar ao terrorismo e a reconhecer Israel.
-Mas a frustra��o pela degrada��o das suas condi��es de vida e, sobretudo, a m� orienta��o da lideran�a palestiniana, fizeram com que os palestinianos perdessem quase tudo o que tinham conquistado, quando decidiram apoiar Saddam Hussein na crise do Golfo.
-Os Cocteau Twins fecharam a 18� edi��o do Printemps de Bourges, infelizmente sem aquilo a que se pode chamar �uma chave de ouro�.
-Valeu uma compensa��o chamada Morphine, desconhecida de muitos, mas que s� veio confirmar a excel�ncia do programa deste ano do festival franc�s.
-Os coment�rios de Miguel Sousa Tavares (MST) inseridos no artigo do P�BLICO de 4 de setembro sob o t�tulo em ep�grafe s�o deveras esclarecedores no que concerne aos tributos dos cidad�os.
-tem que ver com a contribui��o aut�rquica no que respeita a bens n�o geradores de rendimento, como � o caso de terrenos classificados de �urbanos�, a partir de 1989.
-Depois, verifica-se uma enorme discrep�ncia de valores na sua avalia��o para efeitos fiscais, sempre gravosa, sem atentar sequer nas flutua��es do mercado e das pr�prias leis.
-mas, se o objectivo foi libertar os terrenos, evitando a estagna��o, seria necess�rio que as autarquias respondessem �s solicita��es, o que n�o acontece.
-Assim, encorajado pela total disponibilidade do meu interlocutor, que igualmente admito, tentaria que entendesse, pelo menos, as vantagens econ�micas, em termos de desenvolvimento local (tur�stico, por exemplo), da salvaguarda da invulgarmente importante, mesmo � escala mundial, jazida com pegadas de dinoss�urios da serra d'Aire, cujo valor cient�fico j� trouxe aqui cientistas de todo o mundo (dos EUA � China), e da transforma��o do s�tio num local p�blico com todos os equipamentos neces [...]
-Quanto a este assunto, tentaria convencer o professor a visitar o local e procurar saber as opini�es dos respons�veis locais e das respectivas popula��es e, ainda, a auscultar o sentir dos v�rios sectores da vida portuguesa sobre este caso, incluindo o do cidad�o an�nimo.
-A prop�sito da exposi��o �Dinoss�urios da China�, em curso no Museu Nacional de Hist�ria Natural, come�aria por insistir no convite a Sua Excel�ncia a visit�-la.
-Aproveitaria para lhe mostrar o estado lament�vel de um enorme casar�o, esventrado e em tosco, na sequ�ncia do inc�ndio da Faculdade de Ci�ncias (h� 18 anos!), de reinstala��o sempre adiada e pomposamente referido como Museu Nacional, que pouco deve � tutela, mas ao qual se reconhece uma obra cient�fica, cultural e pedag�gica not�vel.
-Dir-lhe-ia que reunir aqui esta magn�fica colec��o de verdadeiros f�sseis, alguns gigantescos, dos terrenos mesoz�icos da velha China foi m�rito exclusivo deste Museu, que n�o contou com quaisquer apoios diplom�ticos, numa realiza��o que vai fazer mais pelo estreitamento das rela��es entre os dois pa�ses do que quaisquer outras j� realizadas.
-As centenas de milhares de visitantes esperados assim o permitem concluir.
- Dir-lhe-ia, ainda, como � lament�vel neste caso a falta de apoio do Minist�rio da Educa��o.
-De resto, os comerciantes espanh�is parecem estar mais atentos ao que se passa no Algarve do que os colegas portugueses.
-Al�m do p�o, tamb�m a pastelaria espanhola passou a ocupar as prateleiras dos supermercados, a pre�os concorrenciais.
-Quanto �s discotecas, parecem ser o mealheiro dos jovens -- � nelas que �investem� a principal fatia do or�amento de f�rias --, apesar de tamb�m neste ramo os espanh�is estarem a descobrir um fil�o.
-Fi�is aos seus �pubs� em Albufeira, continuam os ingleses, mas longe v�o os tempos em que com um libra -- em 1988 valia 285 escudos, hoje fica-se pelos 230 -- faziam figura de reis e senhores.
-A primeira das cr�ticas ontem apresentadas foi para o novo sistema retributivo, que os enfermeiros consideram nunca se ter adaptado � carreira de enfermagem.
-Segundo explicou o dirigente Jos� Azevedo, a entrada em vigor dos novos diplomas trouxe consigo �in�meras anomalias, geradoras de injusti�as gritantes�, como � o caso dos profissionais que, depois de subirem na carreira, ficam a ganhar menos do que antes da progress�o.
-Quanto a horas extraordin�rias, os enfermeiros salientam n�o terem acesso �s �vultuosas verbas� que nelas se consomem e que para alguns profissionais da sa�de funcionam �mais como complementos disfar�ados de vencimento do que como resposta a necessidades efectivas�.
-Outros processos a contribuir para o descontentamento da FENSE s�o os que dizem respeito ao descongelamento de vagas, � cria��o de uma Ordem dos Enfermeiros e �s equival�ncias de t�tulos acad�micos.
-Em rela��o ao primeiro, a desactualiza��o dos quadros das institui��es cria um desajustamento em rela��o �s necessidades que faz com que, na pr�tica -- diz Jos� Azevedo -- nem um ter�o das vagas disponibilizadas seja aproveitado para colocar novos enfermeiros.
-Resultado: h�, ao mesmo tempo, �institui��es com falta de pessoal e enfermeiros no desemprego�.
-O que a FENSE pede � �um regime de excep��o na contrata��o de novos enfermeiros, como o exigem as circunst�ncias�.
-Professor.
-Por que raz�es escolheu fazer f�rias em Portugal?
-Foi uma escolha acertada?
-R. -- � uma constata��o, uma diferen�a de estilo.
-Sempre fui muito claro nas minhas convic��es.
-Acho que a milit�ncia partid�ria toda a gente percebeu que n�o vou ter, nem terei, nem tenho tido.
-Mas n�o faz sentido, em meu entender, no quadro actual da democracia portuguesa, fazer isso hoje.
-Acho que a avalia��o que as pessoas t�m que fazer sobre as personalidades, sobre o perfil e a sua adequa��o � fun��o tem muito a ver com as pessoas e n�o com ter ou n�o ter um cart�o.
-P. -- Mesmo que seja eleito, n�o se desvincular� do partido?
-Muito provavelmente, a resposta oficial ser� positiva.
-Apesar de parecer paradoxal, Milosevic e o seu partido t�m agora boas raz�es para alguma esperan�a, pelo menos para a sua pr�pria sobreviv�ncia pol�tica no poder, se n�o mesmo para um futuro que poder� revelar-se brilhante e colorido.
-Os antigos (e agora �reformados�) comunistas conseguiram regressar ao poder em diversos pa�ses (Hungria, Pol�nia, Bulg�ria) e uma op��o pol�tica similar tem tamb�m agora boas possibilidades nas pr�ximas elei��es presidenciais na R�ssia, marcadas para Junho.
-Por saber que desempenha um papel decisivo na sua nova fun��o de �construtor da paz� na B�snia -- sob os des�gnios da Pax Americana delineada em Dayton, Ohio -- Milosevic espera que ele pr�prio e o seu regime na S�rvia possam estar a salvo.
-Entre as promessas, a mais importante foi a de que tenciona retirar as tropas russas da Tchetch�nia, embora n�o tenha dito quando, mas apenas que n�o ser� na totalidade, e n�o seja a primeira vez que an�ncios semelhantes s�o feitos nas v�speras de novas ofensivas militares.
-�Queremos retirar as tropas at� �s fronteiras da Tchetch�nia�, disse Ieltsin durante uma visita a Tcheliabinsk, nos Urais.
-�Se retiramos totalmente, os bandidos degolar�o imediatamente toda a popula��o civil�.
-�Eles n�o se ficar�o por a�.
-Ir�o at� ao Daguest�o, ao Karachaevo-Tcherk�ssia e a outras rep�blicas do C�ucaso do Norte, para as ocupar, e haver� terrorismo e banditismo internacional�.
-Programa Quadro de Ci�ncia e Tecnologia da Uni�o Europeia.
-Neste cap�tulo, a principal vantagem da nossa ades�o foi a abertura de novos horizontes, o lan�amento de rela��es com grupos de investiga��o e empresas -- a gera��o de um fluxo de informa��o que permitiu abrir novas perspectivas no sistema de investiga��o cientifico e tecnol�gico nacional.
-Jos� Ant�nio relembra que Max era levado da breca para contar hist�rias e para pregar partidas.
-�Um dia, o Humberto Madeira, o Raul Solnado e o meu pai iam em viagem e passaram pelo pinhal de Leiria.
-O Humberto Madeira resolveu contar que esta era uma zona onde, em tempos, tinha havido muitos assaltos.
-No regresso, o meu pai j� vinha a dormir.
-Rebentou um pneu e ouviu-se um grande estrondo.
-A sua distrac��o ia ao ponto de telefonar para casa a perguntar se o filho se chamava Jos� Ant�nio ou Ant�nio Jos�.
-Embora n�o soubesse uma nota de m�sica, trauteava e compunha por intui��o.
-�Tinha um espectacular ouvido musical e era capaz de distinguir os sons de cada instrumento na mais complicada melodia.
-Sou ass�duo na melhor esplanada da cidade, no Molhe.
-H� vinte anos, era arriscado l� ir, por causa dos marginais.
-Depois, tornou-se local de conv�vio da mais alta qualidade.
-Mas receio que esteja outra vez a entrar num mau per�odo, com a explora��o excessiva e de mau gosto.
- No pr�ximo ano, devido ao princ�pio da gratuitidade dos transportes escolares preconizado na lei de bases do sistema educativo, os alunos do oitavo ano ter�o tamb�m transporte gratuito, o que agravar� em 17 por cento o custo comparticipado pela C�mara.
-Aos alunos de Alqueir�o, Casal das Pimenteiras, Casal da Fonte e Beselga a autarquia assegura a utiliza��o de carreiras p�blicas ou at� de t�xi por considerar que o percurso a p� oferece riscos �s crian�as.
-De Wilde, Costinha, Lu�s Miguel, Gil Baiano, Marco Aur�lio, Beto, Pedrosa, Oceano, Vidigal, Pedro Martins, Peixe, Pedro Barbosa, Afonso Martins, Dominguez, S� Pinto, Yordanov, Ouattara e Paulo Alves foram os futebolistas escolhidos por Oct�vio.
-Ficaram de fora, al�m dos chamados �s selec��es, Vujacic, Tiago e Balajic.
-A cena � tirada de uma p�gina asfixiante de Joseph Conrad: um cad�ver em pijama, deitado numa cama com uma manta verde nos p�s, dentro de uma pequena cabana de madeira a tresandar a luto, flores e formol, velado por a vi�va, por a filha e com uma guarda de honra de cinco jovens soldados Khmer.
-�N�o restam d�vidas que � o corpo dele e que est� morto�, garantiu um dos jornalistas nesse grupo, o americano Nate Thayer, correspondente da �Far Eastern Economic Review� e o estrangeiro que melhor conheceu a hist�ria do fundador dos Khmer Vermelhos.
-Pol Pot morreu oficialmente com um enfarte card�aco, quarta-feira � noite, mas � inevit�vel pensar em causas menos naturais para o seu desaparecimento.
-As reac��es foram cautelosas e os EUA, porque nos maus filmes de terror os mortos-vivos conseguem sempre levantar-se, exigiram uma aut�psia.
-Na passada Primavera, a Assembleia de Freguesia do Carregado solicitou � C�mara de Alenquer, de maioria socialista, o processo de candidatura da eleva��o a vila, mas j� em Setembro, Vasco Miguel, do PSD, entregava no Parlamento um projecto de lei nesse sentido, atitude que o presidente da C�mara classificou de �oportunismo pol�tico�, alegando que o diploma caducaria com o final da legislatura e n�o chegaria a ser discutido, o que de facto aconteceu.
-Agora, o PSD voltou a pegar no assunto, pelas m�os de Duarte Pacheco, que sustenta a retomada desta iniciativa na �vontade das pessoas que nasceram e vivem no Carregado e no concelho de Alenquer�.
-Duarte Pacheco alega que o Carregado � a zona do concelho de Alenquer com maior �ndice de crescimento industrial e �� tamb�m um dos maiores centros populacionais da regi�o, pelo facto de se situar num dos maiores n�s rodovi�rios do pa�s�, acrescido das liga��es fluviais e ferrovi�rias.
-O ministro portugu�s da Administra��o Interna avistou-se ontem com o ministro holand�s da Justi�a para receber os �dossiers� sobre a imigra��o e do Grupo de Trevi que transitam da presid�ncia holandesa da Comunidade para a portuguesa.
-A quest�o da cria��o da Europol (uma pol�cia comunit�ria) foi um dos temas em an�lise no encontro.
-A passagem do testemunho, entre Haia e Lisboa, em mat�ria de pol�tica interna comunit�ria apenas se fez agora por indisponibilidade da agenda do ministro holand�s da Justi�a.
-O Holanda-Inglaterra decide quase tudo neste grupo.
-Quem ganhar fica praticamente com o visto no passaporte para os EUA, enquanto � Noruega basta um ponto na Pol�nia para pela primeira vez participar numa fase final do �Mundial�.
-� claro que as contas podem todas complicar-se, caso holandeses e ingleses empatem e polacos ven�am noruegueses.
-Nesse caso, a Pol�nia permaneceria na corrida.
-A decis�o do Grupo ficaria ent�o muito complicada, com tr�s equipas com hip�teses de chegar ao fim com 14 pontos e a ser preciso recorrer ao �foto-finish� para saber quem se apuraria.
-� o maior grupo, com sete equipas.
-Para j� Rep�blica da Irlanda e Dinamarca ocupam os dois primeiros lugares, mas a Espanha ainda est� na corrida.
-O Rep�blica da Irlanda- Espanha de hoje j� ajudar� a definir posi��es, mas dever� ser o Espanha- Dinamarca de 17 de Novembro que tudo esclarecer�.
-A n�o ser que o Eire ven�a hoje a Espanha e a Dinamarca derrote a Irlanda do Norte, ficando Eire e Dinamarca de imediato com a presen�a nos EUA garantida.
-O objectivo gen�rico destas iniciativas, patrocinadas pela Uni�o Europeia, � o desenvolvimento de uma pol�tica global de redu��o da inseguran�a, � volta de quatro eixos fundamentais: respeito pelos direitos humanos, participa��o activa dos cidad�os na defini��o e aplica��o da pol�tica de seguran�a requerida, aposta em solu��es de partenariado envolvendo os sectores p�blico e privado e preocupa��o com a seguran�a do cidad�o, para evitar que ele se torne autor ou v�tima de crimes.
-�As actividades amadoras v�o ser desinflaccionadas negociando o ordenado dos atletas.
-N�o � o marketing e a sponsoriza��o que resolvem os problemas�.
-Esta nova equipa prop�e-se fazer um trabalho honesto e claro.
-O Benfica j� conta, neste momento, com setenta mil s�cios e sete mil praticantes.
-�Os s�cios v�o poder criar lugares para os seus filhos praticarem desporto�.
-Manuel Monteiro mentiu aos portugueses.
-O que j� escrevemos esta semana excitou as consci�ncias do Partido Popular, ciosas em mostrar que o processo da lista de candidatos por Lisboa correu na maior das lisuras, incluindo o folhetim Lu�s Nobre Guedes.
-no dia 9 de Junho o l�der dos populares disse que j� tinha a resposta de Nobre Guedes ao convite para encabe�ar a lista da capital e torn�-la-ia p�blica na semana seguinte, depois de a comunicar � estrutura distrital.
-At� ontem, ningu�m conhecia, pela boca de Monteiro, a resposta ao convite.
-S�o estes os factos e de nada vale que Nobre Guedes venha desagravar o comportamento do seu l�der -- a crer na �ltima edi��o do �Independente�.
-Diz o jornal, referindo-se � comiss�o pol�tica de ontem, que Nobre Guedes �sublinhar� que o presidente do PP nunca mentiu no decurso do processo de constitui��o das listas�.
-� assim a transpar�ncia do Partido Popular, feita de recados.
-Teresa Vasconcelos -- Digo isto no livro e digo com convic��o: h� muitas �Anas� neste pa�s.
-Mas tamb�m h� muitas outras que poderiam ser como a Ana e se desmobilizaram.
-P. -- Por falta de condi��es, falta de forma��o, falta de acompanhamento?
-P. -- Foi um colega seu ...
-R. -- Fa�am o favor de tomar nota do que vou dizer, e agradecia que fosse transmitido, porque de vez em quando as coisas n�o saem de acordo com a verdade dos factos.
-A EDP tem tido um comportamento impec�vel em todo este processo.
-Quando come�aram os estudos da barragem de Foz C�a, fez um estudo de impacto ambiental.
-Quando se descobriram os vest�gios arqueol�gicos, fez um protocolo com o Ippar [ Instituto Portugu�s do Patrim�nio Arquitect�nico e Arqueol�gico ], porque n�o percebia da mat�ria.
-Depois foi a EDP que vedou e policiou toda a �rea onde foram descobertos os achados arqueol�gicos.
-Por isso, se aquilo est� recolhido, deve-se � EDP.
-Quando os protestos eclodiram, os media internacionais divulgaram para todo o mundo informa��es sobre uma �carnificina em larga escala� da popula��o revoltada da cidade pelas for�as fi�is a Ceausescu.
-Estas not�cias alarmistas -- num relat�rio recente, os servi�os secretos romenos acusaram espi�es h�ngaros e de outras nacionalidades de terem incitado � revolta -- contribu�ram decisivamente para o derrube do regime, mas mancharam a revolta.
-Afinal, os cad�veres nus e alinhados descobertos n�o eram v�timas da repress�o, mas antes de pessoas pobres, doentes e inv�lidas, exumadas de fossas comuns e colocadas no local.
-Hoje, o �monumento aos her�is desconhecidos de 1989� n�o faz qualquer alus�o a este epis�dio e no enorme talh�o continua a ser enterrado quem n�o pode pagar uma sepultura decente.
-�Est�vamos em estado de choque, v�timas de uma alucina��o colectiva.
-Vi o cad�ver de uma mulher com o seu filho no ventre.
-Eram talvez cinco corpos, mas eu via vinte�, contou recentemente, ao enviado do �Le Monde�, Cornel Balint, presidente de uma das seis associa��es de revolucion�rios de Timisoara, que agrupam cerca de 800 pessoas recompensadas por terem sido feridas, presas ou molestadas durante os combates.
-Um dos objectivos dos Encontros -- tal como os definiu h� seis anos Madalena Perdig�o, fundadora do Acarte -- era permitir o acesso dos core�grafos portugueses aos circuitos europeus, dos quais estavam arredados por desconhecimento m�tuo.
-De um lado, pela situa��o geogr�fica de periferia e, do outro, pelo desconhecimento das tend�ncias em vigor nos grandes festivais internacionais.
-Os Encontros Acarte propunham-se responder a esse duplo anseio: informar o p�blico e estimular os autores portugueses, na perspectiva de os despertar para as est�ticas do p�s e neo-modernismo.
-�A linha fundamental [ dos Encontros ] � servir o p�blico, mant�-lo dentro da actualidade coreogr�fica.
-Mas a afirma��o da sua identidade nunca se fez pela adop��o de uma linha est�tica �nica.
-N�o h� uma direc��o �nica [ no conceito de modernidade ].
-O p�blico tem o direito a escolher o que lhe interessa e n�o creio que seja necess�rio conduzi-lo pela m�o como se fosse um indigente�.
-Smidovitch, com um �fomos aonde plane�mos ir�, declinou confirmar, no entanto, se a fiscaliza��o abrangera sedes de minist�rios, quinta-feira vedadas categoricamente ao pessoal da ONU pelo regime de Bagdad.
-Sobre se haviam encontrado algo suspeito tamb�m n�o adiantou pormenores.
-A miss�o de 22 peritos � a primeira a chegar � capital iraquiana desde que, tamb�m sem resultados, foi passada revista ao Minist�rio da Agricultura, a 28 e 29 do m�s passado, miss�o que p�s termo a um impasse de tr�s semanas entre o Governo de Saddam Hussein e a comiss�o da ONU.
-As inspec��es, recorde-se, come�aram em Abril do ano passado, pouco depois do fim da Guerra do Golfo e resultaram dos acordos de cessar-fogo ent�o assinados.
-Ap�s negocia��es com o principal patrocinador da equipa, a Shell, Hardwick entregou um dos �wild cards� (convites) a Felisberto Teixeira, que conta tamb�m com o apoio da Federa��o Nacional de Motociclismo (FNM) e est� convicto que o portugu�s far� bom trabalho, reconhecendo, por�m, que qualquer estreia, e muito especialmente em 500cc, � sempre dif�cil.
-�No pa�s prosseguem os incidentes: de percursos para uns, perigosos para outros� (Notici�rio das 13 horas da �R�dio Nacional�).
-�... Os laborat�rios do Departamento de Estado e do Pent�gono ainda n�o conseguiram dar uma resposta precisa quanto � imprevisibilidade da reac��o do seu �ex� aliado (Jonas Savimbi), que parece ter ingerido demasiadamente ester�ides anabolizantes nos tempos de ajuda encoberta e ter crescido demais� (�Correio da Semana�, 22.9).
-� mesmo de sup�r que se trata de uma das mais importantes exposi��es fotogr�ficas dos �ltimos anos, a n�vel internacional.
-O tema da �gua, ligado aos oceanos como proposta gen�rica da Expo-98, permite abordar esse elemento em todos os seus estados, liqu�do, f�sico e gasoso, e obviamente relaciona-se com o pr�prio processo fotogr�fico.
-Sendo, al�m de cr�tico de �pera e fotografia, professor de qu�mica, trabalhando no dom�nio da termodin�mica dos objectos moleculares e das rela��es entre artes e ci�ncias, Calado estava habilitado como ningu�m a comissariar esta exposi��o.
-O Instituto de Investimentos e Privatiza��es dos A�ores (IIPA) est� a negociar um empr�stimo de 1,5 milh�es de contos, �para poder fazer face aos compromissos assumidos na �rea dos incentivos de base regional�, disse ao P�BLICO o presidente do IIPA, Jo�o Bernardo Rodrigues.
-De acordo com aquele gestor, o IIPA contactou o Banco Comercial dos A�ores, a sociedade Esp�rito Santo- sociedade de investimentos e o Banco Pinto & Sotto Mayor.
-O empr�stimo ser� negociado por tranches, j� que o valor em causa � para o bi�nio 1991-92�.
-O valor total dos compromissos assumidos � de 4,2 milh�es de contos, dos quais 1,5 milh�es s�o da responsabilidade do Governo Regional dos A�ores via IIPA e o restante das comunidades.
-Segundo Jo�o Bernardo Rodrigues foram aprovados 60 projectos, �cujo valor total de investimento � da ordem dos nove milh�es de contos�, distribuidos, entre outros, pela agro-pecu�ria, constru��o civil, basaltos, cimentos e para a realiaza��o de uma nova unidade fabril de cerveja.
-Indignados com a aus�ncia de negros em lugares eleg�veis, os representantes da comunidade imigrante africana aconselharam o voto em branco.
-Fernando K�, 41 anos, presidente da Associa��o dos Guineenses desde 1987, n�o compreende como num pa�s com uma presen�a multissecular africana, n�o h� um pol�tico, um deputado, um presidente de c�mara, sequer um vereador negro.
-Deputado suplente do PS com entradas fugazes no Parlamento, acusa Ant�nio Guterres de trair promessas feitas em Julho a representantes da comunidade e prepara uma campanha internacional contra uma situa��o que torna os negros portugueses em cidad�os de segunda classe.
-As cidades candidatas � organiza��o dos Jogos Ol�mpicos de 2004 v�o conhecer hoje o regulamento a que dever�o obedecer, durante a sua campanha de prepara��o e promo��o.
-Ser� durante um encontro a realizar no Museu Ol�mpico, em Lausana, na Su��a, onde os representantes das 11 cidades se ir�o reunir pela primeira vez.
-Jogo grande foi o que juntou, em Phoenix, os Suns e os Portland Trail Blazers, e que terminou com a vit�ria dos donos da casa, por 118-109.
-A.C. Green, ex-jogador dos Lakers, marcou 31 pontos para liderar os Suns, num jogo em que �Sir� Charles Barkley averbou apenas 21 pontos.
-Discreto no campo, o temperamental Barkley voltou a ser not�cia fora dele.
-Agora, vai ter de responder em tribunal a uma queixa de agress�o interposta por um f�.
-Barkley � acusado de ter agredido Edward Durham num bar, depois de este o ter criticado por empurrar uma senhora que apenas pedia um aut�grafo.
-Barkley n�o comenta o incidente, e o mesmo faz a sua equipa.
-Os Suns, finalistas da �poca passada, est�o mais concentrados no campeonato, onde ocupam o segundo lugar da Divis�o Pac�fico, liderada pelos invictos Seattle Supersonics.
-Um m�todo muito comum de movimentar ficheiros na Internet.
-O FTP � uma forma especial de fazer �login� noutro local da Internet com o objectivo de carregar ou enviar ficheiros.
-H� muitos servidores da Internet que cont�m imenso material que pode ser acedido por qualquer pessoa atrav�s de um acesso an�nimo, pelo que s�o chamados �servidores FTP an�nimos�.
-Um m�todo bastante utilizado para realizar menus de material dispon�vel na Internet.
-Gopher � um programa de utiliza��o cliente-servidor, pelo que requere que o utilizador disponha de uma vers�o cliente do Gopher.
-Os Gopher difundiram-se muito rapidamente atrav�s da Internet nos �ltimos anos, mas est�o a ser suplantados pelo hipertexto suportado atrav�s da World Wide Web.
-Contudo, existem ainda milhares de Servidores Gopher na Internet, que dever�o subsistir por mais algum tempo.
-� semelhan�a de muitas outras igrejas evang�licas, o pagamento do d�zimo na Universal n�o � mais do que a adop��o de uma pr�tica b�blica.
-Ainda hoje o c�digo cat�lico de Direito Can�nico refere que �a igreja tem o direito, independentemente do poder civil, de exigir aos fi�is o necess�rio para o culto divino, para a honesta sustenta��o dos seus ministros e para satisfazer outros fins pr�prios� ...
-� o que faz todos os meses a Igreja do Reino de Deus.
-Em Portugal, o dinheiro dos crentes � colocado num envelope, que os obreiros da IURD, sempre atentos, recolhem e controlam.
-No Brasil, existe uma caderneta individual onde cada seguidor regista, religiosamente, as suas contribui��es para a igreja de Macedo.
-Se a escrita sobre arquitectura n�o abunda entre n�s, Manuel da Gra�a Dias tem dado um excelente contributo para alterar essa situa��o.
-N�o s� as �mem�rias descritivas� dos seus projectos s�o, s� por si, criativos textos sugerindo, com especial efic�cia, uma multiplicidade de imagens a partir dos desenhos que apresenta, como a sua produ��o para a imprensa revela id�ntica qualidade.
-Pelo uso de uma linguagem despojada de excessivas conota��es t�cnicas inibidoras da aproxima��o do leigo, pela originalidade dos sentidos que ajuda a desvendar nos temas do quotidiano..
-Os portugueses est�o em forma no surf.
-Pelo menos os jovens que est�o a participar no Campeonato Europeu de juniores, a decorrer at� domingo em Newquay, Inglaterra.
-no surf, Jo�o Macedo, Andr� Pedroso (em sub-18), Ruben Gonz�lez e Pedro Monteiro (em sub-16) est�o j� nas meias-finais.
-N�o haver� greve nem bloqueio � �poca da NBA, a Liga Norte-Americana de Basquetebol profissional, independentemente de ainda n�o existir acordo sobre o tecto salarial, decidiram os propriet�rios e jogadores.
-Este an�ncio vem sossegar aqueles que temiam que sucedesse no basquetebol o que j� aconteceu no basebol e no h�quei no gelo -- a interrup��o ou adiamento dos campeonatos.
-Sendo assim, e uma vez que o acordo para o contrato colectivo de trabalho, cujas negocia��es se arrastam h� meses, est� previsto para breve, tudo indica que a NBA come�ar�, como planeado, a 4 de Novembro, ou seja, na pr�xima sexta-feira.
-Ainda no �foyer�, p�de-se desde logo perceber que no Servi�o de M�sica da Funda��o Calouste Gulbenkian se est� em momento de reflex�o, j� que foi distribu�do ao p�blico um question�rio onde, entre outros pontos, se pede uma opini�o sobre a periodicidade de apresenta��o da m�sica contempor�nea.
-Precisamente no concerto dessa noite se propunha um percurso pela m�sica mais recente intersectado de forma exemplar por sonoridades do passado.
-A enquadrar as obras de Wolfgang Rihm �La lugubre Gondola / Das Eismeer� e de Luigi Nono �No hay caminos, hay que caminar .. Andrei Tarkovsky�, tivemos a m�sica de Giovanni Gabrieli (Canzone a tre cori e In Ecclesiis) em orquestra��es da autoria de Bruno Maderna.
-A rela��o entre Luigi Nono e Giovanni Gabrieli ultrapassa a simples passagem e viv�ncia na cidade de Veneza, situando-se principalmente ao n�vel da explora��o das potencialidades musicais inerentes � espacializa��o sonora.
-Apesar de n�o se ter procedido a qualquer distribui��o de m�sicos no espa�o do Grande Audit�rio Gulbenkian, � imagem do que se fazia com as obras do m�sico renascentista na Catedral de S�o Marcos, a orquestra��o de Maderna reflecte um total respeito pelas estruturas de di�logo entre �coros� com uma constitui��o t�mbrica diferenciada.
-Desde o primeiro dia do ano, entre os palestinianos procurados, 13 foram mortos pelas for�as de seguran�a e 15 feridos mas 40 foram libertados pelo Ex�rcito, disse Yatom durante uma visita de inspec��o � regi�o de Bel�m (sul da Cisjord�nia).
-Quatrocentos outros s�o ainda procurados pelas for�as de seguran�a.
-Informa��es do Ex�rcito, em termos globais, d�o conta de 23 palestinianos mortos e 211 feridos por soldados, desde o dia 1 de Janeiro, na Cisjord�nia.
-O n�mero � confirmado pelos palestinianos.
-Danny Yatom disse que a �fraca propor��o de palestinianos mortos em rela��o ao n�mero de palestinianos presos prova que o Ex�rcito n�o dispara sen�o em casos excepcionais, contrariamente a certas alega��es�.
-R. -- N�o h� � uma circula��o do pensamento.
-H� muitos poucos debates, as ideias que s�o objecto de discuss�o internacional -- as quest�es relacionadas com a realidade virtual, a com o p�s-humano, ou com as auto-estradas inform�ticas -- n�o se discutem em Portugal.
-Por outro lado, n�o h� radicalismo.
-Sem radicalismo n�o h� qualquer evolu��o da sociedade.
-P. -- Uma quest�o �bvia: em ano de elei��es, e embora o debate sobre a situa��o portuguesa seja feito em Fevereiro, a iniciativa n�o se colar� demasiado �s for�as pol�ticas -- socialistas-Plataforma de Esquerda -- que est�o � frente da C�mara de Cascais?
-Apesar dos elevados montantes que o Banco de Portugal tem vindo a injectar no sistema ao longo do actual per�odo de constitui��o de reservas de caixa, a sess�o de ontem do mercado monet�rio interbanc�rio voltou a apresentar-se bastante pressionada pela procura de fundos, com os primeiros n�veis de oferta no curto prazo a serem superiores ao fecho da sess�o de ontem.
-H� medo no Sul dos Estados Unidos.
-As igrejas frequentadas pela popula��o negra est�o a ser incendiadas e os l�deres das comunidades acreditam que s�o manobras de intimida��o dos que sonham com o regresso da �supremacia branca�.
-Casos como o da Sopete, Lusotur ou Alian�a Seguradora ilustram de forma pouco favor�vel a seguran�a que os investidores podem ter nas previs�es adiantadas por algumas empresas ...
-Na Sopete, os resultados alcan�ados em 1991 n�o chegam sequer para cobrir os dividendos de 125 mil contos estimados no primeiro semestre, isto apesar de no coment�rio ao balan�o do primeiro semestre de 1991 ser referido que �se aponta para o segundo semestre um real crescimento da actividade do todo da empresa, e em especial da �rea do jogo e da �rea hoteleira�.
-Enfim, e esse ter� sido o ponto decisivo da sua interven��o, Ant�nio Tanger sublinhou que a ocorr�ncia de um novo problema poderia criar a Portugal algum embara�o diplom�tico.
-No quadro pol�tico actual, em que Portugal ocupa a presid�ncia das Comunidades, era de todo indesej�vel que a diplomacia portuguesa tivesse de intervir para protestar junto de qualquer pa�s dessa regi�o.
-Isso poderia revestir-se de particular gravidade se o ataque ocorresse dentro de Angola, onde h� poucos dias dois padres e uma freira foram mortos num ataque de �bandidos�.
-Ap�s esta interven��o, os membros da expedi��o reuniram-se com a organiza��o da viagem para deliberar sobre o que fazer.
-Foi na sequ�ncia desse encontro que Pedro Villas Boas decidiu dar por finda a expedi��o, inviabilizando desta forma o prosseguimento da viagem anteriormente definido por uma pequena coluna expedicion�ria.
-Wayne Barker, cineasta arbor�gene da Austr�lia, fez a apologia duma cultura viva, �que conserve a heran�a dos nossos pais mas com os olhos postos no futuro�.
-Walter Saunders, outro realizador e produtor arbor�gene, sublinhou a pilhagem cultural que a sua comunidade continua a sofrer, por exemplo no dom�nio das imagens: dos motivos arbor�genes utilizados para ornamentar lou�a e tecidos, os s�mbolos que ornam os avi�es australianos, os boomerangs fabricados e vendidos por australianos brancos, sem que os arborigenes recebam quaisquer direitos ..
-�� um disco que estava j� meio feito no Canad� com can��es compostas antes do 25 de Abril.
-Acabou por ter uma vertente mais pol�tica em consequ�ncia dos acontecimentos imediatos, por uma quest�o de sensibilidade � linguagem da �poca e da vontade de participar nela.
-(...) Mas a pesquisa formal � basicamente a mesma.
-Podem dizer-se coisas muito v�lidas politicamente com uma linguagem pobre e que n�o entra nas pessoas.
-Cecilia Bartoli cantou em S�o Carlos, em Lisboa, no passado 24 de Mar�o.
-N�o numa �pera de Rossini, como reclamaria a miss�o do teatro, no ano do bicenten�rio.
-Mas oferecendo um conjunto de pe�as para voz e piano do compositor, numa memor�vel demonstra��o da vitalidade da redescoberta do canto rossiniano.
-Se h� est�tica de canto que foi deteriorada quase irreversivelmente com os novos conceitos de drama musical que imperaram durante a segunda metade do s�culo passado e a primeira metade do presente, essa foi certamente a perseguida por Rossini.
-Tourabi foi tamb�m o art�fice de uma alian�a �nica, entre um pa�s �rabe sunita -- o Sud�o -- e um pa�s n�o �rabe xiita -- o Ir�o, selada quando o Presidente iraniano, Ali Akbar Hashemi Rafsanjani, visitou Cartum em Dezembro de 1991.
-�� imposs�vel saber se foi Rafsanjani quem manipulou Tourabi, ou vice-versa, mas � seguro que Sud�o obteve vantagens pol�ticas e financeiras, porque se transformou no coordenador de v�rios movimentos islamistas�, observou Balta, enumerando a FIS, na Arg�lia, a An-Nahda, na Tun�sia, a Irmandade Mu�ulmana, na Jord�nia, o Hezbollah, no L�bano, a Gama'at Islami, no Egipto, e o Hamas, na Faixa de Gaza -- uma �internacional de barbudos�.
-A faixa et�ria e as horas do dia mais perigosas coincidem em todos os distritos, mas Beja foi o que registou menor incid�ncia de condutores alcoolizados em Dezembro: apenas 2,4 por cento.
-Durante o �ltimo m�s do ano passado a Brigada de Tr�nsito aplicou o teste de alcool�mia a 25.093 condutores, em todo o continente e detectou 1.578, ou seja, 6,2 por cento do total, que conduziam sob o efeito do �lcool.
-N�o foi por isso, contudo, que a Vidisco se sentiu menos ofendida, de modo que acabou por decidir meter o caso em tribunal, porque �aquilo n�o se faz.
-A televis�o � paga por todos n�s, para qu�?
-Para eles fazerem publicidade privada, como se fosse um programa pago?
-N�o � digno de um programa de um organismo oficial, que na verdade � de uma associa��o de multinacionais.
-Tent�mos encontrar logo um advogado que estivesse dentro da legisla��o, o que foi dif�cil por causa da quadra de festas.
-Agora, temos um advogado e se ele considerar que h� suficiente mat�ria legal para isso, vamos a tribunal�.
-Resta saber quem poder� ser processado.
-Mas ser� que vai ficar por aqui?
-O que houve entre a primeira e a segunda metade desse ano parece, assim, uma esp�cie de intervalo -- um tempo fora da Hist�ria.
-Enquanto o poss�vel medo de repres�lias fazia com que as acusa��es dos jogadores contra Oct�vio nunca se tivessem concretizado, ele, em contrapartida, teve a coragem de �dar� a cara em alguns momentos de grande pol�mica.
-Assim, no seu primeiro Porto-Sporting como adjunto, com a rivalidade Pinto da Costa-Jo�o Rocha estava no auge e com Artur Jorge a n�o conseguir ganhar nas Antas, Oct�vio seria acusado de agredir � cabe�ada e a murro alguns respons�veis sportinguistas, indo assim mais al�m do que o pr�prio treinador principal que, imp�vido e sereno, comandou a sua equipa sem se envolver nas �guerras� marginais em que Pinto da Costa e Oct�vio mostravam estar como �peixes na �gua�.
-Quando Quinito foi contratado para o FC Porto e se prop�s recuperar, entre outros, Gomes e Madjer, o homem de Palmela afastou-se e, nas suas costas, come�aram a aparecer muitas das hist�rias a seu respeito que, at� ent�o, tinham ficado escondidas nos segredos dos bastidores.
-Mark Miller � o treinador-jogador, mas � poss�vel que Toni Formosa venha a ser uma esp�cie de �manager� da equipa, com assento no banco, se aceitar a proposta que lhe fez o presidente do clube.
-Ter� que dar uma resposta at� � pr�xima semana.
-Nos jogos com o Ekranes, os dois golos foram marcados pelo l�bero Buttigieg, um jogador elegante e talvez o melhor do pa�s.
-Os outros internacionais s�o Cluett (guarda-redes), Caucchi e Buttigieg (defesas) e Buhagiar (normalmente defesa-esquerdo).
-R. -- Parecer-me-ia l�gico, num pa�s pobre, de recursos escassos como o nosso, que, no m�nimo, as fam�lias e os estudantes suportassem uma percentagem correspondente � dos ingleses.
-P. -- O que iria tornar o ensino superior um ensino mais elitista, dos ricos.
-Abriu ontem ao p�blico a primeira iniciativa da galeria do Instituto de Arte Contempor�nea (IAC).
-No Pavilh�o Branco do Museu da Cidade, em Lisboa, a exposi��o de Adriana Varej�o inaugura uma nova �rea de interven��o do IAC.
-Os objectivos pol�ticos s�o clarificados no texto do director: criar �um local de reflex�o�, �enfatizando a cidade como sede do pensamento e de problematiza��o de temas que fazem parte do nosso tempo�, num campo que �, nesta fase, �dedicado � multiplicidade de formas e conceitos que se originam a partir do conhecimento de culturas e geografias que nos s�o de menor adjac�ncia�.
-Assim, a galeria pretende acolher imagens ligadas ao que se convencionou designar por multiculturalismo.
-A inten��o descentralizadora do programa �Rotas�, assumido pelo Minist�rio da Cultura e que o IAC integra, � pois confrontada com uma iniciativa tendente a centralizar a discuss�o art�stica e a capitaliz�-la.
-Iniciar a programa��o atrav�s da apresenta��o da obra de Adriana Varej�o � uma op��o politicamente perfeita: porque � uma artista brasileira, porque � uma artista que recorre (entre outros) ao manancial infinito das imagens deixadas no Brasil pelo colonialismo portugu�s, porque est� integrada nos circuitos mais din�micos da internacionaliza��o art�stica actual.
-Adriana Varej�o situa-se no campo das reflex�es sobre o cruzamento de culturas.
-Nesse sentido, cruza imagens dos diferentes tempos e civiliza��es, criando imagens de s�ntese e procurando problematizar, atrav�s do objecto art�stico contempor�neo, os resultados de uma experi�ncia hist�rica universal.
-Um cat�logo com textos de Isabel Carlos (do pr�prio IAC) e Paulo Herkenhoff (comiss�rio para a Bienal de S�o Paulo) completa a apresenta��o.
-Leonor Beleza, presidente da mesa do Congresso do PSD, foi convidada a colaborar com o Governo no debate sobre as reformas do sistema eleitoral.
-Os jornalistas tinham perguntas agressivas para o Presidente, mas ficaram algo desarmados com o ar triunfal de Clinton.
-Um ainda indagou se ele tencionava mesmo lan�ar a invas�o, contra a opini�o da maior parte dos americanos e do Congresso.
-Clinton, que afinal de contas n�o teve de lan�ar invas�o nenhuma, deu exemplos de outras interven��es militares, como em Granada ou no Panam�, em que os Presidentes n�o pediram autoriza��o ao Congresso.
-�Nem todas as decis�es podem ser populares.
-N�o se pode conduzir a pol�tica de acordo com as tend�ncias das sondagens.
-N�o creio que o povo americano queira que eu fizesse isso�.
-como se pode dizer aos americanos que C�dras � um cr�pula e dois dias depois afirmar que se trata de um honrado militar?
-Clinton balbuciou qualquer coisa sobre a inutilidade dos ressentimentos e vingan�as, citando Jean-Bertrand Aristide, o Presidente exilado que dever�, at� 15 de Outubro, regressar ao Haiti, e de quem a CIA diz ser um doente mental com perigosas ideias anti-americanas.
-O mesmo documento afirma que a �forma jur�dica e os crit�rios de gest�o nela impl�citos� se revelaram �inapropriados� � miss�o que foi cometida ao Teatro de S�o Carlos, quando da sua transforma��o em EP em1980: �organizar de forma permanente espect�culos de m�sica, �pera e bailado e para os divulgar pelo pa�s, para dar a conhecer as obras de autores nacionais e para formar e manter um corpo de cantores / actores e de m�sicos�.
-�Ao longo de quase 200 anos, a hist�ria do Teatro Nacional de S�o Carlos acompanhou a vida cultural portuguesa, sendo imperioso criar condi��es para que, no novo renascimento que Portugal atravessa, as estruturas da �rea da cultura se adequem ao acrescido dinamismo da sociedade.
-Em conclus�o, ser� de natureza privada a entidade respons�vel pela nova gest�o do Teatro Nacional de S�o Carlos�, diz, a terminar, o comunicado.
-Os Mission�rios do Esp�rito Santo v�o alargar � cidade do Porto o trabalho que j� desenvolvem na regi�o de Lisboa, de apoio aos imigrantes lus�fonos que residem em Portugal.
-A decis�o dever� ser concretizada a curto prazo, depois de o cap�tulo provincial (assembleia) daquela congrega��o religiosa ter debatido a ac��o do Centro Padre Alves Correia (Cepac), de Lisboa -- o organismo, da responsabilidade dos mission�rios, que esteve em diversas ac��es de apoio � legaliza��o dos imigrantes clandestinos, e que denunciou a corrup��o existente na delega��o de Faro do Servi�o de Estrangeiros e Fronteiras, investigada pela Pol�cia Judici�ria (ver P�BLICO 20/07/94).
-�Nesse sentido, eu gostaria de ver alargado o trabalho do Cepac a cidades como o Porto, porque ele � um sinal de aten��o � miss�o no nosso pa�s�.
-Da �ltima vez em que estivemos em Paris nossa casa foi um apartamento na Rue de la Pompe, no 16 �arrondissement�.
-Uma alternativa mais barata para hotel, com a vantagem adicional de nos permitir simular uma certa domesticidade francesa.
-Viajamos para fugir da nossa rotina mas somos seduzidos pela rotina dos outros e ter um lugar certo onde comprar a �baguette� para o caf� da manh� passa a ser um indispens�vel prazer parisiense.
-Conhecer n�o a vida mas a vidinha de um lugar depende de estabelecer-se na comunidade por alguns anos.
-Durante dez dias passamos v�rias gera��es na Rue de la Pompe.
-Na nossa vizinhan�a imediata existiam quatro ag�ncias funer�rias e duas lojas especializadas em queijos.
-A concentra��o de funer�rias se deve, imagino, � proximidade do cemit�rio de Passy.
-Lojas s� de queijos s�o comuns em Paris e uma experi�ncia tur�stica interessante e barata � entrar numa delas e respirar fundo.
-Voc� sai com a certeza de que chegou muito perto do cora��o selvagem da Fran�a ou ent�o de uma cura definitiva para a sinusite.
-A coincid�ncia de funer�rias e queijarias na nossa circunst�ncia n�o significava nada, portanto, mas n�o pude escapar da m�rbida observa��o de que est�vamos cercados pelas pompas da morte na Rue de la Pompe.
-O queijo tamb�m � a encomenda��o cerimonial de um morto, no caso uma por��o de leite.
-James Joyce chamou o queijo de defunto do leite, e a qualidade de um queijo � o resultado da ac��o de bact�rias vivas num corpo morto.
-Ou seja, de apodrecimento controlado.
-� o que acontece tamb�m na prepara��o de carnes secas e aves e peixes �faisandes� e no correcto acondicionamento de corpos humanos para a eternidade.
-os dois assimilam o facto que a vida � uma doen�a incur�vel com uma taxa de mortalidade de 100 por cento, e se tornam melhores por isso.
-Rodrigo Mil Homens venceu ontem, na classe Runabout Limited, a segunda etapa do Europeu de Jet Ski, que durante o fim-de semana se disputou no len�ol de �gua do Rio Lima, na praia do Prior, em Viana do Castelo.
-Miguel Valente, por seu lado, foi o vencedor na classe Sport Limited.
-Estes foram os �nicos portugueses a conseguir um primeiro lugar nas v�rias classes que fizeram parte desta etapa do Europeu, que contou com a participa��o de 186 concorrentes, 28 dos quais portugueses.
- Finalmente, apesar de j� ter sido editado em 1992, merece refer�ncia o cl�ssico norte-americano Spiderman -- o Homem-Aranha --, uma cria��o original de Steve Dikto (desenho) e Stan Lee (texto), que � evocado por ocasi�o do 30� anivers�rio da sua cria��o (1962) numa edi��o em �comic-book� de luxo pela editora espanhola Forum (Planeta-De Agostini).
-�La Saga del Traje Alienigena� tem a assinatura de Ron Frenz, Ruck Leonardi (desenho), Tom DeFalco e Roger Stern (argumento).
-BB -- Em geral?
-[ Risos ...] A fun��o da arte � a de expandir as possibilidades da linguagem visual.
-Por outras palavras, o que a arte nos d� � mais possibilidades de ver as coisas de diferentes maneiras.
-E creio que � o bastante.
-O mesmo se passa em rela��o � literatura.
-Acredito que a fun��o da literatura e da arte � a de expandir as possibilidades do que as pessoas podem dizer, mas n�o necessariamente para fazer delas melhores seres humanos.
-� poss�vel que tenha essa consequ�ncia, mas n�o se deve misturar as coisas.
-Quais � que s�o as prioridades?
-O fundamental, para mim, � que a arte seja livre de constrangimentos.
-P -- H� uma nova moral nos Estados Unidos?
-J� presente no local sob os ausp�cios das Na��es Unidas para garantir o respeito das �zonas de exclus�o a�rea� decretadas na B�snia, a Alian�a Atl�ntica n�o dever� encontrar grandes dificuldades no alargamento da sua miss�o.
-Mas, apesar da imagem de coes�o que ontem se esfor�aram por exibir durante uma reuni�o no Luxemburgo, os ministros dos Neg�cios Estrangeiros da CE e o secret�rio de Estado norte-americano, Warren Christopher, n�o esconderam algumas �nuances� sobre a estrat�gia a seguir face � B�snia.
-N�o existe, pois, um conceito �operacional� de urg�ncia, como bem atestam as urg�ncias dos hospitais.
-�1� Prioridade -- situa��es exigentes: situa��es mais amea�adoras para a vida e que necessitam de interven��o instant�nea.
-Exemplo: fractura da laringe com obstru��o respirat�ria completa.
-2� Prioridade -- situa��es emergentes: situa��es que exigem interven��o imediata num per�odo de poucos minutos.
-Exemplo: pneumot�rax de tens�o [ ar dentro da cavidade pleural a comprimir os pulm�es e o cora��o, eventualmente ].
-3� Prioridade -- situa��es urgentes: situa��es que necessitam de interven��o dentro da primeira hora.
-Exemplo: hemoperitoneu devido a hemorragia intra-abdominal cont�nua [ les�o dentro da cavidade abdominal a sangrar continuamente ].
-4� Prioridade -- situa��es defer�veis: situa��es que podem ou n�o ser imediatamente evidentes, mas que necessitar�o de tratamento subsequente.
-Outro aspecto que suscita preocupa��o � �o uso, por vezes indiscriminado, de antibi�ticos�.
-Entre as resist�ncias a estes f�rmacos provocadas por este tipo de actua��o -- por parte dos profissionais e da popula��o --, inclui-se, como �um dos exemplos mais graves�, a inefic�cia dos medicamentos contra a tuberculose, doen�a cuja incid�ncia continua a deixar Portugal muito mal colocado no panorama europeu.
-A emerg�ncia da sida, � qual est� associada uma s�rie de infec��es oportunistas, o problema da hepatite C (recentemente identificada e ainda sem cura nem tratamento) e o recrudescimento da papeira (mais de onze mil notifica��es durante o ano passado) constituem outras das facetas mais negativas da situa��o portuguesa em mat�ria de doen�as transmiss�veis.
- Mas a margem de 87 para 10 a favor da Lei de Reautoriza��o dos Institutos Nacionais de Sa�de, de que fazia parte a cl�usula respeitante ao tecido fetal, fez renascer as esperan�as, entre muitos dos interessados em prosseguir as pesquisas envolvendo tecido fetal, de que esta medida tenha for�a suficiente para ultrapassar o veto presidencial.
-A vota��o representa tamb�m uma vit�ria significativa para os que se prop�em efectuar este tipo de investiga��o, uma vez que conseguiram convencer muitos senadores antiaborto que defender a utiliza��o de restos fetais n�o � a mesma coisa que defender a pr�tica que lhes d� origem.
-Voltando aos terrores da Lapa dos Morcegos: fartos de tantas v�timas, os alde�es decidem armar um cavaleiro capaz de defrontar a fera.
-Terr�vel foi o combate e assustadores os gritos da batalha, que o improvisado cavaleiro acaba por vencer, expulsando a fera, que foge por entre o p�blico e vai aterrorizar outras paragens.
-De entre os que assistiam a esta pe�a da companhia Aquilo, as crian�as eram, sem d�vida, as mais fascinadas.
-Algumas choravam, aterrorizadas, outras respondiam aos urros do monstro, e um petiz chegou mesmo a propor aos pais uma incurs�o na gruta, �para mat�-la�, � fera, pois ent�o.
-�N�o � a desvaloriza��o que vai resolver os problemas de fundo do sector t�xtil�.
-� assim que Jorge Seabra, gestor t�xtil, avalia a recente desvaloriza��o da moeda portuguesa que, no entanto, considerou insuficiente.
-Para Jorge Seabra, a quest�o tem de ser posta a dois n�veis.
-Por um lado, a efectiva perde de competitividade dos produtos portugueses face a produtos concorrentes provenientes do espa�o europeu, em especial da It�lia e da Espanha.
-� nesse n�vel que, em sua opini�o, a desvaloriza��o foi insuficiente.
-Mas, por outro lado, n�o � a desvaloriza��o do escudo que vai resolver o problema de fundo de competitividade da ind�stria portuguesa.
-Uma autocombust�o ocorrida ontem de manh� em dep�sitos da empresa de tratamentos pretol�feros Nesta, em Sines, n�o chegou a provocar ferimentos nos oper�rios nem prejuizos avultados.
-A Sociedade Lisboa 94 poder� vir a desvincular-se do apoio, de 25 mil contos, � produ��o da �pera �O Corvo Branco�, de Philip Glass e Bob Wilson, com libreto de Lu�sa Costa Gomes, encomendada pela Comiss�o Nacional para as Comemora��es dos Descobrimentos (CNCDP).
-Marcada inicialmente para o fim da presid�ncia portuguesa das Comunidades, em Junho de 1992, depois anunciada para Abril de 1994, no Centro Cultural de Bel�m (ver P�BLICO de 10/2/1992) a �pera s� poder� ser apresentada em Janeiro / Fevereiro de 1995.
-Vasco Franco, vereador respons�vel pela PM lisboeta, contesta e salienta que a ac��o da pol�cia alfacinha � mais importante do que parece � primeira vista.
-Al�m do controle da venda ambulante, os efectivos acorrem �s situa��es de cat�strofe, fiscalizam bairros degradados, para evitar o aparecimento de novas barracas.
-�Muitas vezes, a PM � a �nica autoridade que passa em determinados bairros�.
-S� este ano, at� Setembro, a pol�cia alfacinha j� retirou da via p�blica 1600 ve�culos abandonados, miss�o �essencial numa cidade com pouco estacionamento�, sublinha.
- Al�m disto, ainda acompanham as ac��es de despejo.
-A verdade � que se tratam de tarefas executadas noutros munic�pios por fiscais camar�rios.
-Mas, �com menos efic�cia que a PM�, assegura Vasco Franco.
-Entretanto, Couto Ferreira apresentava ontem um alto teor de �cido �rico no sangue e encontrava-se em acelerado emagrecimento, segundo informou o director-cl�nico do Hospital Prisional S.Jo�o de Deus, Manuel Pin�u.
-�Por agora, as altera��es registadas ainda n�o s�o irrevers�veis mas a presen�a de um elevado teor de �cido �rico no sangue pode ter consequ�ncias a n�vel renal�, frisou o citado m�dico.
-Couto Ferreira encontra-se a ser acompanhado pelo m�dico mas recusou qualquer tipo de tratamento, caso entre em coma.
-O l�der do PSD-Porto, Lu�s Filipe Menezes, desafiou ontem o presidente da C�mara do Porto a assumir o mandato de deputado durante a discuss�o do Or�amento de Estado para 1998 para que prove o seu empenho na defesa da regi�o, mas Fernando Gomes, em jeito de coment�rio, passou ao lado do repto.
-��s picardias e jogos de palavras do doutor Lu�s Filipe Menezes n�o tenho rigorosamente nada a dizer, porque tenho mais com que me preocupar�, disse.
-Este grupo religioso j� foi �visitado� pelas autoridades policiais, em fins de Novembro, no seguimento de queixas em mat�ria de urbanismo, contra est�tuas de dimens�es desmesuradas erguidas perto do mosteiro.
-Os �cavaleiros� foram, inclusive, proibidos de construir um �templo pir�mide� de propor��es megal�manas.
-Entretanto, nos Estados Unidos, os sobreviventes do desastroso ataque policial contra os membros do culto davidiano, o �massacre de Waco�, juntamente com os familiares das v�timas mortais, v�o processar o presidente norte-americano, Bill Clinton, e o FBI.
-O exerc�cio do poder nas organiza��es �, por vezes, descrito em termos de �jogos e de jogadores�.
-Os autores de �The Strategy Process� referem o especialista em ci�ncias pol�ticas Graham Allison, que, em 1971, descreveu os jogos nas organiza��es e nos governos como �complexos, subtis, simult�neos e sobrepostos�.
-a coliga��o de regras, em cada momento define o jogo.
-Mintzberg e Quinn identificam uma s�rie de �jogos de poder�, de entre os quais retir�mos e adapt�mos os que apresentamos no quadro junto.
-O essencial, na compreens�o dos �jogos de poder�, � conseguir saber quem est� envolvido e onde est� a for�a em cada situa��o concreta.
-A gest�o de topo -- alvo a atingir em muitos destes jogos -- pode ganh�-los se os conhecer bem e souber �jog�-los�.
-23 de Maio -- Manifesta��es espont�neas em protesto contra o facto de Daniel Cohn-Bendit, l�der do Maio de 68, ter sido proibido de residir em Fran�a.
-A Uni�o Nacional dos Estudantes de Fran�a, o sindicato dos Professores do Ensino Superior, o Movimento 22 de Mar�o e os Comit�s de Ac��o Liceal convocam uma manifesta��o para o dia 24 em solidariedade com Cohn-Bendit.
-cerca de 30 mil jovens manifestam a sua solidariedade com Cohn-Bendit.
-�s 20 horas, o general De Gaulle fala ao pa�s, propondo a realiza��o de um referendo.
-Os manifestantes reagem � interven��o, agitando len�os brancos e gritando �Adeus De Gaulle�.
-O chefe do Estado-Maior da For�a A�rea, general Mendes Dias, decidiu proceder a algumas altera��es nos quadros das Oficinas Gerais de Material Aeron�utico (OGMA), tendo sido determinada, na passada sexta-feira, a substitui��o do general Rui Espadinha, na direc��o daquele estabelecimento fabril.
-Interinamente, o brigadeiro Portela ir� assegurar a chefia das OGMA, mas, nos pr�ximos meses, dever� suceder uma reestrutura��o mais profunda.
-Seria bom que os l�deres partid�rios pr�-referendo fossem mais claros expondo raz�es objectivas, como por exemplo as de foro constitucional, �tico ou consuetudin�rio.
-Os cidad�os gostariam de saber porque se deseja retirar aos deputados o direito que t�m de aplicar a sua sapi�ncia e poder na feitura de leis que a todo o povo e ao pa�s dizem respeito.
-E tamb�m gostar�amos de saber porque se exige a transfer�ncia de tais poderes para o veredicto do povo, sendo sabido que se trata de assuntos de elevada complexidade pol�tica, social e jur�dica, para os quais o cidad�o comum tem menor prepara��o t�cnico-cient�fica.
-A investigadora acha mesmo que n�o h� raz�es para se excluir as prote�nas animais das ra��es, desde que exista uma certifica��o da origem dessas prote�nas que garanta que elas prov�m apenas das partes n�o perigosas das carca�as.
-�Antes de 1988, a contamina��o era impar�vel e, hoje, estamos a tomar precau��es excessivas numa altura em que o risco j� � muito mais pequeno�.
-E diz que, daqui a uns anos, a BSE, que era uma doen�a rara at� h� dez anos, tornar� a ser novamente isso: uma doen�a rara.
-A guerra entre os jornais desportivos est� no ponto de rebu�ado.
-A �Gazeta�, que passa a ser editada cinco dias por semana, parece em vias de alcan�ar o seu objectivo: obrigar o arqui-rival �A Bola� a tornar-se um jornal di�rio, o que, segundo P&N apurou, ser� um facto a partir de Janeiro do pr�ximo ano.
- E, de caminho, instalou-se na redac��o de �A Bola� um clima de aut�ntico PREC, com a demiss�o do chefe de redac��o, Joaquim Rita, e a venda, por parte de Aur�lio M�rcio, da quota que detinha no jornal.
-M�rcio amealhou 70 mil contos e est� de malas feitas para o �Record�, acompanhado, na sua transfer�ncia, por Jo�o Alves Costa e Norberto Santos.
- Quem disse que as transfer�ncias eram s� no defeso?
-J.M. -- A� � que est�.
-Temos prestado uma aten��o diminuta � interac��o entre a realidade f�sica, o problema ambiental e o sistema pol�tico.
-Se pegarmos no caso de �frica, a grande quantidade de gente que ali morre de fome n�o resulta do problema ambiental ou de uma agricultura subdesenvolvida, mas dos governos.
-S�o pa�ses mal geridos que, por isso, n�o conseguem fazer chegar os alimentos aos seus povos.
-Curiosamente, na Am�rica do Sul, que dantes estava bem pouco desenvolvida, as popula��es conseguem bastar-se em alimentos e vivem da exporta��o de alguns produtos.
-Portanto, voc� deveria preocupar-se com os sistemas pol�ticos vigentes.
-E.G. -- Continuo a n�o estar convencido de que se trate apenas de um problema pol�tico.
-Porque a produ��o por hectare em �frica tem diminu�do drasticamente, o campo est� a desertificar-se.
-O len�ol fre�tico baixa todos os anos, as pessoas t�m de cavar po�os cada vez mais fundos.
-Muita dessa desertifica��o tem sido disfar�ada com o uso crescente de adubos, n�o tanto em �frica como na �ndia e noutros s�tios.
-� uma causa maci�a de subnutri��o e fome.
-Na semana passada, Fidel Castro avisara que se Washington n�o alterar a pol�tica quanto aos emigrantes cubanos poder� ficar sujeita a uma inunda��o, pois que a Havana deixar� de tentar impedir os seus cidad�os de partir e os parentes de os virem buscar.
-O Presidente levantou o espantalho de um �xodo como o de 1980, ano em que 125 mil cubanos se dirigiram de barco para os Estados Unidos, onde tantos dos seus compatriotas j� se encontravam a viver no estado da Fl�rida.
-Os bombardeamentos podem produzir uma reviravolta na guerra que amea�a, sen�o a integridade territorial do pa�s pelo menos a estabilidade do regime de Mobutu Sese Seko que o domina h� mais de tr�s d�cadas, admitiram analistas citados pela ag�ncia francesa.
-Mas s�o escassas as informa��es sobre as v�rias frentes de combate, desconhecendo-se at� que ponto as for�as governamentais progridem no terreno.
-S� h� rumores, por exemplo que os militares tomaram, com a ajuda de antigos soldados ruandeses (hutus) e mercen�rios, posi��es perdidas h� dez dias na estrada para sudeste, para Walikale, e a cidade de Bafwasende, a Leste, e que a avia��o se prepara para atacar Punia, situada entre Kisangani e Bukavu.
-Assim, o projecto de lei ontem aprovado por unanimidade na Assembleia da Rep�blica, em vez de afirmar que as taxas ficam suspensas at� ao fim do ano (como o texto inicial, da iniciativa do social-democrata Rui Rio, previa), passou a estabelecer como limite para a suspens�o �a entrada em vigor do diploma que regule a utiliza��o de cart�es de d�bito de pagamento autom�tico�.
-E Rui Carp, o vice-presidente da bancada �laranja� respons�vel pelas quest�es econ�micas, foi claro ao afirmar no plen�rio que, �num curt�ssimo per�odo de tempo� o Governo dever� deixar esta quest�o resolvida.
-Outras das altera��es introduzidas no projecto de lei diz, ali�s, respeito � iniciativa legislativa que inevitavelmente se seguir�.
-� que, enquanto o primeiro projecto afirmava que uma vez suspensa a taxa, a Assembleia da Rep�blica apresentaria um projecto de regulamenta��o do uso dos cart�es, o projecto ontem aprovado apenas afirma que �dever� ser aprovada at� 31 de Dezembro do corrente ano legisla��o que preencha cabalmente o vazio legislativo� existente.
-Ou seja, n�o ser� necessariamente o Parlamento a faz�-lo, e a convic��o dominante na direc��o da maioria � que, a partir de agora, �o Governo ir� ter uma participa��o decisiva�.
-A teoria diz que � necess�ria a exist�ncia de uma certa dist�ncia entre o �charme� e o �anticharme� para o Psi ser produzido.
-�Se n�s cumprimimos a mat�ria, n�o deixamos os quarks distanciarem-se o suficiente para produzirem o Psi�, explica Paula Bordalo.
-�H� uma dist�ncia m�nima para o Psi se formar e teoricamento se n�o se conseguir observar o n�mero suficiente de Psis em rela��o � f�sica normal, � porque podemos estar na presen�a do plasma�, continua.
-Desde as v�rias recolhas de dados com a experi�ncia do oxig�nio, passando pelo enxofre e agora com o chumbo, o detector de mu�es -- a part�cula em que o psi se decomp�e e que os f�sicos procuram para saber se o psi foi produzido -- foi sempre mostrando uma diminui��o do psi.
-O zimbabweano admitiu mesmo que Sampras � dos poucos jogadores que costuma observar em ac��o.
-�Ele � t�o suave.
-Todas as suas pancadas s�o quase perfeitas�, justificou.
-Com esta presen�a nos quartos-de-final, o seu melhor resultado em provas do Grand Slam, Black angariou pontos suficientes para subir cerca de 30 lugares no �ranking�, mas n�o � s� isso que o tenista africano leva de Flushing Meadow.
-�O mais importante � saber que sou capaz de bater jogadores do ' top-10 '�, afirmou ele, referindo-se � elimina��o neste Open de Michael Stich (8� ATP) e Thomas Enqvist (9� ATP).
-Mas o dia j� tinha come�ado bem para as cores norte-americanas, com o triunfo de Meredith McGrath e Matt Lucena na final de pares mistos.
-O conjunto norte-americano derrotou a tamb�m norte-americana Gigi Fernandez e o checo Cyril Suk por 6-4, 6-4, conquistando o t�tulo e o cheque de 7500 contos.
-�T�nhamos decidido desde o primeiro encontro que �amos divertir-nos e que n�o ficar�amos zangados se as coisas corressem mal�, afirmou Lucena, que tamb�m revelou que os dois concordaram em jogar apenas cinco dias antes de a competi��o se iniciar.
-McGrath j� tinha sido finalista nesta variante em 1989, o �ltimo ano em que o t�tulo tinha revertido tamb�m para um par da casa.
-Segundo Artur Moreira, a not�ria leu a escritura e s� faltava assinar.
-Depois, continua, �disse que s� o faria na presen�a de duas testemunhas�.
-No dia seguinte, Armanda e Moreira voltaram ao cart�rio, acompanhados das testemunhas.
-�Sem qualquer explica��o, a not�ria disse que n�o fazia a escritura�, recorda o vendedor.
-E as testemunhas n�o chegaram a ser ouvidas.
-Seguiu-se uma troca de palavras menos amistosa e Elvira Maris acabaria por chamar a pol�cia, declarando ter sido maltratada e que o bom funcionamento do cart�rio havia sido perturbado.
-A autoridade chegou e procedeu � identifica��o dos dois indiv�duos.
-�O que eu pergunto � por que � que para a pol�cia a minha identifica��o � suficiente e para a senhora not�ria n�o �, questiona Maria Armanda.
-�Eu estou a ser alvo de discrimina��o.
-Ela est� a brincar comigo, com o vendedor, com as testemunhas, com todos n�s�, conclui.
-Por sua vez, Moreira afirma conhecer outro travesti que comprou uma casa j� h� 18 anos, sem ter tido qualquer problema.
-Contactada pelo P�BLICO, Elvira Maris declarou n�o poder �fazer uma escritura quando aparece uma pessoa com uma identidade diferente da presente no documento comprovativo da sua identidade�.
-A Alemanha n�o lhes concedeu asilo e os seus pa�ses muitas vezes n�o os querem de volta.
-S�o detidos, para evitar tenta��es de clandestinidade.
-Nas �pris�es de deporta��o� alem�s, est�o cerca de quatro mil �indesejados� � espera da expuls�o.
-At� l�, podem passar 18 meses em celas superlotadas.
-Sem terem cometido qualquer crime.
-Sem nada poderem fazer.
-A n�o ser esperar pelo destino de quem nasceu no pa�s errado.
-No in�cio do s�culo, era uma esquadra de pol�cia.
-As celas tinham capacidade para albergar at� 140 detidos por um curto per�odo de tempo.
-Perante as novas necessidades, o velho edif�cio na Kruppstrasse foi �reciclado�.
-Hoje � a mais conhecida �pris�o de deporta��o� berlinense.
-�Portugal � uma rebaldaria.
-E como n�o h� Constitui��o, ent�o vamos todos tomar atitudes arruaceiras�.
-De bandeira branca ao ombro, reclamando o encerramento das grandes superf�cies ao domingo, o comerciante, de face congestionada, resumiu � sua maneira a inten��o dos 150 lojistas presentes na reuni�o realizada anteontem � noite, em Vila Nova de Gaia.
-Depois de discutidos o melhor dia e a melhor hora para a manifesta��o, a maioria pronunciou-se pelo ajuntamento no pr�ximo dia dois de Mar�o, s�bado, a partir das quatro horas da tarde, na sala de visitas do Porto: a Pra�a General Humberto Delgado.
-Um falso m�dico passeou-se durante pelo menos dez anos pelo Hospital de Santa Maria.
-O �doutor Dinis�, segundo a Pol�cia Judici�ria, chegou a dar consultas no estabelecimento de sa�de lisboeta e a encaminhar pacientes para especialistas a quem convenceu da condi��o de colega.
-O director de Santa Maria admitiu ontem ter sido detectado um indiv�duo que se fazia passar por m�dico, imediatamente �entregue� �s autoridades, mas garantiu desconhecer que ele desse consultas.
-O deputado do PSD Guilherme Silva esteve reunido h� dias com as estruturas sindicais dos ju�zes, a quem comunicou o facto de o seu partido, apesar de �estar sensibilizado para as queixas dos ju�zes�, apenas tencionar desbloquear a situa��o num contexto em que se gere na Assembleia da Rep�blica �um amplo consenso democr�tico�, designadamente com a ades�o do PS que, segundo a direc��o parlamentar do PSD, se tem mostrado fechado a considerar o assunto �numa perspectiva de regime�.
-Esta �perspectiva de regime� de que fala o PSD implica a busca de uma solu��o no quadro do Estatuto Remunerat�rio dos Titulares dos Org�os de Soberania, e n�o apenas uma altera��o pontual deste diploma com base na interpreta��o legal avan�ada pelo Sindicato dos Magistrados do Minist�rio P�blico.
-Acredito que se referissem a animais indefesos, pois o termo �cobardia� n�o se aplica a quem enfrenta toiros.
-Apresenta esses dois grandes escritores -- por conveni�ncia --, mas olvida nomes importantes no mundo das letras e das artes.
-N�o lhe diz nada Ernest Hemingway, Pr�mio Nobel da Literatura, um homem cativado pela festa e que escolheu a terra de Espanha para sua �ltima morada?
-E Federico Garcia Lorca, que deixou t�o belas obras e alguns sentidos poemas dedicados a um famoso toureiro?
-Esquece Picasso, Goya, Mariano, Benlliure, que honraram a festa com as suas pinturas e esculturas?
-Quantos artistas, quer estrangeiros quer nacionais, a festa de toiros tem motivado.
-o cinema nasceu em Portugal?
-E o �football�?
-Contudo, somos capazes de fazer isso tudo e bem.
-Por fim, restar� um lote de ac��es que ser� vendido na Bolsa de Lisboa.
-Os pre�os das ac��es para investidores nacionais ser�o �mais vantajosos� comparativamente aos valores para os n�o residentes.
-No Minist�rio da Ind�stria existe o desejo de manter o m�ximo de capital poss�vel em m�os nacionais.
-A justifica��o � que �este � um sector em que podemos dar cartas, pelo que n�o conv�m uma aloca��o excessiva de poder de decis�o para o exterior�.
-No entanto, por definir continuam as parcelas exactas de capital que ser�o alienadas em Portugal e no estrangeiro.
-O Governo ainda n�o delineou os contornos definitivos da opera��o, o que dever� acontecer no final de Abril ou princ�pio de Maio em Conselho de Ministros.
-Actualmente, uma das quest�es colocadas pelos investidores � a de qual ser� o pre�o a pagar por cada t�tulo.
-Mas tamb�m aqui ainda nada est� definido.
-No entanto, o P�BLICO soube que foram realizadas duas avalia��es da empresa de celulose.
- Uma pela dupla BFE/Salomon Brothers e outra pelo BPI em associa��o com a UBS (Union des Banques Suisses).
-O II Encontro Nacional de aquarofilia iniciou-se ontem com a inaugura��o de exposi��es de filatelia, aqu�rios, artesanato tem�tico e fotografia, estando ainda inclu�das no evento outras iniciativas, como �workshops� sobre fotografia e montagem de aqu�rios, anima��o musical e projec��o de filmes.
- Esta tarde tem in�cio o col�quio, que conta com a participa��o de especialistas nacinais e estrangeiros em aquariofilia e actividades subaqu�ticas, bem como respons�veis por alguns aqu�rios europeus e o director do Ocean�rio da Expo'98.
-A pensar nos mais novos, o Programa Aquaj�nior permite a utiliza��o de programas multim�dia relativos � vida marinha.
-O Porto tem um novo grupo de teatro que obedece ao princ�pio da diversidade.
-A troca de experi�ncias com outros grupos, a produ��o de espect�culos, a organiza��o de debates e de ateliers de forma��o contam-se entre os objectivos do grupo, fundado por quatro actores profissionais.
-O primeiro �workshop�, orientado por um especialista japon�s em �commedia dell'arte�, Kuniaki Ida, come�ou esta semana.
-A agita��o � volta das filmagens suscitou igualmente um novo interesse por aquele romance.
-A Ilh�u Editora teve de p�r nas bancas mais uma edi��o cabo-verdiana -- a terceira desde que a obra conheceu a luz do dia --, de modo a satisfazer a curiosidade dos novos leitores deste primeiro e bem sucedido livro de Germano Almeida, cuja bibliografia n�o cessa de aumentar desde que decidiu lan�ar-se nesta tarefa de dar corpo �s hist�rias e que, segundo ele, v�o ter consigo todos os dias no seu escrit�rio de advogado, no Mindelo.
-Segundo Francisco Manso, os custos do seu filme dever�o situar-se entre os 250 mil e 300 mil contos, or�amento que ele considera �razo�vel� para os padr�es portugueses.
-Portugal, atrav�s do IPACA, RTP e v�rios outros organismos p�blicos e privados, assegura o grosso do financiamento, cabendo a parte restante ao Brasil e Cabo Verde, e ainda a entidades ligadas � Uni�o Europeia.
-Os juristas franceses est�o algo apreensivos com o novo C�digo Penal, que entra hoje em vigor e que substitui o velho C�digo Napole�o de 1810, ao cabo de um trabalho que durou 18 anos.
-Quando em todo o mundo ca�ram os muros com que alguns tamb�m tentaram defender a irracionalidade dos seus princ�pios, eis que em Portugal se estabelecem quil�metros infinitos de aramados, que esquartejam o pa�s em talh�es, onde uma minoria � autorizada a explorar at� ao exterm�nio o que a natureza a todos oferece.
-Pelo caminho, com o conluio de uns poucos que ocuparam ou ocupam altos cargos na Administra��o (e que envergonham muitos outros que honrosamente se batem por um adequado ordenamento cineg�tico), t�m ficado enxovalhados, espezinhados e chumbados, o direito � propriedade privada, o interesse nacional e o direito � vida.
-Com uma vis�o facciosa e m�ope do que � o desenvolvimento rural (j� que as receitas da ca�a raramente ficam nos locais onde esta se pratica), continua a Secretaria de Estado da Agricultura e do Desenvolvimento Rural (SEADR) a empenhar-se em propalar sem quantificar os proveitos desta actividade.
-Mas quanto perde o pa�s por cada ave de rapina ilegalmente abatida?
-Quanto perde o pa�s por cada predador envenenado?
-Quanto perde o pa�s por cada esp�cie rara morta?
-Quanto gasta anualmente a JAE na reposi��o dos milhares de placas que anualmente servem de alvo a ca�adores sem escr�pulos?
-Em quanto contabilizar os preju�zos causados por centenas de c�es de ca�a que s�o anualmente perdidos ou abandonados pelos ca�adores?
-Em quanto ficaria a limpeza de toda a imund�cie provocada na natureza pelos almo�os e lanches que fazem parte deste ritual de matan�a?
-Quem deve ser responsabilizado pela polui��o dos nossos campos e �guas, provocada pelas toneladas de chumbo anualmente disseminadas por milhares de disparos?
-E as perdas de rendimento ao n�vel regional, causadas pela elimina��o, nas zonas de ca�a, das pr�ticas agr�colas e pastoris consideradas incompat�veis com as actividades cineg�ticas?
-E os postos de trabalho assim eliminados?
-Entretanto, durante toda a manh� de ontem, uma testemunha tentou, na esquadra da PSP, dizer o que tinha visto e ouvido.
-�Mas esse direito foi-me sempre negado�, afirma a testemunha, A. Carvalho.
-�O pol�cia disse-me que o agrediu, mas agora, horas depois, desmente tudo�, adiantou.
-O caso foi entregue � PSP das Caldas da Rainha e remetido ontem ao tribunal, que decidiu que o condutor n�o pode sair da �rea da resid�ncia, embora possa conduzir, tendo sido instaurado inqu�rito para averigua��es.
-Tamb�m em Outubro, quando a C�ria Diocesana denunciou publicamente o fen�meno das profana��es, Aristides Lima, dirigente do PAICV, foi uma das vozes a levantar-se na condena��o dessa pr�tica e a manifestar � comunidade cat�lica a solidariedade do seu partido.
-R. -- Nestes casos, a boa pol�tica � que durma em casa.
-Assim, ao menos sabe-se onde e com quem.
-A vizinha do apartamento da frente insiste em fazer ioga nua, � vista de todos.
-Queixa-se ao senhorio?
-O Teatro Experimental de Cascais apresenta �Invent�rios�, no Audit�rio Mirita Casimiro.
-MONTEMOR-O-NOVO A Unidade de Inf�ncia do Centro Dram�tico de �vora estreia hoje � noite, no Cine-Teatro Curvo Semedo, �O Meu Amigo Rodrigo�.
-Pol�ticos israelitas e da Organiza��o de Liberta��o da Palestina (OLP) afirmam-se dispostos a punir os fundamentalistas isl�micos que no domingo causaram 19 mortos numa povoa��o a norte de Telavive.
-O ministro israelita dos Neg�cios Estrangeiros, Shimon Peres, afirmou ontem que o Governo de Yitzhak Rabin vai pressionar o l�der da OLP, Yasser Arafat, no sentido de que se actue energicamente perante a Jihad Isl�mica, o grupo radical que reivindicou o facto de dois dos seus militantes suicidas -- naturais da Faixa de Gaza -- haverem sido os respons�veis pelo atentado de Beit Lid.
-Cristo ressuscitou?
-Entre metade e um quarto dos estudantes cat�licos acreditam em Deus mas n�o em Cristo.
-� um fen�meno de desintegra��o social.
-As consequ�ncias s�o imprevis�veis.
-Voltando a mostrar-se particularmente � vontade em condi��es de pouca ader�ncia, o brasileiro Ayrton Senna (McLaren / Ford) conseguiu ontem o melhor tempo na primeira sess�o de qualifica��o para o Grande Pr�mio da Europa que amanh� se disputa em Donington (Inglaterra).
-No entanto, a luta pela �pole position� n�o est� ainda terminada, com o franc�s Alain Prost (Williams / Renault) a prometer dar luta ao brasileiro, hoje, na derradeira sess�o de qualifica��o.
-Aquilo que os pilotos temiam confirmou-se, com um primeiro dia de treinos muito chuvoso, a dificultar as suas tentativas de qualifica��o.
-Prost come�ou por ser o mais r�pido mas resolveu recolher �s �boxes�, aguardando por um final de sess�o com menos �gua.
-Pouco depois, era a vez de Senna bater o seu tempo.
-�Embora a pista de Donington tenha uma drenagem melhor que a de Interlagos, acho que correr aqui � mais perigoso�.
-Com a entrada do Tratado de Maastricht na Assembleia da Rep�blica prevista j� para a pr�xima semana-- depois de o Conselho de Ministros ter decidido ontem o envio de uma proposta de resolu��o para ratifica��o parlamentar--, o debate sobre o processo e o �timing� adequado � sua aprova��o passou imediatamente � ordem do dia.
-Muitas quest�es subsistem ainda, nomeadamente sobre a necessidade de proceder a uma revis�o constitucional que compatibilize o texto da Constitui��o com o texto do Tratado.
-Hoje mesmo, o Parlamento ver-se-� confrontado com a proposta de resolu��o que o CDS vai apresentar, visando dot�-lo de poderes de revis�o constitucional de modo a permitir o recurso ao referendo que os centristas defendem para ratificar as propostas de Maastricht.
-Quando no avi�o se acende a luz verde e come�am a encaminhar-se para a porta e a sair ao ritmo de um por cada dois segundos, as batidas do cora��o j� normalizaram.
-J� nem ouvem a voz de �j� do instrutor-largador.
-Sentem a palmada que ele lhes d� no ombro e l� v�o.
-parecem bonecos articulados.
-Por vezes, muito raramente, n�o se ganha para o susto.
-Como foi no quarto salto, em que um deles passou a velocidade mete�rica, com o p�ra-quedas dorsal em vela romana [ m� abertura em que a calote do p�ra-quedas se mant�m na forma de facho, sem superf�cie de sustenta��o ].
-O jovem instruendo tinha aproveitado bem os ensinamentos e abriu o p�ra-quedas de reserva.
-Respirou-se fundo, no ar e em terra.
-J� no ch�o �recriminam-se� entre si, por causa de pequenos descuidos.
-�N�o fui eu!
-A Ligier-Renault, a Lotus-Mugen-Honda e a Sauber-Mercedes suceder�o � Jordan nos referidos ensaios.
-A Ferrari chegar� amanh� ao circuito de Barcelona, onde apresentar� no seu novo modelo uma das inova��es mais interessantes para a nova �poca: a fixa��o das suspens�es directamente incorporadas no �chassis�.
-Paralelamente aos testes de reabastecimento, o McLaren-Peugeot de Mika Hakkinen e o Sauber-Mercedes de Karl Wendlinger foram os mais r�pidos em pista, cronometrados na suas voltas mais r�pidas em 1m19,32s, enquanto o Lotus-Mugen-Honda de Pedro Lamy foi o mais lento, gastando 1m27,52s, muito aqu�m do italiano Alessandro Zanardi, piloto-ensaiador da equipa, que gastou apenas 1m22,95s.
-Frentzen (Sauber-Mercedes), com 1m20,02s, Irvine (Jordan-Hart), com 1m20,14s, Panis e Bernard (Ligier-Renault), respectivamente, com 1m21,64s e 1m22,24s, seguiram-se � dupla mais r�pida, no circuito de Montmel�.
-A maioria das queixas, verdade seja dita, n�o tinham nada de transcendente ou desconhecido.
-Repetiam que as missas s�o uma chatice e que as homilias oscilam entre o horror e a banalidade.
-Algumas pessoas atribu�am � mis�ria lit�rgica a suposta descida na pr�tica religiosa.
-Conclus�o porventura demasiado linear.
-Insistiam em que os jovens dos 18 aos 25 anos j� n�o aturavam o que os pais tinham aguentado.
-O que, sendo talvez verdade, esquece que tamb�m h� jovens para tudo.
-O irrequieto Jos� Magalh�es resolveu brindar deputados, jornalistas e amigos com uma prenda �pirata�.
-Uma disquete com a tradu��o portuguesa do Tratado de Maastricht �com os conhecidos e altamente verberados erros oficiais�, a que juntou uma bem humorada etiqueta: �Disquete sem v�rus (utiliza��o de software preservativo antieuropeu n�o aconselhada).
-Uso e difus�o livres.
-Pirateada e distribu�da gratuitamente no Natal de 1992 por Jos� Magalh�es a todo e qualquer interessado, de boa ou m� f�.
-Consta que enviou uma a Manuel Monteiro e outra a Paulo Portas.
-Uma pirataria completa.
-N�o, n�o � mais uma caso de vida ou telenovela mexicana de televis�o, ou uma hist�ria para adormecer.
-Esta � bem real e um exemplo de que pode acontecer a qualquer m�e que, ao tirar uma ecografia, descobre que n�o � um, mas tr�s filhos que vai dar � luz.
-Uma alegria para alguns e um choque para outros.
-�O choque foi na ecografia, v�o fazer j� 18 anos, e s� suspeit�vamos de um�.
-�Mas reagi muito bem e fiquei a saber que engravidei duas vezes�.
-Esta m�e explica que, em casos como este, �os cuidados s�o todos multiplicados por mil�.
-N�o � caso para menos, pois s�o g�meos, mas neste caso, os chamados g�meos falsos, dizig�ticos na linguagem t�cnica, por serem gerados em �vulos diferentes.
-A In�s e o Jo�o s�o quase insepar�veis, embora, quando pequenos, ela assumisse a fun��o de chefe nas brincadeiras e tivesse um instinto maternal em rela��o ao irm�o.
-S�o muito diferentes, ela pela sua independ�ncia e compet�ncia e ele pela sua pregui�a e boa disposi��o.
-Sempre na mesma turma escolar, separaram-se no 10� ano.
-E foi quando se notou que �era a irm� o grande apoio nos estudos�, conta a m�e.
-A In�s quer ser arquitecta, enquanto que o Jo�o j� mostra tend�ncia para a �rea da sa�de.
-A solu��o definitiva de situa��es como as da central da Av. Casal Ribeiro, do Campo das Ceboulas e de numerosas outras centrais dedicadas aos transportes inter-regionais e inter-urbanos est� por�m dependente de uma obra de grande envergadura, ainda sem localiza��o completamente decidida e cujo in�cio n�o dever� ocorrer antes dos pr�ximos dois ou tr�s anos.
-Uma vez que esta central esteja em funcionamento, passar� a receber tamb�m as carreiras que em Janeiro sair�o do Campo Pequeno para Sete Rios.
-O espa�o a libertar nessa pra�a poder� ent�o ser consagrado aos carros de turismo que agora ocupam o topo do Parque Eduardo VII.
-Tamb�m uma residente h� 30 anos nos Moinhos da Funcheira, Isabel Martins da Silva, considera excessivo o que pagou pela liga��o de esgotos, 181 contos, e da �gua, 81.
-Para esta moradora, a autarquia ainda n�o fez as obras necess�rias porque considera aquela urbaniza��o como �o bairro dos ricos�, como afirma ter sido dito pelo vereador do urbanismo, Miguel Vieira, da CDU.
-V�rias solu��es t�m sido propostas para contornar este obst�culo.
-Uma delas consiste em supor a coexist�ncia de Universos paralelos.
-mas existe num outro, porque a� nunca assassinou a sua av�.
- Uma outra alternativa consiste em supor que este tipo de situa��es incoerentes nunca se poder� verificar, porque a pr�pria Natureza se encarregar� de o impedir.
-Como?
-Talvez, autorizando apenas as viagens ao passado que n�o d�em origem � temida morte da avozinha.
-Ou talvez, simplesmente, proibindo qualquer tentativa de utiliza��o dos buracos de minhoca para construir m�quinas do tempo.
-Ou ainda, desencadeando a destrui��o imediata das m�quinas que alguma vez vierem a ser constru�das.
-Depois de um come�o de campeonato decepcionante, a equipa de basquetebol do FC Porto confirmou ontem a sua subida de forma, vencendo o l�der do campeonato por 85-84, em Ovar, com um cesto de tr�s pontos conseguido por J�lio Matos a tr�s segundos do fim do jogo.
-Com este resultado, o FC Porto isolou-se no segundo lugar do �Nacional�, enquanto o Benfica igualou a Ovarense no comando.
-�O Dalkon Shield representa um epis�dio horr�vel na hist�ria do controlo da natalidade, mas hoje � claro que os problemas se deviam a esse DIU em particular e n�o afectam todos os dispositivos do g�nero�, diz Jade Singer, respons�vel do Centro de Sa�de de Santa M�nica.
-De facto, � necess�rio uma certa dose de f� para considerar o uso do DIU, admite Debra Bronstein, vice-presidente respons�vel pelo �marketing� na GynoPharma.
-E muitas associa��es de consumidores, incluindo a Associa��o Internacional para a Educa��o das V�timas do Dalkon Shield, continuam a fazer campanha contra o dispositivo, afirmando que n�o existe suficiente informa��o sobre os seus riscos.
-A multinacional farmac�utica desmentiu as not�cias, acusando o jornal de �afirma��es incorrectas� e sublinhando ter �toda a confian�a na seguran�a de emprego e na efic�cia� do sedativo, desde que ele seja �utilizado de acordo com as prescri��es� referidas na literatura que o acompanha.
-Comercializado sob as designa��es de �Midazolam �(inject�vel) ou �Dormicum� (ampolas) e � venda em Portugal, o �Versed� � um sedativo utilizado em pequenas interven��es cir�rgicas, nomeadamente para anestesias locais.
-Segundo a Roche, o medicamento -- utilizado nos �ltimos cinco anos sem problemas por mais de 15 milh�es de americanos -- foi clinicamente testado nos Estados Unidos e na Europa, �n�o tendo sido registado qualquer morte, cujas causas pudessem ser atribuidas � administra��o do ' Versed '�.
-Os casos referidos pelo �New York Times� como sendo imput�veis ao medicamento foram considerados pela Roche como �mortes sem rela��o causal com a aplica��o do medicamento�, tratando-se de �doentes cujo estado de sa�de j� era grave e que apresentavam problemas cardiovasculares e ferimentos muito graves�.
-Os representantes da CNN em Bagdad comunicaram a composi��o do comboio e a cor dos autom�veis � sua sede nos Estados Unidos.
-Estes pormenores seriam fornecidos �s autoridades americanas e, deste modo, talvez o risco de um ataque a�reo aliado sobre o comboio fosse reduzido.
-H� uma dezena de dias que a estrada entre a fronteira iraquiano-jordana e Bagdad � alvo de bombardeamentos quase di�rios por parte de avia��o aliada.
-Encontra-se cortada em diversos pontos e � preciso por vezes tomar estradas secund�rias, tamb�m alvo dos raides, como constatou este enviado ao efectuar o trajecto no dia 30 de Janeiro.
-Para o bem ou para o mal, at� ao momento, quem foi, na sua opini�o, a figura portuguesa do ano de 1995.
-E porqu�?
-Foi um b�lgaro: o Iordanov.
-Porque marcou dois golos magn�ficos ao Mar�timo e, assim, o Sporting ganhou a Ta�a de Portugal.
-J� n�o v�amos o padeiro h� treze anos.
-Por que raz�o � t�o grave este facto?
-Porque -- consideram os relatores, interpretando as diversas contribui��es ao congresso -- �a natureza dif�cil dos problemas, a escala de tempo longa da sua resolu��o, a sua raiz cultural e o facto que o objecto das pol�ticas n�o � outro sen�o a mudan�a de comportamentos das comunidades educativa e cient�fica, imp�em uma implica��o org�nica dessas comunidades nas pol�ticas que lhes dizem respeito�.
-Isto, acrescentam, �sob pena de um est�pido desperd�cio de recursos, de energias e de motiva��o�.
-As �pol�ticas anti-participativas� que os relatores consideram existir nesta �rea s�o por eles julgadas particularmente inadequadas num �per�odo de expans�o e de sustentado aux�lio comunit�rio� como o actual, mas elas s�o, para mais, particularmente vivas no actual momento de crescimento do sistema, devido ao mais vivo confronto entre novos e velhos elementos.
-A primeira dificuldade que se depara �s empresas que conseguem concretizar um processo de investimento em Mo�ambique � o de recrutamento de quadros para perman�ncias prolongadas no pa�s.
-Para al�m de problemas salariais, mais ou menos complicados, de alojamentos dif�ceis de encontrar e caros, a quest�o mais sens�vel acaba por ser de ordem familiar, principalmente as relacionadas com filhos em idade escolar e com a respectiva educa��o.
-Se no Maputo existem escolas particulares e p�blicas suficientemente cred�veis para suprir as necessidades, nas restantes concentra��es urbanas isto j� n�o acontece.
-No segundo centro populacional de Mo�ambique, a cidade da Beira, os portugueses residentes conseguiram, por iniciativa pr�pria, criar uma escola que lecciona o ensino prim�rio e que para o ano vai iniciar-se como escola preparat�ria.
-A organiza��o do 17� Festival Nacional de Gastronomia n�o pensa para j� na sua internacionaliza��o, prevendo-se apenas �que anualmente seja um pa�s da Europa comunit�ria a ser convidado, bem como um PALOP�.
-No primeiro dos casos est� Espanha, que poder� estar representada j� na pr�xima edi��o.
-As �hostilidades� abrem hoje, por tradi��o, com os paladares promovidos pela Regi�o de Turismo do Ribatejo, que entregou a responsabilidade da refei��o a um restaurante do Cartaxo.
-Tal como em todos os restantes dias, o almo�o est� marcado para ter in�cio �s 13h.
-Esta �poca, o Sporting ainda n�o tinha conseguido marcar mais de dois golos nos jogos em Alvalade.
-F�-lo ontem, batendo um Braga pouco atrevido e superando mais um �fantasma� da equipa.
-Mas, na bancada, j� poucos acreditam no t�tulo.
-A transac��o de 117.203 ac��es nominativas e 34.376 ao portador da Ocidental Holding SGPS constitui ontem uma das notas dominantes do mercado accionista nacional.
-Movimentados na Bolsa de Valores de Lisboa (BVL), os lotes foram intermediados pela Comercial Dealer.
-�No princ�pio da nossa rela��o electr�nica, acordava a meio da noite e ficava deitado a pensar se teria correio de Bill.
-Ele parece escrever as suas mensagens � noite, dormir (talvez) e mand�-las na manh� seguinte�, escreve John Seabrook, explicando que a primeira pergunta por E-mail foi sobre o pr�prio meio de comunica��o.
-�Sou a �nica pessoa que l� o meu E-mail, por isso ningu�m se pode envergonhar ou pensar que a mensagem vai circular por a� ...
-E-mail n�o � uma boa forma para nos zangarmos, uma vez que n�o se pode interagir�.
-Seabrook notou que as mensagens de Bill n�o tinham princ�pio ou fim, coisas como �caro�, �seu� ou �atentamente�.
-Bill nunca se lhe dirigiu pelo nome e despedia-se com um enigm�tico �&�, que em linguagem de correio electr�nico significa �responda�.
-Para os empregados da Microsoft � comum encontrarem Bill Gates electronicamente antes de o conhecerem pessoalmente e, � imagem do chefe -- o �mais esperto de todos� --, passam a vida a descreverem-se uns aos outros como �espertos� e �superespertos�.
-�� um conceito vago.
-H� uma certa vivacidade, uma capacidade para absorver factos novos.
-Para perceber uma nova situa��o e, depois de algu�m lha explicar, dizer imediatamente: ' Que tal assim? ' .
-Fazer uma pergunta pertinente.
-Absorver em tempo real.
-Capacidade para recordar.
-Relacionar coisas que ao princ�pio n�o parecem ligadas.
-O �rbitro Pinto Correia esteve bem durante toda a primeira parte e durante quase toda a segunda.
-No entanto, acabou por perdoar um segundo cart�o amarelo a Rui Neves, condescendendo igualmente com Dimas.
-O referido relat�rio explica que a substitui��o dos pequenos ecr�s pelos multiplexes -- at� ao final de 1998 est� previsto o aparecimento de mais tr�s (Loures Shopping, Norte Shopping e Vasco da Gama) -- dever� aumentar o n�mero de espectadores: de 12 milh�es em 1996 para 18 milh�es!) em 2000.
-Em termos de distribui��o, os filmes norte-americanos det�m praticamente 95 por cento da quota das bilheteiras portuguesas, �a mais elevada da Uni�o Europeia�.
-Segundo o relat�rio, �as principais distribuidoras nacionais ou s�o subsidi�rias norte-americanas ou empresas portuguesas que distribuem os filmes dos grandes est�dios norte-americanos�.
-Dois exemplos: A Castello-Lopes tem acordos com a Fox e a Miramax, a Lusomundo com a Disney e a UIP e adquire filmes da BMG.
-Momento -- Andou boa parte do ano a perder tempo, tendo em conta apenas os seus interesses, a actuar no meio-campo.
-Segundo observadores citados pelo �Times�, a China encontra-se �numa posi��o muito mais fraca do que estava em 1982-84, per�odo em que decorreram as negocia��es que levaram ao acordo para a transfer�ncia de soberania�.
-Nessa altura, recordam, �Deng Xiaoping estava no auge da lideran�a do processo de reforma, era um septuagen�rio vigoroso e o desenvolvimento econ�mico parecia impar�vel�.
-Holanda: Bons jogadores de futebol .
-Falam ingl�s muito bem, n�o parecem ter uma grande cultura pr�pria.
-�s vezes, um pouco parvos, geralmente descontra�dos.
-It�lia: Bons a falar e a fazer neg�cio .
-Pa�s bastante ca�tico, mas muito industrioso.
-Muito convencidos.
-Um dos povos mais agrad�veis da Europa, amistosos.
-Mas muita pobreza.
-Fisicamente, o povo mais belo da CE.
--- Mas o senhor � t�o cuidadoso com a sua mota que se arrisca a ser preso s� para n�o a deixar na rua?
--- Mas normalmente � assim!
-As outras coisas n�o s�o t�o ...
-O que os h�ngaros temem � uma onda de nacionalismo nos pa�ses vizinhos que perigue as escolas e institui��es culturais de h�ngaras.
-Isto poder� levar muitos h�ngaros a desses pa�ses a decidir que a emigra��o para a Hungria � a melhor op��o.
-Para resolver os complexos problemas dos h�ngaros que vivem nos pa�ses vizinhos, o Governo criou um gabinete especial chefiado por Geza Entz.
-Os Orlando Magic foram ao �The Omni�, em Atlanta, perder pela primeira vez em dez jogos seguidos da edi��o deste ano da NBA, a Liga Norte-Americana de Basquetebol profissional.
-Os Atlanta Hawks venceram por 107-105 um jogo muito emotivo, que s� ficou decidido a 32s do fim.
-Foi quando John Konkac marcou os dois lances livres que desempataram o jogo, e de seguida impediu que os Magic chegassem ao cesto, obrigando-os a um �turnover�.
-Por outro lado, no caso do haxixe os riscos para a sa�de s�o compar�veis aos de produtos como o �lcool, tabaco, caf� e certos medicamentos.
-Mais um argumento: o consumo do haxixe n�o provoca depend�ncia, ao contr�rio do �lcool ou da nicotina.
-H� ali�s estudos americanos que provam que o haxixe � um bom relaxante, logo, se diminui o �stress� diminui um dos factores de risco do enfarte mioc�rdio.
-A legaliza��o das drogas duras � mais dif�cil, pois tem que ser feita � escala internacional.
-e n�o precisariam de injectar-se nos cantos do Casal Ventoso.
-Isto diminuiria a criminalidade, haveria menos mortes por �overdose� e de outras doen�as, como a sida.
-Domingos -- Afinal n�o estava de rastos, como se quis fazer querer.
-Entrou confiante, integrou-se bem nas movimenta��es e mostrou que, com ele em campo, � bem mais f�cil rentabilizar o jogo ofensivo.
-Fez tr�s remates, todos eles perigosos, e marcou um golo que s� est� ao alcance de um verdadeiro ponta-de-lan�a.
-N�o tinham raz�o de ser as desconfian�as de equipa t�cnica.
-Fernando Couto -- Esteve imperial, sempre muito certo a comandar a defesa.
-H� alturas em que parece ter um �man que atrai a bola na sua direc��o.
- Os futuros �chips� de 256 megabits poder�o ser usados em aplica��es que exigem grandes quantidades de mem�ria, como o processamento de imagens em supercomputadores e noutras tecnologias de ponta.
-A alian�a entre a Hitachi e a Texas -- que � uma resposta � associa��o da IBM, Siemens e Toshiba anunciada em Julho passado nesta mesma �rea -- poder� ser ainda alargada a outras firmas, como a NEC e a American Telephone and Telegraph.
-Alberto Ralha nunca foi alvo de grandes cr�ticas pela simples raz�o de que raramente algu�m se lembra da sua exist�ncia.
-Beneficiando do facto de �negociar� com uma classe tradicionalmente pouco reivindicativa, a dos docentes do ensino superior, Alberto Ralha � designado por os sindicalistas como �boa pessoa�, mas mau conhecedor das quest�es do ensino superior.
-N�o fora o dinamismo do seu director-geral, Pedro Lince, e o mandato deste secret�rio de Estado ficaria irremediavelmente marcado pela inoper�ncia.
-enquanto as universidades p�blicas amea�am fechar as portas por falta de dinheiro para pagar a docentes e n�o docentes, � cada vez maior o n�mero de estabelecimentos de ensino privados de qualidade duvidosa a ministrar somente cursos que outros recursos n�o exigem sen�o a caneta e o papel.
-Est�o suspensas as buscas do corpo do pescador que, ter�a-feira, foi engolido por uma onda, na zona da Boca do Inferno, no Guincho.
-�O mar continua mau, bate muito ali, e as �guas est�o barrentas, o que torna imposs�vel a ac��o dos mergulhadores�, explicou o capit�o do Porto de Cascais, Fernando Tavares de Almeida.
-Contrariamente ao que esperavam Lu�s Rodrigues e os seus correligion�rios, o caso, por�m, ficou adormecido no minist�rio das Finan�as.
-�A doutora Manuela Ferereira Leite [ que sucedeu a Rui Carp na secretaria de Estado do Or�amento ] disse-nos que quando assumiu fun��es encontrou o processo meio espalhado por aqueles buracos�, confirmou ontem ao P�BLICO o ent�o vice-presidente da concelhia local do PSD, Valdemar Saleiro.
-�Uma das coisas que nos disseram que l� vinha � que havia na C�mara despesas n�o justificadas no valor de 194 mil contos�, refere um dos outros elementos do PSD local que ent�o acompanhou o caso.
-Valdemar Saleiro -- que tinha tamb�m responsabilidades partid�rias ao n�vel do distrito de Beja -- diz que n�o se recorda de ter ouvido falar neste n�mero, mas confirma que a secret�ria de Estado o informou de que �o relat�rio apontava coisas que tinham de ser esclarecidas�.
- A sess�o de ontem do Mercado Monet�rio Interbanc�rio apresentou-se logo na sua abertura bastante pressionado pela procura de fundos, o que motivou uma subida das taxas de juro, que se foi acentuando � medida que se avan�ava na sess�o.
-Com a finalidade de estabilizar o mercado, o Banco de Portugal anunciou a meio da manh� uma interven��o ocasional de ced�ncia de fundos at� ao montante de 150 milh�es de contos, mediante a coloca��o de BT/TIM a um dia e � taxa de 11,75 por cento.
-Apesar da press�o evidenciada no mercado, apenas foram colocados 53.677 milhares de contos.
-O grupo A. Silva & Silva registou, no ano passado, resultados l�quidos consolidados de 13,5 mil contos.
-Os resultados foram afectados pela realiza��o de provis�es extraordin�rias na sua participada Assiconstr�i -- entretanto vendida � Somague -- no valor de 330 mil contos, �por forma a n�o transferir para o seu comprador riscos provenientes de situa��es pendentes de reclama��es a clientes, eventualmente geradoras de diminui��es patrimoniais futuras�, refere um comunicado da empresa ontem divulgado.
-Em termos individuais, a A. Silva & Silva registou lucros de 444,6 mil contos.
-O volume de factura��o ascendeu a 42 milh�es de contos, os resultados operacionais consolidados foram de 1,1 milh�es de contos (contra 652,4 mil contos registados em 1995), enquanto os resultados correntes totalizaram 342,4 mil contos (mais 159,2 por cento do que no ano anterior).
-S�o pequenas part�culas met�licas e foram descobertas incrustadas nos ossos dos calcanhares do piloto Jorge Albuquerque.
-A sua import�ncia?
-� que ningu�m consegue explicar como � que elas poder�o ter ido a� parar a n�o ser devido � acelera��o provocada por uma explos�o.
-E � poss�vel que o material que as comp�e seja aquele de que era feito o recipiente que conteve a bomba.
-Trata-se de uma das provas fundamentais apurada pela V CEIAC, a par da descoberta dos vest�gios de explosivos em pe�as do avi�o.
-Clinton apressou-se a dizer que tais contactos n�o deviam ter acontecido e a sua porta-voz, Dee Dee Myers, indicou que documentos sobre esses encontros foram compilados e seriam entregues a Fiske, respeitando a intima��o feita por este.
-O procurador especial chamou a depor seis funcion�rios da Casa Branca e quatro elementos do Departamento do Tesouro, para esclarecerem os contactos mantidos.
-Entre os primeiros, conta-se o advogado Bernard Nussbaum, amigo de Clinton e que se demitiu na semana passada, em rela��o com o caso.
-A op��o do Alentejo vai para o chamado Turismo Verde, em zonas de inequ�voca qualidade ambiental.
-�Um turismo que promova a descoberta da diferen�a e n�o a massifica��o�, diz Andrade Santos, presidente da RTE.
-Al�m da costa mar�tima, a melhor preservada do pa�s, o Alentejo oferece turismo rural e agro-turismo, turismo cineg�tico e o aproveitamento de albufeiras, recorrendo sempre � boa qualidade do seu patrim�nio natural.
-E a riqueza do seu patrim�nio constru�do, a cultura musical regional, o artesanato e a gastronomia tradicional completam, em linhas gerais, o quadro da regi�o.
-Ultimamente, a implanta��o de campos de golfe tem surgido como um complemento tur�stico n�o desprez�vel, ainda que assumindo, por vezes, discut�veis propor��es (ver caixa).
-O �romance� da princesa Ana -- segunda descendente e �nica filha da rainha -- com o comandante Tim Lawrence, 37 anos, j� fizera as del�cias da imprensa popular brit�nica, nomeadamente na altura em que o casal apariceu em p�blico, por diversas vezes, ap�s o div�rcio de Ana.
-A data e local do casamento, que dever� realizar-se numa cerim�nia privada, n�o foram divulgadas pelo Pal�cio de Buckingham.
-Face ao impacte dos planos do construtor, a comiss�o de trabalhadores da Renault Portuguesa foi ontem ao Minist�rio da Economia �lembrar ao Governo� o compromisso franc�s de criar 180 novos postos de trabalho em Cacia e investir nesta unidade 12 milh�es de contos.
-A resposta do Governo � que o assunto tem estado na agenda dos contactos com o grupo franc�s, uma posi��o que para os trabalhadores �n�o representa qualquer garantia�.
-Os representantes dos trabalhadores esperam pelo comit� de grupo europeu extraordin�rio para uma decis�o quanto � ades�o a uma eventual greve dos efectivos do construtor.
- Contudo, o porta-voz da comiss�o de trabalhadores, citado pela Lusa, defendeu que a redu��o de postos de trabalho na Renault Portuguesa � mais significativa, ao ter passado de 3500 trabalhadores em 1992 para 1200 em 1997.
-Em 35 anos, os danos causados ultrapassam dois mil milh�es de pesetas (2400 milh�es de contos), diz o relat�rio.
-Acrescenta que esta estimativa se refere unicamente aos danos directos dos sinistros e n�o inclui os custos da luta contra os inc�ndios -- verbas avultadas, como pode concluir-se pelas destinadas ao ano em curso, que atingem os 130 mil milh�es de pesetas (156 milh�es de contos).
- Outro aspecto preocupante � o da frequ�ncia crescente de �anos negros�, em que se registaram recordes de zonas ardidas.
- De 1978 at� agora, Houve quatro anos em que se registou a perda de �reas superiores a 400 mil hectares.
-O ano passado esse valor foi de 432 mil hectares, estando o recorde no ano de 1985, com 484 mil hectares.
- A Assembleia Parlamentar da Francofonia (APF, ex-AIPLF), reunida em Abidjan, na Costa do Marfim, condenou ontem a insurrei��o desencadeada h� um m�s por �certos elementos� das For�as Armadas da Guin�-Bissau e exortou as partes em conflito ao di�logo �no respeito pela legalidade constitucional�.
-Numa resolu��o adoptada em sess�o plen�ria, a APF �reafirma a legitimidade do actual governo, eleito em elei��es livres e democr�ticas� e �condena sem reservas a rebeli�o iniciada em 7 de Junho de 1998�.
-A Assembleia exprime o seu �apoio total� ao governo do Presidente �Nino� Vieira, e lan�a um �apelo premente a uma cessa��o imediata das hostilidades�.
-Sendo o primeiro de uma nova gera��o de jogos a tr�s dimens�es para consolas de 16 bits que a Nintendo lan�ou no mercado de v�deojogos, Starwing � surpreendente pela qualidade dos gr�ficos que apresenta, pelo som, perfeitamente adequado ao ambiente gr�fico, mas sobretudo pela extraordin�ria velocidade a que se desenrola.
-O jogador -- que desempenha o papel de Fox McCloud -- tem de completar um total de 18 miss�es, sobrevoando planetas ou enfrentando os inimigos no espa�o, onde as dificuldades s�o acrescidas, j� que, para al�m dos opositores, tem de desviar-se de aut�nticas chuvas de aster�ides e outros objectos que vagueiam sem rumo.
-Tem tamb�m de zelar pela seguran�a da sua equipa de pilotos, ajudando-os sempre que est�o em dificuldade.
-Ap�s algum treino, os comandos s�o f�ceis de manejar, permitindo ao jogador executar piruetas ou utilizar o propulsor para acelerar momentaneamente a sua nave.
-H� tr�s formas de visionamento do cen�rio, � escolha do jogador.
- Nas cenas de espa�o a �vis�o de ' cockpit '�, com o recurso a uma mira, � de grande utilidade.
-O programa de trabalho e o or�amento para os pr�ximos tr�s anos para o Observat�rio Europeu das Drogas e das Toxicodepend�ncias, com sede em Lisboa, foram ontem discutidos numa reuni�o em que participaram representantes de todos pa�ses da Uni�o Europeia.
- O PCP, esse, est� sempre bem e com pouco trabalho pela frente.
-O que era preciso fazer, est� feito: derrotar uma iniciativa do Governo.
-Distribu�dos os trabalhos, falta perceber como se chegou aqui.
-O que tamb�m n�o � dif�cil.
-Tudo nasce num triplo erro governamental.
-Reduzir a procura do consumo de droga � a prioridade do �rg�o Internacional de Controlo dos Estupefacientes da ONU.
-Um relat�rio divulgado hoje, que d� conta dos receios causados por uma �cultura prop�cia ao consumo� e que condena as vozes mais tolerantes sobre o uso de narc�ticos, revela uma descida do n�mero de consumidores de hero�na na Europa e uma subida do cultivo de �cannabis� e do consumo ocasional de estimulantes e alucinog�neos.
-A hero�na � cada vez mais uma droga fumada e menos injectada.
-A Norquifar refere ter obtido do presidente do Infarmed, Aranda da Silva, um compromisso no sentido de permitir uma distens�o �mais razo�vel, nunca inferior a tr�s anos�, do tempo para a aplica��o do decreto e queixa-se de ter sido surpreendida, pouco tempo depois, com as notifica��es.
-�O cumprimento do decreto [135/95] nos prazos em que agora o Infarmed veio exigir � quase imposs�vel porque o novo licenciamento pede documentos que s�o dif�ceis de obter num curto espa�o de tempo -- como sejam a obten��o de alvar�s camar�rios ou pareceres de seguran�a do Servi�o Nacional de Bombeiros�, diz S�rgio Figueira, da Norquifar.
-�Quando os prazos se esgotarem�, explicou ainda, �os armaz�ns correm o risco de ser fechados por qualquer ac��o de inspec��o� daquele instituto.
-Alguns prazos est�o, segundo S�rgio Figueira, a poucos dias de chegar ao limite.
-A Norquifar, que j� se tinha queixado de se estarem �a criar empregos por decreto�, entende que a contrata��o de um licenciado a tempo inteiro para os armaz�ns � n�o s� demasiado onerosa para as pequenas e m�dias empresas que representa, como injustific�vel, pois um armaz�m grossista n�o vende directamente ao p�blico.
-Afirmou um dia ao P�BLICO que o seu inimigo principal era �o poder pol�tico�.
-H� um ano, achava muito divertidas as not�cias que a davam como poss�vel candidata do CDS-PP �s legislativas.
- �Nunca pensei entrar na pol�tica!�, jurava Manuela Moura Guedes.
-ao fim de 16 anos, deixava a RTP para ir apresentar o Telejornal da TVI.
-Foi sol de pouca dura..
-Em Junho, afastada dos notici�rios h� meses, era outra vez not�cia.
-Rumores de que estava a caminho da SIC -- apesar das resist�ncias de �pesos pesados� da redac��o do canal de Carnaxide --, enquanto outros a davam com um p� nas listas do renovado PP.
-Est� tamb�m prevista a presen�a dos presidentes das entidades estatais mais ligadas � aplica��o do programa: Instituto Nacional da Habita��o e IGAPHE Instituto de Gest�o e Aliena��o do Patrim�nio Habitacional do Estado.
-A indigna��o dos dirigentes do Sindicato dos T�xteis tem como principal alvo a C�mara Municipal, que alegadamente ter� colocado �entraves� que fizeram baixar o valor do im�vel.
-Em causa estar�, nomeadamente, a impossibilidade de alterar a fachada do edif�cio de quatro andares, cada um deles com cerca de seis metros de p�-direito.
-O pr�dio foi agora vendido � empresa Constru��es Progresso no �mbito de negocia��es particulares.
-Estas foram iniciadas h� meses, depois de se considerarem esgotadas as hip�teses de venda por arremata��o judicial, dado os valores oferecidos -- num m�ximo de 186 mil contos -- estarem muito aqu�m da avalia��o.
-�Foi melhor do que o que eu esperava�, comentava uma mulher no elevador, acerca do Show de Moda Primavera / Ver�o que anteontem � noite teve lugar no Shopping Center Cidade do Porto, no Bom Sucesso, e que se dever� vir a repetir oportunamente.
-Aconteceu numa �passarelle� montada sobre a pista de gelo e rodeada por cadeias dirigidas aos diversos convidados de cada uma das lojas que acederam em participar.
-Os �sem convite� permaneceram atr�s das cadeiras e nas varandas dos tr�s pisos do �shopping�.
-Curioso foi o facto de o �show� se ter dividido em duas partes e das �noivas� surgirem logo ap�s o intervalo e n�o no final da passagem, como � h�bito nestas coisas.
-Antes, ao fim da tarde, os manequins e crian�as passaram modelos da Mango, Union Blue, Authentik, Quiosque, Lanidor, Jacadi, Inquieta��o, Action Sport, Nexus, Petit Patapon, Cenoura, Boxer Shorts, Nastra, Bambini, Tin Tin e Miss Selfridge.
-� noite, numa prespectiva mais cl�ssica, desfilaram colec��es da Pronuptia, Gianonne, Lace, Mac Moda, Pinto's, Cortefiel, Alain Manoukian, Rond�ssimo, Globe, Springfield, MyGod, Vitalis, r�brica, Manel Boutiques, Veneza 5, Nogaret, Acapicua, Sugar, Dec�nio e Paulina Figueiredo.
-Um rol de propostas, �pr�t-�-porter�.
-R. -- A ideia agrada-me e j� fiz, inclusive, algumas experi�ncias.
-De qualquer modo, aquilo que se passa, em termos de electrificar a sanfona ou os outros instrumentos, � que os espect�culos do Realejo s�o na sua maior parte ac�sticos.
-Essas experi�ncias de electrifica��o n�o t�m resultado, at� agora, muito bem, embora no disco haja uma faixa que aponta um bocado nesse sentido, a cantiga de Santa Maria, com um movimento meio arrockalhado.
-Pode ser um ponto de partida ...
- P. -- Mas por enquanto o Realejo continua a ser um grupo de e para interiores, no duplo sentido da palavra?
-Considerado culpado mas absolvido pela justi�a militar italiana, o ex-nazi Erich Priebke foi de de novo preso mas isso n�o lava o sentimento que cobriu uma maioria da It�lia: a vergonha.
-Pelo veredicto, pela maneira como o processo foi conduzido.
-Para os ju�zes, os crimes de Priebke prescreveram.
-Como disse o Presidente Scalfaro, �nunca prescrever�o na mem�ria dos italianos�.
-A Direc��o do Torreense, cuja a equipa de futebol milita na 2� Divis�o de Honra, demitiu-se em bloco na Assembleia Geral realizada na noite da passada segunda-feira.
-Raz�o: a C�mara Municipal de Torres Vedras (CMTV) n�o tem ajudado o clube financeiramente.
-�Cheg�mos a um ponto em que deixaram de existir condi��es financeiras que garantam uma gest�o respons�vel do clube�, garantem os dirigentes.
-Ant�nio Jos� dos Santos, o presidente demission�rio, prometeu continuar a assegurar a gest�o corrente do clube e admitiu �reconsiderar� a sua posi��o e ficar at� final do mandato, mas �s� depois de saber �com quanto � que C�mara pode auxiliar o clube�.
-Jos� Augusto Carvalho, presidente da CMTV, considera �profundamente injustas� as acusa��es lan�adas sobre a autarquia.
-�A c�mara s� se comprometeu a contribuir com igual montante ao total da soma dos restantes s�cios-empresas e cumpriu�, disse Jos� Augusto Carvalho.
-A Federa��o Portuguesa de Andebol vai analisar amanh�, em reuni�o do executivo, a n�o realiza��o, no passado s�bado, do jogo FC Porto- Gin�sio do Sul, referente � segunda jornada do �Nacional�.
-O executivo federativo est� j� a fazer um levantamento de toda a documenta��o, que dever� ser complementada com relat�rio da equipa de arbitragem nomeada para dirigir a partida.
-Segundo uma fonte da FPA, o jogo foi marcado para o Pavilh�o das Antas e o FC Porto recebeu a notifica��o atrav�s de comunicado, �logo pode-se concluir que o recinto j� n�o se encontrava interdito�.
-A resolu��o do problema pode agora passar por um acordo entre os clubes.
-Caso isso n�o venha a verificar-se, a Federa��o vai instaurar um processo onde o FC Porto ter� de apresentar as raz�es que levaram a equipa a comparecer em Aveiro e n�o nas Antas.
-um pacato cidad�o, livre de toda a suspeita, um homem simp�tico e prest�vel, guarda em casa 24 cad�veres mutilados.
-Descoberto por acaso, revela-se algu�m que encara os crimes como algo natural.
-Para a psiquiatra que o observa, um ser intrigante; para a pol�cia, uma encarna��o do dem�nio.
-Jeff Goldblum e Alan Bates em confronto.
-�J� perdemos algumas cartas altas, ainda assim, temos algumas figurinhas�, desabafou ao P�BLICO um dirigente nacional do PP para justificar o sil�ncio dos �not�veis�.
-�Fernandes Thomaz, Lu�s Queir� e Celeste Cardona s�o as personalidades que restam�, enumerou, para depois concluir que Monteiro n�o pode esquecer isso, caso decida recandidatar-se.
- A mo��o da distrital do Porto, �A casa comum da direita�, tamb�m procura congregar um maior n�mero de apoiantes.
-S�lvio Cervan conseguiu a ades�o do presidente da distrital de Aveiro, S� Correia, pr�ximo de Paulo Portas, e da concelhia de Vila Nova de Famalic�o, uma estrutura do distrito de Braga, de Ant�nio Pedras.
-A aplica��o aos avi�es comerciais de passageiros dos sistemas electr�nicos de defesa antim�ssil, em uso na avia��o militar, est� a ser equacionada pelo governo norte-americano.
-Ontem, na Casa Branca, reuniu-se pela primeira vez uma comiss�o constitu�da por 21 especialistas em sistemas de defesa e contramedidas electr�nicas.
-Segundo Al Gore, vice-presidente dos Estados Unidos, esta comiss�o deve apresentar um relat�rio de conclus�es na pr�xima ter�a-feira.
-Os dez m�sicos que estar�o em palco, incluindo Bryan Adams, fizeram um �nico pedido -- querem comida vegetariana nos camarins.
-Os promotores do concerto recomendam aos espectadores: levem guarda-chuva n�o v� S. Pedro pregar uma partida.
- Reconhecendo possuir algumas �saudades do Parlamento�, a autarca afirmou que preside a um �concelho apaixonante�, apesar das contradi��es, mas lamentou que este �tenha estado esquecido pelo poder central e desmobilizado pelo poder local�.
-Da� a meter uma cunha aos antigos colegas foi um passo.
-Muitos aspectos da legisla��o das autarquias, sustentou Edite Estrela, �s�o inibidores da ac��o e da criatividade� e �verdadeiros obst�culos� a vencer pelos autarcas.
-�� prefer�vel haver leis mais flex�veis, para serem cumpridas, do que leis muito restritivas que, por vezes, n�o s�o cumpr�veis�, disse, criticando �a suspei��o� com que os autarcas s�o tratados pelo Estado.
-Em troca defende que os prevaricadores sejam �castigados exemplarmente�.
-Em Paris, a bolsa tamb�m registou alguns ganhos com a abertura em alta do Dow Jones, apesar de uma sess�o calma que resultou num aumento de 0,56 por cento, com o CAC 40 a encerrar nos 2940,89 pontos.
-Em Madrid, o �ndice geral subiu 0,44 por cento.
-Duas outras personalidades que se digladiam, sem d�vida, pelo primeiro plano no c�rculo do poder s�o o presidente da C�mara de Moscovo, Iuri Lujkov, aliado dos banqueiros e das mafias da capital, e Anatoli Chubais, o ex-vice-primeiro-ministro rec�m-nomeado chefe da casa civil da Presid�ncia.
- Gestor genial, reformista moderado e autor do programa de privatiza��es do Governo, Chubais tem a seu favor o apoio dos governos ocidentais e do FMI, que tender�o a ver nele o garante da continuidade da pol�tica das reformas, quando Ieltsin j� n�o puder impor a sua vontade.
-Mas, tendo tamb�m em conta a hist�ria recente, n�o � um dado adquirido que Ieltsin esteja acabado.
- No in�cio deste ano, em plena cat�strofe tchetchena e ap�s dois ataques card�acos, a popularidade do Presidente n�o chegava aos dez por cento.
-e, no auge da campanha eleitoral, foi visto a gritar e cantar, a correr e a dan�ar o �twist� e o �rock'n roll�.
-Inauguram no Lagar do Azeite, em Oeiras, pelas 21h30, o X Sal�o Livre de Humor / Oeiras 97 e o VIII Festival Internacional de Humor.
-Patente ao p�blico at� ao pr�ximo dia 26, de Segunda a Domingo, das 14h00 �s 19h00.
-O �Di�rio da Rep�blica� n�o tem o exclusivo de publica��o das boas not�cias legais ou regulamentares.
-Prova indiscut�vel disso � a Circular 3/94/DEP/1 do director-geral dos Servi�os Prisionais que veio regulamentar �o controlo e reten��o da correspond�ncia dos reclusos�, com vista a que o mesmo �esteja em harmonia com o quadro constitucional de previs�o e tutela dos direitos fundamentais�.
-A partir de agora, a correspond�ncia s� ser� aberta na presen�a dos reclusos, para verificar do eventual envio de �bens� n�o autorizados e a mesma s� ser� lida em casos devidamente justificados.
- O jornal popular alem�o �Bild� anunciou ontem que o construtor automobil�stico alem�o Audi vai pagar 200 milh�es de marcos (cerca de 20,4 milh�es de contos) pela marca italiana Lamborghini.
-A not�cia citava especialistas da ind�stria autom�vel, mas ainda nenhuma das partes envolvidas na transac��o divulgou o montante envolvido.
-A Audi j� tinha anunciado o seu interesse na compra da totalidade do capital da Lamborghini, cujo principal accionista � o filho mais novo do ex-presidente indon�sio Suharto.
-Jorge Petiz, em Porsche Carrera RSR, concorrente ao Campeonato Nacional de Velocidade (CNV) de Cl�ssicos, foi ontem o piloto mais r�pido no conjunto das duas sess�es de treinos para a Rampa da Arr�bida, pontu�vel para o Nacional e trof�us monomarca e �Challenge� FIA de Montanha, prova que esta manh� se disputa.
-Petiz realizou a melhor subida em 1m44,084s, superando o seu pr�prio rubricou ao volante do BMW M3 do CNV (classe N2), fixado em 1m45,887s.
-Na classe at� 2 litros (N1), Carlos Borges (Toyota Carina E) imp�s-se com 1m51,484s.
-Agarrou-se � causa como uma n�ufraga, e seria compensada.
-� maneira do regime.
-Com uma medalha por servi�os prestados � comunidade enquanto �Tr�merfrau� -- �destas, s� foram entregues duas� --, uma certid�o numa capa vermelha com o s�mbolo da RDA a dourado, uma viagem em paquete para os �activistas da primeira hora�, onde viajou ao lado de Erich Honecker, da bailarina Great Paluka �e muitos outros�.
-E a est�tua.
-A maior honra, por�m, ter� sido esse convite para falar em Berlim, frente a 100 mil pessoas no �dia do trabalhador da constru��o�, em 1979.
-Se foi ela a autora do texto?
-�Qual qu�, eles � que prepararam tudo.
-Eu s� tive de ler�, o que, pela maneira como o diz, ter� sido um grande al�vio.
-Poder-se-� dizer que o estilo resulta da sua profiss�o, fotojornalista.
-Trata-se do contr�rio.
- Ele faz jornalismo fotogr�fico, porque esta profiss�o � a que melhor se adequa ao seu estilo, � sua maneira de olhar o mundo.
-H�, no seu modo de ser, como que uma esp�cie de timidez, que o leva a fazer fotografia n�o intrusiva, uma das maiores dificuldades do of�cio.
-N�o conhe�o fotografia sua onde os sujeitos estejam pouco � vontade, furiosos por estarem a ser fotografados, envergonhados, com o sentimento de estarem a ser violados na sua privacidade.
-Os que olham para a sua c�mara, com mais ou menos prazer, com ou sem indiferen�a, n�o mostram hostilidade ao fot�grafo.
-E os que n�o olham para a c�mara, n�o parece, pelo que est�o a fazer, que reagiriam contra o que os observa.
-N�o conhe�o fotografia sua que revele uma intimidade secreta, algo que ningu�m gostaria que se soubesse ou visse.
-� dif�cil, sendo-se fot�grafo, cultivar sem concess�es este respeito pelos outros.
-Muito mais ainda, sendo-se fotojornalista, profiss�o em que o �voyeurisme� pode ser elevado ao estatuto de virtude, como acontece tantas vezes com as revistas e os jornais sensacionalistas, como praticam t�o obsessivamente muitos jornalistas nas televis�es contempor�neas.
-Nas suas fotografias, Alfredo Cunha revela uma humanidade quase inocente, uma comovente igualdade perante os outros.
-N�o se consegue perceber que o fot�grafo ganha a sua vida � custa dos outros.
-s�o a demonstra��o exacta da ternura t�mida que o habita.
-O jornalista n�o parte do princ�pio que tem direitos sobre os outros, nem sobre os seus sentimentos, nem sobre as suas obras.
-Ele sabe o que � o �direito � informa��o�, mas n�o o reduz aos seus pr�prios direitos, que considera limitados pelos seus deveres.
-N�o conhe�o fotografia sua na qual a dor, o desespero, a c�lera, a vol�pia ou a intimidade sejam explorados.
-E, no entanto, as suas fotografias s�o capazes de nos revelar as pessoas, os sentimentos, as situa��es.
-Tanto mais que Alfredo Cunha tem simpatias humanas, culturais e pol�ticas.
-Fotografa os poderosos por profiss�o, os sem poder por voca��o.
-Visivelmente, prefere os pobres, os que trabalham, os que sofrem.
-Nestas condi��es, � muito dif�cil n�o fazer fotografia empenhada, �engag�, com fun��o e utilidade pol�ticas.
-Ele consegue-o.
-Fotografa um lado da condi��o humana, mas f�-lo sem pragmatismo, sem intuito propagand�stico, sem outra inten��o que n�o seja mostrar-nos o que ele v�, como ele v�, o que ele prefere.
-No encontro, a Sun apresentou a sua nova estrat�gia �The Road to Java� e o projecto Java Centre Program, iniciativas que pretendem promover a adop��o do Java pelas empresas, integrado numa arquitectura de �network computing� (baseada na rede e no conceito de �thin clients�).
-Ao abrigo do Programa de Centros Java (Java Centre Program), a Sun vai continuar a abrir Centros Java (Java Centres), geridos pela pr�pria Sun, e Centros Autorizados Java (Authorized Java Centres), geridos por parceiros, que fornecer�o servi�os profissionais para instala��o de projectos baseados em Java nas empresas.
-Neste momento, j� existem cerca de 225 centros destes em todo mundo, onde cerca de tr�s a cinco mil profissionais oferecem um conjunto de servi�os de consultoria, integra��o de sistemas, forma��o e manuten��o.
-A sua unifica��o, agora, ao abrigo do Programa de Centros Java, � uma tentativa da Sun de reorganizar os servi�os j� existentes na �rea das solu��es de �network computing� baseadas em Java -- explicou a COMPUTADORES Mark Tolliver, vice-presidente respons�vel por Market Development.
- Ao que o P�BLICO apurou, as raz�es que t�m levado o n�cleo duro da metal�rgica a opor-se � entrada da Cortal / Seldex no elenco dirigente tem pouco que ver com o receio de um eventual controlo da empresa pelo concorrente, e muito mais com a inconveni�ncia de desvendar �estrat�gias empresariais em prepara��o�.
-Com efeito, nos �ltimos anos a F. Ramada tem tomado uma s�rie de medidas de reestrutura��o e moderniza��o.
-� o caso da diminui��o substancial do quadro de pessoal, que passou de quase 1200 trabalhadores em 1987 para os actuais 600, o que custou quase meio milh�o de contos � empresa.
-Tamb�m a perda do mercado angolano levou a administra��o da F. Ramada a preparar, atrav�s da rec�m-formada empresa de �import-export� Ramada Internacional, a conquista de mercados alternativos, nomeadamente os dos pa�ses do Magrebe, da Am�rica do Sul e da Espanha, esta �ltima uma das grandes apostas, precisamente, da Cortal.
-H� ainda a inten��o de avan�ar com um projecto imobili�rio no centro de Ovar -- nos terrenos da antiga sede da empresa --, com o que a administra��o conta arrecadar 2,5 milh�es de contos, para um investimento calculado em um milh�o.
-A Organiza��o dos Pa�ses Exportadores de Petr�leo (OPEP) vai pedir a todos os seus membros, na pr�xima reuni�o, marcada para 13 de Fevereiro, para que reduzam a produ��o de �crude�, de forma a inverter a tend�ncia de queda do pre�o do barril.
-Segundo o seu presidente, o venezuelano Alirio Parra, �s�o necess�rios cortes da parte de todos os Estados�, pelo que se imp�e a sua ades�o �sem excep��es� a esta medida.
-Problemas: Distribui��o e venda de droga.
-�Obviamente que n�o quero dizer que as car�cias de uma m�e possam ser substitu�das de forma mec�nica.
-O contexto onde as coisas se passam � importante e nada disto quer dizer que os elementos psicol�gicos n�o sejam importantes�, observa Uvnas-Moberg.
-�Mas o que eu digo � que, quando h�, por exemplo, uma crian�a que est� numa incubadora e se n�o pode contar com a estimula��o sensorial que a m�e normalmente lhe concederia, � conveniente proporcionar-lhe essa estimula��o.
-A investigadora lembrou que tamb�m existem drogas que t�m o mesmo efeito.
-�Uma droga que nos deixa ligeiramente sedados, que aumenta a nossa capacidade de interac��o social, � o �lcool em baixas doses, que tamb�m faz subir a oxitocina�, continua Uvnas-Moberg.
- �H� tamb�m drogas que propiciam a liberta��o de oxitocina, como certos neurol�pticos, e existe tamb�m oxitocina em ' sprays ' nasais, que certas mulheres usam para facilitar a amamenta��o, quando h� problemas na produ��o de leite.
-A revista come�ou a ser feita exclusivamente por Lourdes Castro e Ren� Bertholo.
-Os primeiros n�meros eram como que uma carta aos amigos.
-Depois, iniciou-se a colabora��o de todos os elementos do grupo e de muitos outros portugueses, ligados � colabora��o escrita, emigrados ou n�o, como Jo�o Vidal, J. M. Sim�es, Jos� Gil, Helder Macedo, Nuno Bragan�a, Cristovam de Pavia, Alfredo Margarido, Ant�nio Areal, Jos�-Augusto Fran�a; ou estrangeiros, como Andr� Pieyre de Mandriargues, Karl Laszlo, Benjamim Peterson.
- o 11, Primavera de 1963, homenageia Yves Klein).
-O trabalho fazia-se no �atelier �-casa de Lourdes e Ren�, que possu�am uma m�quina de impress�o serigr�fica onde todas as imagens originais da revista eram realizadas.
-A t�tulo de exemplo, citem-se originais (que os assinantes da revista recebiam devidamente numerados, assinados e datados) de todo grupo e ainda de Vieira e Arpad, Saura, Millares, Peter Saul, Corneille, Tinguely, Klein, um objecto �op� de Soto, postais sobre desenhos originais de Le Parc, Cruz-Diez, Alberto Greco, Aleschinsky, Telemaque, etc.
-Tendo-se tornado dif�cil avan�ar com um colectivo t�o alargado e dispersivo, Lourdes e Ren� resolveram restringir a concep��o da revista a eles pr�prios, Christo e Voss e acordaram em que cada n�mero seria da responsabilidade individual de um deles, com a colabora��o dos restantes.
-Assim concebem e realizam os melhores n�meros da revista (do 9 ao 12, sa�dos entre 1962 e 1963), sob a sucessiva direc��o de Voss, Ren�, Christo e Lourdes Castro.
- e, finalmente, Lourdes, que iniciava a explora��o das suas �sombras�, concebe uma obra essencialmente visual: mais de 50 postais organizados em p�ginas picotadas, onde o recorte e o contorno s�o decisivos, mas a imagem fotogr�fica se revela tamb�m essencial.
-O secretariado da comiss�o pol�tica distrital de Leiria do PS re�ne-se na pr�xima segunda-feira e a substitui��o do governador civil ser� um dos temas a abordar, como afirmou ao P�BLICO o seu presidente, Jos� Canha.
-Apesar de a escolha para governador civil de Leiria recair sobre Alberto Costa, Jos� Canha informou que a comiss�o pol�tica de Leiria tem mantido contacto com o ministro nos �ltimos dias, com o intuito de lhe transmitir o seu parecer.
-O peso (a dura��o) diferente que d� a cada som cria uma riqueza fascinante na ilus�o de timbres e de din�micas.
-A manipula��o do tempo (do ritmo, da ess�ncia do fen�meno musical) recria todas as outras dimens�es do som, numa capacidade de reinventar cada arquitectura musical que fez deste recital um acontecimento �nico.
-Voluptuoso na suite em r� menor de Louis Couperin, Leonhardt tornou o �pr�lude non-mesur� de Anglebert numa verdadeira disserta��o filos�fica, cujo final, no seu despojamento el�ptico, surgiu como um ponto de interroga��o metaf�sico e perturbante.
-Para cada trecho de Fran�ois Couperin, Royere, Forqueray, um esp�rito mais comedido n�o prescindiu de enorme fantasia, por vezes de transbordante emo��o numa atitude comunicativa e interiorizada, simples e aristocr�tica, reveladora de uma fascinante personalidade de int�rprete.
-O resultado da sua primeira aplica��o poder� ser visto, em breve na Cidade Universit�ria, em Lisboa, local onde ir� ser constru�da, com base neste molde de bet�o, uma galeria t�cnica, cuja concep��o permitir� diversas interven��es no subsolo sem qualquer inc�modo para os transeuntes.
-Trata-se, segundo o projectista Martins de Oliveira, que concebeu o molde, de uma conduta visit�vel, capaz de reduzir �ao limite m�ximo� todos os inconvenientes produzidos pelas permanente opera��es de manuten��o levadas a cabo pela C�mara Municipal, EDP, Telecom e TLP.
-Com este tipo de modelo, a renova��o das v�rias redes, ao n�vel do saneamento b�sico, ser�o executadas sem perturbar terceiros, explicou Martins de Oliveira.
-Embora as ac��es dos trabalhistas, enquanto oposi��o, tenham sido extraordinariamente cautelosas em rela��o � Irlanda do Norte, no poder poder�o enfrentar um cessar-fogo renovado tendo a completa no��o das consequ�ncias de um poss�vel falhan�o.
-E enquanto por um lado a administra��o trabalhista n�o depender� dos unionistas para obter o apoio parlamentar, por outro, necessitar� que eles se mantenham comprometidos para assegurar o avan�o das negocia��es de paz.
-Se o IRA apelar a um cessar-fogo ap�s as elei��es � muito prov�vel que se d� in�cio a um segundo processo de paz.
-Mas ser� que ir� ser muito diferente do primeiro, e quais s�o as suas hip�teses de sucesso?
-O sismo de segunda-feira em Los Angeles n�o poupou ningu�m, nem mesmo as estrelas.
-Michael Jackson fracturou a cabe�a e os dedos da m�os, a cantora Dolly parton ficou sem nariz e os actores Oliver Hardy e Mae West perderam acabe�a- mas n�o literalmente.
-Todas estas trag�dias art�sticas deram-se com as r�plicas daquelas estrelas no museu de cera da cidade, que n�o escapou aos efeitos do sismo.
-Sylvester Stallone foi uma das figuras que se manteve impass�vel e n�o se desmoronou enquanto a terra tremia.
-Em carne e osso como em cera, eis um homem impass�vel.
-O secret�rio de Estado da Integra��o Europeia, V�tor Martins, seguir� hoje directamente de Bruxelas (onde preside ao Conselho do Mercado Interno) para Rabat (Marrocos), para manter conversa��es com o ministro marroquino dos Neg�cios Estrangeiros sobre os resultados do Conselho de Ministros dos Estrangeiros dos Doze que se realizou a 17 de Fevereiro em Lisboa, onde foi aprovada uma proposta visando a conclus�o de um acordo de com�rcio com Marrocos.
-A par de um medicamento antiacidez, o grupo aconselha especificamente dois antibi�ticos de entre a Claritromicina, Metronizadol e Amoxilina, prescritos apenas durante uma semana.
-� que se receia que a escolha de um tratamento incorrecto e disseminado � escala planet�ria fa�a aumentar a resist�ncia da bact�ria aos antibi�ticos.
-O grupo tamb�m recomenda fortemente a elimina��o da bact�ria em doentes com um tumor raro chamado linfoma de MALT (Tecido Linf�ide Associado � Mucosa), quando ainda est� numa fase de baixo grau de malignidade.
-V�rios estudos t�m mostrado que estes linfomas regridem depois de tratamentos dirigidos � HP, o que sugere uma rela��o entre os dois.
-A Assembleia da �rea Metropolitana de Lisboa (AML) continua a debater-se com o problema da falta de instala��es, mas pelo menos j� tem mesa.
-A elei��o decorreu ontem, num acto com algumas perip�cias, mas sem grandes surpresas, j� que se cumpriu o acordo previamente estabelecido entre a CDU e o PS.
-Se n�o se der qualquer fiasco de �ltima hora, � prov�vel que o PDL mantenha uma maioria confort�vel dos 299 lugares da Assembleia.
-�Os coreanos pensam, em geral, que a pol�tica n�o devia ser controlada pelos homens de neg�cios poderosos�, afirma Ahn Byung Joon, professor de Ci�ncias Pol�ticas na Universidade Yonsei de Seul.
-e uma vit�ria do PUN com essa amplitude parece perfeitamente plaus�vel.
-Chung deu voz a uma poderosa corrente de insatisfa��o, especialmente entre os eleitores das classes m�dias.
-Embora a economia da Coreia do Sul tenha crescido cerca de nove por cento no ano passado, s�o muitos os cidad�os que v�em com preocupa��o o d�fice comercial do seu pa�s, que � de 8,8 mil milh�es de d�lares [ cerca de 1250 milh�es de contos ].
-Chung afirma que o problema � haver demasiada interfer�ncia do Governo nas finan�as e poucas medidas contra as barreiras proteccionistas dos japoneses.
-�O p�blico n�o deve ser desinformado por esta campanha publicit�ria�, disse o comiss�rio para os Assuntos Sociais, Padraig Flynn.
-os n�o fumadores devem ter prioridade�.
-Estas declara��es surgem a poucos dias de, mais uma vez, o Conselho de Ministros da Sa�de da Uni�o, discutir uma proposta que visa banir completamente a publicidade ao tabaco.
-Em Portugal e na It�lia esta publicidade j� n�o � poss�vel, mas em v�rios outros pa�ses da Europa ainda persiste, embora com restri��es diversas.
-As propostas abolicionistas t�m encontrado a oposi��o de �lobbys� tabagistas gregos e espanh�is.
-Esperam-se, agora, as oportunas reportagens do golpe de 1974 sem tanques nas ruas, nem cravos, nem vivas ao MFA.
-E mesmo assim de madrugada, com �bola branca� a avisar os mais sens�veis.
-Nessa altura a RTP ter� atingido a perfei��o.
-E n�s teremos esgotado a paci�ncia ...
-Teatro e m�sica, pelo grupo �Meia Preta�, pelas 22h00, na Fortaleza, em Arma��o de P�ra.
-Em Lagoa, � inaugurada a Fatacil -- Feira de Artesanato, Turismo, Agricultura, Com�rcio e Ind�stria.
-�Tomislav Ivic, que foi treinador do Benfica e do FC Porto, esteve na Luz na quarta-feira a assistir ao jogo entre as suas duas antigas equipas [ 1� m�o da Superta�a ].
- �Penso que o Benfica tem muitos talentos, tem bel�ssimos jogadores, mas penso tamb�m que o FC Porto, pelo que vi na quarta-feira, � mais agressivo sobre a bola do que o Benfica.
- A exposi��o abre com o quadro de J�lio Pomar �Fernando Pessoa� e inclui, entre outras, obras de Carlos Botelho, Jo�o Abel Manta, Jo�o Hogan, Bernardo Marques, M�rio Eloy e Maluda.
-Inaugura��o de uma exposi��o de escultura de Rui Vasquez.
-�s 19h30 no Hotel Alfa, em Lisboa.
-Patente ao p�blico at� 10 de Mar�o.
-Foi descoberto em 22 de Mar�o deste ano por astr�nomos americanos, quando um rasto da sua cauda foi avistado na atmosfera de J�piter.
-Em Julho do pr�ximo ano, muitos dos telesc�pios do mundo inteiro v�o querer assistir ao seu fim.
-Mais de 20 filmes est�o em competi��o a partir de hoje na 46� edi��o do Festival de Cinema de Locarno, que se realiza at� 15 de Agosto.
-Da lista fazem parte filmes como �Au nom du Christ�, do realizador Roger Gnoan M'Bala (Costa do Marfim), �Beijing Zazhong�, de Zhang Yuan, considerado o primeiro filme �punk-rock� chin�s, �Bhaji on the Beach�, de Gurinder Chadha (Gr�-Bretanha), �Koraku Zaru�, do japon�s Kenchi Iwamoto, �L'�crivain public�, de Jean-Fran�ois Amiguet (Fran�a), �L'Ordre du jour�, do palestiniano Michel Kheifi, �La Ribelle�, do italiano Aurelio Grimaldi, �La Vida Conyugal�, do mexicano Lu�s Carlos Carrera, e [...]
-Para o Leopardo de Ouro e o Pr�mio da Cidade de Locarno, o j�ri deste ano � constitu�do pelos realizadores Chantal Akerman (B�lgica), Olivier Assayas (Fran�a), Kathryn Bigelow (Estados-Unidos), Ferid Boughedir (Tun�sia), Alexei Guerman (R�ssia), al�m de um pintor italiano e de um produtor da televis�o su��a.
- O festival prop�e ainda um panorama sobre a produ��o su��a recente, filmes sobre filmes na sec��o Cin�ma-Cin�mas, uma homenagem ao realizador italiano Valerio Zurlini e a primeira retrospectiva integral da obra de Sacha Guitry.
-Para ressarcir a C�mara das despesas a suportar, bem como do direito � montagem do equipamento, ir� ser estabelecido um contrato de comodato de um bloco sanit�rio e dois abrigos para passageiros.
-Em princ�pio chegou pensar-se instalar um jornal electr�nico, mas isso implicava a compra dum computador demasiado caro para o munic�pio.
-Apesar de algumas informa��es que d�o conta alguns casos em que o nome da firma aparece citado, o presidente da C�mara de Alcoba�a, Miguel Guerra, referiu que o contrato ainda n�o estava assinado, e que �a empresa tem tido um comportamento impec�vel com a C�mara�.
-P. -- Pode querer fomentar a cria��o de um grupo financeiro, tal como o Banif pretendeu fazer.
-R. -- At� agora, a pol�tica do Governo para as privatiza��es tem sido orientada de modo a obter o melhor encaixe financeiro.
-A forma de o conseguir � p�r � venda as ac��es que ainda det�m nas empresas nas melhores condi��es.
-N�o existem motivos para alterar, agora, a sua estrat�gia.
-� um homem alto e magro, m�os de dedos esguios e gestos largos a abra�ar desenhos, projectos, frases.
-Numa voz grave, falou sobre o Ocean�rio de Lisboa e depois, descontra�do, perdeu-se a contar coisas dos tempos da inf�ncia e juventude, os caminhos que foi tomando e que o levaram a ser considerado o maior especialista do mundo em grandes aqu�rios.
-Depois de ter feito cinco grandes aqu�rios e muitas outras obras de dimens�es monumentais, confessa que a coisa mais importante que fez foi �mexer� no metropolitano de Boston, remodelar toda a rede, torn�-la agrad�vel e simples de entender.
-Fala aqui um pouco de tudo, das cobras da inf�ncia em Nova Iorque �s preocupa��es sobre a corrida aos armamentos nos anos 60, do prazer de ver golfinhos a brincar livremente, de vulc�es e glaciares a esculpir a paisagem da Terra.
-Ao falar de Portugal, come�a subitamente a trautear um fado de Am�lia, de um disco que comprou h� muitos anos, n�o sabe onde nem porqu�, e que gosta de ouvir e de cantar sem saber que palavras s�o aquelas.
-Um destes tr�gicos erros foi o manique�smo.
-Este fazia-nos acreditar que os nossos eram filhos da luz e os advers�rios, das trevas.
-Pens�vamos que tudo o que nos diziam era razo�vel e verdadeiro, mesmo sem o ter meditado, e que os nossos advers�rios estavam sempre enganados.
-Nessa base, prop�nhamos projectos no global, com os quais pretend�amos resolver todos os problemas do pa�s.
-Foram, principalmente, as atitudes sect�rias e exclusivistas que nos levaram � derrocada democr�tica, entre outros factores.
-Em 1993, pensamos de forma diferente.
-Procuramos acordos, tratamos de conciliar posi��es, estamos receptivos para compreender e para aceitar crit�rios diferentes dos nossos.
-A cria��o de um observat�rio com indicadores de converg�ncia, que dever� abranger mais de uma dezena de sectores, � um dos projectos a concretizar com a nova fase de interven��es estruturais da Comunidade.
-Atrav�s deste �rg�o, que funcionar� como base estat�stica, as autoridades portuguesas pretendem acompanhar o percurso de converg�ncia de cada um dos sectores, com base em tr�s grandes grupos de indicadores: estado de situa��o, �performance� conseguida e investimento.
- Al�m do estudo dos sismos e das caracter�sticas tect�nicas das regi�es onde eles t�m lugar, as explos�es nucleares podem ainda servir outros fins.
-De facto, h� muitos anos que h� quem proponha a utiliza��o de pequenas bombas nucleares em certas grandes obras de engenharia como terraplanagens de montanhas ou abertura de albufeiras.
- Recorde-se ali�s que, em Dezembro de 1992, quando a China realizou a maior explos�o n�o nuclear de sempre -- arrasando a montanha Paotai, situada na Zona Econ�mica Especial de Zhuhai, na ilha de Sanzao, 25 quil�metros a sudoeste de Macau --, na qual foram gastas 11 mil toneladas de dinamite, n�o faltou quem especulasse sobre a possibilidade de um dia realizar obras desse tipo com engenhos nucleares.
-A ex-Uni�o Sovi�tica, que levou a cabo um ambicioso programa de explos�es nucleares subterr�neas pac�ficas durante anos, parece ser a regi�o do globo onde este tipo de �know-how� foi mais desenvolvido, ainda que se desconhe�a o n�vel actual de dom�nio desta tecnologia.
-Ainda que a grande preocupa��o do p�blico se costume situar ao n�vel da radioactividade libertada, no caso das explos�es subterr�neas os especialistas dizem que ela pode ser facilmente controlada, havendo, por�m, o perigo de se contaminar len��is subterr�neos de �gua.
-Por outro lado, o que alguns receiam � que uma forte explos�o deste tipo possa provocar, ao n�vel das placas, fragilidades que venham a tornar mais graves as consequ�ncias de um futuro sismo natural.
-trata-se das Laffer Utilities (Laffer � o nome de fam�lia do her�i), apresentadas como um conjunto de programas para �perder tempo quando devia era estar a trabalhar�.
-Algures nos textos do programa l�-se que ele � capaz de �automatizar tudo o que voc� faz no escrit�rio e n�o tem que ver com trabalho�.
-Com uma base de dados de �clip-art�, um programa de impress�o de apostas, uma selec��o de anedotas tem�ticas, um criador de cartazes e algumas surpresas mais, as Laffer Utilities s�o uma boa maneira de ... perder um emprego.
-Lembrar as ra�zes foi ainda preocupa��o de Al Lowe ao preparar este disco, por isso mesmo, a par com alguns textos seus sobre os anos passados a criar Larry, uma divertida entrevista em v�deo, Al Lowe �Undubbed�, para a televis�o alem� -- e um v�deo e demo interactivo de Freddy Pharkas, um jogo de All Lowe -- h� ainda espa�o para lembrar o jogo que est� na origem do azarado her�i da s�rie: Softporn Adventure.
-O texto refere-se, nomeadamente, �s especificidades destes reclusos e constata que a comunidade prisional, intermedi�ria da san��o social atrav�s da priva��o da liberdade, passou a acolher uma popula��o dif�cil que ora se revolta, ora se adapta, ora se refugia na doen�a f�sica ou psicol�gica.
-E que efeitos se podem esperar da aplica��o da pena de pris�o �queles que cometeram delitos pela exig�ncia da toxicodepend�ncia?
---interroga a divis�o de estudos e planeamento da Direc��o Geral dos Servi�os Prisionais.
-Bucareste acusou a Hungria de ter pretens�es territoriais na Transilv�nia -- uma regi�o atribu�da � Rom�nia em 1920, ap�s o fim do Imp�rio Austro-Hungaro -- e de apoiar a concess�o de autonomia �s regi�es dominadas pelos magiares romenos, uma vez que esta legitimaria a sua inger�ncia nos assuntos internos de outro pa�s.
-Para mais, o Governo h�ngaro recusou at� agora a assinatura de um acordo sobre a intangibilidade das fronteiras dos dois pa�ses vizinhos.
-�O di�logo pol�tico � a �nica via para melhorar as rela��es entre a Hungria e a Rom�nia�, afirmou quarta-feira Teodor Malescanu.
-Mas as palavras do ministro romeno foram recebidas pelos respons�veis da UDMR como uma jogada de �oportunismo�.
-Isto porque o problema da minoria h�ngara denegriu a imagem internacional da Rom�nia, que tenta a todo o custo fazer aprovar o seu pedido de ades�o ao Conselho da Europa (CE), que ser� votado no in�cio de Outubro.
-O objectivo do acordo � consolidar o cessar-fogo assinado o m�s passado, e proceder � troca de prisioneiros entre os dois campos.
-A guerra civil no Tadjiquist�o, que fez mais de 50 mortos, come�ou em 1992, quando as for�as do neo-comunista Rakhmonov derrubaram o governo dos islamistas, que, nas �ltimas semanas, t�m somado vit�rias e se aproximam perigosamente da capital.
- No Dubai, as vedetas candidatas a dividir um bolo de um milh�o de d�lares s�o Goran Ivanisevic, Thomas Muster e Boris Becker.
-Mas as aten��es ser�o certamente divididas com a �armada� espanhola, composta por Carlos Moya, Albert Costa e F�lix Mantilla.
-Em Marselha (539 mil d�lares), os favoritos s�o Marcelo Rios, Thomas Enqvist e Michael Stich.
-Por c�, prossegue a segunda etapa do circuito sat�lite CESAE nos �courts� r�pidos da Associa��o Acad�mica de Coimbra.
-Dos portugueses presentes no quadro final, apenas dois actuaram ontem e ambos foram eliminados.
-O campe�o nacional Bruno Fragoso perdeu com o eslovaco Boris Borgula por 6-1, 7-6 (7-3) e Tiago Vinhas de Sousa foi derrotado pelo brasileiro M�rcio Carlsson por 6-2, 6-0.
-Contudo, as altera��es n�o se ficam por aqui.
-Para conseguir que a �originalidade� volte ao local, o arquitecto quer ainda restaurar a chamada Casa do Nuno (onde habitava Nuno, o filho de Camilo) e onde actualmente funciona a sede da junta e o posto m�dico.
- Apesar da discuss�o que estas obras est�o j� a merecer na freguesia, o restauro da igreja paroquial �, sem d�vida, o assunto de que mais se fala.
-Desde h� j� alguns anos que chove �a eito� na centen�ria Igreja de Ceide.
-O �ltimo Inverno foi j� muito dif�cil de passar e, recordam os paroquianos, que chovia tanto dentro da igreja como c� fora.
-O padre Gabriel Pereira Lopes, p�roco da freguesia, queixa-se tamb�m do facto da igreja ser muito pequena e por isso, e para al�m do programado restauro, entrou na C�mara de Famalic�o um proposta para a amplia��o do templo.
-A Comiss�o de Obras da Igreja de Ceide quer alargar o edif�cio de uma forma que n�o ter� agradado a Siza Vieira.
-O arquitecto esteve j�, por v�rias vezes, no local e ter� manifestado a sua oposi��o � modifica��o da estrutura da igreja, defendendo antes a manuten��o do actual edif�cio.
-Mais quatro pessoas foram mortas ontem num bairro pobre de Istambul, durante os recontros entre manifestantes alevitas e a pol�cia, pouco antes de representantes de uns e outros terem chegado a um acordo pouco auspicioso.
-As �ltimas mortes de que h� not�cia ocorreram no bairro de Umraniye, na margem asi�tica da maior cidade turca, onde cerca de 1500 alevitas sa�ram para a rua para protestar contra a interven��o da pol�cia num outro bairro, Gazi Mahallesi, onde nos �ltimos tr�s dias morreram entre 17 e 23 pessoas em manifesta��es.
-E, em s�ntese, remeteu para o seu advogado, Lu�s Avides Moreira.
-A posi��o de Brand�o sustenta-se numa carta da Lacto-Lusa, de 6 de Agosto de 1993, que anula o contrato com a Socifa.
-Inten��o que foi aceite pela sociedade, conforme carta do dia 16.
-E alarga o rol dos lesados: os credores da Socifa e o pr�prio fisco, por n�o pagamento do IVA devido na presta��o de um servi�o.
-Sil�ncio sepulcral, s� os p�ssaros se ouvem.
-Mas Manoel de Oliveira continua a ouvir ru�dos.
-�� um barco que vai a passar no mar�, murmura um assistente.
-Aguarda-se que o barco se confunda ao longe com o horizonte ..
-Sust�m-se as respira��es.
-Ser� desta?
-Malkovich (Michael) e Deneuve (H�l�ne) s�o um casal -- ele americano, ela francesa -- que vem a Portugal porque Michael, historiador, julga que pode encontrar na Arr�bida documentos que lhe comprovem uma tese segundo a qual Shakespeare era um judeu de origem espanhola.
-No convento, o casal depara com alguns estranhos personagens: Baltar -- Lu�s Miguel Cintra --, o director dos arquivos; o seu assistente, Baltazar -- B�nard da Costa --, e a cozinheira -- Elo�sa Miranda.
-Para os cubanos, o Che � um semi-Deus vindo de outro lado que quis fazer deles �homens novos� inventando o trabalho gratuito, a abnega��o pol�tica, o internacionalismo.
-Mas que resta hoje destes sonhos?
- Um monte de boas inten��es abandonadas junto dos caixotes de lixo das cafetarias em d�lares, onde jovens e velhos vasculham, ou pisadas pelos saltos-agulha das centenas de �jineteras� (prostitutas) do Malec�n e da Quinta Avenida.
-Aos 15 anos, muitas �crian�as do Che� deixam a escola prim�ria e encontram-se na rua para �buscarse la vida de qualquier forma�.
-Para os �antigos�, o Che est� prestes a morrer uma segunda vez.
-� preciso um meio dia de trabalho a um oper�rio para ganhar a famosa nota vermelha de tr�s pesos com a ef�gie do Che que lhe permitir� comprar tr�s bananas no mercado livre campon�s.
- O d�lar e o marco fixaram respectivamente a 159.775 e 87.35 escudos face aos 156.942 e 86.871 verificados na sess�o anterior.
-Este ano vai ser aberto um concurso para projectos de investiga��o sobre a desigualdade entre homens e mulheres na sociedade portuguesa.
-O objectivo � conhecer melhor os fen�menos e as tend�ncias da desigualdade entre sexos, para que esse conhecimento possa servir de base � tomada de decis�es pol�ticas.
-Temos um exemplo logo aqui ao lado na nossa vizinha Espanha, onde os jogadores recebem bem, mas jogam futebol.
-Como � bonito ver os est�dios cheios e os espectadores verem bom futebol.
-C� em Portugal, o que vemos?
-Fraudes, mortes nos campos de futebol, �rbitros que s�o tendenciosos a favor de quem querem e outras coisas mais que s� trazem vergonha ao nosso futebol.
-A pol�cia efectuou, na manh� de ontem, nada menos do que oito deten��es no Bairro de S. Tom�, em Paranhos, na sequ�ncia de v�rias buscas domicili�rias.
-A opera��o policial, que teve in�cio cerca das 9h00, visou detectar ind�cios de tr�fico de estupefacientes.
-Num dos domic�lios, os agentes detiveram tr�s homens (um estucador de 56 anos, um padeiro de 19 e um empregado de balc�o de 24) e tr�s mulheres (uma reformada de 50 anos, uma estudante de 16 e uma tecedeira de 22), aparentemente da mesma fam�lia, tendo sido ainda apreendida uma apreci�vel quantidade de droga.
-a outra rota � por barco para portos como Southampton, Roterd�o e Antu�rpia.
-ser� correcto transaccionar f�sseis com coleccionadores particulares, enquanto os paleont�logos (envolvidos muitas vezes em descobertas importantes) est�o impedidos de fazer dinheiro com os seus achados?
-N�o poder� esta situa��o levar � corrup��o da classe?
-�Esta � a altura ideal para discutir �tica�, disse ao P�BLICO Lawrence Flynn, da Universidade de Harvard.
-O P�BLICO apurou tamb�m que as negocia��es entre a Marconi e a CN sobre a redistribui��o das participa��es estatais j� est�o bastante avan�adas.
-A reestrutura��o do quadro accionista na TMN dever� constituir um dos primeiros passos.
-A Telecom Portugal poder� vir a assumir uma participa��o significativa no operador de telem�veis -- ainda que inferior a 50 por cento -- e, em contrapartida, a Marconi ter� manifestado, mais uma vez, o seu interesse no tr�fego internacional para a Europa.
-Actualmente, o capital da TMN est� distribu�do, em tr�s partes iguais, pela Telecom, pela TLP e pela Marconi.
-A assembleia geral da Marconi deu tamb�m �luz verde� � emiss�o de papel comercial por parte da empresa -- que dever� acontecer a breve prazo --, para al�m de ter deliberado no sentido de os t�tulos da companhia passarem a revestir a forma de ac��es escriturais, de modo a permitir uma maior liquidez do papel.
-M�rio Carrascal�o desempenhou as fun��es de governador de Timor-Leste de 1982 a 1992.
- Nessa altura, por causa do massacre do cemit�rio de Santa Cruz, descolou do regime de Jacarta, passando a manifestar algumas posi��es cr�ticas, nomeadamente em rela��o �s for�as de seguran�a.
-Foi substitu�do por um timorense bastante mais pr�-Indon�sia, o actual governador Ab�lio Os�rio Soares.
-As cr�ticas custaram-lhe o ex�lio, tendo sido nomeado embaixador da Indon�sia na Rom�nia.
-Em 1997 regressou a Timor-Leste.
-Reencontrou-se com o seu irm�o Manuel, tamb�m ele um timorense pr�-integra��o que progressivamente foi caminhando ao encontro das posi��es da resist�ncia.
-numa atitude in�dita, Robin Cook telefonou ao seu colega portugu�s antes de embarcar para Jacarta, para falar sobre Timor.
-Um dos assuntos abordados nessa ocasi�o foi a venda de armamento brit�nico ao regime de Jacarta.
-Nos meios diplom�ticos h�, ali�s, quem interprete estas manifesta��es de �sensibilidade� em rela��o � quest�o de Timor por parte do Executivo de Tony Blair com uma tentativa de compensar a m� imagem criada com as significativas exporta��es de armas �made in England� rumo � Indon�sia.
-Apesar de ter herdado do Executivo de John Major as mais pol�micas licen�as de exporta��o de armas para Jacarta, o Executivo trabalhista n�o escapou �s cr�ticas dos activistas pr�-direitos humanos, que acusam os novos governantes de n�o terem travado os neg�cios, nomeadamente a venda dos ca�as �Hawk� fabricados pela British Aerospace e alegadamente utilizados em Timor.
-No entanto, apenas tr�s meses depois da entrada em vigor do novo hor�rio de funcionamento do Mercado de Manuel Firmino, que estipulava um novo per�odo de abertura entre as 17h00 e as 20h00, foi decidido voltar a encerrar o mercado da parte da tarde.
-A reivindica��o partiu de alguns comerciantes, desagradados pelo facto de a abertura do mercado � tarde n�o ter atra�do novos consumidores.
-E nem a campanha publicit�ria desenvolvida em �rg�os de comunica��o regionais, promovendo o mercado e dando conta do alargamento do seu hor�rio de funcionamento, levou mais pessoas ao Manuel Firmino.
-O fracasso desta medida ditou que, desde o in�cio deste m�s, o mercado voltasse a funcionar apenas da parte da manh�, encerrando portas �s 14h00.
-Um dos comerciantes n�o poupa cr�ticas � C�mara, considerando que a campanha publicit�ria foi mal conduzida, que as obras est�o atrasadas e que a altera��o do hor�rio deveria ter sido feita ap�s a conclus�o das obras.
-�Nem sequer puseram ' placards ' pela cidade�, desabafa este comerciante, que considera que os an�ncios do alargamento do hor�rio da parte da tarde deveria ter sido mais publicitado.
-E acusa ainda a C�mara Municipal de n�o ter investido nos �ltimos anos no Mercado de Manuel Firmino, por pretender que os comerciantes se transfiram para o novo Mercado Municipal de Santiago.
-O facto causou a maior indigna��o junto dos estudantes daquela faculdade, cuja associa��o de estudantes se apressou, ali�s, a colocar cartazes em todos os locais da escola avisando os rec�m-chegados mais distra�dos para que �n�o passem cheques em branco�.
-Apesar do grotesco da situa��o, qualquer caloiro que procurasse saber das dilig�ncias que necessita de efectuar para se inscrever em Ci�ncias, deparava com uma longa lista de preceitos, intitulada �Aviso� e que explicava que todos os colocados na faculdade �no ano lectivo de 1994/95 (1� ano/1� vez) far�o a sua matr�cula por via postal (correio registado)�, ao que se seguia uma listagem dos documentos a enviar.
-A meio da lista, era solicitado o envio de �um cheque emitido a favor a Faculdade de Ci�ncias da Universidade de Lisboa, devidamente identificado com o nome do aluno no verso, para pagamento de propinas�.
-De montantes, nada vem referido.
-Ora, conforme explica Nuno Bio, elemento da Associa��o de Estudantes, �ainda n�o est� fixado o valor das propinas a pagar pelos estudantes, ainda n�o se sabe quem ter� direito a redu��o, o regulamento interno da faculdade ainda nem sequer foi elaborado�.
-Ali�s, aos alunos-caloiros era tamb�m pedido o envio do requerimento de redu��o de propinas �se pretender apresent�-lo�.
-Nuno Bio n�o tem d�vidas de que se trata de �uma tentativa frustrada por parte dos org�os competentes da faculdade de obrigar os caloiros, menos informados destas coisas, a pagar, para poder afirmar depois que h� muita gente a pagar propinas�.
-Um dos objectivos de Portugal nas negocia��es do Uruguay Round do Acordo Geral de Tarifas e Com�rcio (GATT) poder� ter uma solu��o positiva, dada a proposta que os Estados Unidos ontem apresentaram.
-Trata-se da aprova��o de um per�odo de 15 anos para a abertura das barreiras alfandeg�rias ao sector t�xtil.
-A Teleweb, uma nova empresa portuguesa fornecedora de acesso � Internet, anunciou estar disposta a investir um milh�o de contos de forma a atingir o seu objectivo de 50 mil clientes no ano 2000.
- A empresa � totalmente detida pela Finantel SGPS SA, que det�m participa��es na Ensitel e na NCM-Nokia e atingiu em 1997 um volume de vendas consolidado de 9,2 milh�es de contos, com resultados l�quidos de 244 mil contos.
- Andava pela rua de cabe�a perdida.
-Com cinquenta e tr�s anos, dizia ele de si para si, portava-se como um garoto.
-Que vergonha!
-Mas n�o via nenhuma sa�da.
- No momento em que chegou ao jardim p�blico da rua Au-Sable viu, numa �lea deserta, uma silhueta magricela.
-Aproximou-se e o cora��o come�ou a bater com for�a.
-Era mesmo o �Pierre-Jean�, da outra vez.
-Subiram-lhe as l�grimas aos olhos, e por pouco n�o beijou o seu antigo conhecido.Subiram-lhas l�grimas aos olhos, e por pouco n�o beijou o seu antigo conhecido.
-O outro esquivou-se delicadamente, mas convidou-o a subir a bordo.
-Aparentemente impar�vel nos seus projectos de expans�o (para grande dor-de-cabe�a das marcas europeias) o an�ncio da Honda surgiu uma semana depois do acordo conseguido entre o Jap�o e a Comunidade Europeia para a abertura gradual do mercado aos carros nip�nicos a partir de 1992, e dois dias depois da morte do seu �Oyaji-san� (o grande pai), o homem que via na Europa o grande mercado a conquistar.
-Soichiro Honda foi o homem que construiu um imp�rio, que encarna o renascimento da ind�stria japonesa no p�s-guerra, desde a pequena f�brica de motocicletas, em 1947, ao grupo que factura hoje 4,5 mil milh�es de contos e tem 13 milh�es de contos de lucros.
-A par do seu envolvimento com empresas de efeitos especiais, como � o caso da ILM, alguns projectos recentes contribu�ram para dinamizar a companhia.
-� o caso da associa��o com a Time Warner Cable para a concretiza��o da TV interactiva em Orlando (na Florida), com a Nintendo para a cria��o do novo sistema de videojogos Ultra 64, ou com a Sprint of the Drums para criar uma rede de alto d�bito para a ind�stria do �entertainment� produzir filmes ou material de publicidade.
-Com a AT&T, criou a �joint-venture� Interactive Digital Solutions para o desenvolvimento e oferta de solu��es de v�deo interactivo, servi�os de informa��o ou de entretenimento, atrav�s das redes telef�nicas e de TV por cabo.
-Foi tamb�m a primeira empresa nomeada pela companhia telef�nica japonesa NTT para proporcionar servi�os interactivos na rede digital que este operador est� a instalar.
-Com sede em Mountain View, na Calif�rnia, a sua presen�a em feiras ou confer�ncias internacionais � usual e, no Siggraph deste ano (a 21� edi��o do maior certame actual de inform�tica, com 25 mil visitantes), foi o expositor com mais espa�o.
-A SGI aproveitou para anunciar a cria��o de uma nova empresa -- a Silicon Studio -- para o desenvolvimento de aplica��es para os novos mercados de ' media ' digital.
-A nova empresa trabalhar� com programadores, criadores art�sticos e distribuidores na expans�o das suas actividades correntes nos dom�nios do filme, v�deo, TV interactiva, v�deojogos ou parques de divers�es.
-�Cri�mos a nova subsidi�ria para promover o crescimento da SGI no mercado do ' entertainment '�, referiu � revista �Post Update� Mike Ramsay, presidente da Silicon Studio, que diz pensar que �a tecnologia para a �rea do ' entertainment ' comandar� o mercado nos pr�ximos cinco anos�.
-Documentos internos da empresa apontam o mercado da TV interactiva e dos videojogos como aqueles que, a longo prazo, v�o ter uma maior procura, seguindo-se ent�o o v�deo e o filme digital e, por �ltimo, os efeitos especiais.
-A Renault Portuguesa tem actualmente em curso um processo de despedimento colectivo de 144 trabalhadores.
-Os administradores nomeados pelo Estado portugu�s votaram contra esta decis�o, mas os franceses, maiorit�rios, decidiram ir em frente, o que constitui mais uma prova do confronto aberto instalado na empresa.
-Como os despedimentos ainda n�o foram consumados, a Renault continua com 765 trabalhadores e com uma produ��o di�ria de 160 autom�veis do modelo Clio.
-A administra��o da f�brica j� fez no entanto saber que � sua inten��o reduzir a produ��o di�ria para 110 unidades.
-Entretanto, os trabalhadores da f�brica de Set�bal realizaram uma greve na quinta-feira passada e marcaram nova paralisa��o para a pr�xima segunda-feira, que incluir� uma marcha sobre Lisboa.
-A administra��o francesa chegou a defender a venda da f�brica de Set�bal a outro construtor autom�vel.
-O Governo portugu�s desenvolveu alguns contactos nesse sentido, e os coreanos da Kia chegaram mesmo a deslocar-se �s instala��es.
-Mas as autoridades nacionais n�o viram grande receptividade e decidiram afastar essa hip�tese, porque n�o queriam ficar com o �nus de n�o conseguirem arranjar comprador, o que constituiria um trunfo para os franceses.
-�Na concerta��o, h� ainda muito a fazer�, constatou Maria Jos� Const�ncio, que prometeu o seu �empenhamento pessoal� para que �a falta de concerta��o entre as entidades locais e o governo central� deixe de ser um �ponto fraco� do PDI do Vale do Ave.
-�H� que coordenar a ac��o dos diversos minist�rios e munic�pios.
-Em Portugal, infelizmente, os diversos minist�rios e as autarquias t�m os seus programas, mas, por vezes, n�o t�m uma coordena��o rigorosa�, advertiu.
-Para evitar uma aplica��o desgarrada de milh�es de contos no Vale do Ave, Cravinho preconiza �um sistema de gest�o forte�, que ponha todos a trabalhar de forma articulada para uma boa aplica��o das verbas.
-Do lado portista, o dia foi calmo e sem problemas, entre Montechoro e as A�oteias, em cujo complexo desportivo a equipa fez ontem � tarde o �ltimo treino antes da partida.
-Tranquilidade absoluta, nenhuma hostilidade da parte de ningu�m, uma paz realmente sem m�cula.
-Reinaldo Teles, que chefia a comitiva � o �nico dirigente presente e n�o se espera a presen�a de mais nenhum dos altos respons�veis.
-�Como o jogo d� na televis�o julgo que n�o vem mais ningu�m�, disse-nos o homem que dirige o departamento de futebol portista.
-O deputado socialista Ferro Rodrigues mostrou-se descontente com as respostas do Governo, que considerou �vagas e evasivas�.
-O deputado disse mesmo que o �o Governo est�, deliberadamente, a querer desvalorizar politicamente um problema que � um esc�ndalo financeiro grav�ssimo que envolve muitos milhares de contos em fugas ao fisco�.
-Tudo isto porque a resposta ao Grupo Parlamentar Socialista sobre esta mat�ria foi dada pelo subsecret�rio de Estado adjunto da secret�ria de Estado do Or�amento, Vasco Valdez.
-�Quando esper�vamos a presen�a do ministro das Finan�as, Braga de Macedo, surgiu n�o o ministro, nem a secret�ria de Estado adjunta e do Or�amento, mas sim um subsecret�rio de Estado adjunto da secret�ria de Estado adjunta do ministro adjunto do primeiro-ministro�, referiu o deputado socialista.
-Para Ferro Rodrigues, n�o se trata de uma quest�o de compet�ncia, mas sim da forma como o Governo est� a tratar este assunto.
-Pal�cio Galveias.
-Campo Pequeno.
-3� a 6�, das 10h �s 19h.
-S�b., e dom., das 14h �s 19h.
-Um conjunto de grandes telas, em que a exuber�ncia crom�tica � pretexto � realiza��o de obras simp�ticas, precede a apresenta��o de um conjunto de estudos para os pain�is do Metropolitano de Lisboa -- entendidas as paredes como suporte de pintura, no sentido que possu�a antes de Maria Keil o transformar.
-n�o s�o todos os que intitulam um quadro �Um c�o, talvez�.
-Enquanto isto, foi ontem anulada a miss�o governamental angolana que deveria ter ido � Jamba, quartel-general da UNITA, recolher parte dos presos de guerra.
-Abel Chivukuvuku, membro da Comiss�o Conjunta Pol�tico-Militar (CCPM) para a fiscaliza��o do cessar-fogo, alegou � imprensa raz�es t�cnico-log�sticas para a anula��o da viagem, relacionadas quer com o n�mero reduzido de presos que desejaria voltar para Luanda quer com a �programa��o da cerim�nia�.
-O silenciamento das emiss�es da RTPi na Guin�-Bissau, aqui noticiado ontem e s�bado, vem recolocar a quest�o das complexas rela��es de Portugal com as suas antigas col�nias.
- Um fantasma que se arrasta nestes 20 anos ainda marcados por uma descoloniza��o que foi -- ou teve de ser -- o que foi, � verdade, mas que importa exorcizar de uma vez por todas.
-Sem complexos, mas com a coragem de um projecto s�rio, consequente e respons�vel ao n�vel da coopera��o, em geral, e do audiovisual em particular.
-Foi o que n�o aconteceu, mesmo nestes �ltimos tempos de obra feita do cavaquismo.
- R. -- O Presidente tem um prazo at� Mar�o para o assinar e apresentar ao Congresso, como um pacote que dever� ser aceite ou rejeitado.
-Caso ultrapasse esse prazo, o Congresso poder� discutir cada al�nea, o que pode adiar indefinidamente a sua aplica��o.
-� poss�vel que quem apresentou essa ideia considere que seja melhor para os Estados Unidos e para o mundo ter qualquer acordo do que n�o ter nada.
-O trabalho em fam�lia dos Hestons pai e filho (Charlton, o int�rprete, e Fraser, o realizador) revelou-se bastante interessante na �Ilha do Tesouro� que h� pouco vimos e justifica o interesse pela reincid�ncia, agora � volta de outra figura cl�ssica: Sherlock Holmes, investigando a desapari��o de um militar brit�nico, o que o leva a uma intriga de cobi�a e vingan�a.
-Legal V�deo, 1992, 101 min.
-O painel considerou que os empreiteiros teriam menos tend�ncia para relatar eventuais problemas de seguran�a e exortou a NASA a manter a sua presen�a nas f�bricas dos fornecedores.
-�A NASA n�o se deve iludir pelo aparente sucesso inicial de todos os esfor�os de transi��o�, sublinha o documento.
-O administrador da NASA, Daniel Goldin, ao fazer a sua leitura do relat�rio afirmou que este tinha considerado que o programa de vaiv�ns se encontrava de excelente sa�de.
-�O painel tamb�m aponta algumas �reas onde � preciso continuar a colocar alguma �nfase e outras onde � necess�rio melhorar�, disse Goldin.
-�A NASA concorda com essas afirma��es e j� dei instru��es para que sejam postas em pr�tica o mais depressa poss�vel�.
-S� recentemente e de uma forma restritiva, alguns tribunais come�aram a considerar que os processos contra os jornalistas devem ser suspensos at� que estejam decididos os processos contra aqueles, geralmente figuras p�blicas, de quem falaram.
-A lei de imprensa, na sua actual vers�o, nestes como em muitos outros aspectos, fere gravemente o direito de ser informado dos portugueses, pelo que se aguarda que seja brevemente discutido na Assembleia da Rep�blica um novo projecto de lei de imprensa que confirme o refor�o da liberdade de express�o, de informa��o e de imprensa.
-Orlando Miguel e Jos� Pedro partiram de bicicleta, levaram sacos-cama, roupa, comida e algum dinheiro.
-O primeiro deixou um bilhete aos pais dizendo que n�o se preocupassem e que n�o ia fugir.
-Foram cerca de 500 jovens atletas, representando escolas e clubes de v�rias regi�es do pa�s, incluindo a ilha da Madeira, que participaram no III Encontro Nacional de Andebol Feminino, j� considerado o maior da modalidade, organizado pela Associa��o de Andebol de Lisboa.
- As expectativas dos promotores n�o ter�o sido goradas e a palavra sucesso era repetida, com insist�ncia, pelos organizadores.
-�Creio que o encontro foi muito proveitoso.
-Para al�m do conv�vio, as jovens atletas puderam praticar o seu desporto favorito e mostrarem as suas capacidades�, afirmou ao P�BLICO Isabel Cruz, da Associa��o de Andebol de Lisboa.
-3 milh�es de contos.
-Robert Koch, um Don Juan norte-americano de 51 anos, foi desmascarado e preso depois de ter burlado mais de 200 mulheres com promessas de casamento.
-Fazia-se passar por um vi�vo rico, propri�tario de f�bricas e sedento de carinho, e, depois de conseguir que as suas �presas� lhe confiassem grandes quantias em dinheiro e j�ias, desaparecia sem deixar rasto.
-Reconhecendo que �ningu�m melhor que os pr�prios sabem o que deve ser feito�, Nery pensa que deve haver uma separa��o clara entre subs�dios a equipamentos, subs�dios � produ��o e aos custos permanentes de manuten��o de uma companhia.
-Exig�ncias que obrigam os grupos a montar pe�as a correr s� para n�o serem penalizados monetariamente -- �o que n�o � saud�vel para ningu�m, muito menos para o Gil Vicente�.
- Renitente em divulgar quais ser�o os novos crit�rios -- �embora tenha algumas ideias gerais� --, Nery espera pelos resultados dos inqu�ritos.
-Certo � que ser� um j�ri que decidir� a atribui��o dos subs�dios e que dever� incluir criadores n�o envolvidos no concurso, �cr�ticos e outros profissionais ligados ao sector�.
-Vieira Nery julga que as decis�es dever�o ser tomadas por uma comiss�o mista que envolva o Estado e �avaliadores exteriores�.
-Mas n�o acredita no convite �dos nomes pelos nomes�.
-Uma fita carregadora com 20 cartuchos de bala real para espingarda G-3, 17 balas de salva, 27 inv�lucros, uma granada de m�o defensiva M-63, uma granada ofensiva M-62, uma granada de fumo, uma muni��o para espingarda Mauser e uma muni��o de 20 milimetros, constitu�am o armamento abandonado sem qualquer tipo de sinaliza��o.
-O material, depois de inspeccionado pela GNR de Lamego, foi entregue no Centro de Instru��o de Opera��es Especiais.
-A come�ar em Lou Reed, passando por David Bowie e de Iggy Pop, h� toda uma tradi��o de estrelas anglo-sax�nicas em fase de crise existencial, que acabam por ir parar a Berlim, onde v�m a gravar discos de um pessimismo t�o cerrado quanto brilhante.
-Apesar de o Muro ter ca�do, os U2 trataram de revitalizar esta tradi��o num disco de uma negritude sem par na sua discografia pr�via que, se n�o constitui uma ruptura t�o radical com o passado quanto �The Unforgettable Fire�.
-No entanto, por esse mesmo estado de esp�rito que o anima, � um disco diferente na carreira do quarteto irland�s.
-As letras simplificam-se, para trazer � flor da pele uma amargura infinita, enquanto os arranjos denotam um frenesim recalcado, a que a produ��o de Lanois, Eno e Lillywhite vai acentuando as �nuances� dram�ticas.
-�Achtung Baby� � arte pop no seu z�nite, isto �, � beira do hospital ps�quico.
-Os adeptos da face mais ligeira da colabora��o de Kurt Weil com Bertolt Brecht devem odiar esta revis�o �hard-core� do seu report�rio, como as incurs�es dos Young Gods pela m�sica de circo e �vaudeville� n�o devem ter feito a felicidade dos adeptos da sua vertente mais industrial.
-� um disco pouco indicado para amantes de ortodoxias, o que, de modo algum, o torna inconsistente, tratando-se afinal de uma vanguarda actual, que revisita � luz dos seus pr�prios princ�pios outra vanguarda, que a antecedeu sob v�rios aspectos.
-O resultado � brutal e espectacular, baseado em vers�es radicais do report�rio mais famoso de Weil / Brecht, repletas de descargas de electricidade e avalanches de ru�dos urbanos, que da estrutura musical da famosa dupla n�o deixam mais que o esqueleto, mas lhe acentuam a sua carga teatral e inerente dramatismo, ao ponto do sufoco.
-O Sindicato dos Maquinistas dos Caminhos de Ferro Portugueses convocou mais uma greve �s horas extraordin�rias a partir de segunda-feira, informou ontem o porta-voz da CP.
-�H� algo de inacabado, amputado na nossa cultura�, especifica Ant�nio Jos� Saraiva, �uma esp�cie de inf�ncia para al�m do seu termo.
-Foi isso que nos levou � procura de outro pai al�m-Piren�us�, na CE.
-Uma segunda linha � a que engloba os tecnocratas de optimismo �standardizado� e maniqueu, com a sua subcultura do sucesso, do consumismo, do �top�, da produtividades, da efic�cia.
-No decurso da confer�ncia de imprensa, Carvalhas quis sublinhar a conjuntura em que est� a ser preparado o Congresso.
-�Decorre num quadro em que cresce o desencanto, a frustra��o e o protesto dos trabalhadores e de amplos sectores da sociedade pelas consequ�ncias de uma pol�tica que nos seus principais eixos n�o se afasta daqueles que constitu�ram a matriz pol�tica que os portugueses quiseram ver derrotada�.
-Carvalhas -- que continuar� a assegurar a lideran�a do partido -- manifestou ainda a sua convic��o de que o Congresso ser� �um importante impulso para o refor�o do PCP�.
-A ideia de instalar na frente costeira da margem direita do Douro um equipamento virado para o mar, embora longe da dimens�o que se pretende agora para o Centro de Ci�ncia e Tecnologias do Mar, tem quase 20 anos e as diversas tentativas efectuadas at� hoje nunca chegaram a bom termo, estivesse no Porto ou em Matosinhos o local escolhido.
-Tudo come�ou com a ideia, em 1980, de substituir a j� ent�o degradada Esta��o de Zoologia Mar�tima Augusto Nobre, ou Aqu�rio da Foz, como � mais conhecido, encerrado h� mais de 30 anos.
-1980 -- Por iniciativa de um bolseiro alem�o, Michael Weber (hoje docente convidado do ICBAS), os rot�rios do Porto ponderam duas ideias: reconstruir o velho aqu�rio da Foz, ou construir, de raiz, um novo aqu�rio, no Porto.
-C�mara do Porto, Universidade e Administra��o Central aderem ao projecto.
-O primeiro local apontado s�o os terrenos do futuro parque da cidade.
-No entanto, o consumidor poderia optar pelo envio de um cheque sobre o estrangeiro passado pelo banco do comprador em moeda do pa�s onde se vai fazer o pagamento -- a forma mais barata --, ou passar um cheque no pa�s da compra em moeda local.
-Cinco dias depois Pedro Concei��o deslocou-se � cidade com os documentos indispens�veis para avan�ar com o processo de matr�cula (bilhete de identidade, passaporte e n�mero de contribuinte).
-No dia seguinte, o carro podia ser levantado, tendo sido efectuado o pagamento de cerca de 1.600 contos em cheque sobre o estrangeiro.
-Com o carro, foi entregue uma guia de circula��o v�lida para 90 dias em territ�rio espanhol, o livrete, uma factura de compra e uma ap�lice respeitante a um seguro contra todos os riscos v�lido por 30 dias (custo: 38 contos).
-�Foi uma decis�o muito ponderada, muito dif�cil e muito amadurecida�, disse ao P�BLICO Anabela Moutinho, que foi lac�nica no que se refere aos motivos.
- No cargo apenas deste Outubro, ela assegurava, entre outras coisas, a liga��o entre o IPACA e os espa�os potenciadores de novos p�blicos, como os festivais de cinema, nacionais e internacionais, as escolas e os cineclubes.
-Um projecto que ser� concretizado por meio de protocolos, mas que Anabela Moutinho n�o teve tempo de concretizar por �falta de tempo �til�.
-�Esta � uma �poca de transi��o, muito importante e dif�cil para o sector�, admitiu.
-O P�BLICO tentou saber se havia diverg�ncias de pontos de vista entre Anabela Moutinho e Costa Ramos, que ela n�o confirmou nem desmentiu.
-�A minha decis�o n�o foi pac�fica, n�o seria honesto da minha parte diz�-lo, posso dizer � que foi pac�fica e sem equ�vocos a maneira como o processo aconteceu�, declarou.
- O autor receava, aquando da sua publica��o, que este livro fosse incompreendido.
-Raz�es?
-�Em particular, a linguagem simb�lica, certamente herm�tica� que �foge ao estilo que mais tarde escolhi�, justifica-se numa nota de contracapa.
-A aus�ncia da pretens�o did�ctica, inequivocamente pautada em livros subsequentes, que narram igualmente a saga dos angolanos, como �Mayombe� ou �As Aventuras de Ngunga�, � s� aparente, porque esta componente, embora aqui se afigure numa estrat�gia enunciativa bastante esquiva, est� flagrantemente presente.
-�Quisera acabar com a ovalidade do mundo e conseguira.
-Mas o quebrar do sonho aliou-se � impossibilidade de viver no mundo sem ovalidade.
-E ainda n�o havia m�quinas que realizassem os sonhos individuais.
-S� os de grupos.
-�(p�g. 158) Poder haver uma sugest�o maior?
-�Ela tentou olhar o lado esquerdo, mas uma montanha a separava.
-Ele fez o mesmo para o lado direito, mas a mesma montanha o impedia.
- Cada um contemplou o seu lado, reconhecendo-se, incapaz de transpor a montanha� (p�g. 11).
-�-- Quando os corvos forem derrotados, n�o ser� s� aqui na montanha que o Sol ser� azul.
- Por toda a parte ele dardejar� rosas sem espinhos ... -- dizia ele.
-E ela sorria �quela verdade desejada.
- -- Os meninos brincar�o com o vento da madrugada, com ele fixando o capim � terra ...
--- E os morcegos comer�o mel e n�o excrementos ... -- concluiu ela � (p�g. 51).
-Este assunto, ali�s, foi tamb�m discutido na CCPM, que quinta-feira efectuou a sua 27� plen�ria, ap�s um interregno de 20 dias.
-O �caso Quilengues�, em que morreram tr�s turistas brit�nicos e um neo-zeland�s, foi um dos assuntos em discuss�o, dada a contradi��o entre as partes.
- A UNITA apresentou recentemente um suposto chefe do grupo que assassinou os turistas e que seria um oficial do ex-Minist�rio da Seguran�a de Estado.
-As declara��es do prisioneiro n�o convenceram ningu�m e o Governo rebate que a zona de Quilengues � de acantonamento de tropas da UNITA.
-V�rias pessoas citadas como tendo participado no acto desmentiram as vers�es da UNITA, e a Comiss�o Mista de Verifica��o e Fiscaliza��o (CMVF) encarregada de esclarecer o assunto n�o conseguiu apurar nada por dificuldades em chegar ao local.
-Duas organiza��es francesas, a Associa��o For�a Oper�ria Consumidores (AFOC, Altos Alpes) e a Uni�o Departamental das Associa��es Familiares (UDAF), assinaram um acordo de coopera��o com associa��es de consumidores italianas que levou � cria��o de uma estrutura franco-italiana denominada �Consumidores sem Fronteiras�.
-Esta organiza��o constituir�, segundo os seus promotores, a base de uma nova ag�ncia de informa��o europeia aos consumidores, a inaugurar no pr�ximo m�s de Junho.
-Os Consumidores sem Fronteiras prop�em-se, para j�, envolver-se na resolu��o dos lit�gios transfronteiri�os e organizar ac��es conjuntas de informa��o e esclarecimento aos consumidores dos dois pa�ses.
-Onde a �cidade do homem, n�o do lobo mas irm�o�?
- (...) Em 1975, nos Estados Unidos, a comiss�o trilateral divulgava um relat�rio intitulado �Crise da Democracia, no qual culpava pela contesta��o � �autoridade fundada na hierarquia, na compet�ncia e no dinheiro ...� �intelectuais e grupos pr�ximos�, que estavam a tornar as democracias ocidentais, liberais, parlamentares, �ingovern�veis porque amea�adas por uma grav�ssima crise de autoridade, fomentada por intelectuais e jornalistas�.
-E conclu�a que �S� se pode sair desta crise com o restabelecimento f�rreo do princ�pio da autoridade�.
- De ent�o para c�, o sistema tem vindo a domesticar esses sectores, seja atrav�s da sedu��o material seja pela atribui��o de honrarias, pelo que tais sectores abandonaram a contesta��o �s institui��es.
-Paralelamente, o controlo sobre os �rg�os de informa��o � de tal ordem apertada que s� vem a p�blico a verdade oficial, a do Big Brother.
-S�o tr�s os principais pontos litigiosos: a participa��o de organiza��es opostas ao processo de paz, a possibilidade dos palestinianos de Jerusal�m Oriental serem candidatos e eleitores, e ainda as compet�ncias do Conselho Aut�nomo.
-O chefe dos negociadores israelitas, Yoel Singer, real�ara anteriormente �progressos em rela��o a uma s�rie de quest�es�, salientando que as negocia��es continuar�o, dentro de duas semanas, e pela primeira vez em Jeric�.
-Na cimeira de hoje, em Erez, Arafat vai tentar convencer o primeiro-ministro israelita a fixar uma data para a retirada do Ex�rcito das cidades �rabes da Cisjord�nia e para a realiza��o de elei��es, mas Rabin provavelmente hesitar� uma vez mais, enquanto n�o obtiver garantias de seguran�a para os 130 mil colonos judeus.
-O l�der da OLP pretende tamb�m a abertura dos territ�rios, fechados desde 22 de Janeiro, para que 50 mil palestinianos possam trabalhar em Israel, embora queira tamb�m que Rabin explicite a sua ideia de uma �separa��o total� dos dois povos.
-Arafat receia que a separa��o seja sin�nimo de pris�o e n�o de independ�ncia.
-A vida de Albino Luciani, que seria o papa Jo�o Paulo I, encerra dois mist�rios: as circunst�ncias da sua morte e o teor da sua conversa de duas horas com a irm� L�cia, vidente de F�tima.
-Depois desta conversa, Luciani �nunca mais seria o mesmo�, garante a sua fam�lia.
-� por isso que, explica, n�o tem pena de Hillary Clinton.
-�Eles [ Hillary e Bill Clinton ] podem ter alguma esp�cie de acordo e quem somos n�s para dizer se � bom ou mau?
-Acho que eles t�m mais maturidade em rela��o ao sexo, como em rela��o �s drogas, do que podem mostrar�.
-�Vivo num Estado de Ironia�.
-Campos faz parte destes �rg�os, bem como Manuel Alegre que cedo se colocou ao lado do eurodeputado em nome de solidariedades antigas.
-A decis�o de Guterres foi tomada depois de segunda-feira ter reunido o n�cleo duro dos seus conselheiros pol�ticos, tendo mantido outros contactos durante todo o dia.
-Esta precipita��o dos acontecimentos vem de encontro a algumas das cr�ticas feitas � actua��o da Comiss�o Permanente, criticada por ter �deixado arrastar� durante semanas o contencioso com o eurodeputado, em vez de desde logo, como muitos defenderam, chamar Campos para este prestar esclarecimentos e colocar uma pedra sobre o assunto.
-Na busca passada � casa do suspeito, de 38 anos, que trabalha como marceneiro, foi encontrada a ca�adeira disparada tr�s dias antes contra a porta do clube, localizado naquele bairro, uma espingarda de press�o de ar, diversos cartuchos e um panfleto de hero�na.
- Apesar de haver suspeitas de o indiv�duo estar relacionado com o tr�fico de drogas duras nas Galinheiras e tamb�m na zona de Odivelas, onde possui outra casa, nenhuma quantidade significativa foi encontrada.
-Elogiei a escolha do meu anfitri�o, enquanto discorria, a desprop�sito, acerca do papel do �consejero de cr�acion�, que tinha talvez inventado aquela esp�cie de centro de mesa, com batatas acabadas de fritar (sim, batatas fritas), certamente em fatias espantosamente finas e em azeite a ferver, tratadas a modos de �souffl�.
-Iniciei-me com uma �morcilla de Burgos�, enrolada numa massa fofa, e dediquei-me com carinho a um naco de bonito, frio e escabechado.
-A conversa seguia animada, uma dose de �marketing�, 200 gramas de imagem, levadas ao lume com �public affairs� q.b.
-Gosto de levar a s�rio o meu papel de consultor encartado.
-Eduardo Louren�o fechou, na sexta-feira, ao fim da tarde, os trabalhos da VI Reuni�o Internacional de Camonistas, que decorreu durante quatro dias na Universidade de Coimbra, com uma inspirada �li��o de encerramento� em torno das liga��es entre Cam�es e Petrarca e da luz plat�nica que sobre ambos ter�, ou n�o, incidido.
- An�bal Pinto de Castro, organizador do encontro, obrigado pela fun��o a proferir algumas palavras finais, confessou o quanto lhe parecia �sacr�lego� falar ap�s a interven��o do rec�m-galardoado com o Pr�mio Cam�es.
-� de crer que estivesse a ser sincero.
-Eduardo Louren�o tem, de facto, esse dom, t�o contradit�rio com a sua proverbial mod�stia, de dar a tudo quanto escreve um tom definitivo.
-Provoca em quem o ouve a sensa��o de que aquilo que diz, o diz da forma mais justa, se n�o da �nica forma justa.
-Um talento que, por norma, cabe apenas aos poetas.
-A France 3, uma das principais esta��es p�blicas da televis�o francesa, abriu as hostilidades e declarou greve em nome do hor�rio laboral e da pol�tica salarial.
-A France 2 segui-lhe os passos e as emiss�es dos dois canais foram interrompidas.
-A direc��o j� mostrou boa vontade, mas a greve prossegue em todas as delega��es do pa�s.
- Concebidos para funcionarem como instrumentos privilegiados dos gestores de sistemas de informa��o, estes Compaq Proliant viram refor�ados os seus dispositivos de seguran�a e preven��o de quebras no sistema -- refor�o esse numa perspectiva de centraliza��o f�sica deste tipo de equipamentos, sustentadores de redes cada vez mais complexas resultantes das evolu��es de �downsizing� e �rightsizing� a que muitos sistemas de informa��o estiveram ou vir�o a estar sujeitos.
-Estes sistemas exigem um acompanhamento e controlo permanentes (as 24 horas de cada um dos dias da semana), pelo que a sua centraliza��o num �nico espa�o permite racionalizar e conter os custos da sua gest�o.
-Dos dispositivos de seguran�a e preven��o faz, evidentemente, parte o Insight Manager, aplica��o de gest�o j� conhecida das linhas anteriores de servidores mas agora na sua vers�o 2.3.
-A Orquestra Cl�ssica do Porto abre hoje, em Guimar�es, a 4� edi��o dos Encontros da Primavera.
-O primeiro concerto � dirigido por Piero Bellugi, com os solistas Pedro Corostola (violoncelo), Maria do Ros�rio Ferreira e Palmira Troufa (sopranos).
- No Pa�o dos Duques de Bragan�a, �s 21h45.
-Final do Festr�ia -- IX Festival Internacional de Cinema de Tr�ia, com a exibi��o �s 16h30 do filme premiado com o Golfinho de Ouro.
-Um industrial do Porto, Manuel Magalh�es, de 48 anos, abate a tiro dois s�cios, quatro disparos num, seis noutro, por terem passado cheques em seu nome.
-Um casal de Aveleda, povoa��o do Minho, acusa o padre da aldeia, Joaquim Carneiro, de ter rela��es sexuais com um filho seu de 12 anos.
-O povo defende o sacerdote.
-As autoridades arquivam o processo por falta de provas.
-O arcebispado, por�m, transfere o acusado para Paris.
-�� necess�rio que a constru��o [ da barragem do C�a ] seja efectivamente suspensa e que sejam reunidos os meios humanos e necess�rios a um estudo completo de toda a �rea antes que se crie uma situa��o irrevers�vel.
- E n�o se invoquem os preju�zos imediatos de tal decis�o, pois corresponder�o, certamente, a uma parcela diminuta dos encargos com essa obra fara�nica e desajustada que � a Expo'98�.
-S�o afirma��es do reitor do Universidade do Porto, Alberto Amaral, no editorial do n� 25 do Boletim daquela Universidade, inteiramente dedicado ao tratamento da �grave situa��o do patrim�nio hist�rico-cultural do vale do rio C�a�, como igualmente refere o autor.
-Com�dia inglesa, anos 50.
-Um friso inenarr�vel de personagens marginais e/ou marginalizadas, com o p�s-guerra em pano de fundo.
-Pe�a �nica e inimit�vel no contexto do teatro ingl�s deste s�culo, oscilando entre o naturalismo e o lirismo.
-Receita que funciona lindamente, gra�as a um elenco talentoso e bem dirigido e a uma direc��o pl�stica (Jos� Carlos Barros) eficaz.
-TEATRO DA TRINDADE.
-De 3� a s�b., �s 21h30; s�b. e dom., �s 16h.
- Cumpridos 16 dias de uma greve de 45, a paralisa��o na R�dio Televis�o da Guin�-Bissau (RTGB) foi suspensa ontem at� ao pr�ximo dia 25, devido a uma ced�ncia dos trabalhadores que t�m ouvido forte e feio da popula��o fora de Bissau que n�o tem acesso �s emiss�es da RTPi -- especialmente por causa dos jogos da selec��o portuguesa, acompanhados como se fosse a selec��o guineense.
-E foi assim que ontem -- precisamente por causa do Portugal-Turquia -- a televis�o guineense reabriu ... � hora necess�ria para transmitir o Portugal-Turquia, o que motivou grandes ajuntamentos em locais p�blicos que dispunham de televisores, tanto em Bissau como no interior do pa�s.
- A Lisnave n�o conseguiu atingir as metas fixadas pela sua administra��o para o exerc�cio de 1994.
-No final do primeiro semestre do ano passado, a empresa previa obter um volume de vendas de 24 milh�es de contos, mas acabou por n�o ir al�m dos 21 milh�es.
-No que se refere a resultados correntes, as estimativas apontavam para um valor negativo de 2,6 milh�es de contos, mas que na realidade ultrapassou os seis milh�es.
- Ao n�vel do Grupo, isto �, a Lisnave propriamente dita e as restantes 21 empresas em que os Estaleiros Navais de Lisboa participam no capital, os resultados saldaram-se por um preju�zo de 16,2 milh�es de contos.
-Este valor reflecte um agravamento de 6,5 por cento face aos 15,2 milh�es de contos de resultados negativos em 1993.
-As vendas consolidadas foram de 26,7 milh�es de contos em 1994, menos 1,2 milh�es de contos do que no ano anterior.
-Do ponto de vista concorrencial, o agravamento das perdas da empresa explica-se, em parte, devido � �entrada no mercado de novos estaleiros situados em pa�ses de muito baixo custo de m�o-de-obra (pa�ses do ex-bloco de Leste), e a aumentos da capacidade de docagem em �reas bem localizadas relativamente aos grandes fluxos de tr�fego mar�timo, al�m de tamb�m disporem de m�o-de-obra barata (pa�ses do M�dio e Extremo Oriente).
- O PRESIDENTE et�ope, Mengistu Hail� Mariam, anunciou ontem a constitui��o de um novo Governo, de cuja forma��o ficou respons�vel o chefe da diplomacia, Tesfaye Dinka, agora promovido ao cargo de primeiro-ministro., revelou a r�dio de Addis Abeba.
- A emissora anunciou igualmente que Mengistu demitira dois dos seus mais antigos ministros, o vice-Presidente Fiseha Desta e o secret�rio do Comit� Central, Legesse Asfaw.
-Tesfaye, um economista formado nos Estados Unidos, tem a miss�o de renovar o Governo e de alargar a sua base tribal, nos termos de uma decis�o adoptada pelo parlamento no in�cio da semana.
- A PR�XIMA ronda de negocia��es sobre a paz em Mo�ambique dever� ter in�cio no dia 2 de Maio em Roma, confirmaram ontem o Minist�rio italiano dos Neg�cios Estrangeiros e a comunidade religiosa de Sant'Egidio, mediador destas conversa��es.
-Em comunicados separados, as duas entidades deram conta de que os contactos preliminares principiaram ontem em Roma.
-Segundo a ag�ncia Lusa, a delega��o da Renamoj� se encontra na capital italiana, onde s�o esperados este fim-de-semana os negociadores de Maputo.
- �Apanhado� pela ronda do P�BLICO quando chegava �quela praia acompanhado pela mulher e pelo filho, na tarde de quinta-feira passada, o ministro dos Neg�cios Estrangeiros portugu�s escusou-se a ser fotografado, com o argumento de �estar em f�rias�, acelerando o passo (mais tarde, quando abandonava a praia, j� depois das 20 horas, acabaria por ser �apanhado� pela objectiva).
-Conhecido pelos vizinhos banhistas, l� foi acenando at� se instalar mesmo junto � �gua.
-N�o longe de Guilherme Oliveira Martins, o assessor pol�tico de M�rio Soares, que deixar� Bel�m em Setembro para assumir por inteiro a sua condi��o de futuro deputado pelo Partido Socialista.
-H� muito frequentador do local (os pais possuem uma resid�ncia em ...Boliqueime), Oliveira Martins tem visto os Tomates a transformarem-se na moda do Ver�o algarvio.
-o filho de Marcelo Rebelo de Sousa fazia anos e o ex-comiss�rio de �Lisboa 94� promovia uma festa, em local mais ou menos secreto.
-Pela Praia dos Tomates, restava apenas um discreto centrista, Fausto Quadros, al�m do porta-voz da Comiss�o Europeia, Jo�o Vale de Almeida.
-O australiano Michael Doohan (Honda) fez ontem a desfeita aos adeptos italianos, ao vencer o Grande Pr�mio de It�lia de motociclismo em 500cc, quarta prova do Mundial da modalidade, disputada no circuito de Mugello, onde os espectadores puxavam fervorosamente por Max Biaggi (Honda), que n�o foi al�m do segundo posto.
-A Honda acabaria por fazer o pleno no p�dio, com Alex Crivill� a conseguir o terceiro posto.
- Nos arredores de Ponta Delgada uma resid�ncia do s�culo XVII, inteiramente restaurada.
- Quatro quartos, simples por 850000 e duplos por 980000; servem refei��es quando solicitado e admitem animais.
-A sedu��o de uns olhos de longas pestanas sedosas tem agora em Cil Sublime, da Bourjois, um precioso auxiliar.
-Enriquecido com prote�nas e pr�-vitamina B5, � aplicado com uma escova especialmente criada para evitar o esborratamento do r�mel.
- N. R. A raz�o por que se real�ou no t�tulo da not�cia em causa o benef�cio do whisky foi porque ela se refere a um estudo que real�ava esse facto, o que se compreende quando se sabe que se trata de um estudo brit�nico.
-O P�BLICO tem dedicado frequentes not�cias aos benef�cios do consumo moderado de �lcool em geral e do vinho em particular.
-Veja-se, a t�tulo de exemplo, os textos �Cora��o, vinho e legumes�, P�BLICO do passado dia 16; ��lcool faz bem ao cora��o�, 19.11.93; �Gl�rias e mis�rias do �lcool�, 15.8.93; ��lcool protege cora��o?�, 3.9.91; Vinho contra colesterol?, 12.8.91.
-O quadro de inten��es levanta uma outra quest�o.
- Na pr�tica, privilegia-se as interven��es de fachada em detrimento do bem-estar dos habitantes das aldeias.
-A ilustr�-lo o exemplo de Pi�d�o, onde as coberturas em telha das habita��es (mesmo estando em bom estado) est�o a ser substitu�das por outras em lousa, enquanto as casas que j� t�m coberturas em lousa (ainda que chova no interior) n�o beneficiam de qualquer ajuda.
-�Pessoalmente causa-me alguma perplexidade que se trabalhe para a fotografia do visitante e n�o tanto para o bem estar de quem l� habita�, confessou Jos� Reis.
-os restantes 25 por cento s�o participa��o nacional, sustentada pelos promotores dos projectos apresentados.
-Mas tamb�m aqui h� aspectos pouco claros, j� que esta disposi��o n�o � seguida por todos.
-Quantos emigrantes mu�ulmanos residem na Europa?
-3 milh�es residem em Fran�a, 1,7 milh�es na Alemanha e 850 mil na Gr�-Bretanha.
- Na Holanda, B�lgica, It�lia e Espanha, os n�meros oscilam entre 250 mil e 300 mil mu�ulmanos.
-A Jugosl�via tem 3 milh�es, a Alb�nia 1,7 milh�es e a Bulg�ria 800 mil.
-O sindicato dos maquinistas tamb�m n�o contabilizou os custos desta greve.
-No entanto, garante que os gastos com os autocarros fretados pela CP em Agosto para efectuar o transporte alternativo dos passageiros (principalmente emigrantes) dos comboios internacionais �chegavam para resolver os seus problemas�.
-�For�a 4�, uma placa de m�rmore disposta sobre um soclo, onde efeitos de ondula��o criam a ilus�o da passagem do vento sobre a superf�cie do mar.
-Jo�o Cutileiro tem um peixe, que ironicamente se apropria de todas as formas de peixes / fontan�rios de jardins, e que reenvia para a sua grande escultura de ninfas com um barco, mais longe, num dos lagos.
-Jos� Pedro Croft fez uma enorme caixa oca de pedra, dentro da qual disp�s bolas do mesmo material.
-� a �nica pe�a que exige algum esfor�o ao visitante, que � levado a debru�ar-se e espreitar para o interior da caixa.
-Poder� assim tomar consci�ncia do contraste entre o volume sugerido e a massa das bolas, e associar a caixa a outras formas semelhantes, feitas no mesmo material, que j� tenha visto: t�mulos, sarc�fagos ...
-Manuel Rosa e Rui Sanches, por fim, mostram-nos esculturas que t�m por referente mais ou menos expl�cito o corpo.
-mas a coluna � ela pr�pria uma met�fora do corpo que sustenta, da for�a que tudo suporta.
-e, no meio de uma estrutura de m�rmore, colocou dois vasos com �gua a diferentes n�veis, que se foi sujando -- e enchendo de moedas -- com o passar dos dias.
-A certa altura, este �corpo�, que � o corpo da escultura, foi mesmo quebrado, levando � sua substitui��o.
-Est�tua (porque � um corpo), escultura, organismo que vive, � ferido e morre?
-Todas as interpreta��es s�o poss�veis, tudo pode acontecer a este corpo.
-BRAS�LIA Pesquisa Datafolha publicada hoje revela um dado supreendente: recusando uma postura radical, a esmagadora maioria (77%) dos eleitores quer o PT participando do Governo Fernando Henrique Cardoso.
-Tem sentido -- ali�s, muit�ssimo sentido.
-Muito mais do que nos tempos na ditadura, a solidez do PT est�, agora, amea�ada.
-Nem Lula nem o partido ainda encontraram um discurso para se diferenciar.
-Eles se dizem oposi��o, mas ainda n�o informaram o que v�o combater.
-Muitas das prioridades do novo governo coincidem com as prioridades do PT.
-Desde o �ltimo dia 13, �Confiss�es de Adolescente� pode ser vista pelos teens portugueses.
-A s�rie exibida aqui pela Cultura estreou na TVI de Portugal.
-Al�m disso, a co-produ��o com o canal franc�s TCF1 para a realiza��o de mais 30 epis�dios continua sendo negociada.
-�C�mera Manchete� � o nome do novo programa jornal�stico que estr�ia quarta-feira, �s 22h30, na Rede Manchete.
-Sob o comando de Ronaldo Rosas, o programa mostrar� reportagens especiais de S�nia Pompeu.
-A dire��o do novo semanal ser� assinada por Ewaldo Ruy.
-Os jogadores se dividem pelos dez quartos do alojamento, equipados com frigobar, ar condicionado, televis�o e telefone.
-�� uma coisa do Primeiro Mundo�, afirmou o levantador Maur�cio (leia mat�ria ao lado).
-Al�m de Maur�cio, Carl�o e Paul�o, a sele��o deve contar hoje com Giovane.
-O atacante, que deveria ter se apresentado anteontem � noite, pediu mais um dia de folga ao treinador.
-Na volta de uma viagem ao exterior, vale a pena trazer uma impressora matricial.
-Free shops dos aeroportos internacionais tamb�m vendem o equipamento.
-O modelo Lx 810, da Epson, � vendido em Miami por US$ 178.
-O pre�o de lista nas revendas brasileiras � de US$ 422.
-Esse equil�brio era tido como pr�-condi��o para o sucesso do plano econ�mico.
-Parte dos recursos para a forma��o do FSE foi deslocado do or�amento da sa�de e educa��o.
-Na �poca, o ent�o ministro da Fazenda, Fernando Henrique Cardoso, fez um pronunciamento em cadeia nacional para anunciar a inten��o do governo de destinar o FSE a investimentos sociais.
-O assessor de imprensa do Minist�rio da Fazenda, S�rgio Danese, disse ontem que o ministro da Fazenda, Rubens Ric�pero n�o iria comentar o assunto porque n�o tinha informa��es suficientes.
-O projeto original do governo destinava ao TSE R$ 334,9 milh�es.
-Como n�o houve acordo entre governo e tribunal quanto ao volume de recursos, a dota��o foi inclu�da na reserva de conting�ncia sem especifica��o de despesa.
-Posteriormente, diante da amea�a do tribunal de entrar com uma a��o judicial, o governo mandou ao Congresso uma altera��o ao projeto, aumentando para R$ 452,7 milh�es a dota��o do TSE.
-Essas medidas reduziram a disponibilidade de dinheiro no sistema banc�rio e os grandes bancos passaram a n�o fornecer recursos para as pequenas institui��es.
-Quebraram aquelas que estavam �descasadas�, ou seja, que financiavam no mercado interbanc�rio de um dia (CDI) os empr�stimos e carteiras de t�tulos estaduais e municipais com prazos longos.
-Tel� -- Claro.
-Aqui s� joga quem est� bem.
-Ningu�m for�a sua escala��o porque h� quem escale o time no S�o Paulo.
-Ele s� n�o jogava porque n�o estava bem.
-Folha -- E o que o senhor acha do esc�ndalo da arbitragem carioca?
-Tel� -- Uma vergonha.
-Apenas dois �rbitros resolveram contar todos os podres, enquanto a federa��o tem mais de 70.
-O futebol precisa seguir o exemplo da CPI do or�amento e apresentar todos os podres.
-Se eu dirigisse uma federa��o, apresentaria balan�os mensais e liberaria minhas contas banc�rias.
-A Fifa e a CBF deveriam entrar de sola nesse caso e em todas as outras federa��es.
-A maioria das empresas que produzem leite das marcas interditadas n�o tinha sido comunicada ontem sobre a libera��o do produto.
-O presidente da Cooper, Benedito Vieira Pereira, 49, afirmou que pretendia distribuir leite C nos postos de venda hoje.
-Prandi disse ainda que a empresa est� elaborando �normas fact�veis de serem executadas para a solu��o ou minimiza��o dos problemas� existentes no local.
-�O Charade vai concorrer na faixa do Suzuki Swift e do Twingo, da Renault�, afirma Caparelli.
-Herbert Berger, diretor-superintendente da empresa, diz que o Charade �se aproxima do Honda Civic em tamanho e custa bem menos�.
-O Applause, um sed� quatro portas, com motor 1.6, � o carro mais caro da Daihatsu.
-O top de linha custa US$ 30 mil.
-A mudan�a do local de jogo que deve acontecer tamb�m na partida contra o Corinthians, no pr�ximo dia 17 foi determinada pela CBF, que n�o viu garantias de seguran�a no est�dio santista.
-�Na Vila, quando recebo a bola, tenho que ficar olhando sua trajet�ria, para n�o ser surpreendido.
-S� depois � que levanto a cabe�a para fazer um lan�amento�, reclama Neto.
-JFK -- A PERGUNTA QUE N�O QUER CALAR Telecine, 20h30.
-O destaque do HBO � o in�dito �Exterminador do Futuro 2 -- O Julgamento Final�, em que Schwarzenegger � um rob� com apar�ncia humana que vem do futuro para proteger um garoto.
-Para o terceiro r�u, Alexandre Cardoso, 21, o �Topeira�, o juiz determinou uma pena de 20 anos.
-Souza tamb�m negou aos r�us o direito de apelarem da seten�a em liberdade.
-Os tr�s est�o presos desde 30 de julho de 93.
-Come�ou bem antes do que se previa a batalha pela futura sucess�o na Fifa apenas seis meses depois do super-acordo que, nas v�speras da Copa, reconduziu o brasileiro Jo�o Havelange ao sexto mandato consecutivo.
-Pelo acordo, os tr�s continentes mais obstinados em cortar o reinado de Havelange, a �frica, a �sia e a Europa, aceitaram cancelar os seus movimentos de oposi��o em troca, basicamente, de dois compromissos.
-Havelange aceitaria engolir o italiano Antonio Matarrese como o seu vice-executivo e, al�m disso, esqueceria os seus modos autorit�rios, coordenando a entidade de maneira colegiada.
-O Ambulim foi um dos centros que contribu�ram para um estudo apresentado na 5� Confer�ncia Internacional sobre Transtornos Alimentares, de 29 de abril a 1� de maio em Nova York.
-Dados sobre abuso sexual em bul�micas no Brasil, �ustria e Estados Unidos foram centralizados por Harrison Pope, da Escola de Medicina de Harvard.
-Essa divis�o gera algumas distor��es terr�veis.
-Um dos injusti�ados � Alfredo Volpi, que recebe apenas um painel, com cinco telas que servem para ilustrar sua �evolu��o� de figurativo a abstrato.
-Afora historicismo, isso � menosprezar um fator interno � arte brasileira, que independe de contexto internacional.
-Volpi foi dos mais influentes pintores do pa�s para al�m da quest�o da autonomia.
-O panorama sofre preju�zos demais em favor da tese.
-Abstratos entre medianos e med�ocres, como Fukushima, P�rsio, Raimo e Douchez, t�m o mesmo ou maior destaque que Volpi e nada que se possa chamar de autonomia para oferecer como lenitivo.
-Talvez isto seja muito barulho por nada.
-Original: C�cero.
-Disse que n�o conseguia vislumbrar artif�cios fraudulentos ou pr�tica de peculato no protocolo assinado por Qu�rcia.
-Afirmou que o conjunto de fatos, em princ�pio, aponta o envolvimento de Qu�rcia.
-Recebeu a den�ncia.
-Segundo o m�dico, o caso n�o preocupa.
-Rom�rio n�o se exercitou nas cobran�as de falta e p�nalti.
-Toda a comiss�o t�cnica sabe que Rom�rio � de treinar pouco, geralmente se poupando entre dois jogos dif�ceis.
-Nem o PSB nem a coliga��o t�m compet�ncia legal para trocar o vice da chapa sem a concord�ncia de Bisol, que teve o nome aprovado em conven��o.
-Outra maneira de um partido for�ar a substitui��o seria expulsar o candidato, com base em seu estatuto.
-Neste caso, o registro da candidatura seria cancelado pela Justi�a.
-�Uma boa parte do p�blico dos Stones hoje � yuppie.
-� uma tend�ncia�, dizia o lojista Nivaldo Silva Costenaro, 34, cabeludo baterista de uma banda de blues.
-�Escuto Stones desde os 13 anos de idade.
-O f� daquela �poca vai ser f� sempre�, acrescentou Costenaro.
-Apesar de limitar a venda de quatro ingressos por pessoa, a Mesbla n�o evitava ontem que uma mesma pessoa comprasse mais de uma vez.
-A queda nas vendas teve reflexos nas negocia��es entre as confec��es e as lojas.
-�N�o est� havendo cancelamento de pedidos.
-Mas existem ind�strias que est�o sendo procuradas pelos lojistas para postergar as entregas�, conta Eduardo Costa, diretor da Abravest, que re�ne a ind�stria de vestu�rio.
-A seca que atingiu as �reas produtoras de gr�os n�o deve causar grandes estragos na safra 1994/95.
-A primeira previs�o do IBGE (Funda��o Instituto Brasileiro de Geografia e Estat�stica) indica queda de 0,62% na �rea plantada nesta safra em rela��o a anterior.
-Pocock, que publicou os resultados no �ltimo n�mero da revista �British Medical Journal�, do Reino Unido, estudou a influ�ncia do chumbo desde a gesta��o.
-Segundo ele, a exposi��o ao material durante a gravidez ou nos dois primeiros anos de vida n�o representa perigo.
-OS PAP�IS DE FLAVIO-SHIR� -- A mostra, que faz parte das comemora��es dos 50 anos de pintura do artista japon�s, re�ne 25 obras em pequenos formatos.
-Foi utilizada t�cnica mista, incluindo desenho, pastel, ceragrafia e fotografismo.
-De seg a sex das 11h �s 19h, s�b das 11h �s 14h.
-At� 30 de mar�o.
-Pre�o das obras: de US$ 2.000 a US$ 4.000.
-A aplica��o dessas observa��es ao caso americano e �s rela��es entre negros e brancos sugere uma nova maneira de conceituar os argumentos j� conhecidos do �legado da escravid�o�.
-N�o se trata simplesmente da quest�o da escravid�o certamente ter tido efeitos duradouros sobre a cultura negra, nem mesmo dela ter exercido um amplo efeito negativo sobre a auto-confian�a e auto-estima dos negros, mas mais especificamente da experi�ncia da escravatura ter desvirtuado e tolhido a evolu��o do algoritmo etnoc�ntrico que os negros americanos teriam desenvolvido no decorrer normal dos acontecimentos.
-Os brancos fizeram tudo em seu poder para invalidar ou menosprezar cada sinal de talento, virtude ou superioridade entre os negros.
-Eles tiveram que fazer isso se os escravos fossem superiores em qualidades que os pr�prios brancos valorizavam, onde estaria a justificativa moral para mant�-los escravizados?
-E, assim, tudo o que os afro-americanos faziam bem teve de ser colocado em termos que menosprezassem a qualidade em quest�o.
-Mesmo a simples tentativa de se documentar esse ponto deixa uma pessoa exposta a acusa��es de condescend�ncia e, assim, os brancos de fato conseguiram cooptar os julgamentos de valor.
-� ainda mais �bvio que � imposs�vel falar abertamente sobre o superioridade de muitos atletas negros sem ser sujeito a acusa��es de que se estar sendo anti-negro de uma maneira enviesada.
-Pela segunda vez desde quando come�ou a coordenar as a��es no Rio, h� duas semanas, o Ex�rcito mudou o nome das opera��es.
-Agora, os oficiais envolvidos se referem sempre ao comando das a��es como Centro de Coordena��o de Opera��es de Combate ao Crime Organizado (Ccocco).
-Cinco linhas paralelas, de mais de 400 km cada, foram descobertas por cientistas australianos no sul do pa�s.
-Elas est�o separadas por espa�os de 80 km a 100 km.
-As linhas, invis�veis da superf�cie, foram detectadas atrav�s de dados de sat�lites.
-Pesquisadores acham que as linhas podem ser falhas geol�gicas.
-O derramamento de �leo do petroleiro Exxon V�ldez, em mar�o de 1989, causou estragos no valor de US$ 286,8 milh�es, segundo um j�ri em Anchorage (Alaska).
-A a��o est� sendo movida por pescadores, lojistas, propiet�rios de terra e nativos.
-O valor � mais que o dobro do estimado pela Exxon, mas menor que o original pedido, de US$ 895 milh�es.
-Bombeiros e pessoal de resgate foram colocados em alerta m�ximo em Argel no final da tarde de ontem, segundo a r�dio estatal.
-Ve�culos de resgate estavam a apenas 500 metros do Aibus 300.
-Optar entre um aparelho conjugado e outro simples � outro ponto que merece aten��o.
-Para fazer uma boa compra, a t�cnica do Procon recomenda ao consumidor que verifique se j� h� dentro de casa os tradicionais equipamentos que desempenham as mesmas fun��es do conjugado, s� que separadamente.
-Caso a op��o seja pelo aparelho multiuso, o comprador deve checar se o produto tem assist�ncia t�cnica, diz ela.
-Como a id�ia de enxugar a Constitui��o enfrenta resist�ncia inclusive nos partidos que ap�iam o governo, a equipe de FHC resolveu fazer as reformas por partes.
-Primeiro aprova-se o texto enxuto e depois negocia-se a aprova��o, sem prazo definido, das leis complementares e ordin�rias.
-O Pent�gono usa a Internet, que conecta computadores a sistemas telef�nicos, para que seus funcion�rios troquem informa��es.
-Os arquivos s�o protegidos por senhas e c�digos, que acabaram mostrando-se vulner�veis.
-O conselho fiscal entende que os acionistas n�o devem mais �suportar investir dinheiro bom em companhia sem condi��es de se reerguer�.
-�Tem que torcer muito e rezar bastante, porque milagres acontecem�.
-QUADRINHISTAS DO BRASIL inteiro se re�nem entre sexta-feira e domingo em Arax� (MG).
-Haver� oficinas e um concurso.
-Informa��es pelo telefone (034) 661-2458.
-O MERCADO AMERICANO para desenhistas � o tema da oficina com David Campitti (veja trabalho dele ao lado), roteirista de hist�rias do Super-Homem e criador de v�rios personagens.
-Outros profissionais brasileiros, que atuam nos EUA, tamb�m participam.
-Informa��es pelo (011) 263-4700.
-Ontem pela manh�, os atletas que n�o atuaram contra o Vit�ria, participaram de um coletivo com a equipe principal.
-Os que jogaram, fariam treino de recupera��o � tarde no Projeto Acqua.
-Murici reclamou da postura do time do Vit�ria.
-�Eles bateram muito.
-O que fizeram com o Pereira foi um absurdo�, disse.
-Pereira levou um pis�o na cabe�a, mesmo estando ca�do no ch�o.
-Murici espera que o Inter n�o tenha a mesma atitude.
-A primeira miss�o lunar dos EUA em 21 anos teve in�cio ontem, quando um foguete Tit� 2 colocou no espa�o a astronave n�o tripulada Clementine 1, que vai passar dois meses em duas �rbitas da Lua para realizar completo mapeamento mineral�gico e topogr�fico do sat�lite da Terra.
-O nome oficial do projeto � Depse 1 (Deep Space Program Science Experiment).
-Ele � patrocinado pela Organiza��o de Defesa de M�sseis Bal�sticos e pela Nasa, em uma das primeiras opera��es espacais com fins civis e militares.
-O lan�amento ocorreu ontem na base a�rea de Vanderberg, na Calif�rnia, costa oeste do pa�s, �s 8h30 locais (14h30 em Bras�lia).
-O custo total do projeto � de U$ 55 milh�es.
-O atual perfil dos poupadores ajudar� a manter o dinheiro aplicado.
-Segundo o BC, mais da metade dos recursos da caderneta s�o de poupadores de m�dio e grande porte em tese, menos sujeitos a achar que o dinheiro perdeu rendimento com a queda da infla��o.
-A previs�o de saques reduzidos sobre a poupan�a � compartilhada por especialistas.
-�O ceticismo em rela��o a planos econ�micos faz a popula��o manter reservas�, diz o ex-diretor de Pol�tica Monet�ria do BC, Lu�s Eduardo de Assis, diretor de investimentos do Citibank.
-��s vezes peco por falta de experi�ncia, mas me considero um piloto r�pido�, afirmou ontem o brasileiro, em entrevista � Folha por telefone, da It�lia.
-Diniz come�ou sua carreira automobil�stica em 1989, no Brasileiro de F�rmula Ford, campeonato em que obteve a sexta posi��o na classifica��o final.
-A Pol�cia Civil de Ourinhos (371 km a oeste de S�o Paulo) prendeu ontem � tarde o ex-l�der religioso Jonas R�bio, 45, acusado de matar na quarta-feira a estudante Claudirene Contijo, 13, com um tiro de espingarda.
-O delegado Celso Antonio Borlina, 38, disse que R�bio confessou o crime.
-R�bio era acusado por Claudirene de t�-la estuprado no ano passado, �poca em que era o l�der da Assembl�ia de Deus na usina S�o Luiz, onde a estudante morava.
-�A m�e da estudante prestou queixa do estupro e, depois, das amea�as de morte que R�bio teria feito a Claudirene�, disse Borlina.
-Zanini diz que est� preparando a funda��o de um novo partido, que trar� expl�cito em seu programa a ressalva de que � contra o racismo.
-�Ser� um movimento nacionalista independente.
-O novo manifesto do movimento n�o ficar� pronto antes das elei��es.
-Sendo assim, n�o podemos dar nosso apoio aberto�, explicou.
-Ele afirma ter negros e judeus entre seus correligion�rios.
-Segundo a empresa, ser� o primeiro alimento produzido totalmente atrav�s de t�cnicas de engenharia gen�tica a ser vendido.
-O tomate foi projetado para manter o sabor que tem depois de colhido durante tempo prolongado na prateleira dos supermercados.
-Pa�ses produtores e consumidores de caf� entraram em um tipo de pr�-pacto internacional que n�o intervenha nos pre�os do produto, afirmou o porta-voz da Organiza��o Internacional do Caf� (OIC).
-�Temos as bases para um novo acordo.
-Pode-se agora recomendar um texto definitivo para o conselho da organiza��o�, disse o porta-voz.
-Os pa�ses integrantes do instituto enviam o texto com o novo acordo para seus governos antes da aprova��o final, que deve ocorrer na semana que vem.
-Passarinho j� descarta claramente a candidatura ao Planalto.
-�Meu compromisso com o Par� � inarred�vel�, afirmou ontem depois de conversar com Amin.
-O senador catarinense ainda hesita.
-Mas faz quest�o de lembrar que, aos 46 anos, ainda ter� v�rias outras oportunidades para disputar a presid�ncia.
-A maior facilidade criada � a supress�o das barreiras alfandeg�rias para a importa��o de produtos de um pa�s pelo outro.
-Isso vai facilitar as atividades de franqueadores que precisam importar produtos para distribui-los a seus franqueados que operam em outro deles.
-Por exemplo: o master-franqueado da Arby's no M�xico enfrentar� menos problemas e menos burocracia para importar o rosbife (que, ao contr�rio do que ocorre com a Arby's Brasil, vem dos EUA) e as batatinhas (canadenses) que serve em seus restaurantes pr�prios e franqueados.
-O maior impacto do Nafta a curto prazo ser� sobre as franquias do setor automotivo.
-Pelo acordo, s�o reduzidas de imediato todas as barreiras tribut�rias e alfandeg�rias relacionadas � importa��o por qualquer pa�s do acordo, de ve�culos automotores, autope�as e acess�rios fabricados nos demais pa�ses membros.
-Roberto Capuano, presidente do Creci-SP (Conselho Regional de Corretores de Im�veis), diz que o mercado de usados sofre com a car�ncia de financiamentos desde 70.
-�Em 79 houve uma leve reabertura de cr�dito, mas nada significativo�, afirma.
-Segundo ele, hoje as concess�es de financiamento banc�rio s�o restritas e elitistas.
-A Benetton volta a provocar pol�mica com um cartaz da s�rie �United Collors�.
-Desta vez, com uma camiseta branca furada a bala e empapada de sangue acima de cal�as militares.
-A empresa informou que a roupa era de Marinko Gagro, soldado croata-b�snio morto em julho do ano passado.
-�L'Osservatore Romano�, o jornal do Vaticano, qualificou a campanha de US$ 15 milh�es como �terrorismo de imagem�.
-Os franceses �Le Monde� e �Le Figaro� e o alem�o �Frankfurter Allgemeine� recusaram o an�ncio.
-Ilmar Galv�o e Moreira Alves votaram pela concess�o do mandato de seguran�a.
-Eles sustentaram que a ren�ncia interrompeu o processo de impeachment.
-Moreira Alves tamb�m votou a favor de Collor em outros dois mandatos de seguran�a, mas foi vencido nos dois julgamentos.
-Aquele pensamento provocou-me um arrepio estranho e delicioso.
-N�o falei nada, mas visualizei a Sra. Oke, sentada no sal�o amarelo, o mesmo sal�o onde nenhum Oke de Okehurst exceto ela ousava permanecer sozinho, envergando o vestido de sua antepassada e confrontando-se, por assim dizer, com aquela coisa vaga, plangente, que parecia permear o aposento ... aquela vaga presen�a -- assim me parecia do galante poeta assassinado.
-O filme �Barfly� (traduzido no Brasil como �Condenados pelo V�cio�) foi inspirado na vida de Bukowski.
-O escritor, identificado com a cultura beatnik, admitia somente ter sido inspirado por um outro autor da Calif�rnia, John Fante (�Pergunte ao P�, entre outros), que Bukowski descobriu nas suas leituras em bibliotecas p�blicas quando jovem.
-Michael Schumacher culpou um degrau existente nas zebras do circuito de Adelaide por seu acidente ontem no final da primeira sess�o de treinos oficiais.
-�Quando analisei a pista na quinta-feira, pedi � FIA que melhorasse as condi��es daquele ponto�, disse o alem�o.
-Na sua opini�o, o Estado n�o pode continuar em setores onde a iniciativa privada j� comprovou sua efici�ncia.
-Em entrevista � Folha, Angarita elogiou a iniciativa do Sindicato dos Eletricit�rios de S�o Paulo, que articulou uma a��o judicial para tentar suspender a venda de a��es da Eletropaulo.
-Cutler admitiu que as conversas entre funcion�rios da Casa Branca e do Tesouro sobre investiga��es sobre o banco de McDougal n�o eram �recomend�veis�, mas n�o constitu�ram crime.
-Essas conversas levaram em mar�o � demiss�o de Bernard Nussbaum, amigo da primeira-dama, do cargo de assessor jur�dico da Casa Branca.
-Fiske come�ou seu trabalho em 20 de janeiro.
-Comiss�o Parlamentar de Inqu�rito sobre o caso Whitewater come�a a funcionar dia 29.
-O relat�rio n�o diz se as reuni�es entre funcion�rios da Casa Branca e do Tesouro violaram a �tica.
-O secret�rio do Tesouro, Lloyd Bentsen, disse que a quest�o �tica vai ser examinada agora.
-S� o procurou tempos depois, quando o secret�rio de Assuntos Especiais, Eliezer Baptista, resolveu preparar o macroplanejamento do pa�s uma id�ia esplendorosa que, infelizmente, n�o resistiu ao impeachment de Collor e convocou Mour�o para sua equipe.
-Com medo de perder poderes, Modiano chamou Mour�o e, numa atitude mesquinha, comunicou-lhe que, como o financiamento do projeto seria bancado pelo BNDES, ele iria para l�, mas na qualidade de representante do banco.
-A tela de abertura do programa � simp�tica.
-Uma sala tem como �cones uma pilha de discos, um aparelho de som, uma enciclop�dia e uma janela que mostra a encruzilhada onde Robert Johnson teria feito um pacto com o diabo, trocando a alma pelo sucesso.
-�Peppermint Tea House -- The Best of Shoukichi Kina�.
-Lan�ado dentro do projeto �Asia Classics�, um subselo do Luaka Bop (o mesmo que lan�ou Tom Z� no exterior), essa colet�nea � mais um passo de Byrne na sua busca do sublime na m�sica.
-No primeiro volume de �Esses Byrne� mostrou soberbas trilhas sonoras de filmes indianos.
-Com Kina, ele chegou bem perto da perfei��o.
-Em todo o shopping, que est� decorado com lanternas, leques e at� um portal japon�s, h� exposi��es de iquebana (arranjos florais), bonecas, cer�micas, armaduras, m�scaras, quimonos e espadas.
-Em outro espa�o, h� exibi��o de v�deos que demonstram, por exemplo, a cerim�nia do ch� e o teatro kabuki, al�m de pontos tur�sticos do Jap�o.
-Pr�ximo � pra�a da alimenta��o, um sushiman estar� preparando pratos t�picos, como sashimis e o sushis, que estar�o � venda.
-Para isso, ele afirma pretender inaugurar uma c�mara setorial para discutir as quest�es espec�ficas da economia no Estado.
-Para atender � pol�tica desejada pelo governador eleito, Barelli vai comandar uma revis�o da antiga pasta (Secretaria das Rela��es do Trabalho).
-O economista diz que, para gera��o de empregos, v�rias propostas ter�o que ser analisadas.
-Segundo ele, �nem os grandes pa�ses souberam resolver o problema do desemprego�.
-Segundo ele, italianos e belgas j� descobriram que comprar im�veis em Natal � um �timo neg�cio.
-�Um diplomata da B�lgica comprou apartamento para passar as f�rias de julho e janeiro, mas fora desse per�odo ele aluga o im�vel por US$ 1.000�, diz Bezerra.
-Apesar de morarem aqui do lado em Miami, Teresa e Emerson Fittipaldi n�o d�o nem tchuns para a Copa.
-Pegam os dois pimpolhos Joana e Luca e se mandam para Lake Powell, Arizona.
-Para tanto � imprescind�vel priorizar algumas a��es como a recupera��o de unidades armazenadoras de cereais e das rodovias, al�m do incentivo � utiliza��o das ferrovias.
-Tamb�m � necess�rio alertar toda a sociedade para a import�ncia de se reduzir as perdas de alimentos.
-Aos horticultores � preciso oferecer informa��es de mercado seguras e atuais para a programa��o da produ��o e desenvolver novas alternativas para o acondicionamento e embalagem dos produtos.
-Helmet � brutal.
-� metal punk.
-Tem tamanho, peso intr�nseco que dispensa volume alto.
-A banda foi cortejada por v�rios selos multinacionais, que viam nela um poss�vel novo Nirvana.
-Acabou assinando com o Interscope, ligado � Warner, por US$ 1 milh�o por tr�s discos.
-Como notou o jornalista Jim Greer, da revista americana �Spin�, � uma boa grana, mas nada muito absurdo.
-�Meantime�, disco de estr�ia da banda no Interscope, vendeu 500 mil c�pias.
-As duas guitarras do Helmet atacam sempre juntas, em pequenas c�lulas separadas por um sil�ncio nunca menos que perturbador.
-Algo como um samba de breque transposto para o dom�nio eletrificado do rock.
-As letras ir�nicas, eruditas, denunciando que os m�sicos talvez tenham estudado um pouco demais s�o gritadas.
-N�o h� nenhuma �nfase na melodia.
-�O Helmet � uma grande se��o r�tmica�, definiu o baixista da banda, Henry Bogdan, em uma entrevista � �Spin�.
-M�todo japon�s exige calhama�os de exerc�cios; opositores dizem que 't�cnica peca pelo mecanicismo'.
-A matem�tica ainda � o �bicho de sete cabe�as� para grande parte dos estudantes do 1�. e 2�. graus.
-Na semana passada, a Secretaria Nacional de Direito Econ�mico baixou uma portaria, que aplica uma multa de 250 Ufirs (R$ 170) aos seis col�gios por cada matr�cula recusada.
-�A Justi�a foi aplicada porque o Estatuto da Crian�a e do Adolescente garante o direito de escolas a todas as crian�as�, disse M�rcia Mendes, presidente da Associa��os dos Pais de Alunos do Pit�goras, um dos seis col�gios acusados de recusar as matr�culas.
-O mesmo n�o se pode dizer da pintura de Cy Twombly.
-Da segunda gera��o de expressionistas abstratos, Twombly � tamb�m do segundo time.
-� um grande pintor, e sua �ltima fase � o que mais sustenta a afirma��o; mas � irregular, tem fracassos evidentes.
-Ainda que Robert Hughes, da revista �Time�, ache que o tema de Twombly � mesmo o fracasso, um fracasso � sempre um fracasso.
-�Os brasileiros escolhem Cardoso� foi o t�tulo na primeira p�gina.
-O jornal compara a elei��o presidencial brasileira � francesa, afirmando que o premi� Edouard Balladur, ex-favorito, tamb�m pode perder, em abril de 95.
-�A explica��o da reviravolta n�o reside em uma pretensa especificidade brasileira, que seria um coquetel de leviandade, inconst�ncia e pusilanimidade, tudo ao som de salsa�, ironiza o editorial.
-Os empres�rios abriram m�o de posi��es hist�ricas, eventualmente visando sua prote��o, para construir e defender id�ias exclusivamente de interesse coletivo para o desenvolvimento global.
-Folha -- Quais s�o as implica��es que o encerramento da revis�o traz para a economia?
-Resposta -- J� pedimos a cria��o de um conselho para produzir essa defini��o.
-� medida que o grupo de servi�os que entram nos lares e nas empresas evolui, a defini��o de servi�o universal vai evoluir tamb�m.
-Deve haver, no m�nimo, uma linha digital chegando a cada casa, mas acho que servi�o universal deveria significar muito mais do que isso, mais do que o fio.
-Amato -- O cen�rio ideal para o Plano Real seria a vit�ria inequ�voca de um dos candidatos j� no 1� turno das elei��es.
-Folha -- Quem vence?
-�Eu tenho uma origem pol�tica.
-Meu av� materno foi prefeito de Limeira, meu pai foi duas vezes prefeito de Itapira, onde passei toda minha inf�ncia.
-Desde cedo fui orador da turma, sempre gostei de declamar.
-Da� a alguns anos, os Gershwins foram para Hollywood, a fim de fazer o que intimamente desprezavam: escrever can��es para filmes.
-Mas, mesmo que quisessem n�o conseguiriam fazer nada �menor�.
-Num �nico ano, 1937, eles compuseram �They Can't Take That Away From Me�, �Let's Call the Whole Thing Off�, �A Foggy Day�, �Nice Work if You Can Get it�, �They All Laughed�, �Love Walked In�' e �Love Is Here to Stay�', e essas s�o apenas as que ficaram universalmente conhecidas.
-Infelizmente, 1937 seria tamb�m o �ltimo ano de George, porque ele morreria em julho, de um tumor cerebral, aos 38 anos.
-A desgra�a � que, cientificamente, como demonstra a moderna criminologia, quase nada dessa pol�tica criminal �simb�lica� serve para atenuar o grav�ssimo problema da criminalidade.
-A interven��o militar �localizada�, que pode imediatamente oferecer algum al�vio, tem como efeito principal o seguinte: o crime s� muda de lugar.
-Com a interven��o no Rio, que se cuide o resto do pa�s!
-Quarenta por cento dos gerentes japoneses est�o insatisfeitos com os sal�rios recebidos, segundo pesquisa divulgada por um instituto privado em T�quio.
-Cerca de 72 % dos empres�rios da constru��o querem que o pr�prio setor negocie a convers�o dos contratos para a URV, enquanto 28 % desejam que o governo estabele�a as regras.
-Folha Qual a sa�da?
-Broz N�o tenho a receita exata, tenho a certeza de que algo precisa ser feito diante do confronto entre nacionalismo alban�s e s�rvio.
-O candidato deu r�pida entrevista no sagu�o do aeroporto e dirigiu-se ao Hotel Delmonicos, na Park Avenue, em Manhattan, onde a di�ria � de US$ 195 (CR$ 253 mil) no fim de semana e US$ 250 (CR$ 325 mil) de segunda a sexta-feira.
-Lula e outros 20 convidados almo�aram a convite do c�nsul-geral do Brasil em NY, Marco Cesar Meira Naslausky, no restaurante Peter Luger Steak House, tradicional no bairro do Brooklin.
-A conta, paga pelo embaixador, ultrapassou US$ 1,4 mil (CR$ 1,8 milh�o).
-A li��o parece clara em ambos os casos: n�o ser� um artif�cio legal nem a boa vontade dos governos que proteger�o a riqueza dos poupadores ou o poder de compra dos assalariados, mas sim um ambiente de estabilidade econ�mica consistente.
-Pelas raz�es alinhadas, que n�o refletem apenas conjeturas te�ricas, mas a experi�ncia duramente vivida pela na��o nas �ltimas duas d�cadas, se imp�e dar um basta definitivo a todos os remanescentes de indexa��o formal, sejam eles nas taxas de juros nominais (TR), no recolhimento dos tributos (Ufir e correlatos) e nos sal�rios (IPC-r).
-O castelo de cartas ruiu logo.
-H� uma esquerda reformista no PSDB.
-Mas ela parece ser mera exce��o.
-Agora, o partido retirou a m�scara.
-Mostrou que a maioria dos seus pol�ticos profissionais cuja respeitabilidade n�o pode ser posta em d�vida oscilava entre o centro nacionalista e os radicais do PMDB.
-Considerados globalmente, n�o faziam diferen�a.
-Eram o retrato do cora��o e do c�rebro deste partido.
-Nada mais!
-O tancredismo concedeu ao seu principal te�rico, professor e senador Fernando Henrique Cardoso, a oportunidade de esbo�ar a filosofia pol�tica do mudancismo.
-Na pr�tica, os que iriam constituir o cerne e a base do partido iam mais longe: condenavam o autoritarismo, o oportunismo, o clientelismo e o fisiologismo.
-Ostentavam um patamar aparentemente s�lido, que evidenciava a radicalidade dos estratos m�dios e dos intelectuais envolvidos na rejei��o do �status quo�.
-Na largada, Ayrton Senna, que havia feito a pole position, manteve a primeira coloca��o.
-Por causa de um acidente envolvendo o finland�s J.J. Letho, da Benetton, e o portugu�s Pedro Lamy, da Lotus, o �safety car� entrou na pista.
-Durante seis voltas, os pilotos tiveram que manter suas posi��es por raz�es de seguran�a e aproveitavam para aquecer os pneus enquanto os carros envolvidos no acidente eram retirados.
-O �caso Paubrasil� j� rendeu � Receita Federal, segundo o coordenador-geral de fiscaliza��o do �rg�o, Luiz Henrique Barros de Arruda, cerca de US$ 1,5 milh�o em cr�dito tribut�rio -- a soma do imposto devido, multas, corre��o monet�ria e juros de mora -- de cerca de 20 empresas envolvidas no esc�ndalo que procuraram a Receita espontaneamente.
-Essas empresas, diz Arruda, reconheceram ter emitido �notas frias�, sem o recebimento de nenhum servi�o da empresa do pianista Jo�o Carlos Martins e de seu s�cio Ettore Gagliardi.
-Os jogadores do Palmeiras treinam �s 9h, no Centro de Treinamento.
-O treino deve ser s� recreativo.
-Depois do treino, os jogadores voltam ao Lord Hotel, onde est�o concentrados desde a noite de ontem.
-Interessado em organizar um livro de arte sobre viajantes, Ronaldo Gra�a Couto, da produtora Metav�deo/Metalivros, tomou conhecimento da pesquisa e procurou Belluzzo.
-Couto procurou a Odebrecht.
-Entre 40 outras id�ias, �Brasil dos Viajantes� foi selecionado para comemorar os 75 anos de atividade do grupo empresarial.
-Como naquela �poca ainda n�o existia a fotografia, eram os pintores que faziam os retratos das fam�lias.
-Rembrandt era o preferido das pessoas mais importantes.
-Ele era t�o bom artista, que muitos pintores quiseram aprender a pintar com ele.
-O livro �Apresentando Rembrandt -- Pintor, Gravador, Professor� (editora Klick), de Alexander Sturgis, conta muitas outras coisas sobre a vida e as obras do pintor.
-O governo do Estado realizar� um concurso p�blico para preencher 200 vagas de agente fiscal.
-As inscri��es come�am no pr�ximo dia 12, nas ag�ncias dos Correios.
-A taxa � de CR$ 4.300,00.
-Cerca de 20 mil pessoas fizeram cursos proficionalizantes no Senac (Servi�o Nacional de Aprendizagem Comercial) no ano passado, na Para�ba.
-Segundo o diretor regional da entidade, Glauco Pereira Chaves, a crise no mercado de trabalho estaria dificultando o aproveitamento dos formandos.
-Tudo indica que os telejornais da Globo v�o ganhar novo rep�rter especial.
-Antes de estrear como editor senior da �Playboy�, Nirlando Beir�o fez uma s�rie de testes de v�deo.
-Cientistas dos EUA confirmaram ontem em Quito (Equador) a contamina��o causada por atividades petrol�feras na Amaz�nia equatoriana.
-Segundo eles, casos de doen�as de pele em �ndios estariam relacionados � contamina��o.
-O Centro para Direitos Econ�micos e Sociais e m�dicos da Universidade Harvard informaram que amostras de �gua t�m n�veis entre 10 e 1.000 vezes maiores que os recomendados pela Ag�ncia de Prote��o Ambiental dos EUA.
-Para tentar resolver o problema do tr�fico de drogas e da viol�ncia no Rio de Janeiro, o governador do Rio e o Presidente da Rep�blica chamaram o Ex�rcito.
-Agora, os soldados e a pol�cia est�o trabalhando juntos para prender os traficantes.
-Eles est�o fazendo uma �guerra� contra o tr�fico.
-S� quando h� problemas muito graves, como o do Rio, o Ex�rcito � chamado para ajudar.
-Quando Jos� Sarney come�ou a escrever semanalmente para a Folha, chegaram protestos � reda��o.
-Como aceitar que, depois de uma passagem t�o ruim pela Presid�ncia, Sarney dispusesse de espa�o privilegiado no jornal?
-O tom familiar, coloquial, benigno de suas cr�nicas (agora reunidas em �Sexta-feira, Folha�, ed. Siciliano) foi pouco a pouco vencendo as resist�ncias do p�blico.
-Como cronista, Sarney toma o cuidado de n�o indignar ningu�m, e � dif�cil antipatizar com ele.
-Como a separa��o das marcas � tida como uma tend�ncia irrevers�vel, caberia � Volkswagen construir sua pr�pria f�brica.
-A TV-A atribui ao Plano Real a conquista de 17 mil assinantes em outubro, contra a m�dia de 10 mil assinaturas/m�s no in�cio do ano.
-Segundo o ministro, os juros desses empr�stimos ser�o compat�veis com os praticados no mercado internacional (8 % a 12 % ao ano).
-Ciro n�o quis confirmar se a TR (Taxa Referencial) deixar� de corrigir esses financiamentos.
-Ciro minimizou a estimativa de infla��o de 3% em outubro, de acordo com a Fipe.
-�A pr�pria Fipe prev� que em novembro isso tudo passa e a infla��o cai�, disse.
-Na segunda seguinte, o dia 4 ao dia 8, os bancos ficar�o abertos at� uma hora ap�s o expediente normal, apenas dez delegacias regionais do Banco Central e em ag�ncias do Banco do Brasil encarregadas de entregar o real aos demais bancos.
-A distribui��o acontecer� at� o final do m�s, partindo das capitais para o interior do pa�s.
-Cada banco buscar� no BC ou no BB o volume de dinheiro compat�vel com suas opera��es.
-Apenas 5 milh�es de contribuintes haviam entregue sua declara��o de Imposto de Renda at� ontem pela manh�.
-A estimativa da Receita Federal era receber 7 milh�es de declara��es.
-O n�mero final do total de declara��es entregues s� deve ser divulgado na pr�xima semana.
-Os 12 computadores da Future Kids oferecem jogos educativos que treinam o racioc�nio l�gico.
-No estande da Tec Toy h� tr�s consoles Mega Drive, al�m de um Master System e quinze cartuchos de jogos.
-As crian�as podem ficar 15 minutos em cada um dos jogos.
-Caso n�o haja fila, o per�odo de uso pode ser maior.
-A partir do dia 17, a Playtronic tamb�m ter� um estande no Iguatemi.
-Quatro meses depois do atentado, o governo argentino ainda n�o conseguiu avan�ar nas investiga��es sobre o atentado.
-No in�cio do m�s, o presidente Carlos Menem criou um fundo especial de US$ 1 milh�o para recompensar quem fornecesse informa��es que ajudem nas investiga��es.
-Quando os brit�nicos retomaram o Egito em 1801 a pedra foi parar no Museu Brit�nico, mas os franceses fizeram c�pias dela.
-O resultado foi que um franc�s, Jean-Fran�ois Champollion, que s� visitou o Egito em 1828, foi o primeiro a decifrar os hieroglifos.
-Uma carta de Champollion de 1822 � Academia de Inscri��es e Belas Artes, mostrando seus resultados, � o nascimento da egiptologia, segundo Vercoutter.
-Hoje, a praia ganhou nova infra-estrutura com bares, quiosques, sistema de ilumina��o, banheiros e quadras de esportes.
-Os jovens t�m se encontrado em Atalaia, principalmente entre quarta-feira e domingo, quando s�o realizados jogos de voleibol.
-A verdade � simples.
-Lula cresceu e prosperou enquanto tudo dava errado no pa�s.
-F�cil subir nos palanques, defendendo que � necess�rio �mudar tudo o que est� a�.
-Seu sucesso estava, essencialmente, sustentado no fracasso.
-No clima de sinistrose, as fragilidades do PT n�o ficaram t�o vis�veis � opini�o p�blica: a dificuldade de se fazerem alian�as capazes de sustentar Lula quando virasse presidente; os aloprados que conquistaram posi��es estrat�gicas no partido; a falta de generalizada convic��o sobre o valor da democracia.
-No final da reuni�o, o premi� italiano, Silvio Berlusconi, leu um documento de 45 par�grafos, pelo qual 140 pa�ses consideram que o crime organizado � o maior inimigo das democracias.
-Segundo n�meros da ONU, os cart�is do crime como a M�fia, a Yakuza japonesa e os cart�is de Cali e Medell�n, na Col�mbia, faturam anualmente US$ 750 bilh�es em atividades il�citas.
-Os �contratos de gaveta�, vistos pela CPI como mais um ind�cio de que as empreiteiras atuavam em cartel, s�o compromissos sigilosos entre as empresas.
-O sigilo � uma das exig�ncias contratuais.
-Al�m do contrato com a Servaz, h� outros do mesmo tipo, envolvendo mais empreiteiras.
-Os documentos foram encontrados em papel ou retirados de disquetes apreendidos na casa de Ailton Reis, diretor da Odebrecht.
-Com a Servaz, segundo o documento obtido pela Folha a Odebrecht acerta o pagamento de US$ 110 mil mais uma porcentagem referente a obras de abastecimento de �gua em Roraima, ainda a serem licitadas.
-Al�m disso, tem que se alterar o aparato jur�dico para favorecer a��es de negocia��o.
-Todo esfor�o deve ser no sentido de transformar o local do trabalho em primeira inst�ncia do processo trabalhista, com o poder de compor conflitos.
-S� assim se evitar� a estratifica��o da legisla��o, permitindo que o sistema acompanhe de maneira din�mica as transforma��es na economia.
-A Justi�a do Trabalho passaria a tratar apenas dos conflitos individuais, que n�o sejam resolvidos no pr�prio ambiente de trabalho.
-H� a necessidade de uma representa��o permanente do trabalhador que converse com o empregador e signifique garantia de que n�o haver� persegui��o aos negociadores, diz Siqueira.
-Foi enterrado ontem de manh� no cemit�rio Chora Menino, em Santana (zona norte de S�o Paulo), o ex-chefe do Departamento de Fotografia da Folha Waldemar Cordeiro, 63.
-Cordeiro morreu devido a complica��es decorrentes de um enfisema pulmonar (diminui��o da �rea dispon�vel para troca de ar nos pulm�es).
-A patinadora Tonya Harding, banida das competi��es por ter planejado atentado contra a rival Nancy Kerrigan, ser� o destaque de setembro da revista �Penthouse�.
-Segundo o jornal �USA Today�, a revista publicar� fotos nas quais Harding aparece mantendo rela��es sexuais com seu ex-marido, Jeff Gillooly.
-A legisla��o prev� multa de 300% sobre o valor da venda para quem se recusar a emitir a nota.
-Depois, haver� campanha de fiscaliza��o e aplica��o de multas para quem for pego em flagrante.
-O objetivo da campanha � aumentar a arrecada��o dos impostos.
-� gratificante exibir opini�es progressistas, dessas que fazem chover cartas de apoio no �Painel do Leitor�.
-A verdade, por�m, n�o d� cartas nem votos.
-A verdade ofende �somos uns bo�ais�.
-O fato � que o caos sangrento de nossas ruas � o resultado conjunto de nossas pr�prias a��es, embora ningu�m individualmente tenha a inten��o de produz�-lo ou sequer tenha poder para isso.
-A responsabilidade � a um s� tempo de todos e de ningu�m.
-N�s, motoristas, pais e jovens brasileiros, somos os piores inimigos de n�s mesmos.
-� um equ�voco reduzir a liberaliza��o comercial ao neoliberalismo.
-Afinal, a abertura come�ou na economia brasileira movida por considera��es pragm�ticas e objetivas.
-Simplesmente tornara-se imposs�vel, por raz�es tecnol�gicas, comerciais e financeiras, estimular o desenvolvimento com base na substitui��o de importa��es.
-Tal pol�tica convertera-se, com o avan�o da globaliza��o econ�mica, em sin�nimo de prote��o ao atraso, ao desperd�cio e � inefici�ncia.
-O governo agora apenas antecipou uma rodada de redu��o de tarifas prevista para janeiro de 95.
-E, com essa medida, pode matar dois coelhos.
-De um lado refor�a a estabiliza��o, pois qualquer eventual aumento irrespons�vel de pre�os depara-se agora mais rapidamente com a concorr�ncia de similares importados; de outro, ajuda a aliviar a supervaloriza��o do real, pois quanto mais importa��es houver, maior ser� a procura por d�lares.
-Fazer avan�ar uma reforma estrutural (como a abertura da economia) e, ao mesmo tempo, calibrar um processo de estabiliza��o n�o � por�m uma tarefa f�cil.
-Resta portanto saber se as medidas anunciadas, em tese adequadas, ter�o na pr�tica o efeito que se espera.
-Com o d�lar comercial j� a R$ 0,85 e o governo dizendo que n�o h� limite para baixo, a necess�ria abertura pode involuntariamente desaguar num arriscado escancaramento.
-O livro de Marilena Ansaldi tamb�m oferece detalhes sobre uma das mais bem-sucedidas experi�ncias culturais de S�o Paulo: o Teatro da Dan�a, que funcionou a partir de 1975 na Sala Gil Vicente do Teatro Ruth Escobar.
-Esse palco, al�m de revelar in�meros talentos que depois se �refugiaram� na Europa, como Sonia Motta, serviu para Marilena inaugurar a fase mais f�rtil de sua carreira.
-BRIZOLA � O 3� NO RIO, com 13 % .
-Estava vivo o sentimento �tnico e nativista.
-Seu instrumento de ser ouvido era a for�a da viol�ncia.
-Em dois pa�ses esses �ndios ainda n�o esqueceram o trauma da conquista: Cort�z, no pr�prio M�xico, e Pizarro, no Peru.
-� o del�rio que alimenta o Sendero Luminoso.
-� a vigorosa hist�ria mexicana que surpreende em Chiapas.
-O acordo n�o se tornou p�blico, mas, agora, se sabe que foram feitas muitas concess�es pol�ticas.
-Nas grandes cidades, multid�es imensas sa�ram �s ruas em apoio aos rebeldes.
-A rebeldia n�o � a revolu��o, como bem acentua Octavio Paz.
-A rebeldia � um ato pessoal; a revolu��o � uma manifesta��o coletiva.
-Mesmo asim, Van Himst pretende surpreender a defesa saudita, colocando dois atacantes velozes.
-Al�m do zagueiro Grun e do centroavante Weber, o lateral-esquerdo Vital Borkelmans encontra-se tamb�m com um cart�o amarelo e pode ficar de fora hoje.
-Eles se intitulavam filiais da MIT Dealing Management Inc., dos Estados Unidos.
-A empresa norte-americana informou � PF que n�o tem filiais ou representantes no Brasil.
-A MIT brasileira n�o aplicava o dinheiro.
-O golpe foi denunciado por funcion�rios da empresa.
-A a��o da PF come�ou �s 16h30 de anteontem e s� terminou ontem �s 15h30.
-A MIT operava no mercado desde junho passado.
-A PF ainda n�o levantou os n�meros exatos do golpe, mas acredita que pelo menos cem pessoas tenham perdido seu dinheiro.
-Em n�vel internacional, h� um processo de conglomeriza��o de empresas que, ao permitir a integra��o de softwares, conferiu aos grandes grupos vantagens expressivas sobre os independentes.
-Tem que se pensar, para o Brasil, em uma empresa com modelo acion�rio flex�vel, que permita incorporar, em uma �nica marca, os esfor�os individuais desses criadores e dispor da sinergia necess�ria para investir no mercado internacional.
-O jogador disse que antes de voltar � Espanha visitar� o Estado onde nasceu, a Bahia.
-Ontem levou, no Rio, os dois filhos a uma visita de rotina ao pediatra.
-�Se sentir que h� um desejo coletivo, ele vai encaminhar as emendas constitucionais�, disse Luiz Henrique ap�s uma hora de conversa com Itamar, ontem, no Planalto.
-Luiz Henrique disse que o PMDB vai procurar os presidentes e l�deres dos outros partidos em busca do consenso sobre a vota��o da reforma fiscal e tribut�ria.
-A aprova��o das emendas � considerada essencial para o Plano Real.
-O corredor come�ar� na marginal Tiet�, na altura do Cebol�o, passar� pelo Ceagesp, pra�a Panamericana, Faria Lima, Lu�s Carlos Berrini e terminar�, por enquanto, no shopping Morumbi.
-O escrit�rio de J�lio Neves j� come�a a preparar novos estudos para o prolongamento deste corredor al�m do shopping Morumbi, em dire��o � ponte do Socorro.
-N�o sei se fui claro: seria mais f�cil um pinguim cruzar tr�s Saaras do que FHC comer carne de bode espremido a um magote de sertanejos suados.
-Compreendeste?
-N�o fosse a elei��o, d. Luciano Mendes teria de negar Cristo tr�s vezes para que nosso senador empuleirasse no lombo de um cavalo, envergando aquele chap�u de cangaceiro.
-O caso de Lula � semelhante.
-O candidato do PT bateu na trave em 89.
-Agora imagina que � chegado o momento.
-Sente o bafejar da sorte a acariciar-lhe a cara.
-Os metal�rgicos do Estado de S�o Paulo da base da For�a Sindical (data-base em novembro) romperam negocia��o com os setores de autope�as, forjaria e parafusos e preparam greve.
-Os empres�rios ofereceram 10,4 % em novembro para S�o Paulo, Osasco e Guarulhos e 6 % mais 6,27 % em mar�o para o interior.
-A categoria pede 69,69%.
-O Sindicato dos Metal�rgicos do Rio e do Grande Rio (data-base em outubro) se re�ne hoje com representantes da Firjan (federa��o das ind�strias do Rio) pela primeira vez desde o in�cio da greve da categoria, na ter�a-feira.
-O sindicato pede 99% e os empres�rios oferecem 13,56%.
-A greve �por empresa� atingia ontem sete empresas e 12 mil empregados.
-O governador da Fl�rida, Lawton Chiles, 63, resolveu processar o governo dos EUA para recuperar os US$ 739 milh�es anuais que ele diz estar gastando em despesas com imigrantes ilegais em seu Estado.
-Ele acusa o governo federal de n�o cumprir bem sua miss�o de impedir a entrada no pa�s de estrangeiros e de n�o repor o dinheiro gasto pelos Estados com eles.
-A decis�o tem evidentes objetivos eleitorais.
-Chiles, que pertence ao Partido Democrata e ao mesmo grupo neoconservador que ajudou Bill Clinton a chegar � Casa Branca, vai tentar se reeleger em novembro deste ano.
-Sua popularidade est� mais baixa do que nunca e um de seus poss�veis oponentes � filho de George Bush.
-O governo se comprometeu a n�o �garfar� a poupan�a, nas palavras do presidente do BC.
-Estabeleceu que as tarifas p�blicas v�o todas marchar ao compasso da URV at� meados de maio.
-Depois ser� a vez dos financiamentos rurais e, no in�cio de junho, acenar� os rumos que poder�o tomar os pontos fundamentais do plano a pol�tica monet�ria e a pol�tica cambial.
-Ao justificar sua necessidade, o presidente da Rep�blica abriu uma fresta para a realidade na propaganda sobre as virtudes da URV.
-Mesmo indexado, �o sal�rio convertido em cruzeiros reais continua a ser corro�do pela infla��o�.
-Mais de 110 mil pessoas assistiram � partida, no est�dio Santiago Bernabeu.
-O atacante Rom�rio n�o atuou bem.
-Afastado de seu companheiro de ataque, Stoichkov, pegou pouco na bola.
-Para Itamar, Stepanenko 'est� perdido'.
-O presidente Itamar Franco disse ontem que o ministro Alexis Stepanenko (Minas e Energia) autor de v�rios bilhetes pedindo apoio ao candidato Fernando Henrique Cardoso �est� perdido�.
-�Ele est� perdido na China�, disse Itamar, com bom humor.
-Stepanenko viajou para a China h� uma semana e deve voltar na sexta-feira.
-A demiss�o do ministro � dada como praticamente certa.
-Ir a uma feira livre serve de aula para os principiantes aprenderem a comprar frutas, legumes e verduras mais baratos e de melhor qualidade.
-Mas � preciso disposi��o para andar a feira toda, com caderno e l�pis na m�o, comparando os pre�os dos produtos.
-O advogado Mariano Gon�alves Neto, autor da a��o popular que se arrasta h� 12 anos, acusa os ex-ministros de aprovarem uma superavalia��o dos terrenos entregues pelo grupo Delfin como pagamento de uma d�vida que, em 1982, chegava a Cr 70 milh�es.
-O ex-ministro da Fazenda Ernane Galv�as (governo Figueiredo) disse que sua participa��o no epis�dio limitou-se a um �de acordo� no processo que teria vindo pronto do Banco Nacional de Habita��o, subordinado na �poca ao Minist�rio do Interior.
-O epis�dio � emblem�tico do tipo de pol�tica externa exercitada pelo governo Clinton e ajuda a explicar por que ela � t�o mal avaliada.
-At� agora, o Bradesco Visa financiava em at� quatro parcelas, com os juros cobrados sobre os cruzeiros reais.
-Para o lojista, a nova modalidade n�o traz mudan�a alguma.
-Ele receber� o valor � vista ap�s 30 dias.
-O candidato � Presid�ncia pelo PT (Partido dos Trabalhadores), Luis In�cio Lula da Silva, � o convidado de Mar�lia Gabriela no �Cara Cara�.
-CARA CARA Bandeirantes, 0h.
-Marco Antonio Nahum, advogado dos canadenses, nega que o premi� venha ao Brasil tratar da expuls�o.
-�Isso ainda n�o ficou acertado pelo governo canadense�, disse.
-A fam�lia de Christiane j� gastou aproximadamente US$ 1 milh�o para tentar a sua liberta��o.
-Contratou a empresa Winfreys, a maior especialista em atividades de lobby, em todo o Canad�.
-Terminado o Mundial, todas as aten��es das sele��es j� se voltam para a Olimp�ada de Atlanta.
-Um exemplo � o t�cnico norte-americano, Taras Liskevich, que n�o esconde seu objetivo: conquistar a medalha de ouro ol�mpica.
-Para isso, a comiss�o t�cnica n�o se cansa de estudar os outros times.
-Nesta temporada, um dos mais visados foi o Brasil.
-Ele filmaram todos os jogos das brasileiras.
-A d�cada de 90 n�o tem sido boa para a China.
-O time, que nos anos 80 dominou o v�lei feminino, voltou a decepcionar no Mundial.
-Novamente, n�o conseguiu ficar entre os quatro melhores.
-Em 92, na Olimp�ada de Barcelona, as chinesas terminaram em s�timo lugar, coloca��o que provocou grandes mudan�as na equipe.
-O Santo Andr� perdeu por 2 a O para o Rio Branco, de Americana, ontem � tarde no est�dio Bruno Jos� Daniel, em Santo Andr�.
-Para o Rio Branco, bastou o primeiro tempo do jogo para determinar o resultado.
-Souza, ponta-esquerda do time de Americana, abriu o marcador aos 25min.
-Paulo Cesar, cobrando falta na cabe�a da �rea, fechou o marcador aos 43min, sem chances de defesa para o goleiro S�lvio, do Santo Andr�.
-Para se ter uma id�ia, no Brasil a melhor marca � de Hilma, com 3,12 m..
-N�o por acaso, o t�cnico Bernardinho diz que o time cubano ataca do terceiro andar.
-Parar esse ataque no bloqueio � uma miss�o quase imposs�vel.
-O presidente Itamar Franco tem, como qualquer cidad�o brasileiro, o direito de apoiar a candidatura para a Presid�ncia da Rep�blica de quem bem entender.
-Pode tamb�m cobrar dos membros de sua administra��o que ap�iem o seu candidato ou deixem o governo.
-Ainda assim, os planos do Planalto de dedicar apoio total ao ex-ministro Fernando Henrique Cardoso, como esta Folha revelou na edi��o de ontem, esbarram em problemas.
-Embora n�o ocorra no Brasil h� muito, � absolutamente normal, nos pa�ses de maior tradi��o democr�tica, que o governo tenha um candidato e o ap�ie.
-Ronald Reagan n�o poupou esfor�os para eleger seu vice, George Bush, presidente dos Estados Unidos, em 1988.
-A defesa apresentar� o �recurso extraordin�rio� no �ltimo dia do prazo: tr�s dias �teis ap�s a publica��o no Di�rio da Justi�a da decis�o do TSE sobre o �embargo declarat�rio� pedido pelos advogados de Lucena.
-Os advogados de Lucena calculam que isso n�o deve ocorrer antes de ter�a ou quarta, com Lucena j� eleito, segundo acreditam.
-O embargo � uma medida para que o TSE admita a constitucionalidade da quest�o o que permite que o assunto seja levado ao STF.
-FHC -- N�o h� temor de recess�o.
-N�o estamos fazendo pol�tica recessiva.
-N�o estamos diminuindo investimentos do setor privado e, no setor p�blico, o BNDES est� mudando a orienta��o de investimentos do Nordeste.
-Estamos num ciclo de expans�o.
-Folha -- Mas no momento em que a nova moeda for criada, se os pre�os forem convertidos no pico, n�o ser� necess�rio um aperto monet�rio, uma recess�o tempor�ria?
-A ag�ncia de comunica��o �Free Press�, do comit� do candidato Fernando Henrique Cardoso (PSDB-PFL-PTB), reconheceu ter errado na divulga��o de uma entrevista do diretor para Assuntos Internacionais do Banco Central, Gustavo Franco, concedida a ela como pe�a de campanha.
-Na sua defesa encaminhada ontem ao TSE, ela admitiu ter cometido um �erro de interpreta��o� na produ��o da reportagem na qual Franco afirma que o PT, caso ganhe as elei��es presidenciais, pode dar �um calote na d�vida interna�.
-Promotor p�blico, procurador da Justi�a e um dos criadores da Comiss�o Justi�a e Paz da Arquidiocese de S�o Paulo, Bicudo lista como outras prioridades temas de sua especialidade: a reforma da Justi�a e do sistema penitenci�rio.
-Folha -- Quais s�o suas linhas priorit�rias de atua��o na C�mara dos Deputados?
-Para tentar se recuperar do jet lag e da correria da exposi��o do marido no Yerba Buena, Regina Cas� fez ontem sa�da pela tangente.
-Junto com seu guapo Luiz Zerbini, foi at� Muir Woods um bosque nas imedia��es da cidade, onde s� queria era abra�ar �rvores de prefer�ncia, enormes sequ�ias.
-O grupo P�o-de-a��car, 2� maior rede de supermercados do pa�s, iniciou negocia��es para a aquisi��o das 27 lojas G.Aronson, todas localizadas em S�o Paulo.
-A Folha confirmou os entendimentos junto a empres�rios do setor de eletrodom�sticos e a funcion�rios do P�o-de-a��car.
-Oficialmente, a rede nega.
-Folha -- Em torno dele n�o estavam pessoas que hoje est�o na sua candidatura?
-FHC -- Certamente, e da�?
-O candidato do PT apresentou o vice de seu principal advers�rio como algu�m �identificado com o autoritarismo�.
-At� aqui, os tiros de Lula parecem n�o ter abalado o alvo.
-�Meu passado muito me orgulha�, d� de ombros Maciel.
-O governador se convenceu ainda de que, se abandonassse a candidatura, poderia se tornar ref�m de Qu�rcia e perderia o poder de influ�ncia na escolha do candidato do PMDB.
-A declara��o de Fleury de que continua candidato n�o convenceu alguns prefeitos que o acompanhavam.
-�Ele j� est� abra�ando a candidatura Qu�rcia�, disse Itamar Borges (PMDB), de Santa F� do Sul.
-Fleury aproveitou a viagem para responder ao ex-secret�rio Jos� Machado de Campos Filho, que o chamara de traidor por n�o apoiar Qu�rcia.
-�Para quem quer ser candidato ao Senado, faltou bom senso e ju�zo�, disse.
-Ao visitar a ponte rodoferrovi�ria de Rubin�ia, criticou o deputado quercista Alberto Goldman (PMDB-SP), ex-ministro dos Transportes.
-�Ele veio aqui e liberou US$ 5 milh�es, 1% do valor da obra.�, declarou.
-Colaborou Aur�lio Alonso, da Folha Norte.
-Apesar de todas as restri��es, a esmagadora maioria dos consultados (86%) acredita que Lula tomar� posse sem resist�ncia de qualquer setor da sociedade.
-H� uma pequena parcela, no entanto, que � catastrofista ao ponto de afirmar que Lula sequer conseguir� tomar posse.
-S�o apenas 2%.
-Para outros 9%, haver� resist�ncias mas n�o a ponto de inviabilizar a posse.
-Burle Filho disse que combinou a ida de seu auxiliar ap�s telefonar para seu colega carioca, Ant�nio Carlos Biscaia.
-Segundo Burle Filho, Biscaia n�o lhe adiantou nada por telefone sobre o assunto.
-�Queremos saber se o bicho de S�o Paulo e o do Rio s�o ramifica��es de uma grande organiza��o criminosa.
-Ao mesmo tempo, estamos esperando den�ncias sobre a atua��o dos bicheiros paulistas�, disse Burle Filho.
-Mas o deixaram partir.
-Infante -- E pagaram as passagens.
-Me deram uma licen�a de dois anos, acreditavam que o ex�lio ia me neutralizar.
-Tinha uma fam�lia para sustentar, e pensavam que isso me impediria de fazer qualquer coisa.
-Pensavam que meu livro �Tr�s Tristes Tigres� seria recebido sem grande estardalha�o.
-Outro lado de Lara: ela estudou canto l�rico, adora m�sica e costuma cantar em shows e jam sessions com amigos.
-Como fazia em Madri.
-A id�ia para o livro surgiu ap�s uma entrevista que Andr�a fez em meados de 93 para o �Tokyo Journal� com o jogador Zico, � �poca atuando no Kashima.
-�O editor da revista me telefonou e deu a id�ia.
-Fizemos um projeto e comecei a elaborar a estrutura do livro�, diz Andr�a.
-Nos fundos de commodities h� liquidez di�ria ap�s 30 dias.
-Na transi��o para o real, s�o mais recomendados os fundos de renda fixa DI (Dep�sito Interfinanceiro).
-RIO DE JANEIRO Aos trancos e barrancos, eis que mais uma vez o pa�s tenta dar um passo em dire��o a um futuro mais feliz.
-O panorama � assustador: amea�a de greve, possibilidade de hiperinfla��o e descontrole de pre�os, perda salarial, nuvens negras para todos os lados.
-Exercendo o direito de n�o estar a favor ou contra ningu�m, gostaria aqui de remar contra a mar� e pasmem manifestar meu otimismo.
-Por que n�o?
-Se h� um artigo em falta no mercado hoje todo tipo de mercado, diga-se � o otimismo.
-Por que n�o ousar ainda que ingenuamente esperar que as coisas desta vez se ajeitem?
-Olha o Carnaval de sal�o!
-S� bela!
-S� piranha!
-S� lulite!
-�Eu n�o s� lulite, s� gostosa�.
-Rarar�!
-E bomba!
-Bomba!
-Sim�o Emerg�ncia!
-Um camel� cearense inventou o kit Aids: um par de joelheiras e 45 camisinhas!
-Rarar�!
-Come�ou a esculhamba��o?!
-� Carnaval!
-E os nomes dos blocos?
-Balan�a Rolha, Sacode a Rosquinha e Peru Esperto!
-�Bloco da Galinha Azul Solta a Franga�.
-�Alpinista Sexual s� Scala Monte L�bano�.
-�N�o, eu vou pescar�.
-�Ah bem, pensei que voce ia pescar�.
-� mole?
-� mole mas sobe!
-Principalmente no Carnaval!
-T� no ar mais uma cal�nia do Macaco Sim�o!
-Pior � o Itamar que ficou intoxicado com o pr�prio pastel�o!
-Nervosas!
-Atacadas!
-Inadimplentes do sexo em geral!
-Tem pelad�o no sal�o!
-Os Piranhos do Kung Fu invadem o sal�o!
-Essa � a grande novidade do Carnaval 94: os pelad�es.
-Antes o Scala e o Monte L�bano s� contratavam peladas.
-Depois do Clube das Mulheres (em Portugal, Clube das Bigodudas) os pelad�es invadem os sal�es.
-Gente, � cada piranh�o!
-Parece remador de porta avi�o!
-E bem Clube das Mulheres: sunga, punho e gravatinha.
-E eu sei que � tudo bofe mas parece tudo gay.
-Capa da revista �Honcho�.
-Est�tica gay!
-Um rinoceronte de sunga � mais sexy!
-Pelo menos agora na televis�o tem pra todo mundo.
-No Brasil n�s j� estamos com oito tipos de op��o sexual: perua, bofe, bofeca, boneca, traveca, hermafrodita, drag queen e drag king.
-E tem gente que ainda fica na m�o?
-Rarar�!
-Carnaval devia ser o ano todo.
-Cinco dias � pra amador!
-A fazenda de renas Napapiiri, nas proximidades (tel. 38-4048) promove jantares com carne de rena e faz exibi��es folcl�ricas.
-Pre�o: cerca de US$ 43.
-Dos museus, o melhor � o Arktikum (leia reportagem ao lado).
-Mas h� dois muito instrutivos, a c�u aberto por isso, as visitas v�o s� de junho a setembro.
-�Achei a id�ia muito interessante e educativa.
-A gente precisa de reciclagem em geografia, pois tudo muda muito r�pido.
-L� em Portugal, eu costumo comprar a Folha�, afirma Barra.
-Em S�o Jos� do Rio Preto, as duas bancas mais tradicionais da cidade tiveram filas na distribui��o do terceiro fasc�culo do Atlas Folha/�The New York Times�.
-Esses n�cleos coloniais, entre eles o do Vale do Ribeira, foram ocupados a partir de terras vendidas pelo governo.
-Para quem vai fazer a pesquisa no computador a separa��o de dados n�o faz nenhuma diferen�a: tudo funciona como se fizesse parte de um s� arquivo.
-Segundo Milton Julio Zanluqui, da Paraklin P�ra-raios, entre os tipos mais comuns (veja exemplos ao lado) est�o o sistema de gaiola (Gaiola de Faraday), composto de seis partes principais: captador do tipo terminal a�reo, cabo de cobre, suportes isoladores, tubo de prote��o, malha de aterramento e conector de medi��o.
-Esse equipamento �envolve� o pr�dio e � indicado para constru��es que ocupem �reas horizontais, como galp�es e ind�strias.
-� preciso que tenhamos a consci�ncia de que os nossos tratados, que envolvem quest�es transcendentais que buscam uma circula��o de bens e servi�os sem barreiras entre nossos pa�ses, exigem uma vis�o da hist�ria.
-N�o podemos deixar morrer o esp�rito de Igua�u.
-Ele fechou um tempo de diverg�ncias para abrir uma era de converg�ncias.
-Jos� Sarney escreve �s sextas-feiras nesta coluna.
-�O Rio sempre foi um lugar que deu exemplo para o Brasil�, disse o corregedor eleitoral, tentando desfazer o car�ter de �interven��o branca� atribu�do � sua viagem ao Rio de Janeiro.
-�N�s n�o vamos acreditar que um povo t�o culto como o da Guanabara possa ter problemas como andam dizendo por a�, afirmou, referindo-se � popula��o do antigo Estado da Guanabara, que desapareceu na fus�o com o Estado do Rio de Janeiro.
-Um, o convencional, � o que o Plano Real contempla e tem como instrumentos essenciais a importa��o � taxa cambial fixa e baixa e quase sem tarifa aduaneira de mercadorias, tornando imposs�vel pela competi��o os produtores e comerciantes brasileiros aumentarem seus pre�os; e a redu��o da demanda por bens de consumo e de investimento, mediante juros altos e corte do gasto p�blico, impedindo as remarca��es de pre�os pelo excesso de oferta suscitado.
-O outro, heterodoxo e inconvencional, consiste em controlar as press�es inflacion�rias em sua origem, nas cadeias produtivas, mediante a fixa��o negociada entre todos os setores participantes de tetos para os aumentos de valores, sejam estes pre�os ou sal�rios.
-A agita��o ontem foi grande tamb�m na Bolsa de Mercadorias com frequentes boatos de dificuldades de institui��es financeiras em cumprirem seus compromissos no mercado futuro do �ndice Bovespa.
-A proje��o de juros acumulados para este m�s no mercado futuro caiu de 3,76% no dia anterior para 3,71% ontem.
-O impacto provocado pela jazz�stica trilha de �A Marca da Maldade�, com temas influenciados por Stan Kenton e at� por pianistas de bordel, chamou a aten��o de Edwards, que em 1958 procurava um m�sico novo, talentoso e barato para compor o prefixo da teless�rie �Peter Gunn�.
-O jovem (34 anos), talentoso e barato Mancini entrou rachando.
-A fanfarra que a seguir comp�s para �Dizem que � Amor� (High Time) s� n�o ficou tamb�m gravada na mem�ria de todo mundo porque, daquela vez, Edwards nem sequer chutou na trave.
-De todo modo, uma s�lida e longa parceria se configurava, alternando com�dias e dramas cuja qualidade cinematogr�fica variava infinitamente mais que as virtudes de suas trilhas sonoras.
-Quando os dois acertavam juntos (�Bonequinha de Luxo�, �V�cio Maldito�, �A Pantera Cor-de-Rosa�), era uma festa para todos os sentidos.
-E faturamento em dobro para o compositor, que n�o perdia uma chance de estourar no �hit parade� com uma can��o.
-Por duas delas, �Moonriver� e �Days of Wine and Roses�, ambas com letra de Johnny Mercer, ganhou o Oscar.
-O baiano Dias Gomes, 70, est� se preparando para ressuscitar um cl�ssico da teledramaturgia brasileira.
-Semana que vem, come�a a reescrever �Irm�os Coragem�, novela de Janete Clair que a Globo exibiu com enorme sucesso entre junho de 1970 e julho de 1971.
-A emissora pretende lan�ar o �remake� em janeiro de 95, �s 18h, no lugar de �Tropicaliente�.
-No centro de todos esses nossos esfor�os de qualidade est� o nosso cliente.
-� tudo pelo cliente.
-A principal meta da melhoria da qualidade da Degussa no Brasil � a satisfa��o total do cliente.
-� o cliente quem define os requisitos que teremos de cumprir e, at� mesmo, superar, praticando qualidade em sua plenitude e obtendo, assim, seus benef�cios, que s�o competitividade, lucratividade e satisfa��o.
-Entendemos que palavras como respeito, aten��o e �tica, incluindo a efici�ncia na presta��o dos servi�os, devem mais do que nunca, nortear nossa conduta nas rela��es com nossos clientes.
-PT, PDT, PC do B e os outros �contras� (partidos contr�rios � revis�o) exigiram que as vota��es do Congresso revisor come�assem pela quest�o tribut�ria.
-A nova reivindica��o irritou os partidos favor�veis � revis�o, que criticaram a proposta.
-No dia 1� de mar�o, a funda��o inaugurou mais uma escola.
-Ela foi constru�da em Mar�lia (cidade onde foi fundada o banco) com capacidade para mil alunos.
-Como nas outras escolas, ali os alunos recebem gratuitamente o ensino, o material did�tico, o uniforme, a alimenta��o e tratamento m�dico e odontol�gico.
-A exclus�o de Maradona, por ter jogado dopado contra a Nig�ria, abalou os jogadores.
-O time, antes bastante aguerrido e solid�rio, passou a discutir em campo.
-A Argentina fez uma op��o bastante ofensiva.
-Variava entre um 4-3-3 e um 4-2-4.
-O t�cnico Alfio Basile tentou aproveitar seus melhores jogadores.
-Ainda h� muito o que fazer para desgravar completamente as exporta��es de impostos indiretos, conforme permitem as regras do Gatt e imp�e a realidade de um ambiente internacional competitivo.
-Mas a Uni�o foi ao limite em termos de desgrava��o das exporta��es.
-Antes da urgente reforma constitucional, a extens�o da desonera��o tribut�ria das exporta��es para todas as etapas da cadeia produtiva enfrenta dificuldades operacionais insuper�veis no �mbito federal.
-Seria invi�vel estimar, por exemplo, com a acuidade necess�ria para a concess�o de cr�dito fiscal, qual a incid�ncia efetiva de PIS e Cofins em cada etapa do processo produtivo anterior � produ��o dos insumos usados diretamente na produ��o para exporta��es.
-Reginaldo Duarte pertence a uma fam�lia de pol�ticos de Juazeiro do Norte (CE), mas nunca havia disputado elei��o.
-�Sempre fugia da raia.
-Achava que n�o tinha voca��o pol�tica�, explica.
-Em 90 ele n�o p�de fugir.
-�O Tasso Jereissati quis homenagear a minha regi�o e pediu um nome.
-Fui escolhido e n�o queria aceitar.
-Mas aceitei porque foi uma gentileza do governador�, diz.
-J�nice Trist�o afirma que acompanha a vida pol�tica de Elcio �lvares h� duas d�cadas.
-Nunca havia disputado mandatos eletivos.
-Acha que foi escolhido como suplente pela sua imagem empresarial formada em mais de 50 anos.
-O t�cnico Sacchi elogiou ontem a �bravura� de seus jogadores, especialmente de Baggio, �com seu toque m�gico para ganhar partidas�.
-Ainda assim, foi a m�dia que amplificou as acusa��es, ao divulg�-las sem uma checagem mais aprofundada.
-Culpa da m�dia, ent�o?
-� primeira vista, sim, mas � a� que se chega ao verdadeiro n� da quest�o.
-Por partes: a lista de nomes mais completa foi ao ar durante o Jornal Nacional, da Rede Globo, por volta de 20h.
-De que adiantaria os jornais do dia seguinte omitirem os nomes, se eles j� haviam sido arrastados � lama por um notici�rio que atinge cerca de 60 milh�es de pessoas, certamente mais do que a tiragem conjunta de todos os jornais brasileiros?
-O treinador Levir Culpi n�o quis adiantar o substituto de �der Aleixo.
-Segundo ele, a sa�da do meia-ponta representa uma �perda importante� para o time.
-�Vamos com calma achar o substituto do �der�, disse.
-Culpi, no entanto, acha que o time pode suportar a press�o e �confirmar a vantagem� em S�o Paulo.
-O time pode empatar a segunda partida para se classificar.
-O assessor de comunica��o da Reduc, Fernando Fortes, disse que os grevistas est�o desrespeitando a determina��o do TST.
-�O que nos preocupa � o cumprimento da ordem judicial.
-Os grevistas est�o irredut�veis.
-O TST fala em manter a produ��o de combust�veis e g�s.
-Se eles n�o substitu�rem o pessoal, v�o estar praticando desobedi�ncia judicial�, disse Fortes.
-�Nenhum eleitor evang�lico deve se sentir culpado por ter opini�o diferente de seu pastor ou l�der espiritual�, diz a cartilha.
-O texto defende o voto para a Presid�ncia baseado em programas de governo.
-E condena a dissemina��o de boatos, como os que atingiram Luiz In�cio Lula da Silva na elei��o de 89.
-A IRLF s� aprova o aborto quando a gravidez coloca em risco a vida da m�e.
-Mesmo quando a gravidez decorre de estupro ou quando o feto n�o tem chances de sobreviv�ncia, o aborto � visto como crime.
-A IRLF condena ainda a eutan�sia e os m�todos contraceptivos n�o naturais, inclusive a p�lula.
-A t�cnica tradiciona de tomografia n�o conseguia �ver� o abcesso no dente.
-Com o uso do m�todo tridimencional, foi poss�vel localiz�-lo e descobrir a causa da morte.
-O artista, cujo nome de batismo � Lu�s Carlos dos Santos, pagou uma fian�a de CR$ 100 mil e foi liberado.
-A Folha procurou falar com Melodia sobre o incidente.
-O telefone da casa do m�sico permaneceu conectado a uma secret�ria eletr�nica.
-�Foi barra pesada, pelo som pareciam armas superpotentes, n�o foi um tiroteio qualquer�, afirmou Tatiana Marques Pedrosa, 24, estudante de psicologia.
-Tatiana mora na rua S�o Clemente, Botafogo, em frente � principal via de acesso ao morro.
-Morando h� seis anos ali, Tatiana disse que nunca viu um per�odo t�o violento.
-�H� dois meses que a coisa est� pior.
-Com tanta viol�ncia, sinto uma ang�stia muito grande�, afirmou.
-A expectativa do Sebrae era que o volume de neg�cios chegasse a US$ 7 milh�es na Fenit.
-Em 95, no entanto, a participa��o dos pequenos subsidiados pelo Sebrae na Fenit vai diminuir.
-�Vamos reduzir o n�mero de expositores para cem.
-A id�ia � privilegiar os de maior qualidade e as feiras estaduais�, diz Souza.
-Ao lado da Fenit foi realizada a Fenatec (Feira Internacional de Tecelagem), com representantes da Argentina, Alemanha, Fran�a e Estados Unidos.
-O IPMF padece de males profundos.
-Mas est� correto o conselheiro Paulo Planet Buarque.
-Analisado isoladamente, � um imposto democr�tico e que, se levado � sua consequ�ncia l�gica, o Imposto �nico, poderia consumar a revolu��o tribut�ria que o pa�s deseja e precisa.
-MARCOS CINTRA CAVALCANTI DE ALBUQUERQUE, 48, doutor em economia pela Universidade de Harvard (EUA), � vereador da cidade de S�o Paulo pelo PL e professor da Funda��o Get�lio Vargas (SP).
-Foi secret�rio do Planejamento e de Privatiza��o e Parceria do munic�pio de S�o Paulo (administra��o Paulo Maluf).
-Tamb�m nisto B�scoli estava em seu elemento: poucos podiam ser mais hilariantemente viperinos desde que a piada n�o fosse dirigida contra voc�.
-E havia outro motivo para que ele atra�sse a ira de tantos: seu sucesso com as mulheres.
-Cite uma cantora da bossa nova ou estrela da televis�o dos anos 60 e h� poucas chances de que ele n�o a tenha namorado sempre dando a impress�o de que fazia isto por tarefa.
-�Pela bossa nova, namoro at� o Trio Irakitan�, dizia.
-De acordo com Maluf, a equipe de elabora��o do programa ter� 30 dias para trabalhar e o nome mais cotado para coorden�-la � o do presidente nacional do PFL, Jorge Bornhausen.
-Segundo ele, a parte econ�mica do programa poder� ser elaborada pelo ex-ministro da Fazenda Gustavo Krause (PFL-PE).
-Segundo Maluf, o programa de governo seria �o ponto de converg�ncia� para a discuss�o uma futura alian�a eleitoral na sucess�o presidencial.
-�Ser� um programa capaz de unir todas for�as que querem levar o Brasil para o Primeiro Mundo.
-Um programa capaz de combater a infla��o, o desemprego e que abra uma corrente de investimentos para o pa�s�, disse Maluf.
-Se eu fosse voc�, passava a andar de t�xi especial e apresentava a conta � concession�ria.
-Ligue imediatamente para o Procon (tel. 829-3055) e solte os cachorros.
-O livro est� em toda parte e eu sou daqueles que n�o conseguem ver a imagem em outra dimens�o.
-O que fa�o?
-O Brasil � um pa�s do Terceiro Mundo, ainda sem cara e sem personalidade, mas metade do seu territ�rio � a Hil�ia, que tem fascinado os iluminados, de Humboldt a Euclides da Cunha; acontece que, no passo de Jeca Tatu em que caminha, o Brasil amea�a transformar a Hil�ia, no s�culo 21, que j� nos olha com cara feia por cima do muro, num gigantesco cinzeiro, cheio da cinza das �rvores e da cinza dos �ndios.
-O Brasil s� sair� da sua mediocridade se se deixar incorporar � Amaz�nia.
-E jamais chegar� a isto se n�o tiver a total dedica��o de algu�m como Ricupero, um excepcional �cadre�, que em pouco tempo convenceu os brasileiros da sua intelig�ncia e compet�ncia na vida p�blica.
-Quando Ricupero foi pin�ado da sua miss�o amaz�nica, lembrei Osvaldo Aranha, que dizia que o Brasil � um deserto de homens e de id�ias.
-A TVs Bandeirantes e TVA/ESPN abrem espa�o para o futebol americano hoje.
-A Bandeirantes mostra o videoteipe de Kansas e Atlanta, �s 17h45.
-A TVA apresenta em VT a partida entre Detroit e Dallas, �s 7h.
-Promotores da Sic�lia pediram � Justi�a local o julgamento de 23 pessoas, acusadas de conspirarem para assassinar Salvo Lima, pol�tico democrata-crist�o morto pela M�fia pouco antes das elei��es de 1992.
-A pol�cia deu ordem para prender mais sete pessoas suspeitas de envolvimento.
-O caso Lima coincide com a pris�o de 54 pessoas, como parte de uma opera��o anti-M�fia no oeste da ilha.
-Ignacio Perea, 32, foi condenado a cinco penas de morte em Miami.
-Ele sequestrou e violentou tr�s meninos com a inten��o de lhes transmitir o v�rus da Aids de que se sabia portador.
-As penas foram para sequestro, viola��o e tentativa de homic�dio.
-� a primeira vez nos EUA que um tribunal considera o v�rus HIV como uma arma letal.
-O modelo de privatiza��o previsto na MP foi organizado pelo presidente do BNDES, P�rsio Arida.
-No Planalto, n�o existe consenso sobre a MP.
-Inicialmente, a equipe econ�mica chegou a estudar a privatiza��o das empresas do grupo Nuclebr�s, al�m de Angra 1 e 2, mas n�o chegou ao fim.
-N�o � apenas Marluce Dias da Silva a poderosa superintendente da Globo que � considerada g�nio em casa.
-T�o tchans quanto ela, seu marido Eurico � o dono de uma cole��o de restaurantes estrelados no Rio.
-O PDT prop�e uma auditoria para a d�vida interna.
-Os pap�is da d�vida seriam obrigatoriamente trocados por outros de vencimento a longo prazo (a partir de 15 anos, segundo o documento).
-O programa prop�e a monetiza��o da d�vida interna (pagamento com dinheiro impresso) acompanhada da cria��o de uma nova moeda (�assegurada a convers�o da poupan�a em termos favor�veis�) e imposi��o de r�gido controle monet�rio.
-Essa proposta permitiria ao governo negociar em posi��o favor�vel o resgate dos t�tulos p�blicos, j� que o programa admite o �n�o-pagamento parcial da d�vida, assegurada a poupan�a�.
-O PDT pretende reduzir os impostos federais a quatro.
-Sobre reforma agr�ria, o projeto prev� terra para 20 milh�es de pessoas com assentamento de comunidades em �reas vizinhas a estradas vicinais.
-O grupo su��o baseia sua m�sica na combina��o de barulhentas guitarras sampleadas, vocais guturais e pesadas batidas dan�antes.
-Ao vivo, sua m�sica n�o difere muito do pop agressivo de Ministry, Young Gods a quem substituiu no BHRIF, Nine Inch Nails e KMFDM.
-Os alem�es, por outro lado, fazem um tecnopop assobi�vel e nost�lgico no seu uso de sintetizadores anal�gicos anteriores ao surgimento da tecnologia dos samplers digitais.
-Segundo o COE, eram remotas as chances de Lauro e Alex serem encontrados com vida porque eles haviam levado comida suficiente para apenas um dia.
-�S� sobrevivemos porque encontramos duas cabanas de ca�adores com mantimentos e cobertores�, disse Nascimento.
-O PPR tentou derrubar a reten��o das verbas de habita��o e educa��o no primeiro turno, mas uma manobra do governo barrou a mudan�a.
-Na ocasi�o, o PMDB apoiou o governo, mas agora n�o estaria totalmente unido para repetir a dose.
-A equipe econ�mica considera que cedeu tudo o que podia durante a vota��o da emenda no primeiro turno.
-O governo concordou em incluir no Or�amento de 94 investimentos em educa��o nos mesmos n�veis do ano passado e destinar para habita��o tr�s vezes mais do que o registrado em 1992.
-Os n�meros destes investimentos ainda est�o sendo fechados pelo Minist�rio do Planejamento.
-O presidente Itamar Franco disse que �ser�o mais de 50 demiss�es� nas estatais do Minist�rio dos Transportes por causa da desobedi�ncia � MP de convers�o � URV.
-V�rias empresas ligadas a este Minist�rio converteram os sal�rios pelo �pico� e n�o pela m�dia dos �ltimos quatro meses.
-Itamar disse que at� agora poucas demiss�es foram efetivadas porque �h� sempre um processo legal e burocr�tico que precisar ser cumprido�.
-�Mas todos ser�o demitidos�, acrescentou.
-O presidente disse que pediu ao ministro das Minas e Energia, Alexis Stepanenko, que cheque tamb�m as estatais ligadas a ele para saber se tamb�m houve desobedi�ncia.
-Participa de reuni�o partid�ria em Maravilha (Santa Catarina).
-� tarde, vai a Belo Horizonte e visita o jornal �O Estado de Minas� em companhia de H�lio Costa, candidato do PP ao governo do Estado.
-� noite vem a S�o Paulo para participar do programa �Fogo Cruzado�.
-Segundo Marcondes, o valor do patrim�nio do hospital � de US$ 50 milh�es (R$ 42,7 milh�es) e o total de d�vidas, de R$ 50 milh�es.
-Ap�s a negocia��o das d�vidas, a reabertura do hospital est� condicionada ao destombamento peloo Condephaat (�rg�o que cuida do patrim�nio hist�rico da cidade) de uma �rea de 10 mil m2, que dever� ser comercializada.
-As f�rias nos EUA podem terminar no balc�o do consulado, onde o passaporte � devolvido �s 16h.
-O da advogada Zilda (n�o quis dar o sobrenome), 49, veio junto com uma carta dizendo que seu visto foi recusado.
-A Divis�o de Vigil�ncia Sanit�ria informou que foram registrados 402 casos de c�lera, com quatro mortes, este ano no Estado.
-Os munic�pios com maiores incid�ncias s�o Nossa Senhora do Socorro, com 85 casos, Aracaju, 66, e Laranjeiras, 46.
-O Banco de Leite Humano da Secretaria Estadual de Sa�de montou um estande na pra�a Fausto Cardoso, centro de Aracaju.
-O objetivo � informar sobre a import�ncia da amamenta��o.
-A atriz C�ssia Kiss e a primeira-dama do Estado, Maria do Carmo Nascimento Alves, visitaram ontem o local.
-Iniciado em 1958, o estudo de �O Capital� por jovens intelectuais da USP s� terminaria cinco anos mais tarde.
-Entre eles estavam figuras hoje conhecidas, como o fil�sofo Jos� Arthur Giannotti, o cr�tico liter�rio Roberto Schwarz e o economista Paul Singer.
-FHC foi o primeiro a tirar consequ�ncias de tal estudo.
-Em 1962, publica �Capitalismo e Escravid�o no Brasil Meridional�, primeira obra de sua autoria a se tornar refer�ncia nas ci�ncias sociais do pa�s.
-Para melhorar a ventila��o, podem ser criadas janelas nos telhados ou pequenos v�os.com telas para evitar a entrada de insetos.
-Os v�os permitem a sa�da do ar quente, que fica na parte superior do ambiente.
-Vidros e janelas d�o transpar�ncia � casa e facilitam a entrada do ar.
-Mesmo com os ventos do litoral, � suficiente o vidro de seis mil�metros, n�o temperado.
-�� uma solu��o econ�mica e segura�, diz Vinograd.
-No piso, carpetes est�o vetados.
-Deve-se usar pedras (pedra goi�s e ard�sias), madeiras n�o-brilhantes (que riscam facilmente) e cer�micas n�o-esmaltadas.
-Outra solu��o, utilizada pelos decoradores Oscar Mikail e Fernando Rodrigues Alves na casa de praia do apresentador de TV Gugu Liberato, � o piso com p� de m�rmore e cimento queimado branco.
-�Uma casa de praia tem que ser pr�tica, ao mesmo tempo que confort�vel�, diz Mikail.
-Rubens Barrichello promete um an�ncio nos pr�ximos dias.
-Fica com o pacote Jordan-Peugeot.
-Por enquanto, se dedica � prepara��o f�sica.
-Est� com quilos de sobra.
-Christian Fittipaldi, por sua vez, negocia com a Tyrrell.
-Seu Sauber pode acabar trocando o certo pelo incerto ao esperar por Karl Wendlinger.
-A Divis�o de Vigil�ncia Sanit�ria de Sergipe registrou nos primeiros 115 dias deste ano 87 casos de c�lera com uma morte.
-A chefe da Vigil�ncia, No�lia Soares, disse que, apesar da exist�ncia de um surto da doen�a, o controle da qualidade das �guas dos rios, po�os e lagos tem evitado a propaga��o do vibri�o.
-Aristides est� esperando a publica��o do texto do FSE aprovado pelo Congresso para concluir se a desvincula��o dessas verbas atinge ou n�o direitos individuais.
-Pela desvincula��o, o governo fica desobrigado de cumprir os artigos da Constitui��o que mandam aplicar percentuais fixos do Or�amento em educa��o e habita��o.
-Aristides tem defendido junto ao governo a aplica��o do art. 212 da Constitui��o, que prev� que Uni�o deve destinar pelo menos 18 % da receita de impostos � educa��o.
-Os Estados e munic�pios t�m que destinar 25 % desta receita.
-O papa Jo�o Paulo 2� escolheu a irm� Em�lia Ehrlich para ocupar uma das tr�s secretarias no s�nodo que acontecer� em outubro.
-A reuni�o de bispos discutir� a vida de padres e freiras.
-� a primeira vez que o papa indica uma mulher para um cargo desse n�vel na Igreja Cat�lica.
-As bibliotecas do Vaticano poder�o ser consultadas em breve atrav�s da Internet, rede de computadores com milh�es de usu�rios.
-O material ser� transferido para a mem�ria de computadores.
-O projeto � das empresas Xerox e Ernst & Rubican.
-Foram analisadas apenas a primeira amostra dos produtos e ainda deve ser feita contraprova.
-A Otker e a Somel v�o pedir contraprova.
-A Mocotex vai sofrer an�lise para saber onde ocorre a contamina��o.
-Uma das poucas surpresas na elei��o anticlim�tica por que passou o pa�s foi a alta incid�ncia de votos brancos e nulos nas elei��es legislativas e para os governos estaduais.
-Se abordo este tema aqui n�o � para arriscar-me na an�lise pol�tica, coisa que outros far�o melhor do que eu.
-Meu intuito � tentar entender que papel teve a imprensa nessa hist�ria.
-S�o os garotos do Nabuco que v�o administrar o neg�cio.
-Decis�o do Supremo Tribunal Federal permite aos micropartidos disputar a Presid�ncia.
-O STF derrubou dispositivos da lei eleitoral que restringiam a participa��o dos partidos de acordo com sua representa��o na C�mara.
-15 de maio -- Sarney desiste de disputar a pr�via do PMDB contra Requi�o e Qu�rcia.
-Ela � vencida por Qu�rcia, indicado candidato � Presid�ncia.
-A absten��o � de 52 % dos peemedebistas credenciados a votar.
-A primeira etapa do M2.000 Summer Concerts amanh� em Santos e domingo no Rio, inaugura a temporada 94 de ca�a aos shows.
-Espalhados pelos 7.408km do litoral brasileiro, os shows deste in�cio de ano tem l� suas atra��es internacionais.
-Nada compar�vel aos shows de Madonna, Michael Jackson e Paul McCartney no final de 93.
-Saem os megas e entram os micros, minis e m�dis.
-A dupla planeja agora temporada de dolce far niente.
-Em meio a tantos scuds por causa dos imbroglios de seu vice Jos� Paulo Bisol, Luiz In�cio Lula da Silva teve anteontem um providencial refresco.
-Preocupado com a facilidade de comunica��o de seu advers�rio, Francisco Rossi, M�rio Covas acatou as recomenda��es de assessores do presidente eleito, Fernando Henrique Cardoso, e se submeteu �s t�cnicas de marketing.
-Avesso a um tratamento mais t�cnico de candidatos durante as campanhas eleitorais, Covas protagonizou a mudan�a mais significativa no hor�rio eleitoral gratuito.
-A vida de alunos como Z n�o � f�cil.
-Eles t�m que comparecer no Juquery de segunda a sexta-feira, das 8h �s 17h.
-Em um dia da semana, Z faz plant�o � noite.
-Fica mais de 36 horas ininterruptas no pronto-socorro.
-Uma vez por m�s, d� plant�o no fim-de-semana.
-Segundo ele, os traficantes tamb�m teriam interesse em negociar uma redu��o em suas penas.
-�Eles t�m medo de ser mortos, porque a coisa est� ficando violenta demais.
-Entregar-se, com a garantia de redu��o da pena, seria um bom neg�cio�, disse Maciel.
-A di�ria do aluguel de um Uno Mille sai por R$ 63, com quilometragem livre, na Avis.
-Na locadora Clean Car a di�ria do mesmo carro sai por R$ 72 com limite de 200 quil�metros por dia.
-A Localiza tem di�ria promocional de R$ 41 sendo que cada quil�metro rodado custa mais R$ 0,26.
-Na promo��o o cliente ganha uma di�ria gr�tis a cada tr�s.
-Um advogado nova-iorquino transformou seu apartamento no Brooklyn num para�so tropical, com �rvores, um sol artificial e pelo menos cinco jacar�s na foto, os policiais no momento da retirada de um deles.
-Os animais foram entregues � cust�dia do zool�gico do Bronx.
-Um s�nodo da Igreja Cat�lica concluiu ontem que as freiras devem ter maior poder e responsabilidade.
-Mas postos de comando da igreja permanecer�o exclusivamente masculinos, disse o cardeal Eduardo Martinez Somalo em Roma.
-Par�grafo 3� -- Da aplica��o do disposto neste artigo n�o poder� resultar pagamento de benef�cio inferior ao efetivamente pago, em cruzeiros reais, na compet�ncia de fevereiro de 1994.
-Par�grafo 4� -- As contribui��es para a Seguridade Social, de que tratam os arts. 20, 21, 22 e 24 da Lei n� 8.212, de 1991, ser�o convertidas em URV e convertidas em UFIR nos termos do art. 53 da Lei n� 8.383, de 30 de dezembro de 1991, ou em cruzeiros reais na data do recolhimento, caso este ocorra antes do primeiro dia �til do m�s subsequente ao de compet�ncia.
-Par�grafo 5� -- Os valores das parcelas referentes a benef�cios pagos com atraso pela Previd�ncia Social, por sua responsabilidade, ser�o atualizados monetariamente pelos �ndices previstos no art. 41, Par�grafo 7�, da Lei n� 8.213, de 1991, com as altera��es da Lei n� 8.542, de 1992, at� o m�s de fevereiro de 1994, e convertidas em URV, pelo valor em cruzeiros reais do equivalente em URV no dia 28 de fevereiro de 1994.
-A pol�cia do Mato Grosso do Sul vai combater a pesca predat�ria durante a piracema (�poca de reprodu��o dos peixes), que termina no dia 31 de janeiro.
-At� esta data, a pesca est� proibida.
-Os pescadores detidos em flagrante usando tarrafas (redes de pesca) ser�o acusados de crime contra fauna, que prev� de um a tr�s anos de pris�o.
-A pol�cia de Arealva (386 km a noroeste de S�o Paulo) prendeu tr�s rapazes acusados de estuprar a funcion�ria p�blica A.P.S., 30, no �ltimo domingo.
-Renato Batista Pedroso, 21, Douglas Jos� da Silva, 21, e A.L.F., 16, est�o incomunic�veis.
-Segundo o delegado Roberto Ilhesca, Silva teria confessado do crime.
-Outros tr�s suspeitos est�o foragidos.
-�Ele confirmou as id�ias que eu j� tinha, um candidato s�rio, respons�vel.
-Sobre minhas quest�es em particular, na �rea de educa��o, ele me impressionou muito.
-�Tem muitos conhecimentos gerais e faz digress�es um pouco longas.
-Daria a mesma nota para ele e para o Rossi.
-A Nig�ria conquistou ontem o t�tulo da 19� Copa Africana de Na��es, ao derrotar Z�mbia por 2 a 1, em T�nis (Tun�sia).
-O zagueiro Elijah Litana abriu o placar para Z�mbia aos 3min de jogo.
-O atacante Emmanuel Amunike empatou dois minutos depois e marcou o gol da vit�ria aos 2min do segundo tempo.
-Uma proposta plaus�vel � a de se fixar um prazo determinado, tr�s ou quatro meses, para que a sociedade se adapte voluntariamente � URV, estabelecendo regras privadas de convers�o.
-Findo esse prazo, a convers�o para URV seria obrigat�ria, conforme regras previamente fixadas pelo governo.
-N�o h� hip�tese do Plano ser lan�ado antes do Congresso votar, primeiro, a emenda constitucional que cria o Fundo Social de Emerg�ncia e, em seguida, o Or�amento federal para 1994 com deficit zero.
-E com o Carnaval no meio.
-Isso significa que, tudo indo bem, a cria��o da URV fica para mar�o.
-A atriz e apresentadora norte-americana de TV Ricki Lake e outras 14 pessoas passaram a noite de anteontem na cadeia em Nova York, depois de haverem realizado um protesto nos escrit�rios do estilista Karl Lagerfeld em Manhattan.
-As 15 pessoas s�o membros da Peta (People for Ethical Treatment of Animals), entidade norte-americana que luta pelos direitos dos animais.
-Elas se algemaram entre si e nos m�veis do escrit�rio em protesto contra a utiliza��o de peles animais em cria��es do estilista.
-O cantor Stevie Wonder anunciou anteontem que sua turn� norte-americana a primeira desde 1989 reverter� fundos para campanhas contra a fome.
-O dinheiro arrecadado com a venda do single �Take the Time Out� ir� para uma campnaha organizada pelo American Express.
-A falha ocorreu no momento de conferir, reembalar e repassar os pacotes de moedas para a tesouraria do banco.
-Calliari explicou que a posi��o das embalagens permitiu a queda de dois sacos, que depois foram parar na lata do lixo.
-Segundo Calliari, o barulho na ag�ncia causado pela reforma do pr�dio abafaram o ru�do da queda.
-O diretor-geral da PF, coronel Wilson Rom�o, disse que recebeu �recomenda��es expressas para investigar tudo a fundo�.
-A vit�ria, por�m, n�o foi suficiente para acalmar o ambiente no clube santista.
-O presidente Miguel Kodja Neto ignorou a diplomacia que normalmente marca o futebol para acusar o ex-jogador e empres�rio Pel�.
-�Ele foi um �timo jogador, mas � um p�ssimo dirigente�, disse Kodja, que quer o afastamento de Pel�, assessor de assuntos internacionais, e do vice Samir Abdul Hack.
-Pelechian -- Sim, e gosto.
-Folha -- O sr. acredita ter influenciado estes filmes?
-Jo�o Paulo Bordon, vice-presidente da Swift-Armour, alega n�o ter sido comunicado sobre a realiza��o da assembl�ia da empresa para ratificar a concordata.
-O an�ncio legal foi publicado recentemente.
-O grupo Bordon enfrenta briga de fam�lia.
-O balan�o do Eldorado S/A informa que as irm�s Ver�ssimo, filhas do fundador, ocupam cargos na vice-presid�ncia e diretoria do grupo.
-Sem acesso �s contas do grupo, elas informam que n�o assinaram o balan�o.
-Elas n�o apenas restringem a liberdade e o futuro dos que tentam deixar Cuba como tamb�m oferecem expectativa de �reformas democr�ticas for�adas� aos que ficam na ilha.
-O principal objetivo norte-americano � evitar a repeti��o da fuga de mais de 125 mil cubanos em dire��o � Fl�rida ocorrida em 1980 a partir do porto de Mariel.
-Na ocasi�o, Fidel Castro permitiu a sa�da de milhares de pessoas insatisfeitas com seu regime e abriu um novo espa�o para se manter no poder.
-Profissionais com longa experi�ncia em cargos gerenciais e administrativos devem se preocupar, ao fazer o curr�culo, em mostrar a ess�ncia da carreira, resumindo suas conquistas e realiza��es.
-Muitos, no entanto, preferem descrever em detalhes toda sua trajet�ria educacional e profissional o que acaba deixando o curr�culo extenso e de dif�cil leitura.
-O filme � bom, divertido.
-As mulheres jornalistas que est�o na tela t�m in�meros problemas.
-Alguns at� se parecem com os meus.
-Mas nenhuma delas tem medo de n�o encontrar o carro na sa�da do cinema ou de ser agredida pelo guardador, ou de parar no sinal de tr�nsito na volta para casa.
-Amanh� e por mais 15 dias tem mais filme.
-O de meia-noite � �timo, mas � em Botafogo e acaba tarde.
-O das cinco tamb�m � bom, mas � no shopping mais concorrido da cidade e n�o vai ter ingresso.
-Nem vaga para estacionar, embora seja seguro.
-� a Companhia de Dan�a de Deborah Colker que faz a abertura.
-Com figurinos de Tufi Duek e Yam� Reis e festa doppo com a turma do ValDemente.
-Em discurso feito na semana passada em Johannesburgo, Arafat conclamou os mu�ulmanos a uma �jihad� pela cidade de Jerusal�m.
-O discurso, transmitido posteriormente por uma r�dio israelense, colocou o di�logo em perigo.
-Nenhum filme brasileiro foi escolhido, quebrando assim a expectativa criada em torno de �Alma Cors�ria� de Carlos Reichenbach e �Mil e Uma� de Suzana de Moraes.
-O Brasil est� assim fora das sele��es de Cannes-94.
-Tampouco nenhum filme latino-americano passou pelo crivo da �Quinzena dos Realizadores�.
-Ainda assim, � expressiva a presen�a nas outras se��es do festival.
-Na competi��o estar� o mexicano �La Reina de La Noche� de Arturo Ripstein.
-A paralela �Um Certo Olhar� selecionou �Los Naufragos� do chileno Miguel Littin e �Sin Compassion� do peruano Francisco Lombardi.
-�Adeus America� de Jan Schutte, �O Casamento de Muriel� de P.J. Hogan, �71 Fragmentos da Cronologia de Um Acaso�, de Michael Haneke, �Fresh� de Boaz Yakin, �Venus de Neve� de Sotiris Gortisas, �Costas �s Costas , Cara a Cara� de Huang Jianxin, �Rainha Bandida� de Shekkar Kapur, �Sem Pele� de Alessandro d'Allatri, �Wrony� de Dorota Kedzierzawska, �Tr�s Palmeiras� de Jo�o Botelho, �Katia Ismailova� de Valeri Todorovski, �Os Sil�ncios do Pal�cio� de Moufida Tiati e o filme coletivo �Homem, [...]
-O advers�rio que os romenos mais temem n�o � nenhuma sele��o, mas o cansa�o.
-O fuso hor�rio ser� um duro obst�culo.
-A tabela da primeira fase prev� uma viagem Los AngelesDetroitLos Angeles para a sele��o romena, em um espa�o de oito dias, na primeira fase.
-O pr�prio agredido informou � pol�cia de que n�o se tratava dos agressores.
-No gramado, antes do jogo, representantes das torcidas dos grande times de S�o Paulo (Corinthians, S�o Paulo, Palmeiras e Santos) fizeram uma manifesta��o pela paz.
-Como exemplo no combate � viol�ncia, o prefeito carioca cita a cria��o da Guarda Municipal, um grupo de atividades especiais que tem atuado mais na libera��o de �reas tradicionalmente ocupadas por camel�s.
-�Foram reabilitados 65 pontos da cidades, usados como pontos de venda de drogas e que viraram quiosques de flores�, conta Maia.
-A princ�pio, a d�vida era sobre a necessidade de se jogar com dois volantes meias que tamb�m auxiliam na defesa, Dunga e Mauro Silva.
-Esta arma��o d� � equipe um car�ter excessivamente defensivo, o que desagrada �queles que esperam da sele��o brasileira um futebol alegre, sempre visando ao gol.
-O funcionamento � bastante simples.
-O cliente passar� seu cart�o de d�bito ou de cr�dito Bradesco Visa no terminal da empresa conveniada e fixar� as datas de pagamento de suas compras.
-Na data acordada, os computadores do Bradesco debitar�o (saque) a conta do cliente e creditar�o (depcsito) a empresa vendedora.
-O objetivo � facilitar a vida dos clientes e reduzir os custos da institui��o financeira.
-O custo do processamento dos cheques � de US$ 0,70 por folha.
-O do pr�-datado eletr�nico, US$ 0,15.
-Sem educa��o, reforma ficar� 'capenga'.
-O per�odo da tarde do Semin�rio Internacional foi dominado pelo conceito de Qualidade Total.
-N�o no �mbito da empresa, mas de um pa�s inteiro.
-Tema: mercado, rela��es de trabalho e educa��o.
-As duas palavras n�o chegaram a ser ditas, mas resumem o consenso: investir em treinamento nas empresas � bom, mas n�o basta.
-No domingo, em Campos (280 km ao norte do Rio), Brizola concentrou as cr�ticas em Cardoso e Lula.
-Disse que FHC � incompetente administrativamente e que Lula � inexperiente e que n�o gosta de trabalhar.
-Segundo os organizadores, havia 6.000 pessoas no com�cio �s 21h, quando Brizola come�ou a falar.
-Quando ele terminou, �s 22h10, metade das pessoas havia abandonado o local.
-A aposentadoria �, em tese, o tempo de realizar planos antes abandonados pela necessidade de trabalhar, mas nem sempre � isso que acontece.
-Muitas vezes as mudan�as na vida do rec�m-aposentado levam a uma sensa��o de perda de capacidade.
-Essas mudan�as geralmente coincidem com a �crise da meia idade�, que � definida n�o pela faixa et�ria, mas como um certo momento em que as pessoas reavaliam as escolhas feitas na sua vida.
-Que a organiza��o investiu muito tempo e dinheiro na sensibliza��o para o programa e que, agora, � com eles.
-Que n�o faria nada, a n�o ser cobrar os resultados do investimento.
-Zagalo assistiu ao jogo entre Flamengo e Corinthians, domingo, no Maracan�.
-Elogiou dois jogadores flamenguistas e um corintiano.
-Ele afirmou que os atacantes Magno e S�vio, do Fla, podem disputar o torneio Pr�-Ol�mpico, em mar�o de 1996 na Argentina.
-Primog�nito de Tsunezaemon Maeda, Takayuki tinha tr�s anos quando o pai, a m�e e seis irm�os chegaram a Ituverava, procedente de Sagaken, no Jap�o, para trabalhar como colonos na fazenda Santa Tereza.
-Tsunezaemon, que havia sido barbeiro em Lima, no Peru, onde morou por 14 anos, acumulara dinheiro com o qual comprou casas e pr�dios ao retornar ao Jap�o.
-Segundo Arnaldo Leite, coordenador do Programa de Capacita��o Gerencial do Sebrae (Servi�o Brasileiro de Apoio �s Micro e Pequenas Empresas), o programa se distingue de similares de outros Estados por ter aval pr�vio do Tribunal de Contas.
-De acordo com Leite, o Tc considerou desnecess�rias as licita��es nas opera��es do programa porque o Sebrae � uma entidade civil sem fins lucrativos.
-Na tarde de ontem, diante de dezenas de jornalistas, Pertence �zerou� os computadores da Justi�a Eleitoral.
-A opera��o � uma garantia de que todo o sistema estar� vazio para receber os n�meros oficiais da apura��o.
-Ao todo, ser�o usados cerca de 5.800 computadores.
-Os de maior porte est�o nos TREs (Tribunais Regionais Eleitorais) e no TSE.
-O Contru (Departamento de Controle e Uso de Im�veis) desinterditou ontem dez salas de cinema.
-Tr�s do shopping Ibirapuera, seis do Belas Artes e o Cinearte, no Conjunto Nacional.
-Continuam interditados o Cine West PLaza 3, o Comodoro e o Iguatemi, que s� deve voltar a funcionar em dezembro.
-�A produtividade das f�bricas de n�vel internacional foi o dobro da verificada nas demais, enquanto a qualidade foi cem vezes melhor.
-Elas registraram uma produ��o por hora de trabalho 43% superior �s demais�, afirma o relat�rio.
-A frequ�ncia na entrega de mercadorias para os clientes tamb�m revela grandes diferen�as entre as empresas �world class� e as concorrentes.
-O ex-auxiliar de produ��o em cervejarias Joilson da Silva, 23, casado com um filho, pedia mais informa��es sobre o abrigo.
-�Eles d�o comida pra gente nesse lugar?
-Podemos dormir?
-O motivo seria a indefini��o das regras de convers�o dos alugu�is.
-O advogado Waldir de Arruda Miranda Carneiro, especializado em loca��o diz que a convers�o espont�nea pode ser interessante dependendo da negocia��o entre as partes.
-�Se o inquilino conseguir um bom desconto na hora da mudan�a do aluguel de cruzeiros reais para URV � neg�cio para ele�, diz.
-Isso porque ningu�m sabe quais ser�o os crit�rios da convers�o autom�tica, explica.
-Uma parada no Boathouse Cafe (East 72 com a Park Drive North) pode ser uma boa id�ia para quem est� indo ao Metropolitan pelo Central Park.
-A lanchonete � simples, mas faz um saboroso cachorro-quente por US$ 3.
-Quem gosta de comida italiana, deve experimentar o Christo's (Lexington, quase esquina com a rua 49).
-O card�pio varia entre pratos de massa al dente (cerca de US$ 15) e peixes grelhados (US$ 20).
-H� algo de novo nestes quatro filmes que Cac� Diegues fez para a TV Cultura, em cima de quatro can��es de Gil, Caetano, Chico e Jorge Ben Jor.
-N�o � maestria de virtuose, n�o � rigor formal racional, n�o � mensagem revolucion�ria, n�o � filia��o �s artes conceituais, n�o � achado de marketing.
-�Queremos tamb�m negociar com as ind�strias rentabilidade m�nima de 15%�, diz Ara�jo.
-Outra sa�da que ser� buscada � o aumento da venda de carne �in natura�, que hoje � de apenas 30 % do total produzido.
-A meta � chegar a 50 % , diz Ferreira Jr.
-Outro dia mesmo, durante a Copa, um jornalista ingl�s que escreve sobre o futebol para os principais jornais do mundo, reclamava dos poucos autores de express�o que escreveram sobre o fut.
-No caso do autor de �O Amanuense Belmiro� (recomendo a leitura de um dos inaugurais romances urbanos brasileiros) n�o havia nada especial a demandar a pergunta feita atrav�s do Alcino.
-Os agentes de turismo do Jap�o est�o dando tratos � bola para novo tour em solo brasileiro.
-Querem organizar pacotes para visitas ao t�mulo do tricampe�o Ayrton Senna eternamente favorito de 10 entre 10 japoneses.
-O n�mero � a soma dos US$ 8,6 bilh�es arrecadados mais US$ 3,3 bilh�es de d�vidas das empresas (transferidas para os novos controladores) mais US$ 3 bilh�es que o governo deixou de investir.
-Montoro disse que sobre esses US$ 15 bilh�es o governo deixa de pagar US$ 1,5 bilh�o/ano de juros anuais, mais US$ 1,5 bilh�o/ano em amortiza��es de d�vidas e mais US$ 2 bilh�es/ano em aportes de capitais �s empresas.
-A produ��o de petr�leo na Argentina aumentou 30 % entre 1991 e 1993.
-O salto na produ��o � atribu�do ao sucesso da privatiza��o da ind�stria petrol�fera.
-De 1991 a 1993, a produ��o de petr�leo local pulou de 20 milh�es para 34,60 milh�es de metros c�bicos.
-�ltima dica: n�o espere subir ao cesto do bal�o para iniciar suas fotos.
-A prepara��o para o v�o, por si s�, j� � um espet�culo � parte.
-CIRO COELHO � editor-assistente de Fotografia.
-A ex-prefeita Luiza Erundina participa hoje da divulga��o de um balan�o comparativo entre sua administra��o 89 a 92 e o primeiro ano da gest�o Paulo Maluf � frente da Prefeitura de S�o Paulo.
-O balan�o aponta para uma queda nos investimentos nas �reas de sa�de, educa��o e habita��o e redu��o nos sal�rios da prefeitura.
-Uma pesquisa da Associa��o Nacional de Ag�ncias de Viagens (Abav) revelou que o setor foi incrementado 29 % em m�dia desde a implanta��o do Plano Real.
-Para o presidente da Abav, S�rgio Nogueira, a expectativa � que o mercado de viagens e turismo recupere este ano os mesmos �ndices favor�veis de 1990, ano em que foi registrado o maior volume de vendas em passagens a�reas.
-As ag�ncias movimentaram cerca de US$ 2,5 bilh�es em 90.
-Na sonolenta Eindhoven, cidade do Brabante (regi�o do sul da Holanda), seriedade e pontualidade s�o apreciadas.
-�Gostamos de gente que cala a boca e faz seu trabalho, como Ronaldo.
-Rom�rio era querido, mas em certos bares ele n�o entrava�, diz um taxista.
-O tricolor, ap�s tantas decep��es na temporada, vai �s finais da Conmebol, ca�a-n�queis t�o inexpressivo que o pr�prio S�o Paulo inscreveu apenas jogadores jovens, que se denominaram Le�es, ao inv�s do tradicional Expressinho.
-Apesar disso ou exatamente por causa disso, conseguiu a classifica��o diante do Corinthians, que ficou no meio do caminho: nem escalou sua for�a m�xima, nem optou por um time de juniores com alguns reservas de refor�o.
-Assim, o tricolor conseguiu impor seu melhor conjunto.
-Mas ter� sido apenas isso?
-Vamos confrontar os titulares que tudo perderam com esses meninos que s�o a derradeira esperan�a de um t�tulo neste ano: enquanto os titulares de Tel� privilegiam o meio-campo, com tr�s, quatro, �s vezes cinco volantes congestionando o setor, o que, na pr�tica, n�o confere nem poder ofensivo ao time, tampouco prote��o infal�vel � defesa, os garotos jogam com Mona, o �nico volante t�pico.
-O resto � composto de meias-armadores e atacantes.
-Ser� mera coincid�ncia?
-Em respeito � hist�ria, diga-se que o mal que a UDN fez ao pa�s n�o decorreu de seu moralismo, mas de sua amoralidade.
-O mal residia, enfim, no fato de que a pol�tica real da UDN se traduzia no que conspirava entre quatro paredes, sem uma antena parab�lica que lhe pusesse termo e sem uma imprensa independente que revelasse, livre de paix�es partid�rias, sua voca��o para renunciar ao Estado de Direito ao toque da primeira corneta.
-A imprensa independente n�o quer cassar de Itamar Franco o direito de fazer seu sucessor.
-Tamb�m n�o lhe pede que cometa o maior pecado de um governante, que � n�o governar e n�o servir ao p�blico.
-Que o fa�a, no entanto, todos os dias do ano, n�o apenas quando o pa�s est� � boca da urna, e nos limites da lei.
-Embora j� estejam com as chaves do im�vel novo, s� devem ir para l� em fevereiro.
-�Nossa vontade era mudar antes.
-O casal quer trocar o piso do banheiro, revestir o piso das �reas sociais com madeira e instalar arm�rios.
-Metade dos Estados e munic�pios do pa�s � federativa e economicamente invi�vel, segundo Asp�sia Camargo.
-A soci�loga e cientista pol�tica falou sobre o tema na �ltima confer�ncia do encontro da Associa��o Nacional de P�s-gradua��o em Ci�ncias Sociais (Anpocs).
-Na noite de ontem, havia cerca de 3.000 pessoas retidas no aeroporto de Ezeiza, o principal de Buenos Aires.
-Os v�os da tarde de ontem entre Buenos Aires e S�o Paulo ou Rio foram retidos em Ezeiza.
-�Sei disso.
-�Procure saber se voc� se entrega, ou se voc� foge de suas emo��es.
-Mas n�o fa�a perguntas como esta, porque o amor n�o � grande nem pequeno.
-� apenas o amor.
-N�o se pode medir um sentimento como se mede uma estrada.
-Se voc� tentar medi-lo, estar� enxergando apenas seu reflexo, como a da lua em um lago; n�o estar� percorrendo seu caminho�.
-�Eu estou decepcionado�, afirmou Coulthard ap�s o treino.
-O escoc�s atribuiu o seu desempenho ruim ao fato de desconhecer o carro sob as novas regras.
-Pela primeira vez neste s�culo, vastos setores das classes m�dias ocidentais n�o conseguir�o efetivar a proeza social -- cimento da democracia e do capitalismo -- realizada pelas gera��es precedentes: garantir a seus filhos um n�vel de vida igual ou superior ao que seus pais haviam desfrutado.
-Ensino universit�rio, contas de poupan�a nos bancos, investimentos em a��es e im�veis n�o asseguram a transmiss�o do patrim�nio familiar dos pais para os filhos.
-Esse quadro de inseguran�as e de incertezas que j� dura h� duas d�cadas contribui para transformar o integrismo, o racismo, a intoler�ncia pol�tica num formid�vel desafio ao sistema democr�tico neste nosso fim de s�culo.
-LUIZ FELIPE DE ALENCASTRO, 48, historiador, � pesquisador do Cebrap (Centro Brasileiro de An�lise e Planejamento) e professor do Instituto de Economia da Unicamp (Universidade Estadual de Campinas).
-Em�lia conta a Adelaide, tamb�m, sobre o livro que est� escrevendo, que trata da fam�lias mais importantes de S�o Paulo.
-Adelaide critica Em�lia por esta sair pouco de casa e, em seguida, deixa a sala irritada pela pouca aten��o qu lhe � dispensada pela m�e.
-Cada curso dura dois s�bados, em um total de 14 horas, e custa US$ 250.
-As pr�ximas datas dos cursos s�o dias 23 e 30 de julho.
-Santana era morador antigo de Lambari d'Oeste.
-Os tr�s cortadores de cana eram de Alagoas e estavam na cidade havia 15 dias.
-Lambari d'Oeste (5.000 habitantes) virou munic�pio h� dois anos.
-Tal cobertura, assistem�tica e voltada para buscar esc�ndalos, leva-os, tamb�m, a trabalhar sobre fatos consumados.
-N�o estamos concluindo que este comportamento � intencional, mas sim que h� uma forte predisposi��o cultural (preconceito) em criticar o Legislativo antes mesmo de conhecer tudo que cerca algumas decis�es.
-Os agentes pol�ticos, sociais e econ�micos tamb�m t�m de se reciclar, pois sua a��o sobre o Legislativo paulistano s� ocorre em fun��o de interesses espec�ficos.
-Que a democracia contempor�nea � fortemente corporativa o sabemos, mas esperamos que n�o continue a ser t�o cheia de particularismos!
-RUI TAVARES MALUF, 35, mestre em ci�ncias pol�ticas pela Unicamp (Universidade Estadual de Campinas), � analista da Superintend�ncia de Experi�ncias Metropolitanas Internacionais da Emplasa (Empresa de Planejamento Metropolitano da Grande S�o Paulo).
-Vinte marcas criaram t-shirts especialmente para o evento, sob o tema �Atitude� Forum, Zoomp, Zapping, Reinaldo Louren�o, Walter Rodrigues, Der Haten, Viva Viva, Armadilha, Ellus, I�dice, Sucumbe a C�lera, Cia. do Linho, Special K, Lorenzo Merlino e Herchcovitch.
-Do movimento underground est�o presentes Anderson Rubbo, Cac� di Guglielmo, Divas e Alessandro Tierni.
-O dire��o geral � de Paulo Borges.
-No galp�o ser�o mostradas fotos dos bastidores dos lan�amentos de moda em registros de Claudia Guimar�es, da Folha Imagem.
-O mercado acion�rio foi bastante agitado ontem.
-A Bovespa (Bolsa de Valores de S�o Paulo) movimentou R$ 450,1 milh�es.
-� o maior volume desde 1� de novembro �ltimo (R$ 763,6 milh�es).
-O mercado trabalhou com a expectativa de aprova��o, pelo Conselho Monet�rio Nacional, de medidas de socorro a bancos em dificuldades.
-O �ndice Bovespa operou em alta durante toda a manh� e in�cio da tarde, mas fechou em baixa de 0,34%, considerando as medidas do CMN como restritivas ao funcionamento do sistema financeiro.
-Seria uma repeti��o do que ocorreu em 1989, durante o Plano Ver�o, quando �desapareceram� 51,87 % de infla��o do �ndice oficial de corre��o monet�ria.
-Muitas empresas entraram na Justi�a para obter o direito de contabilizar essa corros�o inflacion�ria em seus balan�os, e ganharam as a��es em primeira inst�ncia.
-Os processos continuam tramitando.
-O d�lar futuro na BM&F foi cotado a R$ 0,977425 para os neg�cios com vencimento no pr�ximo dia 29.
-O �ndice Bovespa futuro fechou a 39.600 pontos, com expectativa de valoriza��o de 7,10 % ao m�s.
-Aposto uma boneca Barbie como os pais de crian�as entre cinco e doze anos ainda v�o perder v�rios fios de cabelo procurando por um tal de Mighty Max debaixo do sof�, no cinzeiro do carro ou atr�s da geladeira.
-Mighty Max � um boneco de pl�stico, que convive com monstros e morcegos em um universo miniaturizado.
-O brinquedo � a mais recente sensa��o da apetitosa loja Fao Schwarz, da Quinta avenida, em Nova York.
-Juan Manuel Fangio, sobrinho do argentino pentacampe�o de F�rmula 1, est� testando na Calif�rnia um novo prot�tipo que vai dar o que falar na F�rmula Indy.
-Trata-se do Eagle uma reedi��o com motor Toyota e chassis Lola do legend�rio carro feito por Dan Gurney.
-Assinaram o acordo Luxemburgo, B�lgica, Holanda, It�lia, Fran�a, Alemanha, Espanha, Gr�cia e Portugal.
-N�o s�o signat�rios Inglaterra, Irlanda e Dinamarca.
-Os pa�ses visitados poder�o exigir a comprova��o de �meios de subsist�ncia� para a perman�ncia do turista.
-Essa permiss�o de entrada de brasileiros, sem o visto, partiu de uma negocia��o entre Portugal e a Uni�o Europ�ia.
-Na segunda-feira, a m�e de Christian, Suzy Fittipaldi, dissera que gostaria de pedir ao filho para que abandonasse as pistas.
-Ontem, ela foi ao aeroporto e se disse contente por t�-lo �de volta ao colo�.
-�s 11h30 de ontem, no escrit�rio da Fittipaldi Promo��es, empresa da fam�lia, Christian afirmou que, enquanto estiver motivado e achar boas as condi��es de seguran�a, continuar� na F�rmula 1.
-Folha O Banco Central est� se espelhando na experi�ncia de algum outro pa�s, em opera��o semelhante?
-Tavares N�o usamos nenhum modelo porque temos uma caracter�sitica muito nossa, que � o tamanho do Brasil.
-� um continente e � um pa�s de Terceiro Mundo.
-Vai ter real chegando de barco, caminh�o, avi�o, todos os meios de transporte.
-�J� tinha feito dieta, gin�stica localizada, exerc�cios com aparelhos e n�o conseguia eliminar essas gordurinhas.
-Achei que a 'lipo' seria uma boa alternativa�.
-A cirurgia durou duas horas.
-Silvia tomou anestesia peridural (aplicada na regi�o da coluna) e p�de retornar para sua casa no mesmo dia.
-No Tatuap�, onde a falta de atendimento � comum nos fins-de-semana, havia ontem cl�nicos e cirurgi�es trabalhando.
-Ningu�m foi encontrado ontem nas secretarias municipais e estaduais da Sa�de para comentar o assunto.
-Na semana passada, o mercado de gado leiteiro foi marcado por uma surpresa: o gado girolando atingiu pre�o superior ao holand�s puro-sangue nos leil�es.
-Dia 19 �ltimo, o 2� Special Girolando atingiu a m�dia de R$ 3.600 por 44 f�meas.
-Dois dias depois, o Salute Milk, baixou a m�dia para R$ 3.000 na venda de metade das 30 vacas holandesas que foram apresentadas para neg�cio.
-Segundo o Instituto M�dico Legal de Tabo�o da Serra, todas as v�timas levaram mais de um tiro, a maioria na cabe�a.
-A arma utilizada foi uma pistola autom�tica 380.
-Os crimes no Itaim Paulista ocorreram na rua Enseada de Itapacor�ia, 327, por volta das 20h de s�bado.
-Muller chega �s 5h25 de hoje a S�o Paulo, vindo de Londres.
-O jogador contou o motivo que o obrigou a n�o acertar com o Everton.
-�N�o garantiram casa, carro, assist�ncia m�dica e passe livre depois de quatro anos�, disse o diretor Kalef Jo�o Francisco, que falou ontem com Muller.
-O contrato, diz ele, expirou ano passado e s� foi renovado em fevereiro.
-Ele disse que a receita da ferrovia n�o cobre as despesas.
-Gazeta Filho confirmou que os dormentes se deterioraram muito antes do previsto.
-Segundo ele, os cerca de mil dormentes podres ser�o trocados em curto prazo.
-O percurso pelas avenidas Consola��o, Rebou�as e Francisco Morato durou exatos 20 minutos, sem tr�nsito moroso.
-Foi poss�vel cumprir os 13,4 quil�metros do percurso em uma velocidade m�dia de 40 km/h, incluindo-se a espera nos sem�foros.
-O que corresponde a uma rentabilidade de 13,03 % sobre o patrim�nio l�quido.
-O grupo Votorantim recebeu o ISO-9002 para o cimento Votoran, produzido em Volta Redonda.
-Os servi�os de intelig�ncia da Argentina que trabalham com a ajuda do Mossad (servi�o secreto de Israel) e do FBI (Pol�cia Federal dos EUA) atribuem o atentado ao Hizbollah, grupo mu�ulmano xiita pr�-Ir�.
-O grupo e o governo iraniano negaram envolvimento.
-Ontem, o juiz Juan Jose Galeano, respons�vel pelo caso, viajou para a Venezuela.
-A corrida sucess�ria come�a esta semana com um quadro mais claro e definido do que o da semana passada.
-Embora ainda n�o possa ser definitivamente descartada, a hip�tese da candidatura do ex-presidente Jos� Sarney encontra-se pelo menos momentaneamente bastante afastada, abrindo espa�o para que a campanha comece a deslanchar com base no atual grid de largada.
-A �nica alternativa que resta a Sarney de fato � que o Superior Tribunal de Justi�a acate a den�ncia de estelionato apresentada peloo Minist�rio P�blico Federal contra Orestes Qu�rcia e que, neste caso, o ex-governador de S�o Paulo renuncie � candidatura do PMDB.
-� uma possibilidade remota.
-N�o s� a expectativa � de uma tramita��o demorada at� a decis�o do STJ o que pode inviabilizar uma eventual candidatura Sarney por falta de tempo at� as elei��es, como tamb�m h� informa��es dando conta de que o ex-presidente poder� em breve anunciar seu apoio a Fernando Henrique Cardoso, do PSDB.
-Estudo da Associa��o dos Engenheiros da Petrobr�s sobre a estrutura de pre�os dos combust�veis mostra que a Petrobr�s tem uma margem de at� 29% no pre�o do combust�vel que poderia ser usada para reduzir o valor da gasolina.
-O c�lculo baseia-se na compara��o dos pre�os brasileiros com o americano.
-A Folha procurou a Petrobr�s mas n�o obteve retorno.
-Os Bulletin Board Systems (BBS) est�o oferecendo um novo servi�o aos seus usu�rios: a conex�o com a rede das redes, a InterNet.
-Essa rede, criada h� 20 anos pelo Departamento de Defesa dos Estados Unidos para conectar os seus v�rios centros de pesquisa, � considerada a maior rede de comunica��o entre computadores, contando com milh�es de usu�rios espalhados por v�rias cidades do mundo.
-Os servi�os mais procurados na InterNet s�o correio eletr�nico e transfer�ncia de arquivos, conhecida como FTP (File Transfer Protocol).
-Para se ter uma id�ia da import�ncia da InterNet, a Casa Branca est� conectada a essa rede, disponibilizando publica��es e documentos para qualquer pessoa do mundo.
-O acantonamento Itere� oferece futebol, v�lei, caminhadas, brincadeiras, e est� com vagas para as temporadas de 17 a 23 e de 24 a 30 de julho.
-Fica na fazenda Itere�, em Juquitiba, a 120 quil�metros de S�o Paulo.
-Steven quer aproveitar a viagem ao Brasil para completar sua discografia dos Mutantes e conhecer Arnaldo Baptista.
-A advogada diz que o Mais! adulterou a obra �para satisfazer a vontade de neonazistas brasileiros�.
-Vera Lucia Vassouras, que � negra e se diz militante do PDT, sustenta que os autores do livro �em nenhum momento afirmaram que os negros s�o geneticamente inferiores ao brancos�.
-No texto publicado no Mais!, os autores do livro afirmam que �as pontua��es de QI aumentam com o status econ�mico, em ambas as ra�as.
-Mas a magnitude da diferen�a entre negros e brancos nos desvios padr�es n�o se reduz.
-Na realidade, ela aumenta � medida que as pessoas ascendem a escada socioecon�mica�.
-�H� exce��es.
-Uma blusa preta pode ser usada com um suti� branco se a saia for branca�, explica.
-A an�gua deve ser usada sob roupa transparente.
-Nunca use an�gua curta com uma saia comprida.
-CONCERTOS INTERNACIONAIS GLOBO, 0h.
-A com�dia rom�ntica �Suburbano Cora��o� conta a hist�ria de Lovemar (Andr�a Beltr�o), uma sonhadora costureira do sub�rbio que idolatra o locutor de r�dio Rog�rio (Marco Nanini).
-Adaptado da pe�a hom�nima de Naum Alves de Souza, o especial tem ainda no elenco Marisa Orth, Pedro Paulo Rangel e Diogo Vilela.
-A dire��o � de Guel Arraes.
-Al�m de Bras�lia, devem atrasar o rel�gio os Estados de S�o Paulo, Rio Grande do Sul, Santa Catarina, Paran�, Rio de Janeiro, Minas Gerais, Esp�rito Santo, Goi�s, Mato Grosso do Sul, Mato Grosso, Amazonas e Bahia.
-A altera��o deve ser feita de acordo com a hora local, respeitando portanto as diferen�as normais de fusos hor�rios.
-Quem est� duas horas mais cedo que Bras�lia mudar� o hor�rio duas horas antes, portanto.
-Com a mudan�a, o metr� de S�o Paulo vai funcionar hoje uma hora a mais, como se tivesse duas meias-noites.
-Os rel�gios ser�o atrasados � meia-noite para 23h, e os trens continuar�o a correr at� a �segunda meia-noite�.
-Isso vale para os trens das linhas Norte-Sul e Leste-Oeste.
-O metr� Paulista continua fechando �s 20h30 e, portanto, n�o ser� afetado pela mudan�a; as outras linhas do metr� funciona das 5h00 �s 24h00.
-A prolifera��o nessa �rea � maior pelo fato dos ind�genas n�o pagarem impostos com a atividade, mas apenas taxas.
-Muitos dos cassinos t�m grandes grupos por tr�s, que usam incentivos aos �ndios como fachada.
-A emo��o cresce quando atravesso o sal�o de festas e chego �s salas do museu, do Memorial de Menininha do Gantois.
-Aqui era o quarto pobre, simples, limpo e acolhedor.
-A cama n�o era um leito de enferma, era um trono de rainha.
-Apoiada nos travesseiros, o busto levantado na anima��o da conversa, o rosto concentrado no jogo dos b�zios, no instante da adivinha��o, Menininha do Gantois personificava a verdade do Brasil, de um Brasil mais profundo e mais belo, situado al�m da corrup��o, da injusti�a, da viol�ncia, da mentira, das pequenezes, da dela��o transformada pelos pobres homens da baixa pol�tica em suprema virtude nacional.
-Ai, m�e Menininha, acode-nos nesta hora de quase desespero, d�-nos o alimento da confian�a e do sonho.
-Aqui, neste espa�o onde se reverencia sua mem�ria, eu a recordo amiga de toda uma vida, nossas longas vidas vividas na intensidade da paix�o: com ela aprendi a bondade e o povo.
-Me ensinou que s� o povo constr�i grandeza e o faz desinteressadamente, no dia-a-dia da generosidade.
-O Instituto Brasileiro do Patrim�nio Cultural reinaugura dia 18 o Museu Victor Meirelles, em Florian�polis.
-O museu funciona na casa em que nasceu Meirelles, autor do quadro �A Primeira Missa no Brasil�, sua obra mais famosa.
-O pr�dio foi restaurado.
-A Cartilha da Seguran�a Escolar foi lan�ada anteontem, em Porto Alegre.
-O autor do projeto, vereador Isaac Ainhorn (PDT), disse que o objetivo � orientar os estudantes sobre seguran�a pessoal, no seguran�a no tr�nsito e preven��o contra as drogas.
-O patrim�nio era de CR$ 26,3 trilh�es, equivalentes a US$ 16,3 bilh�es, contra US$ 6,9 bilh�es dos fund�es tradicionais, que v�m encolhendo.
-A grande vantagem dos fundos de commodities � a possibilidade de saques di�rios, sem perda do rendimento, ap�s 30 dias.
-Um grupo de miul policiais militares dos EUA sob o comando do ex-chefe de pol�cia de Nova York, Raymond Kelly, comeu a trabalhar ontem em Porto Pr�ncipe com o objetivo de ajudar a manter a ordem p�blica.
-Trezentos soldados de cinco pa�ses da regi�o do Caribe tamb�m chegaram ontem ao Haiti com a mesma miss�o.
-O coordenador da Intelig�ncia Fiscal da Receita, Marcos Vin�cius Lima, disse que foram encontrados em 14 estabelecimentos de um conceituado col�gio privado de S�o Paulo os equipamentos importados por uma funda��o educacional ligada ao mesmo grupo.
-Esse col�gio foi multado semana passada em 2 milh�es de Ufir quase R$ 1 milh�o, valor que corresponde ao II (Imposto de Importa��o) e IPI (Imposto sobre Produtos Industrializados) sonegados por meio da fraude.
-Manoel Carlos Marques Beato, do restaurante Fasano e Jos� Sebasti�o Figueiredo, sommelier e propriet�rio do La Bicocca, garantiram suas vagas no Concurso Brasileiro de Sommeliers.
-No segundo semestre, o concurso escolher� um destes profissionais (respons�veis pelo servi�o de vinhos num restaurante) para representar o Brasil no concurso mundial, no Jap�o, em 95.
-Jack �Girafa� Charlton, t�cnico da Irlanda, usou seu pesco�o comprido e seus quase dois metros de altura para vislumbrar a passagem da equipe para as quartas, depois de um estr�ia vitoriosa contra a It�lia na primeira fase.
-Acabou saindo nas oitavas.
-Com a desclassifica��o, Jack Girafa n�o teve o comportamento pacato que se espera da gigante das savanas.
-Criticou a Fifa at� pelas diretrizes sobre suprimento de �gua durante as partidas.
-�Embora seja concorrente respeitado, a Nielsen n�o representa uma amea�a real�, diz Fl�vio Ferrari, diretor da Ibope M�dia.
-Acrescenta que o cinquenten�rio instituto que, a exemplo da Nielsen, tem atua��o internacional, se disp�e a oferecer eventuais relat�rios diferenciados do concorrente.
-No final do �ltimo ano, Coelho dividiu a cena com o tenor espanhol Pl�cido Domingo.
-H� um m�s, estrelou �Salom�, de Richard Strauss.
-O jornalista LU�S ANT�NIO GIRON viaja � �ustria a convite da ag�ncia Austr�aca de Turismo e da Lufthansa.
-No s�bado, dia 2, a CET (Companhia de Engenharia de Tr�fego) restabeleceu o sentido normal de circula��o da rua Visconde da Luz, no Itaim-Bibi (zona sul), da Jo�o Cachoeira para a Clodomiro Amazonas.
-A mudan�a foi determinada como op��o de retorno ou acesso � avenida Santo Amaro.
-Parte do crescimento de Fernando Henrique na �ltima pesquisa Datafolha deve-se � evolu��o do tucano entre os eleitores que declaram simpatia pelo PMDB de Orestes Qu�rcia e pelo PPR de Esperidi�o Amin.
-FHC foi de 33% para 41% entre os peemdebistas (oito pontos percentuais de crescimento) e de 3% para 42 % no eleitorado do PPR (11 pontos).
-24 de novembro de 92 -- Um Boeing 737, da China Southern Airlines, bate em um morro pouco antes de aterrissar na cidade tur�stica de Guilin, causando a morte de 141 pessoas.
-23 de julho de 93 -- Um jato brit�nico Aerospace 146, da China Northwest Airlines caiu na regi�o aut�noma de Ningxia Hui.
-Dos 133 passageiros e tripulantes que estavam na aeronave, 55 morreram.
-Pergunta Quais suas opini�es sobre a atua��o do Minist�rio P�blico na investiga��o da contraven��o?
-Resposta Injusta principalmente quando nos acusa de tr�fico de drogas, de participar de quadrilha e sequestro.
-A �R�scal Pizza & Cozinha� criou um card�pio especial para o almo�o da P�scoa de amanh�, com uma massa com um recheio e um molho � base de peixes.
-Pelo pre�o de CR$ 6.200, os clientes poder�o se servir � vontade do ravi�li com recheio de salm�o.
-Os que preferirem carne, podem optar por um nhoque preparado � base de vitela.
-A pizzaria foi inugurada pelo Grupo Viena h� dois meses e oferece 21 tipos de pizzas no forno � lenha, al�m de massas especiais, grelhados e saladas.
-Presidente arruma cargos para integrantes do 'Grupo de Juiz de Fora'.
-Na reta final de seu mandato, o presidente Itamar Franco decidiu arrumar empregos, a partir de janeiro pr�ximo, para seus amigos que comp�em o chamado �Grupo de Juiz de Fora�.
-Parecia concurso de perguntas idiotas a cobertura do carnaval nos sal�es, ter�a.
-Manchete, Gazeta e Bandeirantes empataram.
-Voc� se acha louca?
-Os cargos oferecidos s�o, por exemplo, ger�ncia de produ��o industrial, engenharia de projeto ou desenvolvimento de produtos.
-Pesquisa da Laerte Cordeiro & Associados, com base em an�ncios de emprego, indica que a �rea voltou a ocupar a segunda posi��o na demanda.
-Pa�ses ex-comunistas como Pol�nia e Hungria t�m interesse em entrar na Otan.
-Eles temem, por�m, que um relacionamento especial entre Moscou e a alian�a os deixe sem garantias de seguran�a.
-De seu lado, a R�ssia manifestava preocupa��es semelhantes diante da aproxima��o da Otan em rela��o aos antigos membros do Pacto de Vars�via (a alian�a militar pr�-URSS, extinta em 1990).
-S�o tr�s as certezas entre as partes que negociam o aumento de sal�rio para o funcionalismo: a decis�o n�o pode ser adiada, a apar�ncia de equil�brio fiscal deve ser preservada e Ricupero ficar� no cargo em quaisquer circunst�ncias.
-Comandantes militares voltaram a receber comunicado esta semana, destinado � tropa, dizendo que o reajuste do soldo sair� este m�s.
-Os maestros candidatos ao pr�mio de melhor regente s�o Claudio Abbado, Simon Rattle, Valery Gergiev, Mariss Jansons e John Eliot Gardiner.
-Para melhor cantor, figuram Jos� Carreras, Thomas Hampson, Ben Heppner, Sergei Leiferkus e Bryn Terfei.
-Entre as mulheres, est�o Cecilia Bartoli, Jessye Norman, Anne Sofie von Otter, Dawn Upshaw e Galina Gorchakova.
-O Classical Music Award � promovido pela �BBC Music Magazine� e pelo jornal �The Independent�, e tem o patroc�nio da empresa Kenwood.
-Outros pr�mios incluem personalidade do ano, melhor produ��o de �pera, melhor transmiss�o de TV, melhor grupo de m�sica antiga, entre outros.
-Antonio Jorge, diretor t�cnico da Amil, diz que a empresa ainda estuda a convers�o, mas que os carn�s de junho j� ser�o emitidos em URV.
-Ele garante que o aumento real nas mensalidades n�o vai superar os 22 % propostos pela Abramge.
-Outras empresas, entretanto, v�o praticar um reajuste maior na convers�o.
-P�ssimo come�o de temporada para os dois melhores tenistas do mundo.
-Pete Sampras e Michael Stich perderam no Torneio de Doha, no Qatar, para jogadores mais acostumados ao calor forte o marroquino Karim Alami e o haitiano Ronald Agenor.
-O �nico favorito a vencer foi Stefan Edberg, que arrasou o tamb�m sueco Anders Jarryd por 6/1 e 6/1.
-Sampras esteve irreconhec�vel.
-Alami, de 20 anos e n�mero 204 do ranking, teve a maior vit�ria de sua carreira.
-�Tinha v�o marcado para esta noite (ontem), porque n�o imaginava ser capaz de vencer Sampras�, disse Alami.
-S�O PAULO -- Se o leitor se deu ao trabalho de ler todas as repercuss�es sobre o real publicadas ontem pela Folha, ter� verificado que, como sempre ocorre nessas ocasi�es, h� opini�es contr�rias, a favor e mais ou menos.
-Se separar as opini�es conforme a caracter�stica do entrevistado, ter� verificado igualmente que todos os empres�rios ouvidos s�o a favor.
-Seria bom grifar a� o todos.
-Os 160 expositores da mostra da ind�stria de cosm�ticos estimam vendas de US$ 150 milh�es at� a pr�xima segunda-feira.
-S�o esperados cerca de 60 mil visitantes.
-A Cosm�tica'94 acontece no Parque Anhembi (zona norte de SP) e � aberta ao p�blico.
-A Secretaria das Finan�as da Prefeitura de S�o Paulo informou ontem que a partir de segunda-feira, dia 8, a UFM (Unidade Fiscal do Munic�pio) valer� R$ 28,15.
-O reajuste � de 6,08 %, equivalente ao IPC-r de julho.
-Os contribuintes que pagarem seus tributos (IPTU, ISS etc.) hoje sair�o ganhando, pois o c�lculo ser� feito pela UFM de R$ 26,54.
-Ser� lan�ado no pr�ximo dia 9, no audit�rio da Folha, a partir das 19h30, o livro �Tributa��o no Brasil e o Imposto �nico�, organizado pelo economista Marcos Cintra.
-Autor da proposta do Imposto �nico, que pretende reduzir a enorme gama de tributos a um, Marcos Cintra far� uma palestra sobre o assunto.
-Ainda em setembro, no final do m�s, encerram-se as inscri��es nos col�gios Santa Cruz (para a 1� s�rie do 1� grau) e Santo Am�rico.
-As escolas limitam os vestibulinhos a algumas s�ries que t�m maior procura por vagas.
-MAIORIA DOS PROGRAMAS EST� LIGADA � REDE DE ESGOTOS*.
-A modelo Monique Evans, um dos destaques do Carnaval carioca deste ano, vai submeter-se a uma tomografia computadorizada na pr�xima semana para verificar a origem de �um pontinho� que apareceu em seu rim.
-�N�o acho que seja c�ncer, pode ser algo relacionado aos meus medos e ang�stias�, afirmou.
-Monique, 37, disse que descobriu a �marquinha, que n�o � pedra no rim� quando se separou do marido, em junho passado.
-�Senti dores e, como tenho uns casos de c�ncer na fam�lia, decidi fazer o exame�, contou a modelo.
-Antonio Delfim Netto, deputado federal pelo PPR-SP, ontem no �Jornal do Brasil�.
-Itamar e as autoridades que o acompanhavam chegaram ao cemit�rio � 1h50 de ontem.
-Ele permaneceu no vel�rio por aproximadamente uma hora e seguiu para descansar no hotel Gl�ria at� o hor�rio do enterro.
-Segundo amigos do presidente, ele repetiu v�rias vezes que Ariosto era o filho homem que nunca teve.
-Ele voltou a ter crises de choro.
-Na dianteira, o freio � a disco ventilado de 320 mm, com pist�o duplo.
-Na traseira tamb�m h� disco ventilado de 230 mm.
-Ambos t�m acionamento hidr�ulico.
-A suspens�o frontal � por garfo telesc�pico invertido, marca Marzochi, com curso de 200 mm.
-A suspens�o traseira � progressiva com um s� amortecedor Boge.
-O TJM (Tribunal de Justi�a Militar) vai come�ar a ouvir neste m�s as testemunhas de acusa��o do processo contra os 120 Policiais Militares denunciados pelo massacre de 111 presos no pavilh�o 9 da Casa de Deten��o, no Carandiru (zona norte de S�o Paulo).
-O massacre ocorreu quando a tropa de choque da PM invadiu o pavilh�o para acabar com uma rebeli�o, em 2 de outubro de 92.
-Mal, pelo menos por enquanto, na elei��o presidencial, o PMDB mostra na corrida dos senadores que ainda tem cacife.
-S�o peemedebistas os l�deres no Rio Grande do Sul (Jos� Foga�a), Paran� (Roberto Requi�o) e Cear� (Mauro Benevides).
-No espectro pol�tico, Foga�a e Requi�o s�o rotulados como membros da centro-esquerda.
-O Conselho Municipal de Defesa dos Direitos das Mulheres e das Minorias promove hoje em Natal, a partir das 14h, no cal�ad�o da rua Jo�o Pessoa (centro), um ato p�blico.
-A Coordenadoria Especial da Mulher de Londrina (PR) promove debate, �s 20h30, no Catua� Shopping Center, com a sex�loga Marta Suplicy.
-Em Curitiba, as comemora��es v�o incluir envio de fax, plantio de �rvores e passeatas.
-Em Salvador, haver� hoje a inaugura��o na esta��o da Lapa (centro) de um balc�o de informa��es sobre as quest�es da mulher.
-Em plant�o especial, funcion�rios da Delegacia Regional do Trabalho e do Instituro Pedro Melo expedir�o carteiras de trabalho e de identidade para mulheres.
-A excurs�o est� sendo organizada pelo clube More Fun, que promove a troca de correspond�ncias entre gays que n�o querem expor publicamente suas prefer�ncias sexuais.
-At� sexta-feira, 38 pessoas j� haviam reservado suas passagens.
-�Queremos lotar dois �nibus com a 80 pessoas e fechar o hotel�, disse o administrador de empresas E., 31, um dos organizadores.
-Curiosamente, quanto mais os novos programas e redes �facilitam� a vida dos informatizados, maior a tend�ncia dles de ficarem grudados no computador.
-Hoje em dia, qualquer americano medianamente equipado pode fazer diante do teclado tarefas que antes exigiam que ele tirasse o bumbum da cadeira: mandar e receber fax e mensagens eletr�nicas, reservar passagens a�reas, controlar a conta banc�ria, acessar bancos de dados e dezenas de outros servi�os.
-Para marcar a doa��o da cole��o de Takeo Hirata para a biblioteca do Masp, dois designers japoneses fizeram ontem uma palestra na Fiesp.
-Takuo Hirano e Tetsuyuki Hirano, pai e filho, vieram falar sobre o novo conceito de design que est�o desenvolvendo.
-Atrav�s da sua empresa, a Hirano Design International Inc., que tem sede no Jap�o e filial em Chicago, eles promovem o casamento entre o design e a administra��o de empresas.
-�Eu estou apaixonado�, declarou o presidente Itamar Franco, 63, no hall do Teatro Nacional de Bras�lia, onde assistiu anteontem o bal� �Quebra Nozes� com a pedagoga June Drummond, 31.
-June n�o respondeu se tamb�m estava apaixonada.
-Apenas sorriu.
-Itamar disse que o ass�dio da imprensa continua �atrapalhando muito� seu namoro com June.
-Com cinco livros publicados, e um sexto em prepara��o, o escritor aguarda apenas, para a definitiva consagra��o, que Hollywood consiga adaptar alguma de suas hist�rias malucas para as telas.
-�Strip-tease�, que a Companhia das Letras lan�a hoje no Brasil, � o �ltimo romance de Hiaasen.
-A mesma editora publicou, em 93, o livro de estr�ia do escritor, �Ca�a aos Turistas�.
-O ciclista espanhol, 48, se suicidou em Caupenne d'Armagnac, no sul da Fran�a com um tiro.
-Em 1973, Oca�a venceu a Volta da Fran�a, a maior competi��o do g�nero no mundo.
-Piotr Wator, 21, do Gajowianka, da 3� divis�o, morreu domingo durante partida, em Cracovia.
-Wator se chocou com um companheiro de equipe.
-Cerca de 80 % da �rea do munic�pio � considerada de preserva��o ambiental.
-�O aumento na arrecada��o possibilitou que, depois de 30 anos, a prefeitura pudesse comprar tr�s caminh�es, um �nibus e um trator�, disse o prefeito Fausto Camper, 43 (PMDB).
-E a Regina Cas� me disse que churrasco da Brahma, vulgo churrasquinho de Los Gatos, � assim: voc� enfia o dedo na picanha e fica rodando.
-Rarar�.
-Dedo na brasa!
-E sabe quem eu ainda n�o vi?
-O Chato Mesquita do �Pernil�.
-O Jabaury Jr. a gente encontra toda hora.
-Esse t� trabalhando.
-T� cobrindo at� vaca no pasto!
-Rarar�!
-No caso do cart�o Unidas, o possuidor tem desconto de at� 5 % na loca��o, possui tratamento preferencial e melhoria na categoria de carro.
-O cart�o TVA vai permitir a seus portadores, a partir deste m�s, a participa��o nas primeiras exibi��es realizadas em espa�os culturais do Banco Nacional.
-A American Express estuda tamb�m lan�ar cart�es de afinidade.
-Os cart�es Sollo j� realizaram contratos, entre outros, com o Jockey Club de S�o Paulo, a Funda��o Get�lio Vargas, a Associa��o Paulista de Propaganda, a Birello e a Jog�.
-Moradora da Mooca, nos �ltimos cinco anos Regina virou o ano com Hilton, o namorado, no �Recanto da Cachoeira�, uma est�ncia no munic�pio de Socorro (SP).
-Brigada com o namorado, Regina optou por estrear na S�o Silvestre.
-� Foi �timo, voc� fez um minuto melhor do que o esperado�, disse a Medeiros ao cruzar a linha de chegada.
-Ganhou um abra�o, um beijo no rosto, e foi para a Mooca estourar uma champanhe � meia-noite.
-O sindicalista Luiz Ant�nio de Medeiros correu a S�o Silvestre em busca de resultados.
-E chegou l�.
-Com uma ponte de safena e uma mam�ria implantadas h� um ano e meio, fez o trajeto em 1h41 58 minutos atr�s do vencedor.
-Na chegada do ano em que disputar� uma vaga no Senado pelo PP-SP, deu mais de duas dezenas de entrevistas, posou para fotos, e deixou 1993 nas emissoras de r�dio e TV.
-As chibatadas rompem a pele e as cicatrizes ficam por toda a vida.
-A dor faz os golpeados desmaiarem.
-Ao ouvir a negativa a seu recurso, Fay n�o demonstrou rea��o.
-Em Cingapura, a pena de chibatadas � obrigat�ria para tentativa de homic�dio, roubo, estupro, tr�fico de drogas e vandalismo.
-Na discuss�o com a bancada, FHC deve tratar da revis�o constitucional e da delega��o que recebeu do partido para negociar as alian�as eleitorais.
-A reuni�o da Executiva do PMDB deve ser palco de mais um embate entre os adeptos da candidatura do ex-governador Orestes Qu�rcia e os antiquercistas.
-No PPR, a discuss�o ser� sobre a pol�tica de alian�as e se ela inclui o PSDB, al�m dos novos candidatos do partido a presidente.
-O mais cotado � o senador Esperidi�o Amin (SC).
-Apesar da entrada da frente fria no Estado, s�o poucas as chances de chuvas no interior, regi�o mais afetada pela falta de chuvas.
-Mas o abrandamento da invers�o t�rmica (fen�meno causado por massas de ar quente que impedem a dispers�o dos poluentes) e a volta dos ventos dever�o contribuir para melhora da qualidade do ar.
-FHC ressalvou que n�o conhecia a proposta com detalhes e que o governo est� aberto a negocia��es.
-Entretanto, disse n�o saber �que perdas s�o essas�, e que �at� agora todo mundo est� ganhando com a URV�.
-Pelo que a Folha apurou, a equipe econ�mica n�o est� disposta a aceitar modifica��es nos dispositivos sobre sal�rios da medida provis�ria que instituiu a URV.
-�N�o podemos aceitar medidas que contrariem o combate � infla��o�, disse FHC, ao responder sobre o assunto.
-Falando aos membros da Comiss�o de Assuntos Econ�micos do Senado, o ministro disse estar feliz por n�o haver, at� agora, senten�as judiciais contr�rias �s medidas do plano econ�mico.
-Ele disse que a Justi�a do Trabalho em S�o Paulo havia decidido que n�o havia perdas salariais para os metal�rgicos do Estado.
-Ao contr�rio do que tem acontecido em suas �ltimas declara��es p�blicas, FHC evitou ontem fazer ataques aos chamados �aumentos abusivos de pre�os� por parte dos oligop�lios grandes empresas que dominam determinados segmentos da economia.
-O ministro limitou-se a dizer que havia conversado por telefone com assessores do presidente Itamar Franco sobre a proposta de uma nova legisla��o contra abusos do poder econ�mico.
-Esse prazo, no Brasil, � muito flex�vel.
-O Opala durou 23 anos, o Chevette, 20, a Kombi segue firme desde 1957.
-As redes de revendedores das duas marcas festejam a dissolu��o.
-Os distribuidores Ford est�o exultantes.
-Foram recebidos na semana passada em Detroit por Alex Trotman, principal executivo da Ford norte-americana.
-Assim como a China, aceleramos a reforma no campo, come�amos por a�.
-Todos sabem que as reformas na agricultura foram a locomotiva que levou a China a seu estado atual.
-Por isso, j� em 1991, come�amos a introduzir a propriedade privada da terra, desmontando o sistema socialista.
-Hoje n�s temos o maior setor agr�cola privado entre os pa�ses da Comunidade de Estados Independentes (alian�a que substituiu a URSS).
-Por enquanto, s� est�o definidos investimentos da ordem de US$ 600 milh�es nos pr�ximos tr�s anos na Argentina e mais US$ 500 milh�es no M�xico, anunciou Douglas Ivester.
-Nos �ltimos cinco anos, s� na Argentina, a Coca-Cola investiu US$ 800 milh�es na aquisi��o de novos equipamentos e desenvolvimento de novas tecnologias, lembrou Ivester ap�s encontro com o presidente argentino Carlos Menem.
-Uma das consequ�ncias disso � outra aberra��o na sa�de brasileira: em 1991, os hospitais psiqui�tricos cadastrados � rede federal consumiam 7,5% das despesas com interna��es realizadas pelo SUS e representavam o equivalente a 18% dos leitos.
-Esses n�meros v�o de encontro com a tend�ncia mundial, segundo a qual o paciente deve ficar o menor tempo poss�vel internado, e os esfor�os devem ser para reintegr�-lo na sociedade.
-Apesar de seu discurso duro contra eventuais aumentos de pre�os, Ciro admitiu, pela primeira vez, rever a estrat�gia de redu��o das al�quotas de importa��o.
-Ele disse aos empres�rios -- que mantiveram suas cr�ticas � pol�tica de abertura comercial indiscriminada -- que o governo pode aumentar de novo as al�quotas de importa��o em todos os setores.
-Os juros est�o em alta.
-O rendimento projetado das cadernetas saiu de um patamar de 42% nos dep�sitos na semana passada para 46% nas aplica��es nos pr�ximos dias.
-Francisco Lafayette, administrador do Banco Banorte, diz as cadernetas est�o com rendimento atraente, mas que os fundos de commodities d�o a vantagem adicional do resgate di�rio com rentabilidade a partir da car�ncia de 30 dias.
-Cada modelo de fac-s�mile, com suas especifica��es t�cnicas peculiares, recebe uma patente do tipo MI (modelo industrial).
-N�o � um PI porque s� funciona com algo que j� existia (o telefone).
-O registro do tipo DI (desenho industrial) diz respeito � configura��o e cor do produto.
-O Coprotest � uma vers�o revista e melhorada das anti-higi�nicas e pouco seguras latinhas para coleta de fezes para exames parasitol�gicos.
-�O produto n�o tem similares em todo o mundo e est� sendo muito bem aceito nos Estados Unidos�, afirma Adolfo Moruzzi, 49, diretor da NL.
-A pra�a deveria ser reconstru�da ap�s a constru��o do �Piscin�o�.
-A pra�a, por ser tombada, deveria ficar como era antes da obra.
-Segundo o sindicato dos arquitetos, o projeto da prefeitura modifica o desenho original.
-Entre as modifica��es, est� a constru��o de um anfiteatro ao ar livre.
-O sindicato fundamenta o pedido de embargo da obra com a omiss�o da prefeitura, que n�o submeteu o projeto de reurbaniza��o da pra�a ao Condephaat.
-A assessoria de imprensa da Secretaria de Vias P�blicas disse ontem que a prefeitura s� vai se manifestar depois que for notificada pela Justi�a.
-Jason � o maior assassino de todos, com 126 v�timas.
-Myers vem a seguir, com 46.
-Freddy est� na rabeira, com 37.
-Coincidentemente, Jason tamb�m levou o maior n�mero de balas (132), contra 27 de Michael Myers e apenas seis de Freddy Krueger.
-Os avais s�o respeit�veis, mas n�o bastam.
-Tem que se demonstrar atrav�s de contas e de racioc�nios que o expurgo significar� perda.
-Como n�o se pretende o monop�lio da verdade, apresento o racioc�nio (e as contas) que fundamentam a tese de que n�o haver� perdas.
-Quem pensa o contr�rio, que trate de comprovar que o racioc�nio est� furado.
-Ao desembarcar no Canad�, troque a moeda norte-americana por d�lares canadenses.
-N�o esque�a dos �culos escuros e uma capa de chuva.
-Existem outras formas de burlar o reajuste anual.
-Alguns propriet�rios fazem um contrato para o apartamento e um acordo, muitas vezes verbal, para a loca��o da garagem e/ou do telefone.
-Nesse caso, embora o valor do aluguel do im�vel fique fixo por 12 meses, os da garagem e do telefone podem ser reajustados at� mesmo mensalmente.
-H� ainda aqueles que optam pela loca��o de temporada.
-Ou seja, alugam o im�vel por um prazo m�ximo de 90 dias e ainda podem receber o valor adiantado.
-A equipe do ministro da Fazenda, Rubens Ricupero, avalia que o processo de crescimento do volume de dinheiro em circula��o, decorrente da queda da infla��o, est� praticamente encerrado.
-Segundo o diretor de Assuntos Internacionais do Banco Central, Gustavo Franco, as emiss�es de reais cresceram bastante na primeira semana de julho, mas est�o est�veis desde ent�o.
-Blatter disse que o Comit� n�o levou em considera��o o fato do jogador ter se desculpado e comparecido ao hospital para visitar o norte-americano Tab Ramos.
-�Tamb�m n�o nos interessa se o jogador estava internado ou n�o.
-O desenlace, por�m, n�o veio na forma do �golpe de tim�o� com reforma radical, mas foi precipitado pelas duas balas que tiraram a vida de Colosio.
-Mas o resultado, surpreendentemente, foi o mesmo no que se refere � reconstitui��o do princ�pio da autoridade.
-Uma hora ap�s a morte de Colosio -- na realidade minutos depois do p�blico receber a tr�gica not�cia, Octavio Paz pedia um �basta aos excessos verbais e ideol�gicos de alguns intelectuais e jornalistas� e �s �numerosas e irrespons�veis apologias da viol�ncia�.
-Cantora rejeita som 'enlatado'.
-A cantora e violinista Meca Vargas n�o faz coro com os contentes com o computador.
-Para ela, a m�quina produz �m�sica enlatada, desprovida de for�a viva�.
-Os paulistanos est�o pagando menos tamb�m pelos produtos da cesta b�sica.
-Outra pesquisa do Datafolha mostra que estes alimentos recuaram 0,47% na �ltima semana de novembro.
-Mesma tend�ncia teve o custo da cesta b�sica pesquisado pelo Procon, em conv�nio com o Dieese.
-Este levantamento de pre�os que inclui tamb�m produtos de higiene e de limpeza mostra recuo de 1,58% em rela��o � sexta-feira anterior.
-Estamos na transi��o.
-Desculpe-se.
-Agosto ser� outro mundo.
-Mais perto da elei��o.
-O governo n�o est� errado em formular regras que possibilitem o alongamento.
-No Brasil, coisa esquisita, j� se negociou CDB de seis meses uma eternidade, hoje em dia.
-A droga �salmeterol� � mais eficaz para tratar asma a longo prazo do que a comumente usada, segundo estudo na �ltima edi��o da revista da Associa��o M�dica Norte-americana (�Jama�).
-A droga pode ser inalada atrav�s de bombinhas de aerossol.
-Ela teve a��o prolongada como dilatadora dos br�nquios (tubo por onde o ar passa aos pulm�es).
-O alem�o n�o teve muita chance de lutar pela pole.
-Ap�s fazer uma �nica volta r�pida, Schumacher emprestou seu carro para o companheiro Jos Verstappen, que havia rodado nos treinos da manh�.
-O piloto holand�s, em sua primeira volta, perdeu o controle do Benetton e foi parar na brita.
-Final de treino para ele e Schumacher.
-Em rela��o aos rem�dios, houve um aumento abusivo, perto dos 60% em janeiro.
-Dallari, ap�s negocia��es com os laborat�rios, candidamente anunciou que �para janeiro, n�o se pode fazer mais nada, mas em fevereiro os reajustes ser�o iguais � infla��o�.
-Sequer lhe ocorreu que em fevereiro o �excesso� de aumento poderia ser compensado.
-Distra��o, claro.
-Mas, em fevereiro, os laborat�rios ultrapassaram a infla��o outra vez.
-Em mar�o, esbo�a-se a mesma tend�ncia.
-A Fenasoft deixou de ser um reduto de especialistas em inform�tica para atrair tamb�m quem pretendia comprar o primeiro computador.
-�Estou comprando o micro -- o port�til Aero, da Compaq -- para acelerar as pesquisas da minha tese de mestrado�, disse Deborah Caldas.
-Enquanto isso (ou entrementes, como nas antigas hist�rias em quadrinho), o ex-governador ACM descola suntuoso empr�stimo para socorrer os cacaueiros da Bahia, quatro anos de car�ncia, juros de 2% subsidiados, um empr�stimo de pai (governo) para filho (fazendeiros).
-No fundo, uma indecente doa��o do dinheiro p�blico.
-Enquanto isso (outra vez a vontade de escrever entrementes), a Receita Federal divulga a lista dos devedores do Imposto de Renda que nada pagar�o.
-Mais da metade do rombo na Previd�ncia tem como causa a sonega��o de empresas.
-Entrementes (resistir tr�s vezes quem h� de? ), o governo de FHC amea�a reduzir as aposentadorias para cinco m�nimos.
-O Depav tamb�m est� zoneando o parque.
-O trabalho, coordenado pela diretora Vera Bononi, 49, prop�e solu��es para o aproveitamento do espa�o constru�do, em especial a marquise.
-A Asuapi doou 10 bicicletas para a guarda municipal fazer o policiamento do parque.
-Para entrar em a��o, a tropa de ciclistas est� esperando apenas que aconte�a o cerimonial de inaugura��o, diz Santini.
-A guarda usar� uniformes especiais.
-Segundo Santini, com as bicicletas, o trabalho ser� mais r�pido e eficiente.
-Ele afirma que n�o tem previs�o para o in�cio do trabalho dos ciclistas.
-Na disputa pelo mercado de impressoras quem sai ganhando � o consumidor.
-Vale a pena conferir os produtos e comparar a qualidade de impress�o dos modelos jato de tinta.
-A Epson mostra na Comdex quatro modelos com tecnologia jato de tinta, que dever�o substituir os modelos matriciais no dia-a-dia dos usu�rios e empresas.
-O Departamento de Estado dos Estados Unidos ordenou ontem refor�os na seguran�a das representa��es diplom�ticas de Israel no pa�s para prevenir eventuais ataques terroristas.
-Em Nova York, o FBI (Federal Bureau Investigation, a pol�cia federal dos Estados Unidos) recebeu uma liga��o an�nima no final da noite de anteontem informando que o Consulado de Israel sofreria um atentado a bomba.
-O secret�rio disse que aguardava apenas uma defini��o de Paulo Maluf quanto a seu futuro pol�tico para anunciar medidas de base.
-�As den�ncias que v�m sendo feitas procedem�, disse Raia.
-J� os quatro leil�es realizados durante a Expomilk venderam 124 cabe�as de ra�as holandes, jersei, pardo-su��o e girolanda.
-O faturamento bruto atingiu R$ 615,7 mil, equivalentes a US$ 721,8 mil.
-Uma vaca pardo-su��o conseguiu a maior cota��o da Expomilk, R$ 36 mil (US$ 42,2 mil).
-Foi apresentada pela Agropecu�ria Am�rica e arrematada pela Citrovita Agropecu�ria.
-Folha -- O sr. j� fez algum discurso contra a monarquia no Parlamento?
-Skinner -- N�o � permitido falar muito contra a monarquia no Parlamento porque supostamente voc� deve jurar fidelidade � rainha.
-A carga tribut�ria das institui��es financeiras poder� aumentar em 73% caso o Congresso Nacional aprove o aumento da contribui��o social sobre o lucro dos bancos e a inclus�o da obrigatoriedade de recolhimento do PIS (Programa de Integra��o Social).
-Mesmo assim os bancos continuam entre os setores da economia que recolhem menos tributos.
-O ganho de arrecada��o com o aumento da carga de impostos dos bancos vai ajudar a fechar em US$ 16,1 bilh�es o FSE (Fundo Social de Emerg�ncia).
-O governo teve que elevar de 15% para 20% o percentual dos recursos dos tributos que v�o fazer parte do FSE para compensar a perda de recursos do Fundo de Participa��o dos Estados e munic�pios.
-Essa decis�o dever� dar mais de US$ 12 bilh�es ao FSE, s� com tributos que pertencem � Uni�o.
-O pa�s vive, neste momento, a parte mais crucial da grande luta pela implanta��o da cidadania.
-� quando o rastreamento das pistas da contraven��o come�a a bater em personalidades acima de qualquer suspeita, dentro do pequeno c�rculo �ntimo da elite cosmopolita brasileira um am�lgama que re�ne intelectuais de esquerda e direita, eleitores de Lula a Maluf, passando por todo o espectro intermedi�rio, empres�rios, profissionais liberais, jornalistas e membros do judici�rio.
-A corrup��o institucional brasileira vai muito al�m de ratos gordos como Jo�o Alves.
-Caio Gorentzvaig, cotista da Petroplastic, disse que o arresto cair� automaticamente quando seu pai, Boris, �se der por citado e oferecer bens im�veis � penhora�.
-Prev� que isso aconte�a em dez dias, quando seu pai voltar a S�o Paulo.
-O tucano tem passado a maior parte do tempo em seu quarto e, ao contr�rio dos 60 h�spedes, n�o tem feito exerc�cios.
-Mesmo assim, o governador eleito tem seguido a dieta hipocal�rica da cl�nica, onde a ingest�o di�ria � de 350 calorias.
-�� boa, mas � pouca�.
-Apesar de ter dito h� dias que �entre o justo e leg�timo e o legal�, opta pelo justo e leg�timo, Lula disse que a reforma agr�ria, em sua eventual governo, ser� feito dentro da lei.
-Lula fica na �frica do Sul at� quarta-feira � noite, quando viaja ent�o para a Alemanha, onde permanece at� sexta-feira � noite.
-�Disaster Movie�, de 1979, foi uma revela��o: apesar da produ��o apertada, esse curta-metragem revelava um talento mais que incontest�vel.
-� um pouco em fun��o disso que �Anjos da Noite� decepciona.
-A incurs�o de Wilson Barros ao universo dos seres noturnos paulistanos revela um tra�o tipicamente brasileiro: uma esp�cie de vergonha de ser brasileiro.
-Talvez por isso a S�o Paulo de �Anjos da Noite� pare�a com qualquer lugar do mundo.
-O talento de Barros continua l�, apesar de Marilia P�ra se empenhar em tomar conta do filme com um histrionismo fora de lugar.
-Mas de alguma forma representa a tend�ncia formalista que marcou o cinema brasileiro na segunda metade dos anos 80.
-Al�m de Serpa e Teixeira, j� estavam sob investiga��o judicial eleitoral os candidatos M�rcia Cibilis Viana (federal, PDT), Paulo de Almeida (federal, PSD) e Aluizio de Castro (estadual, PPR).
-Ontem, o plen�rio do TRE do Rio determinou a recontagem dos votos da 81� se��o da 77� zona.
-O tribunal anulou 108 votos de Nilton Cerqueira (federal, PP) e 93 de Emir Larangeira (estadual, PFL) na 113� zona (Niter�i).
-Os votos foram preenchidos com a mesma letra.
-Tamb�m foram anuladas duas urnas em Barra Mansa.
-A Reebock teve resultado melhor do que o esperado no segundo trimestre.
-O lucro cresceu 24% para US$ 51 milh�es e as vendas, 18%, para US$ 776 milh�es.
-A Nike tamb�m teve bons resultados, pondo fim a especula��es de que teria passado o auge das famosas fabricantes de t�nis dos EUA.
-O hotel Deville, perto do aeroporto de Guarulhos, diz que, al�m de executivos, tem hospedado muitos turistas, principalmente com destino ao Caribe e � Disney.
-Afirma que, na primeira quinzena de julho, o �ndice m�dio de ocupa��o foi de 80%.
-Para elaborar a lista, o grupo mede o custo de vida em quase 200 lugares.
-S�o analisados os pre�os de 155 produtos e servi�os.
-Atr�s de Buenos Aires, est�o duas cidades asi�ticas (Hong Kong e Taip�) e duas europ�ias (Zurique e Genebra, ambas na Su��a).
-As declara��es foram recebidas por Maradona como �uma tacada de beisebol na cabe�a�, como o pr�prio meia definiu.
-Maradona negou veementemente as cr�ticas da m�e de Franco.
-�N�o sei o que dizer.
-Estou surpreso�, foi o que Franco disse a sobre as declara��es da m�e.
-A resolu��o normativa de 4 de junho de 1987 do Instituto Brasileiro de Turismo (Embratur) afirma que �os meios de hospedagem de turismo dos tipos hotel, hotel de lazer e hotel-resid�ncia, de qualquer categoria, ficam obrigados a dispor de local espec�fico, devidamente sinalizado e apropriado ao embarque e desembarque de usu�rios portadores de defici�ncias, al�m de estacionamentos para seus ve�culos�.
-A lei diz ainda que 2% dos apartamentos t�m que ser adaptados e devem haver facilidades para acesso e circula��o em todas as depend�ncias sociais do hotel.
-As rodas de liga de alum�nio ou magn�sio t�m manuten��o menos frequente.
-A Secretaria da Fazenda do Estado de S�o Paulo determinou que, quando um contribuinte realizar venda de mercadorias em feiras, exposi��es ou em locais chamados de �outlets� ou �feira de promo��es� e permanecer na �rea determinada por mais de 60 dias, ser� obrigat�ria a inscri��o do referido local no cadastro de contribuintes do ICMS (Fund. portaria CAT 116/93).
-A restitui��o do IRPF poder� ser feita a terceiros, desde que: se de valor at� 80 Ufir, mediante simples autoriza��o por escrito do benefici�rio, acompanhada de c�dula de identidade e CPF do representante e do representado, para verifica��o das assinaturas; e se de valor acima de 80 Ufir s� poder� ser paga a procurador (Fund. instru��o normativa DRF n�. 38/92).
-Segundo ele, o que retardou o trabalho da equipe foram as contus�es de alguns jogadores importantes, como Marcelo Negr�o e Giovane.
-J� pensando no Mundial da Gr�cia, que ser� disputado em setembro em Atenas, o t�cnico brasileiro retoma o comando dos treinos da equipe a partir da pr�xima segunda-feira.
-�Corre��o: hoje trazemos as respostas das palavras cruzadas de s�bado.
-A resposta para as palavras cruzadas de hoje foram publicadas ontem.
-Segundo Rosa, nutricionista e professora da PUC de Campinas, junto com os alimentos se �ingerem e digerem afetos�.
-Isto �: os diversos tipos de refei��es s�o investidos de s�mbolos que alteram o valor que as pessoas atribuem ao que comem.
-Para chegar a suas conclus�es, Rosa entrevistou um grupo de funcion�rios p�blicos (t�cnicos administrativos) que trabalham e comem no centro velho da cidade de S�o Paulo (ruas L�bero Badar�, S�o Bento e adjac�ncias).
-Observou tamb�m os lugares onde essas pessoas almo�am.
-VIT�RIA Josias de Souza ensinou sexta-feira, nesta Folha, que �pesquisa n�o � urna�.
-Eu tamb�m acho, mas � preciso avisar o pessoal do PT.
-Nunca vi um partido render-se t�o r�pida e incondicionalmente como o PT est� fazendo.
-� not�vel o baixo astral da milit�ncia, de quadros dirigentes e de simpatizantes em geral.
-De acordo com o amassado, sem que seja preciso interferir na pintura.
-Agora, as negocia��es s�o internacionais: Am�lia vai conversar com a Krupp alem� e a Japan Steel.
-Cada obra consome 1,5 tonelada de a�o (US$ 6 mil) mais US$ 10 mil de m�o-de-obra.
-Multiplique isso por 15, some o valor do transporte e se tem US$ 400 mil.
-�Sete Ondas� n�o est� partindo do marco zero.
-Am�lia j� tem o OK inicial de tr�s pa�ses: Alemanha, Fran�a e EUA.
-Na Alemanha, a obra ficaria na Casa da Cultura dos Povos em Berlim.
-O Centro Internacional de Arte e Escultura, de Vaison-la-Romaine, sul da Fran�a, tamb�m tem interesse pela obra.
-Nos EUA, o Museu da OEA (Organiza��o dos Estados Americanos) j� tem agendada uma exposi��o de Am�lia, mas ela n�o sabe se instala l� suas �Sete Ondas�.
-A negocia��o com patrocinadores � o processo mais complexo, segundo a artista.
-As esculturas, ela diz que faz em seis meses.
-Nos per�odos de choques, 41% dos contratos do setor de confec��es precisaram ser renegociados entre compradores e vendedores.
-Nas �pocas de normalidade da economia inflacion�ria brasileira, esse percentual ainda chega a 7,5%, contra 2,3% do Chile, pa�s que j� alcan�ou sua estabiliza��o.
-Duas pessoas morreram em um acidente ocorrido na noite de ontem no km 2 da rodovia Jo�o do Amaral Gurgel, que liga Ca�apava a Jambeiro, no interior de S�o Paulo.
-Um Gol e um Voyage se chocaram.
-Eles viajavam em sentido contr�rio.
-O motorista do Gol e uma passageira do Voyage morreram na hora.
-A pol�cia ainda n�o sabe qual foi a causa do acidente.
-O diretor de Assuntos Internacionais do Banco Central, Gustavo Franco, disse que o BC vai comprar d�lares por uma cota��o �bem abaixo� de R$ 1,00, pre�o pelo qual vende a moeda norte-americana.
-Ontem, no mercado privado, sem interfer�ncia do Banco Central, o d�lar foi negociado a R$ 0,90.
-Segundo Franco, o BC vai comprar d�lares quando a cota��o cair a um ponto determinado, �n�o conhecido pelo mercado�.
-O povo, assim, � mais destinat�rio de um discurso pol�tico, que ele mesmo n�o profere, quando muito escuta, que seu emissor ou senhor.
-Por isso, estando o �demos� na recep��o e n�o na produ��o do discurso pol�tico, � melhor dizer regime dem�tico que democr�tico.
-O �kratos� n�o � do povo; � seu, se tanto, o ouvido, o olhar.
-Mas, nesta sociedade, cabe papel relevante ao conforto.
-Os discursos da frugalidade, da austeridade ficaram para as rep�blicas gregas e romanas, aquelas que Montesquieu ainda celebrava, em meados do s�culo 18, quando dizia que o regime republicano se caracteriza pela disposi��o de seus cidad�os a renunciar ao bem privado em favor do bem comum e por isso, acrescentava ele, trata-se de regime imposs�vel na modernidade, na qual se busca a vantagem pessoal.
-Segundo o jogador, o Palmeiras s� ter� dificuldades para garantir o t�tulo na partida contra o Corinthians pois deve enfrentar antes advers�rios teoricamente f�ceis (Mogi Mirim, Ituano e Santo Andr�).
-�Em o �ltimo jogo, n�s teremos um prazer, ou de sermos campe�es ou de dar o t�tulo ao S�o Paulo�, garantiu Moacir.
-�Nosso objetivo no campeonato, portanto, ser� definido depois do domingo, quando enfrentamos o S�o Paulo�, disse o volante.
-A entrada de capitais, para ser esterilizada monetariamente, teve de ser absorvida pelo crescimento da d�vida p�blica, o que por sua vez requereu um super�vit fiscal prim�rio crescente.
-h� mais de um ano, o M�xico encontra-se numa situa��o de desequil�brio potencial permanente no balan�o de transa��es correntes e no or�amento fiscal, que foi compensado mais recentemente por um endividamento crescente do setor p�blico nas pra�as financeiras internacionais, em particular na Bolsa de Nova York.
-A quinta rodada da Superliga Nacional Masculina de V�lei da temporada 94/95 prossegue hoje com mais quatro jogos.
-O Palmeiras/Parmalat que est� em terceiro lugar na classifica��o geral, tenta defender sua invencibilidade no torneio diante do Flamengo, no Rio.
-Na tese, despreza o papel do povo num governo.
-Mas, nos anos 90, os yuppies desenvolvem consci�ncia.
-Joe Pesci vai ser a consci�ncia em carne-e-osso.
-O ator vive um sem-teto, que o acaso coloca diante do estudante.
-A TV por assinatura no Brasil est� nascendo concentrada nas m�os de quatro grupos: Organiza��es Globo, Multicanal (subsidi�ria da Companhia de Minera��o do Amap�), Rede RBS e Abril.
-E abre s� para almo�o e drinks ao cair da tarde.
-Apesar de ningu�m l� ser mais amigo do rei, a turma continua na ativa.
-Os policiais foram a uma casa, indicada pelas duas mulheres, onde estariam outros integrantes da quadrilha, mas nada foi encontrado ali.
-O Parque S�o Carlos � habitado por moradores de renda baixa.
-A casa em que Faria ficou era de dois quartos.
-O quarto em que ficou era pequeno e sua porta permaneceu sempre aberta.
-O conjunto fica pr�ximo � estrada de Madureira, uma das principais vias de Nova Igua�u.
-Segundo a pol�cia, a estrada � procurada por grupos de exterm�nio para desova de cad�veres.
-Esta � a simplicidade que mata, quando mal traduzida em simploriedade.
-Mas Michael Tilson Thomas, regendo tudo com uma seguran�a natural e nenhuma pompa, parece o regente por excel�ncia desse nosso tempo, que ao menos na m�sica � um tempo de refinamento e intelig�ncia, al�m de comunica��o.
-Simp�tico, fluente (com as palavras tamb�m), � vontade no papel de regente jovem (embora beirando os 50 anos), n�o h� um nome melhor para dirigir a New World Symphony, uma orquestra de bolsistas.
-Nem simples, nem muito menos beethoveniano � o �Concerto para Violino� de Tchaikovski.
-� uma obra infelizmente popular.
-Est� longe de ser o melhor de Tchaikovski, mas o diabolismo da parte solista n�o deixa nunca de impressionar.
-Diabolismo n�o falta ao solista Robert McDuffie: � um violinista de mil dedos, afinad�ssimo e sem medo da m�sica.
-Mas toca tamb�m com certa brutalidade, impaci�ncia ou agressividade com a m�sica.
-� um m�sico atl�tico, no limite extremo da escola americana de interpreta��o.
-Os juros despencaram ontem com a expectativa otimista para a infla��o de dezembro.
-As taxas de juros equivalentes dos CDBs diminu�ram 2,31 pontos percentuais em rela��o � m�dia da �ltima segunda-feira.
-Em 1920, a sujei��o do sult�o Mohamed 6� ao Tratado de S�vres desagradou os nacionalistas liderados por Mustaf� Kemal, militar que lutou nas guerras balc�nicas e na Primeira Guerra Mundial.
-J� em Ancara que se tornaria capital Kemal presidiu a grande Assembl�ia Nacional.
-Eleito presidente e primeiro-ministro, ele cuidou pessoalmente das opera��es militares durante as guerras grego-turcas (1920-22).
-Depois do tratado de paz de 1923, aboliu o califato, a poligamia, substituiu pr�ticas legais isl�micas por outras de inspira��o europ�ia, adotou o alfabeto romano e o calend�rio gregoriano e concedeu �s mulheres direito de voto.
-O assalto foi impedido pela seguran�a do carro blindado.
-Houve tiroteio.
-O carro-forte do Banespa estava estacionado no p�tio interno quando um caminh�o basculante. com homens armados na traseira. bloqueou o port�o.
-O turismo de pesca ainda atrai 75 % dos visitantes que v�o ao Mato Grosso do Sul.
-Muitos hot�is, no entanto, perceberam o crescente interesse pelo ecoturismo e diversificaram suas atra��es.
-Promovem saf�ris fotogr�ficos, focagem noturna de jacar�s e outros passeios.
-Cobram di�rias a partir de US$ 50 (CR$ 22,9 mil) por pessoa, com pens�o completa.
-H� op��es mais econ�micas, como os campings, por US$ 5 (CR$ 2.200,00) por pessoa.
-Aguap� (067-241-2889) -- A 59 km de Aquidauana, a fazenda tem 7.000 hectares, campo de pouso e sete apartamentos.
-Os pacotes, com pens�o completa, incluindo passeios, v�o de US$ 150 (CR$ 68,8 mil), dois dias, a US$ 300 (CR$ 137,7 mil), cinco dias.
-O pacote de pescaria, com barco, motor, piloteiro e pens�o completa, � 20% mais caro.
-No camping, a di�ria � de US$ 5 (CR$ 2.200,00).
-Nessa obra literalmente seminal, Miller estabeleceu o padr�o do que seria dali para diante a sua literatura: mem�rias pessoais vistas com a min�cia de um estudo biol�gico e narradas no tom exaltado de um profeta b�bado.
-A mat�ria-prima desse primeiro livro � o per�odo que o autor passou em Paris nos anos 20, perambulando de prost�bulo em bar, de quarto emprestado a banco de esta��o, enquanto tentava escrever.
-O otimismo de Van Himst se justifica, em parte, pela entrada do centroavante belgo-croata Josip Weber no time.
-Ele marcou cinco gols na vit�ria sobre a Z�mbia, no come�o do m�s.
-Foi o mais expressivo resultado j� atingido por uma sele��o belga na hist�ria.
-�Weber deu maior profundidade � equipe.
-Encontramos um homem-gol de que sent�amos falta h� muitos anos�, disse Van Himst, ele pr�prio um dos maiores jogadores que a B�lgica j� teve.
-Carmelita Aralse Tebele, 89, moradora do oitavo andar, passou mal com a fuma�a e teve de ser carregada pelas escadas at� uma ambul�ncia.
-Beth Tebele, 62, filha de Carmelita, foi medicada junto com a m�e.
-O comerciante Albano Miguel Ferreira, 37, disse que estava na �rea de servi�o de seu apartamento, no primeiro andar, e viu o fogo come�ar em um barrac�o nos fundos da loja.
-No caso dos microcomputadores, o aumento foi de 200 unidades para 500 unidades mensais, no mesmo per�odo.
-�H� uma busca fren�tica por eletr�nicos que facilitem o dia-a-dia do cidad�o em casa e no escrit�rio�, afirma Quintana.
-Andrade afirmou que a limpeza � feita diariamente.
-No largo Santa Cec�lia, funcion�rios da Administra��o Regional recolheram material acumulado pelos indigentes e desinfetaram bueiros.
-Nos primeiros 20 dias deste m�s foram assassinados no Rio 223 pessoas m�dia de 11 por dia.
-O �ndice � o mesmo registrado em novembro do ano passado.
-O diretor da DRFVAT, Leonilson Ribeiro, disse que a presen�a de militares e policiais nas ruas causou a diminui��o do n�mero de carros roubados e furtados.
-Muitas vezes em v�os quase sem escalas, algumas esp�cies voam mais de 10 mil km, do �rtico at� a lagoa.
-� o caso de um ma�arico-de-papo-vermelho, anilhado na lagoa do Peixe e observado 13 dias depois no Estado de Nova Jersey (nordeste dos EUA).
-Apesar de ser a primeira �rea no Brasil a ser inclu�da, em 1991, � rede hemisf�rica de reservas para aves migrat�rias na categoria de reserva internacional, o Parque Nacional da Lagoa do Peixe, criado em 1986, n�o existe de fato, pois ainda n�o h� um plano de manejo e de desenvolvimento.
-O aumento da cesta b�sica na cidade de S�o Paulo na terceira semana de junho foi de 10,27% em cruzeiros reais, segundo pesquisa do Procon em conv�nio com a Fipe.
-No acumulado do m�s atinge 43,85% , superando as varia��es de mar�o (40,91%), abril (40,23%) e maio (40,23%).
-Em 94 acumula alta de 701,5%.
-Entre as maiores varia��es da semana est�o a sardinha em lata (30,52%) e papel higi�nico (28,18%).
-J� as maiores quedas, dos pre�os m�dios, ficaram com a cenoura (- 13,82), batata comum (5,14%) e p�o franc�s (- 1,25%).
-O grupo alimenta��o, por�m, vem tendo as maiores altas do m�s.
-J� o Regency St. John Resorts ter� amplida sua �rea esportiva e aprimorado seu servi�o de h�spedes.
-O Hyatt Regency Aruba tamb�m ter� melhorias em seu cassino e a instala��o de duas piscinas de hidromassagem.
-Essas dificuldades, que surgiram desde o lan�amento da id�ia, estimularam economistas e governo a buscar caminhos mais r�pidos.
-� o caso da segunda op��o, uma vers�o mais apressada da primeira hip�tese.
-O governo cria a URV e estabelece um prazo de tr�s a quatro meses para que a sociedade negocie convers�es volunt�rias.
-E anuncia, no momento mesmo da cria��o do indexador, que a partir de determinada data a convers�o ser� obrigat�ria, conforme regras predeterminadas.
-Dando um tempo para os acertos, FHC cumpre a promessa de que ser� tudo volunt�rio.
-Mas na segunda fase, a convers�o obrigat�ria exige regras de convers�o, tablita e possivelmente um congelamento para impedir especula��o na nova moeda.
-E isso � um choque com data marcada.
-Mas � uma vantagem deixar todos os passos definidos desde o momento de lan�amento do plano.
-O Banco Mercantil de S�o Paulo realizou lucro l�quido de CR$ 52,3 bilh�es no primeiro semestre.
-O que corresponde a 3,65% sobre o patrim�nio l�quido.
-O lucro l�quido do Banco Bandeirantes no primeiro semestre foi de CR$ 44 bilh�es, com um retorno de 12,6% sobre o patrim�nio l�quido.
-Teve direito at� � rara presen�a de Maria Beth�nia na plat�ia a �ltima performance carioca de Gilberto Gil e Caetano Veloso.
-Junto com sua Magda Collares, Fausto Silva decola dia 13 para temporada de trivial variado cultura e showbizz em Nova York.
-Na quarta-feira, o S�o Paulo tomou um vareio do Palmeiras.
-Se o jogo terminasse 6 a 0 no primeiro tempo n�o seria mais que o fiel espelho da partida.
-Parte porque o Palmeiras jogou com extremo empenho e raro talento.
-Parte porque o tricolor entrou em campo mal escalado por Tel�, que tentou consertar logo ap�s, com a entrada de V�tor na lateral e a passagem de Cafu para o lugar de Jamelli.
-Por fim, pela inexpressiva atua��o das duas maiores estrelas tricolores Leonardo e Cafu.
-Esta tarde, por for�a da suspens�o de Axel, j� come�a melhor no papel, com V�tor na lateral e Cafu no meio.
-Mas � hora de Tel� dar um toque de classe nesse meio-campo com V�lber e voltar com Palhinha mais � frente, que esse jogo vale o campeonato.
-Em algumas cidades, onde os pais t�m poder de decis�o no sistema educacional, os projetos de novas escolas incorporam computadores, CD-ROM, modem e linhas telef�nicas para permitir que os estudantes se comuniquem on line.
-Americano � exagerado.
-Costuma encarar a tecnologia como a solu��o milagrosa para todos os problemas.
-Computador na sala de aula n�o salva ningu�m da ignor�ncia.
-Mas pode facilitar a vida dos estudantes.
-Traz dicas de produ��o gr�fica, como alinhamento.
-Tem v�rios ap�ndices de software para DOS ou �Windows�.
-A venda em bancas de jornal ou pelo telefone (0800) 11-5353.
-Voltado para usu�rios leigos e avan�ados, os 13 cap�tulos d�o dicas para aproveitar melhor os recursos do sistema operacional da Microsoft.
-Inclui disquete de atualiza��o do 6.0 para 6.2.
-Pre�o: CR$ 16,9 mil.
-Tome-se o caso de Ventersdorp, 200 km a oeste de Johannesburgo, uma das 14 cidades declaradas pelo governo ��reas de turbul�ncia�, est�gio suave do estado de emerg�ncia.
-Em Ventersdorp, a nova e a velha �frica do Sul s�o vizinhas.
-Na delegacia de pol�cia, a nova bandeira de seis cores est� hasteada no mastro e o juiz David Postman acabou de concluir a contagem dos votos.
-Creio que essa voca��o de poeta determinou um dos maiores problemas (h� v�rios) na realiza��o da obra de Murilo Mendes.
-H�, com efeito, um �poetismo� em seus poemas.
-Murilo sempre est� partindo do pressuposto de que ele � poeta.
-Afirma-o, de maneira expl�cita, em sua obra.
-O resultado � muitas vezes ing�nuo, infantil.
-A CompUSA de Los Angeles vendia, na semana passada, a impressora jato de tinta Epson Stylus 800 por US$ 199.
-Na loja de Nova York, o Compaq Aero est� por US$ 996,97 (se chegar �s 9h da manh�, ganha o cupom de desconto de US$ 100).
-N�o aceita cart�o de cr�dito internacional.
-A J&R Computer World, apesar de meio fora de m�o, tem pre�os competitivos.
-A equipe de Maluf n�o � a primeira a deixar de lado o problema de enchentes.
-A prefeita Luiza Erundina priorizou o transporte p�blico.
-J�nio Quadros tamb�m gastou em obras vi�rias e Mario Covas marcou sua gest�o pela constru��o de corredores de �nibus exclusivos, como o da avenida Nove de Julho.
-Ontem a cidade conferiu os estragos causados pela chuva de quinta feira, a maior chuva de mar�o desde 1930.
-Reynaldo de Barros, secret�rio de Vias P�blicas, participou de uma cerim�nia pela manh� e depois n�o p�de mais ser encontrado em seu gabinete.
-O Banco Mundial, o FMI e o Gatt s�o institui��es p�blicas que deveriam ter suas pol�ticas submetidas a esferas p�blicas de decis�o e ter a transpar�ncia necess�ria para serem avaliadas e monitoradas pelos cidad�os.
-Recentemente, o Banco Mundial constituiu um grupo independente de inspe��o para analisar queixas sobre seus projetos, iniciou uma nova pol�tica de informa��es e o Gatt organizou o primeiro semin�rio com a participa��o de ONGs.
-A Secretaria da Sa�de de Goi�nia recebeu ontem CR$ 163,7 milh�es, atrav�s de conv�nio assinado com a Funda��o Nacional de Sa�de.
-Desse total, CR$ 127 milh�es ser�o destinados � campanha de combate � dengue e ao pagamento dos 200 agentes de sa�de contratados para a campanha.
-Goi�s ter� dentro de dois anos o seu Zoneamento Ecol�gico-Econ�mico.
-O superintendente de Meio Ambiente, Clarismino J�nior, disse que um dos objetivos � identificar as macrozonas existentes no Estado.
-Segundo ele, a proposta inicial � zonear no primeiro ano a Bacia do rio Meia Ponte.
-As faixas, listras e c�rculos desenhados nos gramados norte-americanos da Copa n�o s�o apenas um recurso est�tico.
-Eles servem para camuflar o improviso dos est�dios da Copa.
-Os nove est�dios do Mundial s�o normalmente usados para o futebol americano, que tem marcas pr�prias na grama.
-Comentei com minha amiga espanhola, Dolores de Pan�a, a profus�o de beijos melados que massacraram minhas aveludadas bochechas na Bienal.
-Ela subiu nos tamancos flamencos.
-�� por essas e outras que a gente acaba pegando uma micose na chica e depois n�o sabe explicar por qu�, bradou a espanholita.
-E prop�s que eu desencadeasse nesta coluna uma campanha nacional contra sauda��es lambuzadas.
-Ta�, gostei da id�ia!
-Al�, v�timas do abuso oscular do Brasil!
-Fa�am como eu!
-Em sinal de protesto, de hoje em diante, quem me cumprimentar com beijo suado leva uma muqueta no focinho.
-Viva Howard Hughes!
-O IBGE divulgou tamb�m ontem a infla��o registrada no Rio e S�o Paulo entre os dias 9 de mar�o e 7 de abril.
-O IPC-amplo (cesta de consumo de fam�lias com renda de at� quarenta sal�rios m�nimos) registrou 42,65% em S�o Paulo e 41,96% no Rio.
-Esses �ndices revelam queda de infla��o de 0,23 ponto percentual em S�o Paulo e 0,59 ponto percentual no Rio, em compara��o com o per�odo anterior.
-O candidato do PMDB chegou a Bauru �s 10h de ontem, num jatinho fretado pelo partido.
-Foi recebido no aeroporto por militantes, prefeitos e vereadores.
-Qu�rcia disse que tem sido v�tima de uma �campanha s�rdida� com o objetivo de �denegrir� sua campanha.
-O modo de escapar disse � simples: aplica-se um reajuste de, digamos, 40% ; em seguida, avalia-se qual a infla��o di�ria, digamos de 1,5% , e a� se aplica ao pre�o cheio um desconto decrescente.
-No primeiro dia ap�s o reajuste de 40% , o desconto � de 38,5% ; no segundo de 37% e assim por diante.
-Assim, um carro de CR$ 10 milh�es, sairia no primeiro dia ap�s o reajuste por CR$ 6,15 milh�es.
-No segundo dia, por CR$ 6,3 milh�es e assim sucessivamente.
-� uma URV �s avessas.
-A generaliza��o dessa indexa��o di�ria n�o s� acostuma a economia, como passa a exercer press�o para que o governo oficialize e universalize a pr�tica.
-O assunto veio � tona durante conversa do advogado Osmar (Nuno Leal Maia) com o jardineiro Kennedy (Alexandre Moreno), jovem negro que sofrera insultos racistas do patr�o, o empres�rio Raul Pelegrini (Tarc�sio Meira).
-Uma semana depois, tr�s organiza��es paulistas resolveram contestar a informa��o na Justi�a Federal.
-Os termos da reforma foram assinados quarta-feira pelo prefeito Paulo Maluf, pelo abade Dom Isidoro Oliveira Preto (mosteiro) e por representantes do Banco de Boston, Philips e Akzo/Tintas Ypiranga, empresas que patrocinam as obras.
-As reformas no mosteiro e a coloca��o de um novo cal�amento no largo de S�o Bento devem consumir US$ 200 mil.
-Esperava aparecer como o �nico respons�vel pelo plano de estabiliza��o.
-O fracasso das medidas antiinflacion�rias poderia lhe custar o acesso ao Planalto.
-Desta forma, para se proteger de uma reviravolta inoportuna dos �ndices econ�micos, FHC e seus amigos do governo tiveram o cuidado de fixar um calend�rio vantajoso.
-Foram detidas 25 pessoas no escrit�rio e em outros cinco endere�os ligados a Castor de Andrade.
-As listas apontam quase todas as divis�es e departamentos da Pol�cia Civil do Rio como recebedoras de quantias mensais.
-Minha experi�ncia, nos dois �ltimos anos, supervisionando programas de qualidade total dentro do grupo Rh�ne-Poulenc tem mostrado isso com frequ�ncia.
-Cabe ao empres�rio, ao empreendedor, seja pequeno, m�dio ou grande, criar o ambiente adequado para a valoriza��o de um recurso humano com essas qualifica��es.
-Do contr�rio, todo o esfor�o feito estar� destinado ao fracasso.
-Jovens estudantes na Belo Horizonte dos anos 20, o futuro m�dico Juscelino Kubitschek e o futuro advogado Jos� Maria Alkimin costumavam sair juntos em busca de mo�as namoradeiras.
-Iam aos bailes no Autom�vel Clube e reparavam nas poucas donzelas que ousavam frequentar os caf�s.
-Um dia Juscelino comunicou a Alkimin que estava namorando a mo�a Sara Lemos, filha do pol�tico Jayme Lemos.
-Alkimin achou que tamb�m era hora de firmar namoro e pediu a JK que o apresentasse �s amigas da namorada.
-Para ele, os clubes precisam encontrar uma f�rmula que concilie os dois aspectos.
-Segundo Nujud, as contas do Corinthians ainda n�o foram fechadas, para se saber se o clube teve lucro ou preju�zo.
-Qual o maior vexame que j� deu?
-�Sempre os mais recentes s�o os piores.
-Ao parar de fumar, acabei perdendo a estribeira algumas vezes.
-�Nunca tive muito interesse, apesar de j� ter experimentado.
-Boa not�cia: o Parreira j� comprou sua Mitsubishi!
-Claro, � a �nica que lhe d� garantia de ir at� a Copa de 98!
-Porque n�o escala aquele goleiro j�nior, o Pitarelli.
-Que defendeu os tr�s p�naltis do S�o Paulo.
-E os s�o-paulinos podem se conformar com o Zico.
-Que perdeu apenas 4 p�naltis em sua vida.
-Rarar�!
-P�ssima Not�cia: o Brizola lan�ou sua biografia em v�deo.
-Campanha no ar!
-Pelo pre�o simb�lico de CR$ 1.000.
-Simb�lico?!
-Em se tratando do v�deo, pra mim � uma fortuna.
-Simb�lico seria CR$ 1,00.
-E olhe l�!
-A� a gente tirava a fita e gravava em cima!
-Ent�o eu vou lan�ar o Pr�mio Simb�lico!
-Pago CR$ 1.000 pra quem assistir o v�deo at� o fim.
-O Roberto D�vila n�o vale!
-Porque foi ele que fez!
-Acho que o �nico que viu at� o fim!
-As apar�ncias s�o as principais v�timas do sarcasmo de Altman, desde as �peruas� que discutem a cor de seus cabelos at� a noiva, que usa aparelho, escovando os dentes alegre diante do espelho.
-O humor de Altman vai na dire��o das conven��es de uma sociedade que, tendo que aceitar tudo sob as apar�ncias, acaba perpetuando uma vasta rede de hipocrisia.
-�Pertencemos a um grupo de caridade.
-Fazemos um n�mero de dan�a.
-Dan�amos em hospitais e manic�mios�, diz uma das tias do noivo, uma senhora, para as colegas �peruas�.
-H� uma boa dose de realismo tamb�m.
-Os personagens de �Cerim�nia de Casamento� parecem sa�dos das p�ginas de �rec�m-casados� do �The New York Times�, uma das se��es mais provincianas da imprensa mundial e de maior leitura num jornal que vende a imagem de um dos mais cosmopolitas do mundo.
-O diretor de cr�dito agr�cola do Banco do Brasil, Said Miguel, disse ontem na Comiss�o de Agricultura da C�mara dos Deputados que os agricultores j� renegociaram R$ 1,7 bilh�o das d�vidas em atraso.
-Faltam serem renegociados mais R$ 700 milh�es.
-Os acordos j� feitos abrangem 33 mil agricultores.
-O financiamento p�blico seria baseado em fundos sociais (FGTS, FAT), na atra��o de recursos de pens�o e nas parcerias com a iniciativa privada.
-A taxa��o de grandes fortunas e o dinheiro de privatiza��o -- de estatais n�o-estrat�gicas (exclui min�rios, petr�leo e telecomunica��es), complementaria esses fundos.
-O ex-presidente Fernando Collor, sua mulher Rosane e o secret�rio Lu�s Carlos Chaves jantaram anteontem � noite no restaurante Golden Horn, em Aspen, no Colorado (EUA).
-Durante o jantar, pessoas que estavam em uma mesa pr�xima � de Collor e Rosane tiraram fotos.
-Embora n�o fosse o alvo, o ex-presidente assustou-se com os flashes.
-Na sua avalia��o, a oposi��o sabe que o plano � bom, �mas n�o quer aprov�-lo agora, pois seria bater palma para o advers�rio�.
-Votar contra seria perigoso porque o plano tem apoio popular.
-Segundo o presidente da Matis-Paris Brasil, Louren�o Lopes, 44, a empresa francesa foi escolhida por ter mais estrutura e n�mero de produtos para cl�nicas de beleza, medicina est�tica e cirurgia pl�stica.
-Al�m dos produtos, a Matis oferece infra-estrutura a seus franqueados.
-A empresa possui laborat�rio pr�prio na Fran�a e fabrica os equipamentos usados em suas cl�nicas.
-Os produtos s�o profissionais (para institutos) e para o consumidor.
-S�o Paulo foi literalmente invadida pela cozinha japonesa.
-E o tempo vem mostrando que o fen�meno n�o � mero modismo.
-A cidade tem uma larga popula��o de origem japonesa e isso sustenta a prolifera��o e a qualidade de seus restaurantes.
-Mas se em muitas casas japonesas da cidade o sashimi e os sushis s�o os carros-chefes em outros se destacam por iguarias nem t�o comuns.
-� o caso do Iti Fuji, restaurante fundado 12 anos atr�s pelo japon�s Hashiro Yawata, 74 (propriet�rio de um dos mais antigos restaurantes japoneses da cidade, o Kokeshi, aberto h� 33 anos).
-Trinta empres�rios argentinos e 25 brasileiros se re�nem na pr�xima sexta-feira em semin�rio da FGV para debater perspectivas do setor privado nos dois pa�ses com o Mercosul.
-Os empres�rios brasileiros acreditam que os setores mais prop�cios a investimentos na Argentina s�o: cerveja, celulose, alimentos, petroqu�mica, telecomunica��es e g�s.
-Segundo Luiz Estev�o, Collor, vestido com uma cal�a marinho e camisa de algod�o branca, sem mangas, estava �confiante no trabalho dos advogados�.
-Tamb�m esteve na Casa da Dinda Eun�cia Guimar�es, amiga de Rosane.
-Collor recebia telefonemas o tempo inteiro, dos advogados, de pol�ticos amigos e de pessoas que prestavam solidariedade.
-Um amigo da fam�lia ligou para informar sobre o estado de sa�de do irm�o do ex-presidente, Pedro Collor, que est� sob tratamento nos Estados Unidos.
-Subiu ao palco com o candidato a vice, Aloizio Mercadante, e os candidatos ao governo do Estado, Jos� Dirceu (PT), e ao Senado, Luiza Erundina (PT) e Jo�o Hermann (PPS).
-Lula respondeu perguntas do p�blico sobre sa�de e cultura.
-Mercadante foi escalado para responder quando o tema foi aposentadoria.
-Apartamento na rambla Armenia, Montevid�u.
-Valor: US$ 69 mil.
-50% de apartamento na avenida Atl�ntica, Copacabana, zona sul do Rio.
-Valor da fra��o: US$ 100 mil.
-A Reuters Holdings, baseada em Londres, pretende lan�ar um servi�o financeiro por TV em meados do ano.
-Inicialmente restrito � Europa, a empresa o tornaria mais tarde dispon�vel em todo o mundo.
-Entre os teens, os tri�ngulos est�o em alta com direito a forma��o de casais �a tr�s�.
-No filme, uma garota (Alex) � colocada por engano no mesmo quarto de dois rapazes e se apaixona por Eddy.
-Mas Eddy ama Stuart e eles acabam se desencontrando.
-A Eufrasio Ve�culos, revendedora Ford, aposta no showroom sazonal e se prepara para come�ar a atuar em Campos do Jord�o por dois meses.
-Pesquisa Update, da C�mara Americana, revela que os empres�rios esperam queda na infla��o com o real.
-O �ndice mensal de expectativa de infla��o teve este m�s o resultado mais baixo desde que foi criado h� tr�s anos.
-� verdade.
-Sei que agora tenho um longo caminho a percorrer.
-Tenho que estudar muito.
-Este foi meu primeiro filme, mas sei que posso ser uma grande atriz.
-Sinto isso.
-Quero ter mais experi�ncia, estudar e me dedicar 100% a isto.
-Quero ser uma das melhores atrizes do mundo.
-Este � meu objetivo.
-E como voc� se sente como �estrela de cinema�?
-Meu Deus!
-Tenho muito trabalho a fazer antes de me sentir assim.
-Mas as coisas que t�m acontecido com mim s�o espantosas.
-Eu venho de um bairro muito pobre, muito pobre de Nova York.
-Voc� n�o pode imaginar que qu�o longe eu venho.
-Eu me tirei das ruas e comecei a estudar.
-Aprendi a falar direito e tentei fazer minha vida melhor para mim.
-Quando se est� num ambiente como o que eu vivia, voc� n�o sabe que existe todo um mundo diferente fora dali.
-Tive muita sorte mesmo.
-Eu podia ser uma drogada hoje, podia viver na rua.
-Espero que possa voltar l� e dizer �s crian�as que elas n�o precisam ficar presas l�, que existe todo um outro mundo fora dali.
-Hoje as coisas est�o melhores para a comunidade latina nos EUA.
-At� em Hollywood, h� pessoas como Sonia Braga e Andy Garcia.
-Quando eu era crian�a, tinha vergonha de ser latina.
-Alec Eu quero viver, eu quero n�o fazer nada.
-Ali, no torneio que encerrava a temporada 93, Steffi aguardava mais um trof�u, olhando para o ch�o, sem ligar para as 12 mil pessoas em volta da quadra.
-Minutos antes, tinha pulverizado a espanhola Arantxa Sanchez.
-Nos discursos de agradecimento em Wimbledon e Us Open, meses antes, a alem� lembrara o p�blico de que n�o ficava feliz em vencer torneios na aus�ncia de Monica Seles, afastada das quadras depois de ser esfaqueada na quadra.
-�A proposta da Anfavea � uma indexa��o disfar�ada�.
-Do assessor especial da Fazenda para pre�os, Jos� Milton Dallari.
-Chegaram famintos e esfarrapados �s cabeceiras do Purus ap�s quatro meses de viagem.
-Mas desvendaram o mist�rio da sua liga��o com outros rios, feita atrav�s de canais abertos pelo homem para o com�rcio e o contrabando.
-De volta ao Rio de Janeiro, Euclides preparou alguns dos mapas que serviram de base para o tratado de fronteiras entre o Brasil e o Peru.
-Foi assassinado em agosto de 1909, um m�s antes do acordo entre os dois pa�ses.
-Escrevia � �poca �Um Para�so Perdido�, livro sobre a Amaz�nia, interrompido com a morte.
-A tarefa foi transferida a Falc�o.
-�Trata-se de um candidato que estreou em com�cio sob vaias e quer, pela via do preconceito, enfraquecer quem lidera as pesquisas�, disse Falc�o sobre FHC.
-�N�s n�o vamos dar corda ao debate rasteiro�, acrescentou o presidente do PT, que acha improv�vel o STF permitir a candidatura de Jos� Sarney por um partido que n�o seja o PMDB.
-Os motoristas da EMTU (Empresa Metropolitana de Transportes Urbanos), empresa do governo do Estado, t�m o mesmo piso salarial das empresas privadas.
-Segundo a EMTU, cerca de 215 mil pessoas utilizam diariamente o corredor do tr�lebus.
-A fam�lia do bicheiro Jos� Scafura, o �Piru�nha�, espera para qualquer momento a liberta��o de Andr�, 15, sequestrado na noite de ter�a-feira.
-Neto de �Piru�nha�, Andr� foi capturado perto de sua casa, na Aboli��o (zona norte).
-A fam�lia diz estar reunindo os US$ 100 mil do resgate.
-Segundo o pai de Andr�, Luis Carlos Scafura, os sequestradores provaram que ele est� vivo, ao responder corretamente algumas perguntas sobre a vida do rapaz.
-Scafura afirmou que os sequestradores j� ligaram tr�s vezes.
-Na sequ�ncia, em 1498, Vasco da Gama chegou �s �ndias e inaugurou uma nova era.
-Um cabo, ensinam os dicion�rios, � uma faixa de terra que entra pelo mar o oposto de fiorde, que � uma por��o de mar que avan�a pelo continente, como acontece na Noruega e Su�cia.
-� o mesmo que capo, cabedelo ou promont�rio, extens�o de terra maior que a ponta e menor que a pen�nsula.
-As vendas brutas ca�ram de US$ 3,78 bilh�es para US$ 3,57 bilh�es, consequ�ncia de redu��es tanto no mercado interno como no externo.
-A receita l�quida, exclu�da a carga tribut�ria, foi de US$ 1,15 bilh�o em 93, contra US$ 1,27 bilh�o em 92.
-O mercado brasileiro de cigarros apresentou uma queda de 6,5% com o total de unidades vendidas passando de 127,8 bilh�es em 92 para 119,5 bilh�es no ano passado.
-A Souza Cruz, que lidera o mercado, teve sua participa��o reduzida de 83% em 92 para 79,6% em 93, consequ�ncia de uma retra��o de 10,5% nas suas vendas.
-Durante a apresenta��o do balan�o, M�ton Cabral disse que a empresa reagiu no final do ano, voltando a deter mais de 80% do mercado, gra�as ao sucesso da marca Derby.
-A Ensec, brasileira, foi uma das cinco empresas pr�-qualificadas para participar de concorr�ncia de US$ 11 milh�es para reconstruir o sistema de seguran�a do estacionamento do World Trade Center, em Nova York, destru�do com a explos�o de um carro-bomba.
-O Sinicesp impugnou concorr�ncia da Prefeitura de Santana de Parna�ba argumentando que o edital para obra de infra-estrutura contraria a Lei 8.666.
-O hotel ter� cinco alas com motivos de cada um dos cinco esportes mais populares dos Estados Unidos futebol americano, basquete, beisebol, t�nis e surfe.
-A segunda fase do projeto prev� a constru��o (para 1995) do All-Star Music Resort, no mesmo estilo e com mesma capacidade, que homenagear� os estilos musicais do country, jazz, rock, calypso e musicais da Broadway.
-Entre os cat�licos que se intitulam �n�o-praticantes�, 94% n�o tomam decis�o baseado nos conselhos religiosos.
-� mais alto do que os que se dizem ateus ou sem religi�o (93%).
-Indagados sobre se concordavam com a posi��o da Igreja com rela��o ao uso de camisinha, 74% discordaram totalmente e 13% discordaram em parte.
-Convencido de que Munhoz tem uma boa ret�rica, o publicit�rio pretende deixar o candidato �falar o que quiser� para, antes da grava��o final, decidir o que ir� ao ar.
-Centrado no slogan �Fome e desemprego . Agricultura � a solu��o�, Munhoz vai falar durante o tempo a que tem direito sobre a necessidade de aprimoramento do setor.
-A Folha realizou um teste em um dos �nibus que integram a nova linha Penha-Lapa, acompanhando a d�cima viagem de ontem.
-A principal diferen�a verificada � a sensa��o de �frio na barriga� quando se passa pelas curvas do elevado Costa e Silva (Minhoc�o), mesmo em uma velocidade m�dia de 60 km/h.
-Quem ainda n�o escolheu sua carreira ou sonha dar uma guinada na vida profissional pode recorrer aos servi�os de orienta��o vocacional oferecidos por algumas institui��es em S�o Paulo.
-Geralmente procurados por estudantes adolescentes, esses servi�os s�o abertos a qualquer interessado e t�m a vantagem de ser gratuitos ou cobrar pre�os baixos se comparados aos de empresas de consultoria.
-O objetivo do projeto, segundo Miro, � facilitar a investiga��o policial e a obten��o de provas contra o crime organizado (delitos praticados por atividades de quadrilha ou bando).
-Uma das novidades � a permiss�o para a pol�cia se infiltrar em quadrilhas para obter provas.
-Atualmente, esse tipo de prova n�o � aceito na Justi�a.
-O projeto tamb�m permite � pol�cia impedir, interromper e interceptar a escuta e a grava��o das conversas telef�nicas.
-Mas isso s� teria validade com a aprova��o de um projeto de lei complementar � Constitui��o, regulamentando a escuta telef�nica.
-Esse projeto tamb�m � do deputado do PDT e j� foi aprovado pela C�mara.
-Quem queria comprar, por exemplo, meia d�zia de p�es e um litro de leite, mas s� tinha cruzeiros reais no bolso, teve que enfrentar fila de at� duas horas.
-Um consumidor que tivesse apenas uma nota de CR$ 50.000,00 para fazer uma compra de valor menor tinha de solicitar um cheque de convers�o no valor aproximado da mercadoria e receber o troco em cruzeiros reais.
-As vitrinas sempre guardam surpresas, variando desde o caro refinamento da avenida Montaigne (que concentra a alta costura, no Champs Elys�es) at� as pechinchas nas pequenas lojas espalhadas pela cidade e nos magazines.
-Paris �... o encanto dos sentidos.
-Mesmo abstraindo-se tudo o que a cidade representa como patrim�nio cultural da humanidade, ainda assim ela resulta �parisdis�aca�, adornada de todo o sortil�gio.
-Com essas defini��es, a equipe teria condi��es de estabelecer as regras o real.
-Amaral disse que as reservas internacionais ser�o mesmo a garantia da nova moeda.
-�Existem algumas op��es de como fazer isso�, disse S�rgio Amaral, chefe de gabinete do ministro Rubens Ricupero.
-O real ter� que ter uma refer�ncia em rela��o ao d�lar, segundo Amaral, que n�o quis dizer se o c�mbio ser� fixo ou vari�vel.
-Primeiramente, gostaria de dizer que o vosso caderno � �D+�!!!
-Adoraria se voc�s �engordassem� um pouco mais o Folhateen.
-E eu gostaria de saber como fazer para adquirir a carteirinha de estudante.
-No interior, o jeito mais f�cil � procurar o gr�mio estudantil ou a dire��o de sua escola.
-Eles devem ter informa��es para orientar voc�.
-O ex-deputado Ibsen Pinheiro (PMDB-RS) tamb�m n�o quis falar sobre a absolvi��o do ex-presidente.
-Ex-presidente da C�mara, Ibsen conduziu a vota��o autorizando o impeachment de Collor, em 29 de setembro de 1992.
-O prefeito de S�o Paulo, Paulo Maluf (PPR), e o candidato derrotado do PMDB � Presid�ncia, Orestes Qu�rcia, tamb�m n�o quiseram comentar o resultado.
-O meia Mazinho deve substituir o meia defensivo Mauro Silva segunda-feira contra os Estados Unidos pela segunda fase (oitavas-de-final) da Copa do Mundo.
-O t�cnico Carlos Alberto Parreira afirmou ontem que a sele��o brasileira precisar� tocar mais a bola contra um advers�rio que ele prev� muito defensivo.
-O n�vel de detalhamento do atlas Folha/�The New York Times� n�o tem similar no mercado brasileiro.
-Os mapas de pa�ses, como os do terceiro fasc�culo, mostram 16 tipos de vias de comunica��o (de estradas a aeroportos de tr�fego local e internacional), rios, lagos, cachoeiras, montanhas (acompanhas da altitude), parques nacionais, reservas de g�s natural etc.
-�Senti que eu j� conhecia o Brasil antes de ter vindo aqui�.
-Saar �descobriu� no Brasil o bambu verde.
-Sua id�ia � fazer na 22� Bienal uma instala��o com bambus no segundo andar que seja vista por cima, do terceiro, �com toda sua cor e padr�o�.
-A partir de hoje a �rea de conviv�ncia do Sesc Pomp�ia abriga instala��o in�dita do artista pl�stico Nuno Ramos, �Montes�.
-O trabalho faz parte do projeto �Exerc�cios Visuais� do Sesc Pomp�ia, que visa a ocupa��o inusual de espa�os da ex-f�brica.
-Os integrantes dos movimentos Pinheiros Vivo e Vila Ol�mpia Viva receberam com alegria a not�cia.
-�Acho que o Consema foi sens�vel ao que est� acontecendo.
-A obra vai causar um impacto t�o grande na regi�o que deve ser analisada pelo Estado�, disse Hor�cio Galvanese, do Pinheiros Vivo.
-Para o arquiteto Siegbert Zanettini, do Vila Ol�mpia Viva, �agora um �rg�o independente est� analisando o impacto da obra sobre o meio ambiente�.
-Segundo Zanettini, a an�lise do Consema foi resultado do compromisso assumido, na sexta-feira passada, pelo governador Fleury.
-O �ndice de Pre�os ao Consumidor (IPCA) de Belo Horizonte fechou a �ltima quadrissemana de novembro com varia��o de 3,12%, contra os 2,54% registrados em igual per�odo de outubro.
-Em compara��o � quadrissemana anterior, quando o IPCA ficou em 3,28%, houve redu��o.
-O dado � do Ipead (Instituto de Pesquisas Econ�micas e Administrativas/MG) e mede os gastos das fam�lias com renda de 1 a 40 sal�rios m�nimos em Belo Horizonte.
-O IPCR, para fam�lias com renda de 1 a 8 m�nimos, ficou em 3,06%, contra os 2,85% do mesmo per�odo de outubro.
-Teremos, ent�o, um meio-campo ainda mais s�lido na prote��o � zaga e mais inteligente, veloz e agressivo, na combina��o com o ataque.
-Teremos o balan�o entre defesa e ataque que tanto Zagalo e Parreira defendem, mas que o time n�o revela em campo.
-Alberto Helena Jr., 52, � colunista da Folha.
-Sua coluna na Copa � di�ria.
-�F�ria Metal� entrevista os integrantes do Ramones, banda surgida em Nova York na d�cada de 70.
-Johnny (guitarra), Joey (vocal), CJ (baixo) e Mark (bateria) falam sobre o surgimento do grupo, a influ�ncia de Iggy Pop, processo de cria��o e o revival do punk considerado rid�culo e ileg�timo por CJ.
-Entre os clips que o programa exibe est�o �Blitzkrieg Bop�, �I Wanna Live� e �Poison Heart�.
-Furia Metal MTV, 21h30.
-Entendo que a minha miss�o n�o � torcer.
-� o dilaceramento permanente desta profiss�o possessiva, exclusivista, desconfiada e ciumenta.
-Isto n�o impede que, no �ntimo, eu deseje alguma esp�cie de uma complexa, delicada e dif�cil soberania para n�s.
-Na hora da invas�o da delegacia, s� havia um motorista no plant�o.
-Os invasores quebraram portas, janelas, grades e cadeados.
-Os outros 13 presos n�o tentaram fugir.
-O delegado disse que t�m se tornado frequentes os linchamentos na regi�o.
-Citou outros ocorridos recentemente em Carinhanha, Santa Maria da Vit�ria, Paratinga e Guanambi.
-Com esse caso em Caetit�, chega a 14 o n�mero de linchamentos registrados na Bahia desde o in�cio deste ano.
-O aquecimento das vendas nos �ltimos dois meses fez com que o empres�rio carioca Arthur Sendas desengavetasse antigo projeto de constru��o de shopping center, hipermercado e conjunto residencial em �rea do grupo localizada na Via Dutra, no final da Linha Vermelha.
-O grupo Sendas entra com o terreno de 154 mil metros quadrados, e o Nacional Iguatemi Empreendimentos, dono de shoppings centers no Nordeste e s�cio de Tasso Jereissati no Iguatemi de S�o Paulo, com os recursos para bancar o empreendimento.
-No s�bado, Goldman relatou a conversa a alguns quercistas no Pal�cio Bandeirantes.
-Ele disse que a conversa foi �preliminar�.
-Goldman defendeu a necessidade de novas negocia��es.
-Em sua avalia��o, a conversa com o deputado fluminense mostrou que ambos desejam a aproxima��o.
-O m�sico e humorista Juca Chaves inaugura no dia 5 de outubro, a partir das 22h, um novo teatro em S�o Paulo.
-O Jucabar�-Theatro Inteligente vai funcionar na rua Major Sert�rio, 661, no centro de S�o Paulo.
-A renda da noite de inaugura��o ser� doada ao Fundo Social de Solidariedade do Estado.
-33... dias ser�o completados na pr�xima segunda-feira, dia de elei��o, sem que os vereadores da C�mara de S�o Paulo votem algum projeto importante.
-Dos 55 vereadores, 24 s�o candidatos � Assembl�ia Legislativa, C�mara dos Deputados ou Senado.
-Se todos conseguirem ser eleitos, quase metade (43%) dos vereadores paulistanos v�o trocar de Casa Legislativa.
-Yoshiaki Nakano -- economista, ex-secret�rio especial de assuntos econ�micos do Minist�rio da Fazenda e ex-secret�rio nacional de pol�tica econ�mica (gest�o Bresser Pereira).
-Pasta indefinida.
-Vladimir Rioli -- Pode ficar com a presid�ncia do Banespa.
-� economista e ex-vice-presidente do Banespa (governo Fleury).
-Como num grandioso �mea culpa�, os �ltimos filmes que Eastwood dirigiu �Os Imperdo�veis� e �Um Mundo Perfeito� apontam justamente para uma crise do her�i, de sua autoridade restauradora, de sua integridade monol�tica.
-Em consequ�ncia, p�e a nu uma crise dos pr�prios g�neros com que trabalha.
-Em �Um Mundo Perfeito�, o tema e seu desenvolvimento s�o de uma clareza exemplar.
-No Texas, em 1963, um menino sem pai, Philip Perry (T.J. Lowther), � tomado como ref�m por um criminoso fugitivo, Butch Haynes (Kevin Costner).
-Ambos partem numa fuga para o norte (rumo ao pai de Haynes, que mora no Alasca).
-O programa sobre a 2� Guerra Mundial traz informa��es sobre 2.100 eventos, tem 900 fotos e 140 mapas de batalhas, permitindo estudar as t�ticas usadas na guerra, al�m de textos e v�deos de grava��es originais.
-Quem prefere as miss�es espaciais tem � disposi��o cerca de oito horas de informa��es sobre 1.600 miss�es, incluindo o programa Apollo e o passeio do astronauta Neil Armstrong na Lua.
-A organiza��o tamb�m iniciou um inqu�rito para averiguar o massacre de cerca de 500 mil pessoas.
-Encarregado do caso, o marfinense Rene Degni-Segui se disse favor�vel a um tribunal internacional para julgar os acusados.
-�Pessoalmente prefiro um tribunal internacional a dependermos dos tribunais nacionais (de Ruanda), que ter�o dificuldade em ser imparciais�, disse o professor de direito da Costa do Marfim.
-A surpresa descrita por Pedro Collor atingiu todos os partidos que integram a chamada �Nova For�a� da pol�tica local, liderada por Lessa.
-At� o final da tarde de ontem, nenhum dos partidos da �Nova For�a� havia se manifestado sobre o assunto.
-Lessa disse que est� disposto a ouvir uma proposta formal do governador.
-O Congresso Internacional de Direitos Autorais enviou, na �ltima sexta, uma recomenda��o ao ministro da Cultura, Luiz Roberto Nascimento Silva, para reativar o �rg�o governamental que cuidava da �rea da propriedade intelectual.
-O CNDA (Conselho Nacional de Direito Autoral), que respondia pela fiscaliza��o, consulta e assist�ncia nas mat�rias relativas a direitos autorais, foi desativado pelo governo Collor.
-FHC e Malan n�o esclareceram, at� o momento, quanto o governo gastou e quando foram comprados os pap�is.
-Ainda assim, s� o an�ncio de que as garantias ser�o adquiridas junto ao mercado poder� elevar os gastos com as futuras compras, raciocinam senadores como Espiridi�o Amin (PPR-SC), Ronan Tito (PMDB-MG) e Gilberto Miranda (PMDB-AM).
-Assessores da equipe econ�mica j� t�m pronta parte da argumenta��o.
-FHC e Malan dever�o defender que o uso das reservas foi necess�rio para salvar o acordo da d�vida, sem o qual o pa�s n�o normalizar� suas rela��es financeiras internacionais.
-Para explicar as compras em sigilo, o argumento � justamente a necessidade de evitar o encarecimento dos pap�is.
-O acordo da d�vida implica a troca dos pap�is atuais por uma combina��o de cinco tipos diferentes de novos pap�is.
-A opera��o dar� um desconto inicial de US$ 4,3 bilh�es sobre o valor do d�bito.
-Essas condi��es, para renegociar US$ 35 bilh�es, foram aprovadas pelo Senado no final de 93.
-O mesmo n�o ocorre com a mistura de tinta para a parede.
-Segundo a consultora de cores Renata Louren��o, o trabalho pode ser feito por qualquer pessoa seguindo as instru��es da lata, sem a necessidade de um pintor profissional.
-Mas deve-se tomar o cuidado de acabar com infiltra��es na parede para que a tinta possa ser bem aproveitada e dure mais tempo.
-�lvaro Vidigal, da Bovespa, registra a �prud�ncia� dos candidatos �s elei��es de hoje, �que est�o sabendo preservar a institui��o acima dos interesses pessoais�.
-Preocupa��o de Vidigal: �Manter junto �s autoridades a imagem de seriedade cuidadosamente cultivada no decorrer desses anos�.
-A Secretaria Estadual da Sa�de investiu R$ 11 milh�es na campanha, de acordo com o diretor do Centro de Vigil�ncia Epidemiol�gica, Wagner Costa.
-Na primeira fase, no dia 11 de junho, foram vacinadas cerca de 3,2 milh�es de crian�as em S�o Paulo.
-Neukirchen disse que a proposta apresentada aos bancos inclui uma inje��o de 2,7 bilh�es de marcos (US$ 1,55 bilh�es) para aumento do capital acion�rio.
-Al�m disso, a companhia pede que os bancos aumentem suas linhas de cr�dito em 500 milh�es de marcos (US$ 287,1 milh�es) e concedam uma morat�ria de tr�s meses no pagamento das d�vidas.
-No mercado, estima-se que as d�vidas do grupo superam os nove bilh�es de marcos.
-Os bancos devem responder � proposta do grupo at� o dia 12.
-A crise no MG aprofundou-se no in�cio de dezembro com o decl�nio nos pre�os internacionais do petr�leo.
-A pesquisa, divulgada no �ltimo s�bado, aponta o candidato do PSDB em primeiro lugar, com 48% das inten��es de voto.
-A defini��o do tempo no hor�rio eleitoral gratuito foi encaminhada pela corregedoria a todos os partidos que disputam a sucess�o do governador Luiz Antonio Fleury Filho.
-A escolha dos t�cnicos Johan Cruyff, do Barcelona da Espanha, e Tel� Santana, bicampe�o mundial pelo S�o Paulo, como colunistas da Folha durante a Copa dos EUA recebeu elogios de ex-jogadores da sele��o brasileira.
-Todos lembraram a import�ncia dos dois treinadores na hist�ria do futebol e no cen�rio atual mundial.
-Folha -- Como vai atuar no jogo contra o Palmeiras?
-Sandoval -- Vou entrar com determina��o, sabendo que vai ser dif�cil.
-Confio na nossa equipe e espero sair do Parque Antarctica com a vit�ria.
-Uma nova escalada obscurantista na China afastou ontem de Cannes o cineasta Zhang Yimou, diretor do c�lebre �Lanternas Vermelhas�.
-Os neg�cios com ouro na BM&F (Bolsa de Mercadorias e Futuros) somaram 54 toneladas em maio, o que representa uma queda de 2,70% em compara��o ao m�s imediatamente anterior, quando foram movimentadas 55,5 toneladas, de acordo com informa��es da entidade.
-A m�dia di�ria de neg�cios com o metal em maio foi de 2,43 toneladas.
-Em rela��o ao mesmo m�s do ano passado, quando os neg�cios atingiram 139,8 toneladas de ouro, a redu��o � de 61,37%.
-A m�dia di�ria naquele m�s foi de 6,6 toneladas, segundo dados da Bolsa de Mercadorias & Futuros.
-�Se n�o fiz�ssemos isso, os jogadores sofreriam mais.
-Os hor�rios das refei��es foram adaptados ao fuso local�, disse Sant'Anna.
-Apenas para estadas mais breves, de um a dois dias, o preparador teria optado por manter o fuso de Los Gatos.
-O Conia, por exemplo, � a parte do congresso que discute o uso da inform�tica pelos profissionais liberais.
-O Conia ter� 18 palestras dirigidas �s �reas de medicina, odontologia, veterin�ria, arquitetura, urbanismo, engenharia e direito.
-�� �nico no mundo.
-Felicito.
-� uma coisa a se estudar�.
-Mas deixa escapar o que pensa.
-Na cabe�a do treinador ou no papel, o esquema t�tico pode ser ofensivo.
-Mas n�o o ser�, na pr�tica, �se n�o houver determina��o para vencer�.
-J� Vail oferece entre outras coisas espet�culos ao longo do ver�o realizados num anfiteatro aberto.
-O destaque, sem d�vida, � o bal� Bolshoi da R�ssia, que h� pelo menos cinco anos consecutivos se apresenta na cidade.
-O Flamengo ficou na espera do Gr�mio, procurando apenas aproveitar o contra-ataque.
-Mesmo assim, n�o criou muitas chances.
-O gol da vit�ria flamenguista foi marcado aos 20min do segundo tempo.
-Magno desceu pela direita e cruzou para a �rea.
-N�lio teve apenas o trabalho de escorar para o gol vazio.
-Emissora: S�rie em seis epis�dios, exibidos de segunda a quinta, na Cultura.
-�Propaganda - O Poder da Imagem� � o tipo de s�rie que poderia ser adotada com proveito nos curr�culos escolares.
-Os respons�veis pelo programa vasculharam uma multid�o de arquivos de filmes (russos, norte-americanos, franceses, ingleses, alem�es) e selecionaram imagens produzidas pelas ag�ncias oficiais desses pa�ses que comp�em uma formid�vel ilustra��o da hist�ria do s�culo 20, tal como vista por seus protagonistas.
-O governo do Estado diz que a greve � ilegal.
-Os professores da UFPB (Universidade Federal da Para�ba) tamb�m entraram em greve geral ontem.
-Eles reivindicam 105% de reposi��o de perdas salariais.
-Os funcion�rios da universidade est�o em greve desde o �ltimo dia 19.
-Patr�cia -- Minha literatura vem da imagem, da TV, do cinema.
-Eu tento usar o processo de edi��o, como se trabalha em uma mesa de edi��o.
-Folha -- Como � teu m�todo?
-O ingl�s John Ritchings vai escrever um livro sobre os meses que foi torturado pelo galo da vizinha, diz o jornal.
-O galo, Corky, cantava das 3h �s 7h diariamente e Ritchings n�o conseguia dormir.
-A estrela s�mbolo do PT vai emoldurar com destaque o cen�rio dos programas do candidato Luiz In�cio Lula da Silva.
-Seus programas de r�dio ter�o reportagens de rua, vetadas na TV.
-Segundo Markus Sokol, coordenador de comunica��o, a estrat�gia de comunica��o foi delineada em um semin�rio realizado em dezembro passado.
-Executivos em cargos de lideran�a assumem seus cargos com mais uma pesada fun��o: implementar cada passo da estrat�gia que eles pr�prios esbo�aram.
-Em junho, Christensen esteve no Brasil a convite da Funda��o Dom Cabral de Belo Horizonte, para acompanhar a segunda etapa do curso STC-Executivo.
-As constru��es lembram vagamente uma verdadeira vila de pescadores.
-Perto de qualquer uma, o cen�rio de �Tropicaliente� parece uma grande aldeia de milion�rios.
-�� bonito isto daqui�, dizia admirado um pescador nativo, que participava de uma grava��o como figurante no �ltimo dia 30.
-�Licen�a po�tica� � parte, as praias e as dunas de Fortaleza foram escolhidas como cen�rio de �Tropicaliente� por Paulo Ubiratan, diretor-art�stico da Globo, por causa da beleza natural do lugar.
-Crian�as mais velhas que nunca seguiram a dieta podem ter retardo mental, desenvolvimento motor prejudicado e altera��es significativas do comportamento (isolamento e agressividade).
-Pesquisas t�m mostrado que o fenilceton�rico deve seguir a dieta durante toda a vida.
-Os adultos que voltam a comer prote�nas podem ter piora da concentra��o e da mem�ria e uma maior agita��o.
-Quando astronautas embarcarem numa esta��o orbital ou, eventualmente, estiverem a caminho de Marte, ter�o como companhia necess�ria alguns bilh�es ou trilh�es de micr�bios comil�es.
-A Nasa (ag�ncia espacial dos EUA) encomendou � empresa Micro-Bac o desenvolvimento de um sistema de purifica��o de esgoto utilizando bact�rias conhecidas por devorarem material org�nico.
-O estudo custou US$ 400 mil.
-Os testes de laborat�rio deram certo, e agora a empresa se prepara para comercializar essa �mini-usina tratadora de esgotos�.
-Em um dos subprodutos mais ir�nicos da pesquisa, a tecnologia criada para uma �casa� orbital de bilh�es de d�lares, a esta��o Freedom, poder� facilitar a constru��o de casas populares na Terra, segundo Ercole Am�rico Carpentieri Jr., diretor da filial brasileira da Micro-bac.
-A tecnologia pode reduzir a necessidade de rede de esgotos em determinados locais.
-O que deve ser destacado de forma resumida em um item sobre qualifica��es profissionais s�o os pontos fortes da experi�ncia e da forma��o acad�mica e os atributos que podem diferenciar o candidato no mercado.
-Segundo Laerte Leite Cordeiro, consultor especializado em recoloca��o, o curr�culo deve ser dividido em tr�s partes: �rea geral de interesse (administrativa, cont�bil, financeira etc.), qualifica��es profissionais e descri��o da trajet�ria de empregos (empresas, cargos, per�odos).
-Comenta o contrabando de plut�nio, dizendo que �� s�ria advert�ncia para que governos controlem os excessos deste material que o fim da Guerra Fria criou�.
-O jornal kuaitiano diz que o governo do pa�s fechou um sal�o de beleza por uma semana por infringir a lei que pro�be mulheres de trabalhar em sal�es para homens e vice-versa.
-O Houston Rockets conquistou sua 27.� vit�ria na temporada da NBA (contra apenas quatro derrotas), em casa, s�bado, ao vencer o Philadelphia 76ers por 100 a 93.
-Mais uma vez o piv� Hakeem Olajuwon foi o fator de desequil�brio a favor do Houston, um dos mais destacados times do campeonato.
-Ele converteu 23 pontos e ganhou 17 rebotes.
-O Philadelphia tem apenas 12 vit�rias e j� perdeu 19 vezes.
-Contra o Houston, o cestinha da equipe foi Jeff Honaceck, com 20 pontos, seguido por Clarence Whiterspoon, com 16.
-Lamentavelmente, mais uma vez, um pa�s do subcontinente sul-americano suspende as garantias do Estado de Direito.
-Desta feita, por�m, n�o foi uma aventura castrista ou uma injun��o pol�tica qualquer que levou o governo venezuelano a este ato extremo, mas sim a conjuntura econ�mica.
-E, de fato, os ventos n�o sopram em favor dos venezuelanos.
-Eleito em 1988, o ex-presidente Carlos Andr�s P�rez (social-democrata) encetou uma pol�tica econ�mica neoliberal que imp�s sacrif�cios � popula��o dando in�cio a uma s�rie de violentos protestos.
-P�rez enfrentou duas tentativas de golpe militar e, a exemplo de Fernando Collor, acabou sofrendo impeachment por corrup��o e, hoje, encontra-se numa cela � espera de julgamento.
-Aprofundando as d�vidas, Leila se deixou cair na tenta��o do duplo.
-Se n�o h� mais bossa nova realmente nova, o melhor � mimetizar o criador do estilo, o cantor Jo�o Gilberto.
-O resultado dessa tentativa de metempsicose est� no rec�m-lan�ado CD �Isso � Bossa Nova� (EMI-Odeon), s�timo disco em 12 Anos de sua carreira.
-A lei tamb�m prev� que at� o final de junho o governo enviar� ao Congresso um projeto sobre a eleva��o do valor real do sal�rio m�nimo.
-Se o m�nimo sofrer altera��o, a Constitui��o determina que as aposentadorias tamb�m sejam revistas.
-O Mogi Mirim venceu ontem o Uni�o S�o Jo�o de Araras por 2 a 0 em Mogi e deu mais um passo para conquistar uma vaga na Copa Bandeirantes.
-Esse torneio reunir� os seis primeiros colocados da S�rie A-1 e o campe�o da A-2 do Campeonato Paulista.
-Em S�o Paulo, n�o � necess�rio deslocar-se muito � procura de artigos de segunda m�o.
-H� pontos de concentra��o de lojas que facilitam a pesquisa de pre�os.
-Entre uma loja e outra podem ocorrer grandes diferen�as.
-�Nas aulas, Candelori usa reportagens de jornais para introduzir seus temas e colocar toda a classe para falar.
-Na lista dos assuntos est�o a campanha contra a fome, racismo, imigra��o nordestina, aborto, corrup��o pol�tica e aborto.
-�Tem gente que acha a aula in�til.
-S�o as mesmas pessoas que acham que sua responsabilidade social se limita a pagar impostos�, diz Let�cia Zioni Gomes, 16.
-�� preciso cobrar o governo para as coisas funcionarem�, completa Bruno Fanizzi, 15.
-Fanizzi conta que antes das discuss�es em aula era uma pessoa de �extrema direita�, que n�o pensava nas suas opini�es.
-�A aula � boa porque o professor jamais imp�e a opini�o dele.
-Ele levanta a discuss�o e deixa o conflito de id�ias rolar�, diz Manoela Nicoletti, 15.
-Segundo Candelori, seu curso � de �sensibiliza��o� para temas �ticos.
-�Eles n�o suportariam a aridez da teoria, mas discuto temas como espa�o p�blico e privado atrav�s de fatos como o comportamento do Itamar no Carnaval�, diz.
-Sobre o controle antidoping, a Fifa estabelecer� uma �fax hotline�, em opera��o 24 horas por dia, para que os m�dicos das delega��es consultem a organiza��o da Copa antes de fornecer qualquer medicamento a seus jogadores.
-As consultas ser�o feitas por escrito para evitar contesta��o.
-O brasileiro Jo�o Havelange consolidou ontem, em Nova York, a sua candidatura para o sexto mandato consecutivo como presidente da Fifa.
-O presidente da Uefa, Lennart Johansson, negou que a entidade europ�ia v� apresentar oposi��o a Havelange.
-�O fonoaudi�logo tem uma �rea vasta de atua��o, apesar de estar muito concorrida.
-A gente pode trabalhar com atores de teatro, crian�as, na preven��o de doen�as ou no exame de trabalhadores expostos a ru�dos.
-O atacante do Barcelona obteve o �Onze de Ouro�, distin��o outorgada por leitores da revista francesa �Onze Mundial�.
-Recebeu 13.576 votos (33,94%) em 40 mil respostas.
-O time anunciou ontem a contrata��o do craque argentino.
-Naquele ano, Fleury j� aparecia com 20% das inten��es de voto em setembro, um m�s antes do primeiro turno.
-A menos de uma semana da elei��o deste ano, Munhoz n�o passou dos 12%.
-Fleury foi para o segundo turno e venceu o atual prefeito de S�o Paulo, Paulo Maluf (PPR).
-Na pesquisa Datafolha divulgada no �ltimo s�bado, o primeiro colocado, M�rio Covas, aparece com 47%, nove pontos percentuais acima da soma dos �ndices dos demais candidatos.
-ACM disse que �n�o conseguiu entender nada� do novo plano econ�mico elaborado pela equipe do ministro Fernando Henrique Cardoso.
-�Eu estou igualzinho ao presidente Itamar, igualzinho ao minist�rio, igualzinho a 150 milh�es de brasileiros, que n�o sabem coisa alguma sobre este plano�.
-Segundo ACM, �quem disser que conhece o plano, de um modo geral, est� mentindo�.
-O governador acrescentou que pedir� ao Nosso Senhor do Bonfim para que o plano d� certo.
-O acordo inclui votar, sem novas emendas, o projeto de Or�amento para 95.
-Os l�deres acertaram que, havendo quorum, o Or�amento de 95 s� n�o ser� votado hoje se n�o ficar pronta a publica��o do parecer aprovado na Comiss�o Mista de Or�amento, acolhendo cerca de R$ 2,5 bilh�es em emendas.
-O STJ decide que Halpern e Decaro, indiciados pelo MPF sob a acusa��o de fraude processual, devem ser julgados pela Justi�a Federal em S�o Paulo.
-Os deputados petistas Luiz Gushiken (federal) e Luiz Azevedo (estadual) pedem que o Minist�rio P�blico estadual reabra processo sobre as importa��es.
-O partido atua no movimento sindical atrav�s da �Corrente Sindical Classista�, filiada � CUT.
-Controlam ou s�o influentes em sindicatos importantes em S�o Paulo, como o dos metrovi�rios, o da Sabesp e banc�rios.
-Os sindicatos dos metal�rgicos de Betim (MG), de Ribeir�o Preto (SP) e da Bahia tamb�m s�o da tend�ncia.
-Com o resultado, o time perdeu a chance de garantir antecipadamente a vaga nas quartas-de-final.
-A equipe entra na quadra amanh� �s 20h30 (15h30 de Bras�lia) para disputar com o Canad�, no chamado �grupo da morte�, um lugar na pr�xima fase do Mundial (leia mat�ria nesta p�gina).
-Entre os exemplares destes vinhos que chegaram �s nossas praias, todos safra 92, o �Bourgueil L�chellerie�, milita decididamente na primeira fila.
-Ele � um vinho ligeiro, de aroma simples de frutas vermelhas e boa acidez, ideal para ser bebido refrescado.
-O �Chinon Les Granges� e o Saumur-Champigny �Domaine de la Martini�re� s�o pouco mais encorpados.
-O �Les Granges� tem aroma e sabor marcado por morangos e evolui bem na boca, enquanto o Saumur, tamb�m frutado, � mais s�rio e (levemente) t�nico.
-O sushiman Oscar Tadaioshi Izumi baixa com hashi e raiz forte hoje nos dom�nios de Wilma Kovesi para entregar os segredos da cozinha japonesa.
-Ningu�m ignora os terr�veis problemas que o pa�s atravessa, dos quais a corrup��o policial e os n�veis de viol�ncia s�o apenas uma faceta.
-Ainda assim, � de se supor que existam bons agentes de pol�cia.
-� particularmente a estes bem como a toda a sociedade que interessa a apura��o completa e rigorosa dos massacres.
-Toda vez que um crime cometido por representantes do poder p�blico fica sem puni��o, o �nus recai sobre a corpora��o como um todo, gerando um turbilh�o que indifer�ncia os bons dos maus policiais.
-� evidente que quem perde s�o os primeiros.
-O pior, por�m, � que nesse processo o pr�prio Estado cai em descr�dito e acaba cedendo mais espa�o �s for�as do caos.
-Folha -- O Mercosul foi objeto de declara��es meio euf�ricas nos �ltimos dias.
-Que pontos, no entanto, o deixaram frustrados?
-Amorim -- N�o posso dizer que algo me frustre, levando em conta que h� tr�s anos a id�ia do Mercosul surgia no Tratado de Assun��o.
-Talvez prefer�ssemos que o com�rcio estivesse totalmente liberalizado, sem as listas de produto em regime de adequa��o (sobre os quais s�o mantidos os impostos alfandeg�rios) que afetam de 5 % a 8 % do com�rcio regional.
-E como ningu�m � de ferro e Orlando fica perto, duas horas e meia de avi�o, a turma depois d� uma passadinha para um milk shake com Mickey e Pateta.
-Aberto desde 1948 no Beverly Boulevard quando os clientes eram Errol Flynn, Frank Sinatra e Billy Wilder, o restaurante Dominick's continua na moita.
-�Tudo leva a crer que estamos num processo de endemia�, sustenta o patologista Bruce Mendes Campos, respons�vel pela an�lise do sangue.
-De 205 pacientes com suspeitas da doen�a, 47 revelaram-se positivas neste ano.
-�Estamos assustados�, afirmou o diretor do hospital, Aloysio Campos da Paz, professor visitante das universidades de Oxford (Inglaterra), Stanford, Harvard e Nova York (EUA).
-Para viabilizar a viagem de pelo menos parte dos 20 integrantes do coral advogados, banc�rios, secret�rias, estudantes, aposentados e apenas um padre, a diretora diz que se uma empresa se dispuser a cobrir os custos da viagem, o coral oferece em troca a grava��o de um disco promocional.
-�Qualquer doa��o seria muito bem recebida�, diz madre Maria.
-Os interessados em viabilizar a participa��o do coral no festival belga podem entrar em contato com a dire��o do coral nos telefones (011) 231-5346 e 288-3514.
-Olhando com aten��o os jogos da Copa � poss�vel chegar a uma conclus�o oposta � de Parreira.
-Foi justamente gra�as � arte de alguns de seus jogadores que equipes como a Bulg�ria, a Rom�nia e a Nig�ria chegaram muito mais longe do que jamais tinham conseguido.
-Num campeonato em que predominaram as defesas fechadas, o que fez a diferen�a foi a imagina��o ouso dizer, para horror de Parreira, a �magia� de um punhado de craques: Rom�rio, Baggio, Stoichkov, Hagi, Brolin...
-No final � feita uma auditoria para ver se a auto-avalia��o feita pela f�brica corresponde � realidade.
-Segundo Migues, algumas f�bricas da Autolatina ainda n�o atingiram o padr�o de excel�ncia Q1.
-As f�bricas que atingiram receberam uma placa e, em alguns casos, um ve�culo � sorteado para seus funcion�rios.
-A disciplina de cirurgia pl�stica da Faculdade de Medicina da USP est� lan�ando um programa de cirurgia pl�stica em crian�as com a colabora��o do Banco Real.
-O objetivo � divulgar as t�cnicas mais modernas de tratamento das deformidades cong�nitas nas diversas regi�es do pa�s.
-A primeira etapa do programa come�a hoje e vai at� o dia 2 em Jo�o Pessoa (PB).
-Um novo protocolo desenvolvido por um grupo de m�dicos de quatro institui��es p�blicas de S�o Paulo est� trazendo para o Brasil o Interferon Beta, para o tratamento de pacientes com esclerose m�ltipla (doen�a degenerativa que causa enrijecimento muscular, debilidade das fun��es motoras e perda parcial da vis�o).
-A droga foi aprovada em julho passado pela FDA �rg�o de fiscaliza��o de medicamentos dos Estados Unidos para o tratamento da doen�a.
-Informa��es pelo tel. (011) 887-8740.
-O ex-ministro e candidato presidencial Fernando Henrique Cardoso disse � Folha que frequentava no passado os sebos do centro, perto da Faculdade de Direito da USP.
-Quando vai aos EUA, ele n�o se limita a comprar blazers caros.
-Tamb�m vai � livraria Barnes and Nobles, em Nova York.
-Nem todos t�m tempo e paci�ncia para sebos.
-O fil�sofo Jos� Arthur Giannotti diz que se sente angustiado em livrarias e prefere comprar seus livros por cat�logos.
-�Tantos livros, t�o pouco tempo para ler�.
-O �nibus era da Via��o Boa Vista e transportava cerca de 40 passageiros na hora do acidente, segundo a Pol�cia Rodovi�ria.
-Com a colis�o, cinco passageiros ficaram feridos e foram atendidos no Hospital M�rio Gatti.
-Todos passam bem.
-De um lado, acirrou-se a rea��o marcadamente militante, mais diretamente identificada com as propostas pol�tico-ideol�gicas das esquerdas organizadas, cujas manifesta��es procuravam real�ar o que se entendia na �poca por �cultura nacional e popular�, recha�ando a influ�ncia �imperialista� e suas armas culturais entre as quais incluiam-se a televis�o voltada para o consumo e para a �aliena��o�, as formas art�sticas �americanizadas�, a cultura pop e at�... a guitarra el�trica.
-Esta vertente, francamente conteudista, derivava das experi�ncias realizadas no per�odo pr�-64 pelos Centros Populares de Cultura (CPCs), ligados � Uni�o Nacional dos Estudantes, que privilegiavam a �mensagem� e procuravam falar uma idealizada linguagem do �povo�.
-Ele teve importante papel ao manter a pol�tica externa e muitos assuntos internos fora da esfera decis�ria da UE, ganhando a simpatia brit�nica.
-J� assessores do federalista Delors, que em dez anos na presid�ncia da CE aumentou os poderes do cargo e entrou em conflito com Margaret Thatcher (antecessora de Major), temem que a escolha de Santer sirva para enfraquecer os poderes do presidente, o que abriria caminho para o eixo Alemanha-Fran�a consolidar o seu dom�nio.
-O fato de haver razo�vel consenso acerca desses temas n�o significa, por�m, que seja f�cil ou r�pido aprovar tais reformas no Congresso.
-Elas dependem em boa parte de emendas constitucionais, o que est� longe de ser simples de fazer.
-Ora, se o presidente chegar � posse sem que estejam no m�nimo delineados, divulgados e negociados com os setores organizados da sociedade os projetos que consubstanciem tais reformas, torna-se muito mais dif�cil faz�-los aprovar no Congresso no prazo de um semestre definido pelo pr�prio FHC.
-Por tudo isso, n�o cabe formalismo em excesso.
-Cabe, � l�gico, todo o respeito �s prerrogativas do atual governante.
-Mas, at� por ser tamb�m o candidato do presidente, FHC deve come�ar a trabalhar j�.
-As paulistas Mancha Verde (Palmeiras) e Gavi�es da Fiel (Corinthians) aceitaram, mas as cariocas se recusaram.
-A carta de Stepanenko engrossa desde ontem o inqu�rito contra o ministro no TSE.
-Trata-se de outra evid�ncia irrefut�vel.
-Itamar n�o precisa da ajuda de Vicentinho.
-Tem diante de si um portentoso exemplo de desvio de conduta.
-Ali�s, j� poderia ter agido.
-Seu sil�ncio soa a cumplicidade.
-Mas os pontos mais importantes n�o foram tocados.
-N�o ouvi falar nada sobre arbitragens.
-N�o se fala na cobran�a dos �rbitros que apitam maldosamente, para prejudicar uma equipe.
-Isso aconteceu muitas vezes este ano.
-Outro ponto � que as bolas que v�o ser usadas no campeonato n�o devem ser escolhidas por interesses comerciais.
-Cerca de 300 cubano-americanos protestaram na frente do pr�dio da miss�o cubana na ONU, onde as negocia��es ocorreram.
-Funcion�rios do escrit�rio cubano tentaram abafar os protestos na rua colocando caixas de som nas janelas do pr�dio com m�sica alta.
-Em Miami, duas bombas caseiras (coquet�is Molotov) foram encontradas ontem em frente � revista cubana �Replica�, que ap�ia as negocia��es entre Cuba e EUA para tentar resolver a crise.
-As bombas n�o chegaram a ser acionadas.
-Se podemos nos orgulhar de nosso futebol, n�o podemos dizer o mesmo dos nossos �rbitros, aqui representados exatamente por Marsiglia.
-Falando em futebol, em bom futebol, devemos saudar a chegada de Ronald�o aos Estados Unidos.
-As empresas Tejofran e Power informaram ontem, em nota enviada ao TRE (Tribunal Regional Eleitoral), que prestam servi�os aos comit�s do PSDB e PMDB.
-A Tejofran e a Power s�o acusadas por Rui Ramos, ex-integrante da campanha tucana, de financiar a estrutura pol�tica do candidato do PSDB ao governo, M�rio Covas.
-Na cheia, entre outubro e abril, quando a m�dia mensal de chuvas supera 290 mil�metros, a irriga��o do arroz � feita por inunda��o.
-No per�odo mais seco, quando as chuvas n�o passam de dez mil�metros/m�s, os produtores plantam soja, que exige menos �gua.
-Na sua primeira declara��o, Queiroz omitiu US$ 1,7 milh�o em bens.
-Entre eles estavam a empresa �ticas Trevo, terrenos e pontos comerciais em Salvador.
-O presidente do partido no Rio, S� Freire, disse que o pedido de cassa��o foi feito porque Walter Queiroz n�o teria comparecido �s reuni�es marcadas para que ele explicasse sua nova declara��o de renda.
-J� o sistema de tratamento de esgotos residenciais, com a esta��o do ABC, dever� atingir 150 toneladas/dia.
-Somando-se os dois n�meros, chega-se a 500 toneladas/dia, aproximadamente 50% das 1.100 toneladas de polui��o org�nica di�ria jogadas no rio.
-Antes da derrota por 2 a 0 na primeira partida entre os dois clubes, quinta-feira no Mineir�o, o t�cnico botafoguense Renato Trindade desenhou a t�tica advers�ria num quadro negro do vesti�rio.
-Ele circundou com giz os cinco meias.
-�O segredo do Atl�tico � o quinteto.
-Eles v�m de tr�s com a bola e nos dificultam�, disse.
-Ele foi o respons�vel pela inclus�o de peixes amaz�nicos no livro dos recordes da International Game Fish Association.
-A Pol�cia Militar do Amazonas est� desenvolvendo uma campanha educativa de tr�nsito.
-Ela est� alertando os motoristas que saem de Manaus pela rodovia AM-10.
-Policiais orientar�o os motoristas com placas educativas que indicar�o os cuidados b�sicos contra acidentes.
-Agora suponha que a economia toda vire um bando de gente que ganha mesada e de gente que d� mesada.
-Para quem recebe em URV, � �timo.
-Para quem paga, pode n�o ser um grande neg�cio ter de pagar mais dinheiro todos os dias.
-� mais ou menos o que est� acontecendo na discuss�o de quem tem im�vel com quem paga o aluguel, por exemplo.
-Ou do dono da escola com seu pai, que paga a mensalidade.
-Se voc� tem um pai p�o duro, n�o tenha d�vidas pe�a a URV na sua mesada.
-Entre os itens importados, devem chamar aten��o na Feicon os revestimentos de cer�mica para piso trazidos da It�lia.
-Importados pela C�ramus, os pisos de uso comercial (para hot�is e shopping centers) destacam-se pela grande resist�ncia.
-Algumas ainda est�o sendo calculadas pela Caixa.
-Eles ter�o ainda de pagar multa equivalente a R$ 647,90.
-Al�m dos dois, tamb�m foram condenados outros 12 diretores da CEF.
-A necessidade de reparar os equipamentos durante a viagem teria alterado os planos de trabalho.
-Damascene viaja raramente de navio, mas n�o � um estranho ao mar.
-Quando jovem, esteve engajado na Marinha grega.
-Conhecia bem grandes embarca��es e saberia como agir numa emerg�ncia.
-A situa��o tende a se agravar, uma vez que nenhuma das partes parece mostrar disposi��o de recuar.
-O governo recebeu ontem outra m� not�cia: empres�rios se declararam contr�rios ao CIP.
-O motivo � que ele obriga a empresa que contratar jovens a manter um tutor para ensinar o trabalho aos novos empregados.
-Com isso, dizem, aumentam os custos de contrata��o dos jovens.
-Ao contr�rio do que poderia esperar a direita norte-americana na vig�ncia da Guerra Fria, a vinda de Soljenitsin n�o p�de ser capitalizada em discursos e apari��es p�blicas.
-Por dois motivos: primeiro, a indisponibilidade do escritor, que simplesmente n�o estava interessado em percorrer os Estados Unidos ou debater suas id�ias; segundo, seus coment�rios sobre a �decad�ncia moral� do Ocidente logo o tornaram inconveniente.
-Sua �ltima apari��o foi numa formatura em Harvard, em 1978.
-Depois disso, caiu no ostracismo.
-Sua partida dever� ser igualmente discreta.
-Seu editor, Claude Durand, disse � Folha por telefone, de Paris, que Soljenitsin n�o tem inten��o de fazer qualquer despedida p�blica dos Estados Unidos.
-�Sei que jamais terei uma chance de trabalhar t�o calmamente de novo.
-Na R�ssia, serei dilacerado pelos acontecimentos e pelas trag�dias das pessoas�.
-Est� visto que nem o conjunto, nem qualquer outra frase dele, d� � frase negada por Fernando Henrique o sentido que ela tem por si mesma.
-A leitura de todo o trecho leva, ali�s, a outra mentira, esta sobre os tempos de TV do PSDB e do PT.
-N�o � a primeira vez, e espero n�o ser a �ltima, que Fernando Henrique e esta coluna se atritam pelo mesmo motivo.
-A primeira fez dez anos h� pouco.
-Foi quando noticiei que Fernando Henrique estava em contatos sigilosos com o governo Figueiredo, oferecendo um plano de concilia��o entre o regime que se exauria e o que nasceria.
-Para isso, a presid�ncia n�o poderia ficar com o candidato �bvio na �poca, Ulysses Guimar�es, que supostamente representava o risco de confronto com os militares.
-Tancredo tivera com o governo conflitos impeditivos, aqueles que o levaram a dissolver o PP de ent�o.
-N�o preciso repetir, agora, quem era o homem que Fernando Henrique apresentava como adequado ao plano, sob o argumento de que tinha tr�nsito nas esquerdas para encabe�ar um pacto conciliador.
-O professor Leit�o de Abreu, que era ministro do Gabinete Civil, n�o vive para confirmar as visitas ofertantes de Fernando Henrique.
-Mas h� testemunhas da veracidade da not�cia, inclusive o ex-presidente Figueiredo, que repeliu a proposta.
-Apesar da veracidade ainda hoje comprov�vel, na ocasi�o Fernando Henrique me fez graves acusa��es.
-Com a mesma hombridade que exibe mais uma vez.
-Pois experimente ir a um show de m�sica, por exemplo, ofender Tim Maia ou Jo�o Gilberto na boca do palco, e voc� ver� que a atitude de Edmundo foi, no m�nimo, compreens�vel.
-Pois �, Palmeiras e Corinthians fazem hoje a final�ssima do Brasileiro.
-Provavelmente ser� um bel�ssimo jogo.
-O Corinthians ter� de atacar os 90 minutos para reverter a enorme vantagem palmeirense.
-Como Collor, o novo presidente falou em: �reforma do Estado�, �abertura da economia�, �avan�o da privatiza��o� e �flexibiliza��o dos monop�lios estatais�.
-�Isto come�ou a acontecer no governo anterior ao do presidente Itamar Franco�.
-Morreu no domingo � noite aos 80 anos o cientista Roger Sperry, ganhador do Pr�mio Nobel de Fisiologia e Medicina de 1981.
-O an�ncio foi feito segunda-feira pelo Instituto da Calif�rnia para Tecnologia Avan�ada (Pasadena), onde Sperry trabalhou at� 1984.
-Na rela��o divulgada ontem em Washington, o Brasil � citado com outros 34 pa�ses.
-O Jap�o � o principal alvo da lista por barreiras aos produtos, servi�os e investimentos norte-americanos, que segundo o USTR, colaboraram para que o d�ficit dos EUA no com�rcio com os japoneses atingisse US$ 60 bilh�es no ano passado.
-O relat�rio dedica 42 p�ginas ao Jap�o, �cujas barreiras � importa��o de produtos e servi�os s�o muito maiores do que as dos demais membros do Grupo dos Sete (pa�ses mais industrializados) e representam um entrave inaceit�vel ao sistema de com�rcio global�.
-Tendo em mente o Jap�o, os EUA reinstalaram recentemente a cl�usula conhecida como Super-301, mecanismo legal que amplia os poderes de retalia��o comercial da Casa Branca.
-A Super-301, que j� foi aplicada contra o Brasil quando esteve em vigor em 1989 e 1990, estabelece um prazo de 18 meses para que as negocia��es bilaterais levem � elimina��o do que os EUA consideram barreiras ao com�rcio.
-Depois disto, os EUA podem impor tarifas punitivas de at� 100% �s importa��es do pa�s ofensor.
-F� do t�cnico s�o-paulino Tel� Santana (�� muito modesto�), Bianchi v� o time paulista t�o forte como em 1992 e 93.
-O principal jogador da equipe � o meia-direita Jos� Basualdo.
-Ele atuou pela sele��o argentina na Copa do Estados Unidos.
-Entre a defesa e o ataque, a bola quase sempre passa por seus p�s.
-�A L�lian sem calcinha fez mais estrago do que um bando do Comando Vermelho com rev�lver.
-Ela � uma profissional e conseguiu o objetivo dela.
-Mas o presidente tem de ter postura.
-O bom � que o Fernando Henrique n�o estava presente e n�o se comportou como o Maur�cio Corr�a.
-�S� tenho um sentimento: estupefa��o.
-Todo presidente � uma autoridade p�blica e deve cuidar da imagem daquilo que ele representa.
-O fato do presidente ter posado ao lado de aquela atriz foi um vexame para toda a na��o brasileira.
-As letras do Digable Planets n�o refletem este radicalismo.
-S�o mais cool, falam de amor, crescimento e amizade sempre com um vi�s �engajado�, por�m.
-O pr�prio nome da banda, segundo Ann Marie, vem de �leituras sistem�ticas de Sartre, Marx, Kafka�.
-Significa �planetas bacanas�.
-O nome seria uma tentativa de passar �s pessoas o conceito de auto-sufici�ncia cada ser � um �planeta� mas tamb�m de inter-rela��o entre os �planetas�.
-�Da� os nomes de insetos para n�s�, continua Ann Marie.
-O atlas que a Folha vai distribuir aos leitores em 19 fasc�culos tem tr�s patrocinadores: o Banco Itamarati, a Companhia Brasileira de Alum�nio (do grupo Votorantim) e a OAS Participa��es.
-N�o foi dif�cil encontrar patrocinadores para o projeto, segundo Antonio Carlos de Moura, 35, diretor comercial da empresa Folha da Manh� S/A, que edita a Folha.
-Uma mesa de encostar, em jacarand� claro, feita � m�o no Rio no s�culo 18, vai a leil�o no pr�ximo m�s em S�o Paulo por US$ 15 mil, pre�o equivalente a dois carros populares zero quil�metro, como o Fusca.
-O leil�o ser� na casa Renato Magalh�es Gouv�a Escrit�rio de Arte, nos Jardins (zona oeste).
-Colosio, candidato do Partido Revolucion�rio Institucional (PRI, governista) foi morto a tiros em Tijuana durante um com�cio.
-Ele era o favorito para as elei��es programadas para 21 de agosto.
-Foi substitu�do como candidato por Ernesto Zedillo, que chefiava sua campanha.
-O percurso, que ser� divulgado momentos antes da prova, deve incluir a avenida Bandeirantes, via Anchieta, represa Billings e chegada na av. Nove de Julho, em frente ao Banana Banana.
-Ao final, todos os corredores comemoram a prova com uma feijoada na casa noturna.
-Ali estar� exposto o Lancer Evolution, carro de competi��o da Mitsubishi.
-Ele � acusado pela morte de pelo menos 83 pessoas e de ter ferido outras 200.
-O Chacal chegou ontem �s 10h30 (5h30 no Brasil) ao Pal�cio da Justi�a, usando algemas e cercado por um forte esquema de seguran�a.
-S�O PAULO A elei��o presidencial est� na sua pior fase, que � aquela das articula��es pol�ticas de bastidores, da costura sigilosa de alian�as, das rasteiras e baixarias entre advers�rios e correligion�rios.
-� a fase do vale-tudo que antecede a escolha dos candidatos pelos partidos.
-� uma fase tr�gica para n�s, eleitores.
-Imagino que para a grande maioria dos pol�ticos este seja o momento de gl�ria porque exercita o que considera uma virtude: a arte da esperteza, a pol�tica segundo os c�nones herdados da velha tradi��o das raposas pol�ticas.
-H� quem se orgulhe dos golpes que consegue imaginar e confunda artimanhas com estrat�gia.
-� que �os dirigentes petistas acreditavam tanto na vit�ria no primeiro turno que dispensaram os pol�ticos�, quer dizer, a direita.
-Agora ela est� de volta.
-Jos� Genoino, entrevistado, j� falava como novo centro do poder.
-�N�s vamos colocar a campanha na rua�, dizia, sorrindo.
-A secess�o est� s� come�ando.
-Maria Mole: mistura de bebidas, conhaque com martini e/ou vodka.
-Muito N: coisa ou conversa negativa demais.
-Futebol e pol�tica n�o se misturam.
-Essa � a postura que prevalece para a maioria dos jogadores da sele��o brasileira de futebol.
-Apenas o goleiro Gilmar (Flamengo) revelou o seu voto para as elei��es presidenciais deste ano.
-Gilmar pretende votar no senador Esperidi�o Amin (PPR-SC).
-�No quadro de hoje, voto nele�, disse o goleiro do Flamengo.
-Para governador ele ainda est� indeciso.
-�s 21h15, o tucano Jos� Serra, rec�m-eleito senador, juntou-se ao casal presidencial.
-�s 22h43, o governador eleito de S�o Paulo, M�rio Covas, e sua mulher Lila chegaram para o jantar.
-Covas disse que �Z� Milion�rio� � um velho amigo seu.
-Jos� Carlos Ara�jo foi s�cio de Oct�vio Cavalcanti Lacombe (morto em 1992), que fundou h� mais de 30 anos a Paranapanema, companhia de explora��o de min�rios principalmente estanho e cassiterita na regi�o amaz�nica.
-O ladr�o verificou qual era o saldo da conta de Maria Estela e, em seguida, retirou R$ 225 do caixa.
-Antes de ir embora, o ladr�o pegou o t�tulo de eleitor e o CIC da assistente de secretaria e os jogou atr�s do caixa.
-�Ele disse que era para eu apanh�-los e para n�o tentar reagir e impedir sua fuga�, afirmou Maria Estela.
-Mas, quando o ladr�o ia deixar o caixa, dois outros clientes do banco chegaram.
-Arrelia foi o primeiro palha�o brasileiro a ter um circo na televis�o.
-Era o �Circo do Arrelia�, na TV Record, em 1953.
-Ele ficou famoso no todo o pa�s.
-Arrelia se chama Valdemar e tem 87 anos.
-Quando menino, gostava de estudar e n�o queria ser de circo, como seus pais.
-Para Serra, se n�o for aprovada a emenda constitucional que desvincula dos fundos de participa��o dos Estados e munic�pios as receitas dos novos tributos, de nada adiantar� o aumento de impostos.
-�Ainda n�o d� para ficar tranquilo.
-O prazo � curto e os advers�rios s�o muitos�, disse Covas.
-Para ele, a pr�xima semana ser� decisiva para o governo, quando as MPs que tratam do aumento de impostos ter�o de ser necessariamente votadas.
-Elas n�o podem ser reeditadas porque a cria��o ou altera��o de impostos s� podem ser feitas no ano anterior ao de sua cobran�a.
-O Banespa ainda n�o esclareceu as supostas dificuldades de uma ag�ncia no exterior por haver pago parte das importa��es sem licita��o de equipamentos israelenses no governo Qu�rcia.
-O BC n�o teria aprovado a opera��o.
-Se o Minist�rio P�blico Estadual comprovar danos ao patrim�nio p�blico com as importa��es de Israel, os respons�veis estar�o sujeitos a a��o de ressarcimento.
-Mas o �Concerto para Harpa, Obo� e Orquestra de C�mara� (1980) e sobretudo sua �Cha�ne 2� para violino e orquestra (1985) apontam para uma escuta mais livre, hedonista.
-Resumindo: Lutoslawski radicalizou Bart�k naquilo que este tinha de noturno, de dram�tico e �moderno�.
-Os acasos e interrup��es misteriosas da m�sica noturna bartokiana se fizeram, em Lutoslawski, sil�ncios e vibra��es aleat�rias da orquestra.
-Jogos.
-Os folhetos ter�o uma rede de distribui��o in�dita at� agora em qualquer campanha institucional do governo: carteiros da ECT (Empresa de Correios e Tel�grafos), ag�ncias e postos de atendimentos do Banco do Brasil, Caixa Econ�mica Federal, al�m de postos lot�ricos.
-�Durante 15 dias, os bancos v�o lhe dar reais em troca de cruzeiros reais.
-Se for necess�rio, esse prazo ser� prorrogado.
-Por isso, voc� n�o precisa correr para trocar o seu dinheiro�.
-Essa � a inscri��o obrigat�ria nos folhetos e cartazes.
-O atacante Casagrande aponta a falta de entrosamento como uma das causas para o seu baixo desempenho.
-�Sei que n�o estou rendendo tudo que posso, mas estou em evolu��o�, disse.
-Folha -- O que voc� acha das cr�ticas que vem recebendo da torcida e da imprensa?
-Segundo o m�dico Fl�vio Pozzuto, as fun��es neurol�gicas do torcedor se mant�m sem altera��o ele respira com ajuda de aparelhos.
-O m�dico diz que o edema neste caso � irrevers�vel.
-�A les�o foi grande e vai deixar sequelas�.
-A pol�cia pretende localizar todos os envolvidos na briga at� o dia 21 de outubro.
-O Conselho Monet�rio Nacional aprovou ontem uma nova linha de empr�stimos do Banco Central para socorrer bancos de qualquer porte.
-Os empr�stimos poder�o ser pagos em 90 dias e prorrogados pelo mesmo prazo.
-� a terceira linha especial de socorro criada pelo BC desde o lan�amento do real, todas com o objetivo de atender bancos que tiveram sua sa�de financeira comprometida.
-A frase do ex-presidente � uma refer�ncia a uma das promessas feitas por Cafeteira, um ex-sarneyzista que insinuava, durante a sua campanha, mandar Sarney para fora do seu Estado.
-Se derrotar o candidato do PPR, Roseana se tornar� a primeira governadora eleita na hist�ria do pa�s.
-No caso de impedimento do presidente da Rep�blica ou de vac�ncia do cargo nos primeiros dois anos de mandato, a substitui��o ser� feita atrav�s de elei��o direta em 90 dias.
-Se a vac�ncia ocorresse nos �ltimos dois anos de mandato, a elei��o seria feita pelo Congresso, em 30 dias.
-Nos dois casos, at� a elei��o a Presid�ncia seria exercida pelo presidente da C�mara dos Deputados.
-Ficando novamente vago o cargo, o presidente do Senado e, sucessivamente, do Supremo Tribunal Federal (STF) assumem a incumb�ncia.
-O n�mero de a��es ordin�rias em junho apresentou queda de 10,36% comparado com o m�s de maio.
-Foram requeridas 606 a��es em junho contra 676 no m�s anterior.
-Em rela��o ao mesmo m�s do ano passado a queda � ainda maior 34,98%.
-A pesquisa � feita pela Hubert Im�veis e Administra��o.
-Em junho foram pedidas 145 a��es revisionais de aluguel.
-Comparadas com o m�s anterior, as revisionais tiveram queda de 9,94%.
-Por�m, se o total de junho for comparado com o mesmo m�s de 93, verifica-se aumento de 28,32%.
-No 1� semestre de 94 foram feitos 662 pedidos no total.
-Segundo o secret�rio, US$ 43,5 milh�es foram liberados pelo prefeito quatro meses atr�s para amplia��o ou reforma em dez hospitais e unidades de sa�de.
-Entre elas, est�o as reformas e amplia��es dos hospitais do Tatuap� (US$ 7,4 milh�es), Vila Nova Cachoeirinha (US$ 17 milh�es) e Tide Setubal (US$ 9,4 milh�es).
-Raia disse ainda que sua equipe levantou as necessidades de material de consumo da rede e que US$ 3 milh�es est�o sendo liberados agora para gastos do primeiro trimestre.
-Ao saber que os militares pretendiam a democracia e o fim da guerra colonial, os portugueses come�aram a dar cravos aos soldados, que os colocavam na ponta dos seus fuzis -- da� o nome Revolu��o dos Cravos.
-No processo que seguiu � derrubada da ditadura, o poder caiu na rua.
-Decis�es governamentais eram ultrapassadas pela for�a de manifesta��es.
-A Secretaria Municipal da Administra��o afirmou ontem que poder� rever o decreto do prefeito Paulo Maluf que pro�be a contrata��o de portadores de doen�as com possibilidade de se tornarem incapazes no futuro.
-O decreto foi publicado no �Di�rio Oficial� do dia 29 de julho.
-No par�grafo �nico do seu primeiro artigo, ele afirma que os candidatos n�o podem apresentar �patologia com perspectiva presente, de incapacidade no futuro�.
-Os fatos est�o a� e s�o estarrecedores.
-J� passou da hora de governo, prestadores de servi�os e usu�rios se empenharem para n�o s� aprofundar as discuss�es sobre a inefic�cia do sistema de sa�de, como tamb�m para buscar alternativas e solu��es vi�veis, a fim de proporcionar um atendimento mais digno � popula��o em geral.
-A crise da sa�de tem solu��o, basta vacin�-la contra as inger�ncias pol�tico-partid�rias, as omiss�es e desacertos dos respons�veis pelo setor.
-O Supremo interpreta, em �ltima inst�ncia, a Constitui��o e as leis, mesmo que elas digam respeito a contratos privados.
-Como poder� faz�-lo, por�m, respeitando ele pr�prio a lei, quando existem legalmente duas moedas?
-Como julgar em consci�ncia contratos escritos ou impl�citos que dependem de uma moeda como meio de pagamento e de outra como unidade de conta?
-A primeira varia tanto, dia-a-dia, que uma semana � suficiente para produzir um aumento de mais de 10% nos vencimentos antecipados dos congressistas e dos magistrados.
-Cabe perguntar: Se o Supremo n�o est� de acordo com a suposta falta de regra das duas moedas, que existem de fato desde a emiss�o da �ltima medida provis�ria, por que n�o a proclamou imediatamente inconstitucional e se serviu dela privadamente?
-O Supremo Tribunal � por acaso uma Justi�a privada ou � o baluarte da Justi�a P�blica?
-Como se v�, trata-se de quest�es altamente perturbadoras.
-Assim, se voc� est� usando uma planilha, por exemplo, pode selecionar parte (ou todo) e levar o que foi selecionado para outra planilha ou qualquer programa que estiver sendo usado.
-Os arquivos das pastas tamb�m podem ser abertos a partir do menu, facilitando o uso de arquivos e aplica��es.
-O oper�rio da constru��o civil negro e desempregado Rodney King, 28, vai receber US$ 3,8 milh�es da Prefeitura de Los Angeles como compensa��o pelos efeitos da surra que levou de quatro policiais brancos em mar�o de 1991.
-A absolvi��o em abril de 1992 dos policiais provocou 48 horas de conflitos raciais em LA que resultaram em 58 mortes, 4.000 feridos e US$ 1 bilh�o em preju�zos.
-A contracultura, o movimento pelos direitos civis, a terceira onda gay e o politicamente correto nasceram aqui.
-Ningu�m fica parado com o vento que sopra do Pac�fico.
-O politicamente correto institucionalizou-se, mas nem os americanos o suportam, exceto, � claro, os eternos paroquiais.
-� uma nova religi�o.
-A pr�pria Receita Federal pode ter, indiretamente, inspirado este golpe.
-Quando o secret�rio da Receita era Osires Lopes Filho, v�rias cartas foram expedidas a profissionais liberais e empresas �convidado-os� a acertar as contas com o le�o.
-O delegado informa que foi aberta sindic�ncia interna no minist�rio para tentar apurar o caso e que a Pol�cia Federal dever� tamb�m abrir um inqu�rito.
-Para avaliar as perspectivas deste ano, a Folha ouviu economistas e consultores que t�m entre seus clientes muitas das principais empresas brasileiras.
-Todos trabalham com tr�s cen�rios: o prov�vel, o otimista e o pessimista.
-De uma ponta a outra, as varia��es s�o imensas e refletem a instabilidade de uma economia em infla��o cr�nica e alta.
-Para a taxa de infla��o de dezembro de 1994, por exemplo, as previs�es variam de civilizados 2% para explosivos 150%.
-Uma resposta est� numa palavra: tranquilidade.
-Num Mundial, esta palavra tem um significado determinante.
-A tranquilidade pode levar uma equipe ao t�tulo ou pode destro��-la no caminho.
-Num grupo de 30 pessoas, entre jogadores, t�cnicos, m�dicos e massagistas, que devem conviver durante tanto tempo, surgem problemas diariamente.
-O McDonald's proibiu o cigarro nos 1.400 restaurantes de sua propriedade nos Estados Unidos.
-Mais 3.600 concession�rios da marca aderiram � proibi��o.
-William Rhodes, vice-presidente mundial do Citibank, veio ao Brasil para reuni�o com executivos do banco.
-Hoje deve se encontrar com FHC.
-�O problema � grave.
-Se n�o fizermos nada, pode haver uma trag�dia.
-O nosso jogo aqui � preven��o�, disse o secret�rio de Seguran�a P�blica do Estado de S�o Paulo, Ant�nio Correia Meyer.
-O secret�rio comandou ontem uma reuni�o sobre seguran�a nos est�dios, na sede da Federa��o Paulista de Futebol.
-Estiveram presentes dirigentes do futebol, e autoridades policiais civis e militares.
-Corn�lio Pires -- Folclorista e contador de causos (1884-1958), foi o primeiro produtor independente de discos do Brasil.
-Raul Torres & Flor�ncio -- Dupla que atuou dos anos 40 aos 60 e criou um estilo rom�ntico de interpreta��o.
-Reis n�o quis dizer se tamb�m abandonar� Esperidi�o Amin.
-Um acidente envolvendo um caminh�o e um �nibus, na �ltima sexta-feira, matou 16 estudantes, tr�s motoristas e deixou nove feridos no km 5,4 da estrada, que � chamada de �rodovia da morte�.
-De acordo com a assessoria, o secret�rio dos Transportes, M�rcio Ribeiro, determinou que os engenheiros do Departamento de Estradas de Rodagem (DER) apressassem os estudos para a duplica��o.
-Crian�as norte-americanas encontram em maio mais dois programas educativos em CD-ROM.
-�Through the Woods� (Pelo Bosque) e �At the Seashore� (Na Praia) foram desenvolvidos pela IBM.
-�Through the Woods� � voltado para crian�as que est�o no primeiro ano do 1� grau.
-Cada um dos produtos deve custar US$ 329.
-Incluem ainda um outro CD, que serve como guia para uso em sala de aula.
-A maior parte da produ��o (25O t) j� est� comprometida com uma ind�stria de processamento da polpa.
-O restante ser� comercializado em supermercados, feiras e ind�strias de sorvetes do Paran�.
-O fazendeiro, que cultiva tamb�m 1 hectare de rosas, diz que optou pelo morango ap�s experi�ncias �nem sempre vantajosas� com outras culturas.
-Eu tenho um projeto, que vou revelar aqui pela primeira vez, que tem a assinatura de um dos homens mais inteligentes e criativos do mundo, Eliezer Batista.
-Ele est� me municiando e me dando o instrumental de que care�o para imaginar a solu��o dos problemas do Estado.
-Schumacher era a esperan�a de conferir alguma emo��o a um Mundial que j� parecia ter dono.
-E emo��o significa p�blico, o qual atrai patrocinadores.
-Depois, com a morte de Senna, vieram as exig�ncias por medidas de seguran�a na F-1.
-Mas a bordo de um 'cadillac' preto convers�vel, o presidente Menem atravessou a pista do parque da Sociedade Rural Argentina sob os aplausos da plat�ia de cerca de 10 mil agricultores.
-�N�o chegamos ao para�so, mas j� conseguimos sair do inferno�, disse Carlos Menem da tribuna de Palermo.
-Ontem, os bancos j� se adequaram �s novas regras.
-�Todas as linhas foram travadas em tr�s meses�, disse M�rio Luna, gerente de Departamento de Cr�dito e Financiamento do Bradesco.
-Luna afirmou que � cedo para fazer uma avalia��o completa do impacto das novas medidas.
-O t�cnico Jair Pereira deve escalar um �time de reservas� amanh�, �s 17h, contra o Flamengo, em Caio Martins.
-�Quero todos totalmente recuperados para as quartas-de-final, afirmou o treinador corintiano.
-Ele considerou surpreendente o desempenho do russo Alexander Popov.
-O ex-jogador defendeu tamb�m a ado��o de penas para menores de 18 anos que cometam crimes.
-�Ningu�m, por mais crian�a que seja, pode ir para o est�dio com uma arma.
-A participa��o aumentaria 3% at� meados de 95.
-O trabalho da publica��o inglesa, divulgado pelo �Financial Times�, indica que h� menos preocupa��o com riscos pol�ticos e econ�micos do que com a falta de liquidez e diversifica��o.
-No caso de Alvarez, a intimidade com os EUA levou-o a conhecer a mentalidade norte-americana, seus gostos, seus costumes.
-De certa forma, afiou-o para a luta em que se engajaria a partir dos anos 60.
-� desse combate, da maneira como ele chegou a criar as formas que geraram uma obra original, que �O Olho da Revolu��o� tira seu interesse.
-O livro chega num momento em que a id�ia de cinema engajado est� meio por baixo.
-Cuba tamb�m est� com a imagem um tanto abalada (crise, �xodo por mar etc).
-Mas justamente por isso �O Olho da Revolu��o� chega num momento apropriado.
-�� perto de casa e tranquilo�, diz Rossi, em meio a goles de refrigerante em lata, dentro de seu Opala estacionado atr�s de uma igreja.
-Folha -- O estado de s�tio seria um golpe?
-Serra -- Seria e o foi apresentado assim, numa reuni�o da qual participei.
-Nela, o presidente confidenciou n�o acreditar mais que terminaria o seu mandato.
-Foi seis meses antes do golpe.
-As dificuldades que bancos federais e estaduais provavelmente enfrentar�o refor�am as d�vidas quanto � conveni�ncia do setor p�blico ser propriet�rio de tantas institui��es financeiras.
-O Brasil disp�e de um dos mais modernos sistemas banc�rios privados do mundo.
-O fato de que os bancos p�blicos venham a ser, recorrentemente, fontes de preju�zo vem s� refor�ar as desvantagens da atua��o do Estado nesse setor.
-Na B�blia, h� duas hist�rias que tentam explicar a origem de tantas l�nguas.
-Essas hist�rias s�o chamadas de mitos.
-A hist�ria da Torre de Babel (G�nesis, cap�tulo 11, no Antigo Testamento) diz que a �Terra tinha uma s� l�ngua e um s� modo de falar�.
-Ent�o, os homens encontraram um lugar plano e resolveram construir uma torre que chegasse at� o c�u.
-Trata-se de uma estrat�gia de infla��o reprimida, pronta para rebelar-se pela via da explos�o cambial no momento em que os agentes econ�micos se convencem de que n�o � sustent�vel, e em que os capitais come�am a fugir.
-Ela dever� inviabilizar a atual oportunidade de estabilizar afetivamente a economia brasileira e, de quebra, dever� fazer uma s�rie de estragos irrevers�veis, que em muito debilitar�o seu potencial de desenvolvimento a longo prazo.
-O PRN n�o tem mais candidato � Presid�ncia da Rep�blica.
-O partido expulsou ontem Walter Queiroz por considerar que ele �faltou com a verdade� no epis�dio da dupla declara��o de renda.
-Depois de registrado, Queiroz apresentou uma segunda declara��o ao TSE (Tribunal Superior Eleitoral), acrescentando bens que alegou ter �esquecido� nos primeiros pap�is que foram apresentados.
-N�o h� diferen�a essencial entre as armas individuais do tr�fico e as do Ex�rcito.
-Elas pertencem basicamente � categoria �fuzil autom�tico�, isto �, um h�brido surgido na Segunda Guerra entre os tradicionais fuzis e metralhadoras de m�o ou submetralhadoras.
-Fuzis disparam muni��o mais poderosa e a um alcance maior, de at� um quil�metro.
-J� as submetralhadoras disparam balas semelhantes �s dos rev�lveres, mas podem faz�-lo em rajadas, a um alcance curto, de dezenas de metros.
-Nesta ala merece men��o o seu Bruto Ros�, um espumante elaborado com uva Baga (100%) que conserva um pouco da cor e muito de frutado desta variedade t�pica da regi�o.
-Este � um vinho bem seco e encorpado capaz de escoltar uma refei��o completa.
-O de 91, tem bolhas finas, abundantes e persistentes, que lhe d�o um paladar cremoso marcado como o aroma por um toque atraente de cascas c�tricas e framboesa.
-J� no cap�tulo dos goles decididamente rubros, desponta o Jo�o Pato (75% Baga, 25% Cabernet Sauvignon).
-Quem experimenta a �ltima vers�o (safra 91) descobrir� um vinho novo ainda, adstringente, mas de aroma e sabor intensos.
-Um vinho marcado pelo belo contraponto entre a especiaria da Baga e as frutas vermelhas da Cabernet, quase uma marca registrada na cria��o deste vinicultor portugu�s.
-A atacante Ana Moser (26 anos, 1,85 m e 70 kg), revelou ontem que, depois do v�lei, sua segunda paix�o � o futebol.
-�Quando era menina gostava muito de jogar futebol com meu irm�o�, disse a jogadora, que, ao contr�rio do v�lei, onde atua como atacante, prefere jogar como quarto-zagueiro no futebol.
-Anteontem, o Banerj, que administra a d�vida p�blica estadual, n�o conseguiu que o Banco Central negociasse R$ 84 milh�es em t�tulos estaduais, trocando-os por t�tulos federais.
-� o que se chama de �alavancagem� com um empr�stimo de US$ 10, por exemplo, pode-se entrar num jogo de US$ 100 ou mais.
-Se a aposta for errada, o risco de bancarrota � uma forte possibilidade.
-A expans�o dos �derivativos� n�o foi gratuita.
-Os economistas alinham v�rios motivos b�sicos, entre eles a possibilidade de invers�o aberta com a queda dos regimes socialistas, a onda liberalizante que varre a Am�rica Latina, a forte expans�o econ�mica dos pa�ses do Sudeste Asi�tico e tamb�m a baixa e est�vel remunera��o de tradicionais aplica��es.
-Nos EUA, os CDBs, at� antes da alta dos juros, rendiam 3% ao ano para uma infla��o de 2,5%.
-O IRA (Ex�rcito Republicano Irland�s, separatista) admitiu o envolvimento de seus militantes no assassinato de um funcion�rio do correio durante um roubo na cidade de Newry (Irlanda do Norte).
-No �ltimo dia 11, Frank Kerr, 53, foi morto com um tiro na cabe�a quando tr�s homens assaltaram um posto do correio.
-Os tr�s levaram cerca de US$ 210 mil.
-�Eles s�o a raz�o de tudo o que fa�o, de tudo aquilo em que acredito�, disse, com grandes espa�os entre as palavras.
-Tentava, a custo, firmar a voz, sob flashes dos fot�grafos.
-Ricupero, na verdade, foi o �ltimo do grupo que o acompanhava familiares e assessores a sucumbir � emo��o, pelo menos publicamente.
-Vice de FHC, Maciel nunca usou tanto a express�o �ternurar�.
-Ele a emprega quando tem que dizer n�o a uma pessoa sem desagrad�-la no caso, a seus colegas de PFL que querem repartir os cargos com o PSDB antes do 1� turno.
-�Quem adere depois da vit�ria � fisiol�gico�.
-Como melhorar o ensino superior sem transformar as universidades em �escol�es�, onde os professores s� repetem e se afastam da pesquisa?
-Essa foi a principal quest�o do 1� dia de debate, do qual participaram os professores Jos� Arthur Giannotti (Departamento de Filosofia da USP), Jos� Augusto Guilhon Albuquerque, (Departamento de Ci�ncia Pol�tica da USP), e Luiz Pinguelli Rosa (diretor da Coordena��o de Programas de P�s-Gradua��o da Universidade Federal do Rio de Janeiro).
-O bom uso dos modems e fax/modem depende dos programas para gerenciamento e transmiss�o de dados que acompanham os equipamentos.
-Todos os fax/modem saem de f�brica com dois programas um para gerenciamento das transmiss�es dfa e outro para gerenciamento das transmiss�es de dados.
-Na delegacia, que fica no Jardim Mutinga trabalham seis policiais com dois carros.
-A Caravan foi queimada.
-Resta um Gol.
-Os outros carros incendiados s�o tr�s Passats, um Chevette, dois Fuscas e um Escort.
-�Somos quercistas no atual momento.
-Ele � desenvolvimentista, defende a na��o soberana contra o imperialismo, representa as for�as populares.
-�Temos v�rtebra pol�tica, n�o somos gel�ia.
-O PT n�o tem estatura ideol�gica para enfrentar o candidato conservador.
-Por isso est� como cego em tiroteio.
-Pesquisa da Cia. City de Desenvolvimento mostra que os empres�rios procuram locais com infra-estrutura, facilidade de acesso, boa oferta de m�o-de-obra, pr�ximos de S�o Paulo e das rodovias e longe de movimentos sindicais.
-�Temos problemas com clientes e fornecedores que n�o conseguem encontrar a empresa�, afirma S�rgio Ueta, gerente administrativo da Ueta Ind�stria e Com�rcio de Aparelhos Eletr�nicos.
-A empresa, com sede em Caieiras (35 km a norte de SP), pretende se mudar para o Empresarial Jaragu�, onde adquiriu 6.000 m2.
-Ao mesmo tempo o atual papado esmagou a teologia da liberta��o, teorias de concorr�ncia feroz s�o implantadas em toda parte, o fascismo est� de volta, Fidel Castro se tornou uma esp�cie de Somoza e at� Martin Luther King, ficou provado, era plagi�rio.
-No plano dos costumes, a reviravolta se apresenta sob aspecto viral, epid�mico.
-Os outrora odiosos valores de fam�lia, sucesso e consumo renascem, sobretudo entre a popula��o jovem.
-Sexo livre, fumo e droga est�o condenados.
-O narcisismo assume uma fei��o cada vez mais fr�vola.
-O substitutivo d� aos minist�rios da Fazenda e Justi�a poder de pedir interven��o judicial nas empresas acusadas de praticar aumento injustificado de pre�os.
-Os senadores que faltarem �s sess�es do Congresso revisor, a partir de hoje, ter�o cortes no valor de um dia de trabalho por falta.
-O desconto seria de CR$ 83 mil por dia, com base nos vencimentos de fevereiro.
-A decis�o foi anunciada na tarde de ontem pelo presidente da revis�o constitucional, senador Humberto Lucena (PMDB-PB), que tomou a decis�o mesmo tendo em m�os parecer contr�rio da sua assessoria jur�dica.
-Lucena se declarou �pressionado� pela imprensa e pela necessidade de buscar o qu�rum nas sess�es da revis�o.
-Segundo o senador, a decis�o quanto ao corte dos sal�rios dos deputados a decis�o cabe ao presidente da C�mara, deputado Inoc�ncio de Oliveira (PMDB-PE).
-Inoc�ncio j� havia anunciado a ado��o do corte de um 30 avos dos sal�rios dos deputados por falta em sess�o da C�mara.
-Os primeiros descontos aconteceriam na folha de pagamento deste m�s, que se encerra dia 15.
-At� as 20h, ele n�o havia se pronunciado sobre a extens�o da medida tamb�m aos trabalhos da revis�o.
-O vice-presidente da C�mara, Adylson Motta, disse que o regimento da C�mara impede o corte.
-Favor�veis ao pressuposto da integra��o, devemos ser criteriosos, n�o descartando e nem acatando, de pronto, tudo o que nos oferece o governo federal.
-Os exemplos de Simon e Brizola revelam que a precipita��o e a busca de resultados pol�ticos imediatos constr�em o pior caminho para o desenvolvimento e s�o v�cios que o curso da hist�ria n�o tarda a desnudar.
-RICARDO ANT�NIO SILVA SEITENFUS, 45, doutor em Rela��es Internacionais pelo Instituto de Altos Estudos Internacionais em Genebra, � coordenador do curso de mestrado em Integra��o Latino-americana da Universidade Federal de Santa Maria (RS).
-Foi secret�rio especial para Assuntos Internacionais do Rio Grande do Sul (governo Pedro Simon).
-O avi�o em que o presidente da Argentina, Carlos Menem, viajava no �ltimo dia 30 de dezembro para Anillaco, sua cidade natal, iria ser atacado por um m�ssil, disse ontem o jornal de Buenos Aires �Ambito Financiero�.
-A seguran�a teria sido avisada por dilomatas e desviado a rota do avi�o.
-O governo nega a suposta tentativa de atentado.
-Come�aram ontem pela manh� em Nova York os desfiles de pr�t-�-porter outono-inverno.
-A primeira estilista foi a Donna Karan, com a linha DKNY.
-Os desfiles se realizam pelo segundo ano em tendas ou pavilh�es localizados no Bryant Park, que fica atr�s da Biblioteca Nacional, na rua 40.
-Deputados ligados a ACM diziam ontem, em conversas com colegas, que Benito Gama (PFL-BA) foi vetado para ser vice de FHC porque o grupo avalia que s�o cada vez mais reduzidas as chances de vit�ria do tucano.
-Ontem, v�rios operadores da Bovespa creditavam a queda do �ndice da bolsa � percep��o do mercado financeiro de que o PFL leia-se ACM est� desembarcando da candidatura de FHC.
-As constantes desaven�as com seu pai, John Paul Getty, fizeram John Paul Getty 2� entrar no �affaire�.
-�As Tr�s Gra�as�.
-A c�lebre escultura de Antonio Canova, atualmente na Gr�-Bretanha, est� sendo cobi�ada pelo museu Getty, de Malibu, na Calif�rnia.
-Hoje a m�dia brasileira � de cerca de 1.800 quilos por hectare.
-Segundo os produtores, o incentivo � pesquisa elevar� este desempenho para 2.400 kg/ha.
-As possibilidades do trigo irrigado tamb�m s�o animadoras.
-O plantio no Cerrado atingiu 5.000 kg/ha nas lavouras comerciais e mais de 8.000 kg/ha em �reas experimentais.
-Os quatro grandes jornais deram, na segunda-feira, a mesma manchete para informar como acabou o Grande Pr�mio do Brasil, que aconteceu domingo passado.
-Era �Senna erra e Schumacher vence� (em �O Globo�, a frase ficou pouco maior que isso).
-Com essa constata��o enviesada de que o alem�o s� chegou em primeiro porque o brasileiro cometeu uma bobagem, a imprensa coroou o festival �sennista� da semana anterior, quando todas -- sem exce��o, todas -- as coberturas apontavam a vit�ria de Ayrton Senna em Interlagos.
-A Folha chegou a escrever que o melhor piloto do mundo (Senna), na dire��o do melhor carro do mundo (a Williams) teria sua consagra��o no aut�dromo.
-E que s� Schumacher acreditava em sua possibilidade de vencer.
-Senna, todo mundo viu, rodou quando estava em segundo lugar e com poucas chances de recuperar o primeiro.
-Enterrou as previs�es mais do que otimistas, e deixou ver quanto � viciado o notici�rio esportivo.
-O compromisso com a precis�o (e, por extens�o, com o leitor) vale menos do que a torcida da imprensa nessas horas.
-A imprensa j� se esqueceu de que os oligop�lios s�o o vil�o da URV e do plano FHC.
-O pa�s convive com o novo indexador h� um m�s, o ministro virou candidato e os pre�os chamados de �abusivos� continuam em vigor.
-O assunto saiu da pauta, ainda que esteja dentro do bolso do leitor.
-JUNIA NOGUEIRA DE S� � a ombudsman da Folha.
-A ombudsman tem mandato de um ano, renov�vel por mais um ano.
-Ela n�o pode ser demitida durante o exerc�cio do cargo e tem estabilidade por um ano ap�s o exerc�cio da fun��o.
-Suas atribui��es s�o criticar o jornal sob a perspectiva do leitor recebendo e checando as reclama��es que ele encaminha � Reda��o e comentar, aos domingos, o notici�rio dos meios de comunica��o.
-Cartas devem ser enviadas para a al. Bar�o de Limeira, 425, 8� andar, S�o Paulo (SP), CEP 01202-001, a. c. Junia Nogueira de S�/Ombudsman.
-Para contatos telef�nicos, ligue (011) 224-3896 entre 14h e 18h, de segunda a sexta-feira.
-No ranking dedicado aos homens aparecem o ator Sean Connery e o cantor Sting.
-Entre os corpos mais feios est� o da top-model Kate Moss, que segundo o jornal tem ombros ca�dos e o peito liso.
-Os deputados que negociam o plano de estabiliza��o econ�mica do governo criticaram o ministro Fernando Henrique Cardoso, que admitiu ontem a possibilidade de disputar a Presid�ncia da Rep�blica.
-A declara��o do ministro repercutiu mal tamb�m entre os l�deres pol�ticos no Congresso.
-A frase do ministro desagradou at� mesmo ao PSDB.
-�Para o plano econ�mico, n�o ter dito essa frase seria melhor�, afirmou o senador Beni Veras (PSDB-CE).
-O S�o Paulo come�ou o primeiro tempo ap�tico, mas acordou aos 10min com uma falta n�o marcada do lateral Mac Allister em Euller, quando este ia entrar na �rea.
-Em seguida, Euller fez mais duas jogadas.
-A partir dos 22min, o S�o Paulo passou a marcar sob press�o e anulou o advers�rio.
-O Boca n�o conseguia sair jogando e perdia bolas em seu campo.
-O autor do ataque seria Nagi Mohamed Mustafa e o l�der do grupo seria Basseem Khalil, morto num caf� do Cairo (capital) ap�s tiroteio contra a pol�cia.
-O atentado teria sido planejado pelo grupo radical isl�mico Gama'a al-Islamiya, que lan�ou campanha contra o governo eg�pcio em 1992 para a cria��o de um Estado Isl�mico fundamentalista.
-Khalil e Mustafa, disfar�ados, tentaram matar Mahfouz um dia antes, mas ele n�o estava em casa.
-Muitos neg�cios foram iniciados ou fechados durante o Siaf.
-Produtores da Para�ba, por exemplo, venderam abacaxi a um grupo de empres�rios espanh�is, no valor de US$ 323 mil.
-A cooperativa de Cura�� (BA), no Vale do S�o Francisco, praticamente acertou uma joint venture com um empres�rio portugu�s para produzir mel�o e uva.
-Empres�rios alem�es avan�aram nas negocia��es para instalar unidades de beneficiamento de polpas de frutas.
-Pode-se dizer, em outras palavras, e a �grosso modo�, que o aluguel do primeiro m�s de reajuste sempre embute (por estimativa) uma infla��o que reduzir� o aluguel nominal ao seu valor real na metade do per�odo de reajuste subsequente.
-Portanto, na primeira metade, o locador sai ganhando, pois recebe mais aluguel do que vale a loca��o.
-Na segunda metade, a vantagem � do inquilino que papa menos aluguel do que vale o uso do im�vel.
-A m�dia no per�odo de reajuste equilibra as vantagens de cada contratante durante todo per�odo de uniformidade nominal do aluguel.
-Tudo isso deve ser considerado para que se entenda que uma exata transposi��o do aluguel praticado em cruzeiros reais para o sistema da URV s� � poss�vel se os contratantes procederem a uma extra��o da m�dia dos alugu�is nos �ltimos meses que corresponderem a periodicidade de reajustamento do contrato, para, s� ent�o, transformar tal m�dia em URVs.
-Folha -- No caso de �Vereda da Salva��o�, como foi esse trabalho conjunto?
-Serroni -- A pe�a previa tr�s casas numa clareira de uma floresta.
-Depois de conversar com Antunes, sempre fa�o uma maquete.
-Como a pe�a trata de religi�o, de misticismo, achamos que dev�amos usar muitos troncos, dar uma verticalidade, o que tem a ver com a ascens�o etc.
-Decidimos ent�o, por uma quest�o de economia c�nica, abolir uma das casas e s� insinuar as outras duas, fazendo apenas suas entradas, que parecem as de um templo.
-�Isto foi fundamental, pois conseguimos aumentar nossos criat�rios e agora usamos como garanh�es selecionadores apenas aqueles realmente de ponta�, diz.
-O resultado positivo da estrat�gia pode ser comprovado agora, dizem os criadores, uma vez que hoje s�o os EUA que est�o buscando cavalo �rabe no Brasil.
-Os franqueados brasileiros come�am a utilizar uma nova �arma� para aumentar seu poder de influ�ncia junto � c�pula das empresas franqueadoras.
-Trata-se do conselho de franqueados, que come�a a surgir em algumas redes como McDonald's, �gua de Cheiro, Multicoisas e Localiza.
-J� bastante difundidos nos EUA, os conselhos t�m atenuado problemas e melhorado o tradicionalmente dif�cil relacionamento franqueado X franqueador.
-Atuando em conjunto, os franqueados ganham for�a e passam a ter voz ativa em quest�es vitais para o neg�cio, como definic�o de produtos, prazos de pagamento e estrat�gias de propaganda.
-A liminar, ainda n�o cumprida pelo governo do Esp�rito Santo, determina que o delegado respons�vel pelo caso, Francisco Badenes, seja reconduzido ao cargo.
-Em maio �ltimo, Badenes foi afastado e transferido para o interior.
-O juiz determina ainda o restabelecimento dos meios necess�rios ao funcionamento da Comiss�o de Processos Administrativos Especiais, respons�vel pelo inqu�rito.
-O l�der Tasso Jereissati (PSDB) passou de 61% para 58%, perdendo tr�s pontos percentuais em rela��o � �ltima pesquisa.
-N�o deve haver segundo turno no Estado.
-Wilson Barbosa (PMDB) subiu seis pontos, atingindo 55%.
-O candidato tamb�m deve vencer a elei��o no primeiro turno.
-A margem de erro da pesquisa Datafolha � de 3,0 pontos percentuais, para mais ou para menos, exceto no Distrito Federal, que � de 4,0 pontos.
-A dire��o do datafolha � dos soci�logos Antonio Manuel Teixeira Mendes e Gustavo Venturi.
-Nada do que eu havia lido ou ouvido antes de vir para c� me preparara para as emo��es que eu iria viver e v�rias vezes me senti numa montanha-russa emocional.
-Em v�rias ocasi�es eu me vi, como anotei em meu di�rio, � beira das l�grimas.
-Mas em muitos outros momentos eu me esfor�ava para conter risadas.
-Ou ent�o lutava contra uma depress�o repentina, tentava controlar minha raiva, fazia piadas com algu�m ou fazia for�a para n�o sentir saudades de casa.
-Art. 1� Dispensar a obrigatoriedade da express�o de valores em cruzeiros reais constante dos incisos II e III, do art. 8�, da medida provis�ria n� 482, de 29 de abril de 1994, desde que, no caso de fixa��o dos pre�os em Unidade Real de Valor (URV) seja exposto, em lugar vis�vel e de f�cil leitura, o valor da URV do dia.
-Art. 2� � obrigat�ria a express�o dos valores em cruzeiros reais nas notas fiscais.
-As negocia��es com os petebistas se prolongaram at� o in�cio da madrugada de ontem.
-Al�m do PSDB e do PFL, coligou-se em torno da candidatura Covas o pequeno PV.
-Mas � at� poss�vel encontrar pelo menos um ponto interessante no disco: algumas de suas letras, compostas por Michael Callahan e Marc English.
-Na faixa mais interessante do disco, �Wooden Nails�, a primeira, o tema abordado � a supera��o da depend�ncia de drogas e da depress�o.
-Uma melodia melanc�lica emoldura a can��o.
-O fato � que a sombra do R.E.M. � uma presen�a muito forte nesse �Building Our House�.
-Os vocais de Callahan e English s�o calcados ao extremo nos de Michael Stipe e Mike Mills.
-O beat de certas can��es acaba tornando-as filhotes das compostas pela banda de Athens, como �Losing My Religion�.
-Al�m disso, deve lan�ar mais cinco novidades at� o final do ano, al�m de aumentar sua distribui��o.
-Apesar dos esfor�os, estima fechar o ano vendendo 75 milh�es de litros de sorvetes (US$ 120 milh�es).
-Em 93 vendeu 83 milh�es de litros (US$ 128 milh�es).
-Ou na hip�tese remota de sua vota��o antes de 30 de agosto.
-Para Holanda, �n�o � poss�vel a mudan�a pretendida pelos bancos�.
-Por dois motivos: a eventual queda na arrecada��o e problemas jur�dicos que impedem mexer na base de c�lculo do imposto por meio de MP, j� que ela foi fixada em emenda constitucional.
-O governador do Paran� � ligado politicamente ao ex-governador Roberto Requi�o que � candidato ao Senado pelo PMDB.
-Requi�o � um dos mais ferrenhos advers�rios de Orestes Qu�rcia, que disputa a Presid�ncia da Rep�blica pelo partido.
-Enfim, nem tudo est� perdido neste futebol automatizado e excessivamnete defensivo que a Copa est� consagrando.
-Afinal, por mais que tentem matar o craque, ele sempre sobrevive, aqui ou ali, onde menos se espera.
-Alberto Helena Jr., 52, � colunista da Folha.
-Sua coluna na Copa � di�ria.
-O presidente argentino, Carlos Menem, disse que lan�ar� sua candidatura para a elei��o de 2003 se for eleito em 1995.
-Depois de dois mandatos, Menem n�o poderia ser reeleito em 1999.
-�Espero quatro anos e volto a me apresentar�, disse.
-Duas bombas mataram duas pessoas em Teer� ontem, segundo a ag�ncia oficial de not�cias �Irna�.
-N�o foram apontados suspeitos pelo atentado embora tenha sido dito que a pol�cia achou pistas dos terroristas.
-A e�sfora incidia sobre o valor das propriedades, as quais estavam devidamente registradas nos �diagramas� p�blicos.
-Tratava-se de um imposto sobre o capital.
-Outro tributo importante, e tamb�m sob a forma de contribui��o volunt�ria, foram as trierarquias.
-Tratavam-se de contribui��es para construir os �geis barcos trirremes.
-Tanto a constru��o quanto a manuten��o da equipagem corria por conta dos que tinham mais recursos.
-O Movimento Zona Sul foi criado no ano passado, durante a pol�mica a respeito da realiza��o das obras de prolongamento da avenida Faria Lima (zona sul).
-Comandado pelo advogado Luiz Antonio Siqueira Dias, o grupo defendeu as obras, que foram iniciadas recentemente.
-O Folha Informa��es atendeu no �ltimo fim-de-semana 3.978 pessoas, que acionaram o servi�o para saber o resultado de Guarani e Palmeiras.
-O pico de audi�ncia aconteceu entre as 20h e 21h de s�bado, quando o sistema atendeu 309 liga��es.
-O Folha Informa��es � um servi�o do Banco de Dados da Folha de S. Paulo (tecnologia da Telesis Sistemas em Telecomunica��es).
-Nenhum dirigente do PMDB compareceu ontem, em S�o Paulo, � cerim�nia de instala��o do Instituto Ulysses Guimar�es de Estudos Pol�ticos e Sociais.
-Ulysses morreu em 1992 como presidente nacional do partido.
-Orestes Qu�rcia e Luiz Antonio Fleury Filho n�o estiveram na sede da entidade.
-Foi tamb�m o caso de candidatos a cargos majorit�rios ou dirigentes regionais.
-Os carros ganharam ainda prote��o sob o c�rter e sob o tanque de gasolina, para suportar com menor risco os choques contra as pedras.
-A altura do solo foi ampliada em alguns cent�metros para facilitar as investidas fora de estrada.
-A crise no M�xico deve fazer com que todos os pa�ses emergentes recebam um menor volume de capitais externos de renda fixa (aplicados, por exemplo, em eurob�nus).
-Ele acredita, no entanto, que o mercado acion�rio brasileiro deve crescer em 1995.
-A institui��o � respons�vel pela guarda (cust�dia) do equivalente a US$ 3,7 bilh�es de investimentos estrangeiros nas Bolsas.
-Nos �ltimos dias, houve uma sa�da de US$ 100 milh�es da cust�dia da institui��o, por causa da crise do M�xico.
-Meirelles afirma que esses recursos n�o sa�ram de neg�cios tradicionais de Bolsas, mas sim de opera��es de �box� (financiamentos tendo como lastro a��es).
-Ele prev�, contudo, que o mercado acion�rio crescer� e a cust�dia de a��es de investidores estrangeiros na institui��o chegar� a US$ 5,5 bilh�es ao final de 1995.
-Apesar de evitar dar um n�o definitivo, Marise deixou claro que deve recusar o convite de Brizola.
-�Fiquei muito honrada com a proposta, mas o governador Brizola tem nomes muito bons para compor sua chapa�, afirmou.
-O governo do Estado informou, atrav�s de nota de sua assessoria de imprensa, que as declara��es do presidente Itamar Franco e do presidente eleito Fernando Henrique Cardoso sobre medidas federais de combate ao tr�fico de drogas �configuram posi��es an�logas �s que o governador do Estado vem defendendo�.
-Segundo a nota, �as provid�ncias capazes de alterar o quadro atual de combate aos traficantes dizem respeito � Pol�cia Federal e �s For�as Armadas, com o objetivo de interromper o fluxo de armas proibidas e coca�na no Rio�.
-Confiante numa eventual vit�ria do candidato Fernando Henrique Cardoso, a c�pula do PSDB j� articula a forma��o de um superpartido para n�o depender do PFL no Congresso.
-Os tucanos consideram perigoso deixar um poss�vel governo de FHC sujeito �s manobras dos deputados e senadores pefelistas.
-Grava disse que os dois sofreram rompimentos de feixes musculares em m�sculos da coxa direita.
-O problema de Viola � num m�sculo da parte de tr�s da coxa e de C�lio est� no lado interno.
-O m�dico negou que esteja tratando mais algu�m.
-O Cobra privilegiava os atos impulsivos e as cores fortes e seus principais nomes foram Appel e Alechinsky.
-Doucet se inspirava muito em suas viagens e refletia isso no t�tulo de v�rios de seus trabalhos, como �Guatemala Blues� e �Mostar Sarajevo�.
-Tamb�m s�o obras suas �Labyrinthe de la Lumi�re� e �Turbulences d'Abysses�.
-O candidato do PDT disse que quer fazer o mesmo.
-Os grandes com�cios ser�o realizados apenas em setembro.
-Ao contr�rio do que fez em campanhas anteriores, Brizola quer promover com�cios r�pidos, com tr�s oradores.
-O filme passa como vento pelas quest�es. nada pequenas. dos tratamentos psiqui�tricos contempor�neos e se fixa no que existe de mais �bvio na hist�ria.
-Isso termina por arrast�-la destestavelmente, sem que se chegue a parte alguma.
-Paradoxalmente, � por a� que se podem ver as virtudes de Figgis.
-A ONU admitiu que os s�rvios n�o haviam cumprido as exig�ncias, mas recusou autoriza��o para bombardeio.
-Yasuhi Akashi, reprsentante da organiza��o, argumentou que os s�rvios estavam em meio ao processo de retirada.
-J� nas primeiras palavras a Medida Provis�ria que institui a Unidade Real de Valor incorre em erro e abre brecha para contesta��es na Justi�a.
-A constata��o � do jurista Saulo Ramos, ex-consultor Geral da Rep�blica e ex-ministro da Justi�a, que foi convidado a analisar o rascunho das medidas e na ocasi�o alertou para dois problemas: o artigo primeiro e o par�grafo primeiro da MP 433 praticamente instituem duas moedas no pa�s, o que � proibido.
-Al�m disto, a manuten��o da Ufir para corre��o de tributos � ilegal, segundo o jurista.
-Outros especialistas apontam mais defeitos t�cnicos na MP.
-Diz o artigo primeiro que fica institu�da a URV, dotada de �curso legal� para servir �exclusivamente� como padr�o de valor monet�rio.
-Isto restringe � URV todos os poderes da moeda do pa�s.
-�� um erro t�cnico grave e que pode resultar num conflito judici�rio muito grande�, segundo Saulo Ramos.
-As negocia��es para a volta de Mansell � F-1 tiveram in�cio logo ap�s as 500 Milhas de Indian�polis, realizada no m�s passado, e continuaram durante as 200 Milhas de Milwaukee, disputada no �ltimo dia 5, quando recebeu a visita de alguns engenheiros da Williams.
-Quinto colocado no Mundial de F-Indy, com 46 pontos, Mansell disse que pretende continuar a correr na categoria at� o final da temporada, condi��o que ele imp�s a Frank Williams para voltar � equipe pela qual ganhou o t�tulo mundial de 1992.
-Nos �ltimos dias, aumentaram as especula��es sobre quem ocuparia o lugar de Mansell na Newmann/Hass.
-O mais cotado na bolsa de apostas � o brasileiro Raul Boesel, que ontem n�o consegui terminar a corrida em Detroit.
-Eles estranharam o fato dele n�o sair do barraco de manh� e chamaram a pol�cia.
-Jair morava sozinho no barraco e, segundo seus vizinhos, era alco�latra.
-O segundo caso aconteceu no Pari (centro).
-Um indigente conhecido como Daniel foi encontrado ca�do na rua Canind� na madrugada de ontem por policiais que estavam fazendo patrulhamento.
-Quem � que vai, ent�o?
-S� intelectual quatro-olhos?
-S� aquela turma do Cebrap?
-S� soci�logo e antrop�logo?
-Socorro!
-Ent�o � bom a Joyce Pascowitch ir se preparando.
-O Fernando Collor, evidentemente, n�o foi convidado para a posse.
-�So what�, n�o � mesmo?
-Ele compensou em Aspen, dando um malho naquela flor de nome Rosane, casualmente, na frente de fot�grafos.
-Na alquimia medieval, a �rvore simbolizava a transforma��o, sempre cercada de globos reluzentes que corresponderiam aos planetas.
-Para o psicanalista Carl Jung, esta seria a origem dos globos pendurados nas �rvores contempor�neas.
-E, para Bruno Bettelheim, as pequenas velas e l�mpadas que a iluminam seriam vest�gios das antigas fogueiras que os pag�os do norte da Europa ateavam no alto das montanhas para antecipar a chegada do Sol e o fim do inverno.
-Mais 10%.
-Para 94, a ind�stria de m�quinas agr�colas prev� crescimento de 10%.
-Acordo na C�mara Setorial garante cr�dito de US$ 650 milh�es para o Finame Rural.
-Em contrapartida, a propor��o de empres�rios no partido, que era de 22%, hoje alcan�a a marca de 54%.
-� o caso, entre outros, do deputado S�rgio Machado (Villejack Jeans), do senador Teot�nio Vilela Filho (Mata Verde Agropecu�rio, Usina Seresta), do senador Albano Franco (presidente da Confedera��o Nacional da Ind�stria).
-Essa mudan�a no perfil social da bancada n�o ocorreu no maior partido conservador, o PFL, nem no PT, partido de esquerda.
-O produtor iniciou a colheita, em fevereiro passado, de 170 hectares de amendoim e 240 hectares de soja.
-Em 93, ele plantou 290 ha de amendoim e 97 ha de soja.
-Com o dinheiro do amendoim Guidi conseguiu comprar duas camionetes e um trator de 150 Hp, est� construindo uma casa em Pontal e ainda tem para receber US$ 470 mil referente � venda de 49,4 mil sacas.
-Parte desse dinheiro vai para a colheita deste ano.
-�Trabalho com amendoim h� 27 anos e sempre tive lucro.
-Nos primeiros dez anos, o lucro por safra alcan�ava 40%.
-Hoje, varia entre 12% e 15%�.
-O Banco apresentou em 1993 um n�vel de alavancagem alto, demonstrando maior agressividade nas suas opera��es.
-Os n�veis dos dep�sitos aumentaram 440%, em 1993, basicamente em fun��o de dep�sitos interfinanceiros e a prazo.
-M�RIO ALBERTO DIAS LOPES COELHO � consultor da Austin Asis.
-Existe ambiente pol�tico, social e econ�mico para se produzir autom�veis no Brasil?
-Sim, embora a abertura dos portos n�o esteja sendo feita impunemente.
-Em termos pol�ticos, o pa�s saiu das elei��es com um Estado mais vigoroso e democr�tico, em melhores condi��es de enfrentar a infla��o e o desemprego.
-Pode se reorientar para uma maior produ��o industrial e contribuir para a cria��o de mais emprego e riqueza, consequ�ncia natural do processo.
-Do ponto de vista l�gico, um plano de estabiliza��o equivale a uma promessa.
-O governo promete � sociedade que, de agora em diante, vai mudar de vida vai garantir o equil�brio das contas p�blicas e vai parar de abusar do seu monop�lio de cria��o de moeda.
-Se isso ser� cumprido na pr�tica, s� o tempo dir�.
-Mas, para que a promessa possa ser efetivamente cumprida, � fundamental que se acredite que o governo ir� de fato cumpri-la.
-�Al�m de brincar, � uma experi�ncia.
-Pela TV voc� v�.
-A diferen�a � que no videogame voc� sente.
-� como se estivesse l�, acrescenta Rodrigo.
-H� outros apelos da fita que seduzem os �gameman�acos�, especialmente os f�s de Ayrton Senna.
-No in�cio de cada corrida, por exemplo, as principais dicas do circuito s�o fornecidas pelo piloto.
-A imagem de Ayrton aparece em fotos digitalizadas.
-Um dos respons�veis pela sele��o das mo�as da Ford, que n�o quis se identificar, aponta o italiano Maldini (considerado pela imprensa europ�ia o �bumbum� mais bonito da Copa), que recebeu apenas um voto, como o mais bonito.
-�Este sim, seria modelo com certeza�, disse.
-Os reservas da sele��o brasileira Viola e Ronald�o e v�rios componentes da Nig�ria tamb�m foram apontados.
-�O Viola ou o Ronald�o seria um 'black man' perfeito� disse um dos modelos masculinos da Ford, que tamb�m n�o quis se identificar.
-Esteve assim com o astro da confer�ncia, lorde Keynes �um sujeito sutil, bom expositor, muito persuasivo�, conta Campos.
-A delega��o brit�nica era a mais forte em termos intelectuais, embora outros participantes tivessem dela uma opini�o algo debochada.
-Corria uma piada segundo a qual Keynes era inteligente demais para ser consistente; Dennis Robertson, outra estrela, era consistente demais para ser inteligente; e Lionel Robbins, o terceiro nome de prest�gio, n�o era nem inteligente nem consistente.
-Durante a negocia��o, ontem � tarde, Muller telefonou para o presidente do S�o Paulo, Fernando Casal de Rey, e se lamentou.
-�Ele reclamou de que n�o lhe pagariam o prometido, n�o lhe dariam um carro e que s� bancariam seis meses de aluguel de sua casa e n�o os quatro anos, como esperava�, disse o dirigente.
-Ela preferiu ser a primeira dama da ilha de Skorpios.
-Foi nesse papel que, encarnada por outra Jacqueline (Bisset), Jackie O. debutou na tela, 15 anos depois de ter-se transformado na mais pranteada e sedutora vi�va deste s�culo.
-Merecia coisa melhor.
-Al�m de muito ruim, o filme �O Magnata Grego� (The Greek Tycoon) dedicava mais aten��o ao seu segundo marido, interpretado por Anthony Quinn, que ali�s faria o papel de S�crates Onassis (sogro de Jackie) no telefilme �Onassis: The Richest Man in the World�, produzido em 1988.
-O presidente da Portuguesa, Manuel Pacheco, deve entrar ter�a-feira com uma a��o contra o Vasco da Gama.
-Ontem � tarde, Pacheco disse que esperar� at� ter�a-feira para que o clube carioca envie uma c�pia do seguro de vida previsto no contrato de empr�stimo do meia Dener, morto ter�a-feira.
-Mas, no Rio, o diretor de futebol do Vasco, Eurico Miranda, confirmou que o seguro n�o foi feito.
-Segundo Miranda, a legisla��o brasileira pro�be que um seguro desta natureza tenha como benefici�rio uma empresa ou associa��o.
-Resultado: press�o nos pre�os combinada com a falta de produtos.
-Se a queda da infla��o certamente produziria efeitos positivos na candidatura Fernando Henrique Cardoso, as prateleiras vazias municiam os advers�rios.
-� certo que, desta vez, o governo est� mais atento do que no Plano Cruzado e vai usar, segundo o ministro Rubens Ricupero, todos os artif�cios para evitar uma febre de consumo.
-Se vai conseguir, � outro problema.
-Mais uma vez, se v� que a deseduca��o � o problema que mais sai caro ao Brasil.
-PS Realmente � not�vel a evolu��o de Lula nos �ltimos 15 anos.
-Recebi ontem por fax entrevista que ele concedeu em 1979 para a revista �Especial�, onde exp�e sua vis�o sobre a mulher.
-�A gente n�o pode pensar em jogar a mulher no mercado de trabalho enquanto houver excesso de m�o-de-obra�.
-Ali�s, nessa entrevista ele, corretamente, defende a legaliza��o do aborto com argumentos razo�veis e, agora, por motivos eleitoreiros, cedeu � press�o da Igreja Cat�lica.
-A campanha eleitoral encerrou-se na noite de quinta-feira, com um pronunciamento de oito minutos de todos os candidatos.
-A propaganda eleitoral nas redes de TV custou ao uruguaio mais de US$ 14 milh�es (cerca de US$ 7,00 por cada eleitor).
-Pela lei, os partidos recebem recursos do governo de acordo com os resultados da �ltima elei��o.
-Acho importante notar que a Bienal mudou a maneira de conseguir patroc�nio cultural no pa�s, que antes era feito � base do �me d� um dinheiro a�.
-Vendendo cada sala especial para um patrocinador exclusivo, demos a ele um retorno muito mais palp�vel, com an�ncios em meios de comunica��o e o abatimento de impostos.
-Tratamos a Bienal como empresa.
-Folha -- O n�mero de visitantes pagantes da Bienal do dia da abertura (12 de outubro) at� o dia 7 deste m�s foi de 103 mil.
-Se a Bienal for at� o dia 11 de dezembro, dever� ter um p�blico total de no m�ximo 250 mil pagantes, al�m de quase 200 mil crian�as, seguindo a proje��o.
-O Sr. acha um bom resultado?
-Para o volante Dinho, um dos jogadores respons�veis pelo setor de marca��o do Santos, � imposs�vel segurar o ataque do S�o Paulo do t�cnico Tel� Santana.
-A sa�da, diz, �� partir para o ataque�.
-Sobre sua sa�da do S�o Paulo no in�cio do Campeonato Paulista o jogador diz que a quest�o � �assunto encerrado�.
-Depois da Portuguesa, esta tarde no Canind�, o Palmeiras far� tr�s jogos seguidos em seu est�dio: contra o Bragantino, ter�a-feira, a Ferrovi�ria, quinta-feira, e o Am�rica, domingo.
-�Se vencermos esses quatro jogos, chegaremos a 80% de aproveitamento dos pontos disputados.
-Acredito que, mantendo esse percentual, seremos campe�es�, disse Luxemburgo.
-Gianetti da Fonseca afirmou que a avalia��o tem que ser feita por �pares� (pesquisadores da mesma �rea), que n�o fa�am parte do grupo analisado.
-Freddy Tatoo vive atualmente em Bolonha e j� est� acostumado ao circuito internacional da tatuagem.
-Ele j� tatuou, pelo menos, mil pessoas.
-Pelo grupo brazuca, ainda estar�o presentes Tyes e Caio (Rio de Janeiro) e o especialista em �body piercing�, Andr� Meyer (S�o Paulo).
-Eles v�o ser indiciados por suposta corrup��o de menores, favorecimento � prostitui��o e c�rcere privado.
-O advogado Jos� Carlo Dri, que defende os respons�veis pela boate, se recusou a falar.
-WILSON BALDINI JR.
-O norte-americano Evander Holyfield coloca o t�tulo mundial dos pesos-pesados (acima de 86,183 quilos), vers�o Associa��o Mundial (AMB) e Federa��o Internacional (FIB), hoje, contra o seu compatriota Michael Moorer.
-Quatro vereadores na cidade e o vice-prefeito afirmaram que votar�o em Fernando Henrique Cardoso, embora seus partidos (PMDB e PPR) tenham candidatos pr�prios a presidente.
-�Voto no Fernando Henrique porque ele fez o Plano Real�, afirmou o vice-prefeito, Manoel Lopes Duarte, do PPR.
-A coreografia criada por Bil T. Jones para �An American Evening� chama-se �I Want to Cross Over�, com m�sica gospel cantada por Liz McComb.
-O cen�rio, de Donald Baechler, se comp�e de peda�os de um barco, uma pequena casa e um tubo de chamin�.
-Negro e portador do v�rus da Aids, Bill T. Jones � uma das express�es mais poderosas da dan�a contempor�nea.
-Agora, al�m de dirigir seu grupo sediado em Nova York, ele tamb�m vai atuar como core�grafo-residente do Ballet da �pera de Lyon, que acaba de nome�-lo para o cargo, antes ocupado por Maguy Marin.
-Ex-bailarino do grupo de Trisha Brown, Stephen Petronio � outra estrela do momento.
-Para �An American Evening� ele criou �Extra Veinous�, cujo t�tulo significa o contr�rio de �intravenoso�.
-A coreografia de Susan Marshall que o Ballet de Lyon dan�a hoje chama-se �Central Figure�, com m�sica de Philip Glass.
-�Inspira-se no mais antigo e melhor bailarino de minha companhia, que morreu no �ltimo ver�o�, ela diz.
-O tema de Julia Child era uma simples quiche, mas era pol�tico: mostrar aos paran�icos americanos que o ovo e a manteiga fazem pratos deliciosos e que a patrulha do colesterol deve dar espa�o ao prazer da comida.
-Marcella Hazan falou sobre alcachofras e catequizou o p�blico sobre a supremacia do �leo de oliva extra virgem para cozinhar, apesar da exorbit�ncia do pre�o.
-Patricia Wells ensinou o preparo de codornas marinadas e cuscuz marroquino e incentivava o p�blico a repartir �food experiences� (o nome moderno para receber amigos para comer) como ela mesma faz em sua casa na Provence (sul da Fran�a), regi�o em moda nos Estados Unidos.
-Os irm�os Gershwin eram t�o diferentes que se completavam �s maravilhas.
-George fazia a m�sica, Ira a letra, embora, como em toda parceria, cada qual desse palpites na especialidade do outro.
-Primeiro, George fazia a m�sica; Ira capturava o �esp�rito� da can��o e apunha-lhe t�tulo e letra.
-�s vezes sugeria a George uma mudan�a no andamento, para que este se adequasse melhor � letra.
-Um caso t�pico foi o de �Someone to Watch Over Me� (1926), que nasceu �brejeira� e Ira recomendou que ela se tornasse uma balada rom�ntica.
-George era um d�namo, bo�mio e namorador; Ira era mais recluso e solidamente casado.
-George era indiferente politicamente; Ira era �liberal�, com inclina��es socialistas.
-A versatilidade do George como compositor s� era igualada pela de Ira como letrista.
-Os dois eram bambas tanto nas can��es mais r�tmicas, alegres e humor�sticas, como nas mais �s�rias�, rom�nticas e profundas.
-Segundo a administra��o do aeroclube, a quadrilha conseguiu decolar �s 4h, sob forte nevoeiro e sem ilumina��o.
-O avi�o � do m�dico Domingues Braille, dono de uma cl�nica em S�o Jos� do Rio Preto.
-O jogador, sabendo que ganharia mais de US$ 250 mil, fez o que a voz ordenou.
-A roleta girou, e ele perdeu.
-�Droga�, disse a voz em sua cabe�a.
-Dividido em seis partes, o livro traz 32 cap�tulos que procuram abranger todos os recursos do programa.
-� bastante did�tico e utiliza bem desenhos para exemplificar efeitos especiais.
-O texto � curto e pr�tico e todos os cap�tulos s�o recheados de notas, dicas e alertas, ilustradas com as respectivas figuras �Note�, �Tip� e �Stop�.
-Com dire��o de Roberto de Oliveira, a Bandeirantes prepara um document�rio sobre a Campanha Contra a Fome e o trabalho do rapaz.
-O especial dever� ir ao ar no Brasil e em v�rios pa�ses poucos dias antes da elei��o para o Pr�mio Nobel da Paz.
-O mais grave, no entanto, s�o os problemas que os clientes poder�o enfrentar.
-A quem recorrer no caso de um descomprimento do que � prometido?
-Notamos ainda que, quando um passageiro brasileiro se inscreve num programa de milhagem de uma companhia a�rea internacional que serve o Brasil, passados 30 dias, recebe a proposta da Iapa.
-Ou seja, se tal procedimento n�o for ocasional e tiver realmente a coniv�ncia das transportadoras a�reas, estas est�o expressamente contribuindo para a concorr�ncia desleal e il�cita perante os agentes de viagens al�m de n�o preservar seus clientes, que n�o s�o consultados sobre se querem ou n�o receber tais propostas ou se autorizam a divulga��o de seus nomes e endere�os.
-Como partiu do PT o pedido de encontro com o presidente Nelson Mandela, o pr�prio partido assumiu os custos do trecho da viagem que inclui a �frica do Sul.
-Segundo a tesoureira da campanha de Lula, Tatau Godinho, os custos se resumem � passagem a�rea, j� que o candidato ficou hospedado na casa do embaixador do Brasil na �frica do Sul, Ant�nio Amaral de Sampaio.
-Ela n�o tem os valores exatos pagos pelo partido.
-MAIS RETIRADOS: O n�mero da esquerda representa a posi��o atual e o da direita, a posi��o na quinzena anterior.
-Consulta realizada nos dias 28 e 29/03/94 junto �s locadoras Cine Arte V�deo, Gentile V�deo Hobby V�deo, Over V�deo, Real V�deo, V�deo Clube do Brasil, V�deo Factory e Wolf V�deo.
-RECOMENDADOS: avalia��o feita a partir de fitas emprestadas por distribuidoras de todo o pa�s.
-Derrida -- A palavra engajado tem uma hist�ria.
-Quando a gente se diz engajado, corre o risco de evocar modelos anteriores e o engajamento hoje deve encontrar formas novas.
-Mas o trabalho no Parlamento � uma forma de engajamento, claro.
-Folha -- Obrigada pela entrevista.
-A not�cia veiculada por esta Folha (em 10/10/1994) de que o presidente eleito Fernando Henrique Cardoso pretende propor o fim da unicidade sindical (sindicato �nico representando a mesma categoria e na mesma base territorial, conforme est� previsto no artigo 8�, II da Constitui��o Federal de 1988) juntamente com o contrato coletivo de trabalho, demonstra sua coer�ncia com a moderniza��o das rela��es sociais.
-Com efeito, os estudiosos da mat�ria afirmam que a negocia��o coletiva de trabalho est� diretamente relacionada com o modelo de organiza��o sindical (cf. Amauri Mascaro Nascimento, em �Direito Sindical�, editora Saraiva, 1989, p�g. 313).
-N�o houve mortos.
-Cerca de 30 feridos leves foram atendidos na Santa Casa da cidade.
-O prefeito Mercedes Ribeiro de Miranda (PMDB) decretou estado de calamidade p�blica na cidade, que ficou sem �gua e luz durante 22 horas.
-Todos os anunciantes que aderiram � id�ia dos clubes infantis est�o atr�s de um mercado de dimens�es gigantescas: os miniconsumidores americanos na faixa de idade entre 4 e 12 anos gastaram no ano passado US$ 7,3 bilh�es das suas pr�prias mesadas e influenciaram suas fam�lias a comprar mais US$ 130 bilh�es.
-Tanto dinheiro parece tornar desprez�vel a �tica do marketing: a Delta recebe centenas de cartas de crian�as denunciando pais ou parentes que preferiram viajar por outras companhias a�reas, configurando um claro est�mulo ao �dedodurismo� precoce.
-Helcio Emerich � jornalista, publicit�rio e vice-presidente da ag�ncia Almap/BBDO.
-Fabiane recebeu CR$ 35 mil para usar camiseta da candidata e gritar o nome de Qu�rcia.
-�Deus me livre.
-N�o voto em Qu�rcia de jeito nenhum.
-Estou aqui a trabalho�, disse.
-Ela pert�ncia a um grupo de cem garotas de Bras�lia contratado para fazer propaganda de Ana Paula Junqueira.
-�Acho absurdo um pol�tico pagar algu�m para gritar seu nome�, reclama.
-O t�cnico irritou-se com uma pergunta e n�o a respondeu.
-O Brasil �nunca esteve em apuros�, segundo o t�cnico.
-A frente do glaciar, que fica na beira do rio, desprende blocos de gelo do tamanho de um pr�dio de 30 andares.
-D� para sentir a terra estremecer e o barulho parece o de um trov�o.
-Fomos convidados a fazer um minitreking, ou seja, caminhar cla�ando �crampones� (sapatos com pregos de ferro) sobre o glaciar.
-Durante o passeio, escut�vamos os ru�dos da movimenta��o lenta deste enorme rio de gelo e contempl�vamos os contrastes crom�ticos da superf�cie congelada refletindo o c�u azul.
-�� preciso ter em conta que a eleva��o das importa��es com a redu��o das al�quotas � estimada em 1% da pauta das importa��es brasileira.
-Esse percentual � razoavelmente pequeno porque significa US$ 250 milh�es�, disse.
-Amaral disse ainda que esse aumento de importa��es decorre do aumento da demanda que se exerce sobre toda a oferta de produtos.
-ENFERMAGEM -- Acontecer� no pr�ximo dia 6, no Ces-Senac (av. Tiradentes, 822), semin�rio sobre a caracteriza��o do pessoal de enfermagem no Estado de S�o Paulo.
-A presen�a deve ser confirmada at� o pr�ximo dia 5, pelo tel. 221-2155.
-OFICINA DE LIVROS -- A Oficina de Artes do Livro oferece 8 vagas para o curso �Papel Artesanal: Processamento de Fibras Vegetais�, que vai de 5 a 14 de abril.
-Informa��es pelo tel. 212-2051.
-O documento tamb�m sugere a cria��o de uma sistem�tica mensal de acompanhamento.
-�Elvis morreu quando entrou para o ex�rcito�.
-A caixa com cinco �CDs Elvis: From Nashville To Memphis� enterra em parte o velho mito explicitado pelo beatle.
-O pacote traz as grava��es essenciais do cantor na d�cada de 60, exatamente depois de sua baixa no ex�rcito norte-americano, em 6 de mar�o de 1960.
-Esses s�o os anos em que Elvis deixou de ser o rei do rock'n'roll para tornar-se o s�mbolo pr�-fabricado de uma gera��o que sonhava com Honolulu e pracinhas.
-Nessa �poca, o cantor forjou alguns de seus maiores sucessos como, para ficar num s� exemplo, �It's Now or Never�.
-Tamb�m nesse per�odo Elvis Aaron Presley sucumbiu ao monstro chamado Elvis Presley.
-O cantor n�o esteve livre do ass�dio e do culto de seus f�s nem mesmo durante os dois anos em que esteve ligado ao ex�rcito.
-E � justamente por isso que n�o se deve parar, preparando terreno ao futuro presidente.
-Al�m de aumentar o n�mero de cassa��es, deve-se estimular as demais CPIs sobre Empreiteiras, financiamentos eleitorais e CUT a CPI da CUT ter� o dom de trazer � tona poss�veis desvios da burocracia e da praga do corporativismo, o que, acreditem, vai acabar ajudando n�o apenas o PT mas a democracia.
-Mas a roubalheira � apenas a ponta do �lama�al�: o problema essencial, a grande delinqu�ncia, � a baixa taxa de seriedade e compromisso dos homens p�blicos, respons�vel por estarmos atolados em n�veis jamais vistos de mis�ria e viol�ncia e, como diz o salmo, � a� que �n�o se pode estar em p�.
-PS Milagre mesmo � gente como Jo�o Alves trocar a leitura de volantes de loteria pela B�blia quem sabe o poder p�blico n�o o ajuda, dando-lhe uma cela especial para aprofundar tais leituras.
-�Voc�s s�o pessoas de um Brasil que tem sinais da renova��o.
-Se Roseana, os senadores, deputados e prefeitos est�o me apoiando n�o � porque tenhamos firmado qualquer compromisso pessoal.
-Jamais ningu�m me pediu nada.
-Mas, nada mesmo�, disse FHC.
-�s 16h, antes de embarcar para a cidade de Cod� (MA), onde seria realizado um com�cio �s 18h de ontem, Fernando Henrique afirmou que vai aguardar o posicionamento do senador Jos� Sarney (PMDB-AP) em rela��o �s elei��es presidenciais.
-Folha -- Como voc� recebeu a not�cia de que seria substitu�do?
-Giovane -- Normalmente.
-Sele��o � isso, joga quem est� melhor, n�o tem esse neg�cio de nome.
-A melhor equipe � que deve jogar.
-... casos positivos de dengue em Monte Apraz�vel (38 km de Rio Preto-SP) foram divulgados ontem pelo Ersa (Escrit�rio Regional de Sa�de) de Rio Preto.
-A regi�o vive uma epidemia da doen�a.
-A cidade de Monte Apraz�vel tem 68 casos confirmados.
-Rio Preto tem tr�s casos positivos.
-Os policiais federais de Mato Grosso do Sul entraram em greve ontem, em ades�o ao movimento iniciado no Distrito Federal.
-A reivindica��o � de equipara��o salarial com a Pol�cia Civil do DF, o que representaria um reajuste de 300%.
-Em Mato Grosso, a paralisa��o est� prevista para come�ar hoje.
-Todas receberam beijos de Itamar.
-Fu foi a mais calorosa.
-Beijou, abra�ou duas vezes e conversou por alguns minutos com o conterr�neo presidente.
-�Eu torci muito por voc�, viu?�, disse Itamar a Fu.
-Cada usu�rio pode importar programas at� o valor de US$ 200 mil.
-Os pedidos at� US$ 20 mil dispensam guia de importa��o.
-Se o valor da compra for baixo, � melhor pedir encomenda por correio normal.
-Pelo correio expresso o frete custa pr�ximo de US$ 50.
-Se n�o quiser se aventurar pela importa��o direta, existem empresas, como a Brasoftware (tel. 011/253-1588) que importam programas sob encomenda.
-Segundo Ricardo Jord�o, gerente de marketing da Brasoftware, o produto -- entregue no m�ximo em 15 dias -- sai por um pre�o similar � importa��o feita pelo usu�rio.
-A taxa de servi�o da Brasoftware � coberta pelo desconto que obt�m junto ao fornecedor.
-ARRIET CHANIN -- A artista mostra 15 monotipias trabalhadas em papel artesanal de folha de bananeira e 12 gravuras em metal, que s�o instrumentos musicais e conchas.
-De seg a sex das 11h �s 19h e s�b das 10h �s 13h.
-Pre�os das obras: de R$ 50 a R$ 500.
-At� 30 de setembro.
-As novas impressoras a laser da HP v�m com um novo padr�o de velocidade 12 p�ginas por minuto (ppm) e s�o de 30% a 40% mais r�pidas que as da gera��o anterior.
-As LaserJet 4 Plus e 4M Plus substituem os modelos 4 e 4M.
-T�m resolu��o de 600 x 600 pontos por polegada (dpi), o que permite obter imagens com mais defini��o.
-O empres�rio e corretor de im�veis, Roberto Capuano, foi reeleito pela terceira vez presidente do Conselho Regional de Corretores de Im�veis do Estado de S�o Paulo (Creci).
-Ser� a sua quarta gest�o � frente do �rg�o.
-Enquanto Gloria Pires ficou nervosa em sua estr�ia como modette, o marido Orlando Moraes amou e pediu bis.
-De acordo com a Enciclop�dia Brit�nica, o linchamento � uma pr�tica que se verifica em momentos de instabilidade ou de amea�a de anarquia.
-A sensa��o de inseguran�a e a debilidade do poder p�blico eram sem d�vida caracter�sticas dos Estados Unidos do final do s�culo 18, quando (segundo a vers�o mais aceita) a palavra teria sido inventada a partir da pr�tica adotada por um juiz Lynch, de condenar e executar seus advers�rios sem o devido processo legal.
-Lamentavelmente s�o tamb�m caracter�sticas de diversas regi�es do Brasil de hoje.
-O b�rbaro linchamento de tr�s pessoas ocorrido esta semana no Paran� pode ter sido particularmente chocante e sem d�vida o foi, filmado e transmitido pela televis�o em toda a sua brutalidade, mas constitui apenas mais um na lista dos crimes desse tipo registrados no pa�s.
-Apenas na Bahia, por exemplo, o comando da Pol�cia Militar estadual informa que foram 350 casos nos �ltimos quatro anos.
-Formada por t�cnicos da Fazenda e das Minas e Energia, a comiss�o tem prazo de 60 dias para conluir o trabalho.
-O objetivo �e melhorar a rentabilidade do setor.
-Segundo o ministro das Minas e Energia, Alexis Stepanenko, essa melhoria dever� ser buscada atrav�s da redu��o de custos e aumento de efici�ncia.
-No dia sete de dezembro de 1941, avi�es japoneses praticamente destru�ram a frota norte-americana no Pac�fico, ancorada em Pearl Harbour, no Hava�.
-Os EUA, depois de um hist�rico discurso de seu presidente, Franklin Delano Roosevelt, entraram em guerra contra o Jap�o e seus aliados no Eixo, Alemanha e It�lia.
-O chamado �mundo livre� (que ent�o inclu�a tamb�m a URSS) unia-se contra o nazi-fascismo.
-E o Brasil?
-No Departamento de Estado, em Washington, desconfiava-se de Get�lio, ditador com uma pol�tica em certos momentos pr�xima ao fascismo mussoliniano.
-Vargas, na verdade, preferia ficar de fora, ou aliar-se com os vencedores.
-A Argentina, por exemplo, era bem mais pr�-nazi do que o Brasil.
-Welles foi mandado como uma esp�cie de embaixador cultural.
-N�o foi o �nico.
-E ele gostava de Roosevelt e detestava os nazistas.
-J� estou trabalhando com as principais figuras da vida pol�tica do pa�s com senadores e secret�rios de governo.
-Agora estou trabalhando no desenvolvimento de um programa para aumentar a contribui��o das pol�ticas p�blicas para o capital social.
-Mas s�o necess�rias estrat�gias da base da sociedade.
-A subst�ncia tamb�m � usada em v�rios medicamentos vendidos no Brasil, que dizem ser capazes de aliviar dores causadas por varizes e eliminar c�imbras noturnas em pessoas que sofrem problemas de circula��o nas pernas.
-Levantamento realizado entre pacientes que ingeriram c�psulas com a subst�ncia entre 1969 e 1992 indicou que 16 pessoas podem ter morrido em consequ�ncia de contra-indica��es causadas pelo sulfato de quinino.
-Conforme acordo autorizado pelo BC, o saldo da d�vida do Estado com a �Nossa Caixa� de US$ 1 bilh�o ter� que ser pago este ano, em doze parcelas mensais, atualizadas e com encargos.
-Corresponde a duas vezes e meia o patrimonio liquido da institui��o.
-O Banespa carrega US$ 8,1 bilh�es de cr�ditos do setor p�blico.
-Segundo o detetive Paulo Ara�jo, a delegacia recebeu um telefonema de homens que se identificaram como traficantes do morro Azul (no Flamengo).
-Segundo o detetive, eles amea�aram invadir a delegacia, no hor�rio de visita, para resgatar dez companheiros.
-Os fundos de commodities projetam para este m�s, na m�dia, rentabilidade bruta de 3,72%, segundo a Anbid.
-A rentabilidade l�quida, para saque em 1� de setembro, vai depender da varia��o da Ufir.
-Por enquanto, este indexador projeta varia��o de 1%, com o que os fundos de commodities renderiam 3,03%.
-Os norte-americanos que se reuniram ontem na C�mara de Com�rcio Brasil-Estados Unidos, em S�o Paulo, ficaram conformados com a derrota de sua sele��o.
-�J� estamos contentes por ter chegado �s oitavas-de-final�, disse Phillip Trent, 24, que assistiu o jogo ao lado do amigo Brian Fagerburg, 24.
-Ambos seguraram uma bandeira dos Estados Unidos durante a partida.
-O desembargador Doreste Batista, convidado pelo governador do Rio, Nilo Batista, para ser o supersecret�rio de Seguran�a do Estado, disse ontem que, se confirmado, vai pedir apoio do Ex�rcito para subir morros e colocar policiamento ostensivo nas ruas.
-At� o meio-dia de ontem, o desembargador estava tentando um contato com o governador para definir se aceitava ou n�o o cargo.
-Ao lado do ala Charles Barkley, �Shaq� � hoje um dos maiores astros do basquete mundial.
-� piv� do Orlando Magic, equipe da NBA, liga profissional de basquete dos EUA.
-Conquistou o t�tulo mundial deste ano com a sele��o de seu pa�s, o �Dream Team� (Time dos Sonhos) 2.
-Enfermeiro � uma designa��o v�lida apenas para quem concluiu o curso superior de enfermagem.
-Os outros profissionais da �rea s�o t�cnicos, auxiliares e atendentes.
-O t�cnico tem o segundo grau completo pode optar entre o curso t�cnico de enfermagem ou curso de forma��o de t�cnico.
-�Os limites da privatiza��o s�o as necessidades do governo.
-Nada est� exclu�do�, afirmou Montoro Filho.
-Para ele, a privatiza��o entende desde a venda de ativos p�blicos at� a��es de estatais.
-Disse que o governo vai vender �desde autom�vel at� participa��o acion�ria em empresas de energia el�trica�.
-O dinheiro das vendas pode ser utilizado tamb�m para o pagamento da d�vida do Banespa.
-E tudo, segundo a Jovem Pan, para fazer �proselitismo�, para �as promessas de sempre�.
-Fernando Henrique apareceu no r�dio e na televis�o dizendo que n�o existe nada contra o seu vice.
-E que, portanto, nem pensa numa troca de Guilherme Palmeira.
-Uma defesa bem parecida com aquela de Lula, no come�o das den�ncias contra Jos� Paulo Bisol.
-�N�o t�nhamos uma seguran�a exemplar, mas ela era suficiente para permitir o alvar� de licen�a dos bombeiros�, afirmou.
-Segundo ele, o alvar� foi queimado, com tudo o que se perdeu.
-Taranto n�o soube dizer se os parentes das v�timas poder�o pedir alguma indeniza��o.
-A MTV n�o exibiu ontem o desenho animado �Beavis e Butt-Head� por determina��o de liminar expedida pela Vara Central da Inf�ncia e Juventude, em S�o Paulo.
-Entre 20h e 20h30, hor�rio em que o �cartoon� costuma ir ao ar, a emissora transmitiu uma sequ�ncia de videoclipes.
-Antes, informou sobre a proibi��o da Justi�a num comunicado de 15 segundos.
-Os nativos ainda se utilizam de lan�as primitivas para pescar nas rasas piscinas naturais repletas de polvos e peixes tropicais.
-Mas h� a pesca comercial de atum controlada por norte-americanos de origem portuguesa, chineses de Taiwan e sul-coreanos em embarca��es de 1,2 tonelada que valem at� US$ 13 milh�es.
-Patologistas de hospital de Riverside (Calif�rnia) tiveram que vestir roupas especiais para autopsiar corpo de uma mulher que teria qu�micos t�xicos no sangue, porque o cheiro os fez desmaiar.
-Cristou representa os clubes alem�es do Bayern Leverkusen e Shalk-04.
-O empres�rio disse que pretende ver tamb�m outros jogadores brasileiros, entre eles Cafu, do S�o Paulo, Mirandinha, do Paysandu, e Claudinho, da Ponte Preta.
-O caso nasceu de uma �vendetta�, obra e desgra�a de um certo Francesco Farina, dono do Modena, um time rebaixado � 3� divis�o.
-Farina tentou salvar o Modena na pol�tica e no tapet�o.
-Obviamente, n�o conseguiu.
-Por isso, metralhou Antonio Matarrese, presidente da federa��o.
-Farina acusou os clubes de sonegarem impostos com a cumplicidade da federa��o.
-Para multiplicar o porte das suas den�ncias, ele apresentou as suas perora��es em dois s�tios diferentes, �s procuradorias de Roma e de Mil�o.
-Muitas de elas s�o inconsequentes, improv�veis, sem documenta��o.
-De todo modo, na Bota, � Justi�a cabe a miss�o de investigar, antes de meramente julgar.
-Gloria Attanasio, magistrada da capital, meramente decidiu o que a sua fun��o lhe exigia, e enviou 250 detetives �s sedes dos tais 34 clubes para, l�, coletarem os livros cont�beis e os recibos correspondentes ao versamento dos impostos.
-Para a constru��o do palco foram utilizadas 170 toneladas de ferro e alum�nio.
-A quantidade de ferro daria para construir 180 carros iguais a um Santana.
-E o volume de alum�nio daria para fazer 275 mil latas de refrigerante.
-O palco foi criado por Mark Fischer, respons�vel pela montagem do palco da �ltima turn� dos Stones �Steel Wheels�, do novo show do Pink Floyd e do espet�culo ZooTV do grupo irland�s U2.
-Apesar da popularidade, Chico de Miguel perdeu as duas �ltimas elei��es para a Prefeitura de Itabaiana, que passou a ser controlada por pol�ticos locais ligados ao governador Jo�o Alves.
-Ele atribui as derrotas ao Judici�rio, acusado de auxiliar seus opositores.
-N�o explica como, mas garante que n�o vai perder a pr�xima elei��o em Itabaiana.
-O deputado afirma n�o ser um homem rico.
-�Hoje, tenho s� uma fazenda e pouco mais de 500 cabe�as de gado.
-Mas tudo que ganho reverto tamb�m em ajuda para o povo, que recebe rem�dios, feira e dinheiro quando est� precisando.
-Nunca fui ego�sta�, afirma.
-Outros institutos mostram n�meros diferentes, mas n�o s�o divulgados pela televis�o.
-A Liga de Assist�ncia e Recupera��o, �rg�o ligado � Prefeitura de Salvador, est� desenvolvendo um projeto para a confec��o de brinquedos a partir de sucatas.
-Crian�as de 11 a 14 anos v�o aprender a transformar sucatas em brinquedos educativos.
-A Secretaria de Sa�de da Para�ba informou que Jo�o Pessoa est� entre as cinco capitais brasileiras que atingiram 90% de cobertura vacinal na �ltima campanha de multivacina��o, realizada em 90.
-Neste ano, a secretaria espera vacinar cerca de 480 mil crian�as.
-A R�ssia vetou documento da Confer�ncia sobre Seguran�a e Coopera��o na Europa sobre a ex-rep�blica iugoslava da B�snia.
-O veto impediu a declara��o que pedia aos s�rvios da B�snia que parassem ataques no encrave mu�ulmano de Bihac.
-A reuni�o terminou ontem em Budapeste.
-�Se o pre�o do �nibus for convertido pela tabela da montadora, o impacto ser� de 10% a 12% na tarifa�, diz Dias.
-As tabelas das montadoras, segundo ele, est�o 40% acima do pre�o de mercado.
-O F�rum j� tem os pre�os m�ximos pagos no mercado.
-�nibus leve, US$ 55 mil, para o pesado, US$ 70 mil.
-Antes do Mundial, a delega��o brasileira participa dos Jogos da Amizade que t�m in�cio dia 23, na R�ssia.
-William Gibson � um escritor normalmente associado � fic��o cient�fica.
-De fato, a maioria de suas hist�rias acontece num tempo algo � frente do presente, mas Gibson rompe completamente com a id�ia fundadora da FC no cinema ou na literatura de �futuro� como evolu��o.
-A estrat�gia de Gibson consiste em projetar no futuro o que j� est� latente no mundo contempor�neo.
-Nos romances e contos do escritor, o cen�rio � muito pr�ximo do atual, s� que visto com uma certa distor��o alucin�gena, um certo exagero de imagina��o.
-Valores m�dios das loca��es comerciais aumentam 50,16%.
-Os valores m�dios das loca��es de im�veis n�o residenciais na cidade de S�o Paulo subiram em junho 50,16%, segundo a Hubert Im�veis e Administra��o Ltda.
-A evolu��o foi menos acelerada que a verificada em maio (55,16%).
-A maior desacelera��o ocorreu na regi�o da Avenida Faria Lima.
-A Pol�cia Federal prendeu ontem em Bras�lia Vicente Wilson Rivera Ramos, o �Vicentico�, filho de um dos chefes do Cartel de C�li (organiza��o colombiana que trafica drogas).
-�Vicentico� havia escapado do cerco da PF, no domingo, quando foram apreendidas 7,5 toneladas de coca�na em Guara� (TO).
-Filho de Vicente Rivera Gonzalez, ele j� foi condenado na Holanda a 14 anos de pris�o, segundo a PF.
-Os receios de Durante quanto � rea��o da plat�ia eram compartilhados pelo restante da comitiva.
-Documentos reservados da seguran�a da Presid�ncia da Rep�blica alertavam, na semana anterior, para a possibilidade do presidente ouvir vaias.
-Mais que isso: os pap�is da seguran�a afirmavam que, em raz�o da infla��o alta, n�o se deveria descartar sequer o risco do p�blico atirar objetos no camarote presidencial.
-Em telefonema a Maur�cio Corr�a, ministro da Justi�a, o governador do Rio, Leonel Brizola, desaconselhou a ida de Itamar ao Samb�dromo.
-�A rea��o do p�blico � imprevis�vel�, disse.
-Avisado do alerta do governador, Itamar desdenhou os riscos e manteve a viagem.
-Corr�a trocaria a preocupa��o pela descontra��o.
-Agarrado ao copo de u�sque, foi outro destaque da noite.
-A Kodak ainda passou a atender encomendas de pe�as pl�sticas para a Philips, Wapsa e NGK, entre 16 clientes.
-Uma nova divis�o de servi�os, batizada de Kis, opera na administra��o de copiadoras e outros equipamentos de imagem para grandes empresas.
-�� um nicho promissor�.
-Segundo Galan, os novos produtos e servi�os acrescentar�o 10% ao faturamento, que foi de US$ 360 milh�es em 93.
-�No pr�ximo ano ser�o mais 15%�, prev�.
-White -- Acho que sim.
-A pr�pria psican�lise est� baseada numa concep��o tropol�gica da consci�ncia humana.
-�A Interpreta��o dos Sonhos�, um dos textos fundadores da psican�lise, apresenta toda uma tropologia do ato de sonhar e d� a base para uma po�tica que combina a teoria da tropologia com a no��o da inven��o po�tica.
-A id�ia de tropos � provis�ria.
-Uma das coisas que os linguistas ainda precisam estudar � a teoria dos tropos.
-Roman Jakobson trabalhou nessa dire��o.
-Lacan desenvolveu os conceitos de met�fora e meton�mia para caracterizar certos modos de consci�ncia.
-N�o se pense que esta ruptura modernizante passa pelo PT.
-O partido � um aglomerado heterog�neo, que s� se mant�m unido pela perspectiva de vit�ria de Lula.
-Teses modernas e sociais como o controle civil sobre o sistema de sa�de esbarram em resist�ncias enormes dos setores hegem�nicos do PT, sob o argumento de que amarrariam a atua��o do governo, logo agora que o partido se prepara para assumir o poder.
-Tampouco passa por FHC, representante da contemporiza��o bem explicada, ou por Antonio Britto cujo voto, em favor da anistia total aos agricultores, semana passada, ressuscitou os piores progn�sticos sobre seu estilo.
-O motorista teria perdido o controle do carro, batido em um Monza e em uma �rvore e capotado na rua En�as Luiz Carlos Barbante.
-Maria Elisa Flora Demarchi, 15, est� internada em estado grave no Hospital do Mandaqui.
-�O boneco servir� para criar o que chamamos de 'efeito aur�ola' no motorista.
-Pesquisas comprovam que quando o motorista v� a fiscaliza��o ele reduz a velocidade por pelo menos tr�s quil�metros�, diz Lehfeld.
-O boneco vai ser colocado em locais sem congestionamento.
-Vai �trabalhar� das 7h �s 17h30, inclusive nos finais de semana.
-A perman�ncia em cada cabine ainda n�o foi definida.
-Perry descreveu tr�s fases para a opera��o: a entrada no Haiti e a conquista de todas as posi��es estrat�gicas (com dura��o de seis a horas a dois dias), a cria��o de �um ambiente seguro� (de tr�s a seis meses) e a transfer�ncia do controle da situa��o para a ONU.
-O presidente Bill Clinton passou a maior parte do dia de ontem em reuni�es com seus assessores militares e de seguran�a nacional na Casa Branca.
-Vila Madalena e Pinheiros ganharam novas op��es noturnas nesta semana.
-O bar e restaurante Lanterna inaugurou na ter�a-feira um espa�o para dan�ar.
-Agora o jardim entre a galeria e o sal�o do restaurante propriamente dito tem um bar com som dos DJs Bidi, Bartolo e Hori.
-O tr�nsito nas avenidas Paulista e Brigadeiro Lu�s Ant�nio (zona central de S�o Paulo) parou no dia 9 de setembro de 86.
-O aposentado Eliseu Francisco de Lyra (na �poca com 44 anos), depois de discutir com o irm�o, saiu do carro, subiu no cap�, tirou as roupas e sapateou.
-A AI, organismo internacional com mais de 1,1 milh�o de membros, divulgou o documento ontem em S�o Paulo.
-O relat�rio, referente ao ano de 1993, tamb�m destaca a impunidade dos acusados pelos massacres do Carandiru (outubro de 92), da Candel�ria (julho de 93) e de Vig�rio Geral (agosto de 93).
-O apelo pop do evento j� est� causando rea��es.
-Ohtake diz que at� o compositor e cantor baiano Caetano Veloso manifestou desejo de assistir ao show de Nusrat, nesta segunda-feira, em S�o Paulo.
-�Um monte de artistas vai querer ver os concertos�, diz Ohtake.
-O secret�rio espera a resposta do p�blico.
-�Toda plat�ia de m�sica erudita � tradicionalista�, explica.
-�Em Campos do Jord�o tamb�m.
-O p�blico de l� � extremamente treinado em m�sica do s�culo 19.
-Para mim � muito estimulante oferecer uma id�ia espacial para um trabalho que come�ou a partir de uma id�ia musical.
-Basicamente, � o que tenho feito com os m�sicos com os quais trabalho.
-O que mudou talvez seja meu vocabul�rio, que est� menos estruturado.
-A din�mica, a maneira como os movimentos s�o constru�dos, hoje � diferente.
-1. Curr�culo com mais de tr�s p�ginas.
-2. Que o selecionador tenha que ler todo o curr�culo para descobrir o perfil do profissional.
-O cr�tico (�/deve ser), um insolente da raz�o?
-Um (mecenas) nobre que deifica o saber antes e mistifica o dar depois ou ele deve ser um iconoclasta, espalhar o que sabe enquanto o tempo faz das novidades fatos descart�veis.
-Ser� que j� n�o nos basta a humilde compuls�o passiva dos leitores que aceitam nos ler para serem informados?
-Mas o leitor tamb�m sabe se vingar com o desd�m e a indiferen�a com que � capaz de folhear as p�ginas da sua busca.
-Um cr�tico de jornal cotidiano deve se conformar com o papel de narrador e seu destaque secund�rio ao simples gesto de uma p�gina ser virada e ficar para tr�s.
-A not�cia � um fato, n�o um exerc�cio acad�mico.
-A dimens�o do fato est� na relatividade da sua import�ncia para cada leitor e n�o no espa�o narc�sico que ocupa sob uma assinatura.
-Em Medicina, ganharam Richard Dart e Richard Gustafson, da Universidade de Arizona por fracassarem ao tratar um paciente mordido por uma cascavel com choques el�tricos aplicados no l�bio durante cinco minutos.
-Em F�sica, ganhou a Ag�ncia Meteorol�gica Japonesa por um estudo de sete anos sobre a hip�tese de terremotos serem causados por peixes rebolando suas caudas.
-Na madrugada de ontem, os pr�dios foram vigiados a dist�ncia por homens da Rota, que estavam sem farda.
-Segundo o coronel, eles viram o armamento da quadrilha ser retirado de um dos pr�dios em um Gol.
-Esse carro foi achado no in�cio da tarde em Engenheiro Marsilac (zona sul).
-Com mandados de busca e apreens�o, os homens da Rota invadiram os tr�s apartamentos.
-N�o houve tiroteio.
-De acordo com o coronel, a pol�cia descobriu a quadrilha atrav�s de uma den�ncia an�nima.
-Eduardo Louren�o -- N�o se deve esperar uma interven��o que tenha efeitos imediatos como a dos pol�ticos.
-Os escritores aqui reunidos pretendem alertar a comunidade internacional sobre os ataques sofridos pela liberdade de pensar e de escrever em v�rios pa�ses do mundo.
-Os exemplos mais c�lebres e tr�gicos s�o os de Rushdie e Nasreen.
-O nosso protesto � de ordem moral, temos a obriga��o de defender uma das grandes tradi��es da nossa civiliza��o, que � a da liberdade de express�o.
-Jos� Saramago -- A contribui��o vai depender do eco que o Parlamento possa ter na opini�o p�blica.
-Podemos dizer coisas importantes, tomar grandes decis�es, mas se n�o tiver repercuss�o...
-Tudo depende da capacidade que o Parlamento tiver de transmitir as suas id�ias � imprensa, ao r�dio e � televis�o.
-N�o sei se os jornalistas est�o conscientes da grande responsabilidade que t�m.
-Os seus 100 quil�metros j� levaram este ano 200 mil toneladas de soja.
-Custo: US$ 8 por tonelada.
-No Sul, US$ 24!
-Por que n�o publicar que o PT fez um semin�rio no Nordeste sobre ela e concluiu pela necessidade de sua constru��o?
-Esta � uma obra do Brasil, transformadora da estrutura do pa�s.
-N�o comporta qualquer reserva, e bendito o pa�s em que os homens p�blicos exigem dos candidatos a solu��o de problemas nacionais, minorar a fome, dando leite �s crian�as que se alimentam de lixo, e estradas para desenvolver o pa�s.
-O ex-jogador assumiu o cargo ontem em substitui��o a Carlinhos, demitido ap�s a derrota para o Bahia (0 a 1), anteontem.
-�As torcidas partem para cima da PM a fim de que nos concentremos num s� local.
-Entre os denunciados por corrup��o passiva est�o o procurador de Justi�a aposentado Aldegy do Nascimento, 26 delegados, inspetores e peritos da Pol�cia Civil e Ary Chagas de Aguiar, assessor da promotora L�cia Atalla.
-Os 38 nomes fazem parte de um aditamento � primeira den�ncia feita pelo Minist�rio P�blico no esc�ndalo do bicho, em junho.
-O pai de Rom�rio foi sequestrado na segunda-feira � noite, no Rio.
-Os sequestradores estariam exigindo US$ 7 milh�es (cerca de CR$ 9,6 bilh�es) para libert�-lo.
-Abalado, o jogador amea�ou n�o disputar a Copa do Mundo, em junho e julho, nos EUA, caso o pai n�o seja libertado.
-O s�timo filme de Spike Lee acerta nos figurinos e trejeitos da �poca e resgata preciosidades do soul negro dos anos 70.
-As m�sicas incluem The Jackson 5, Stevie Wonder Jimi Hendrix, James Brown e outros 18 bons nomes.
-O problema � a hist�ria.
-Quase nada acontece.
-H� algumas brigas engra�adas entre irm�os, cenas de separa��o conjugal e uma morte.
-Em algumas passagens, h� di�logos intermin�veis e vazios.
-Durante o almo�o familiar, por exemplo, fala-se muito sobre quase nada e ningu�m mastiga.
-Soa for�ado demais.
-N�o se sabe ainda como Oosterbroek morreu.
-Seu corpo n�o tinha marcas de tiros.
-Aparentemente ele quebrou o pesco�o quando tentava fugir do fogo cruzado.
-A pol�cia anunciou a liberta��o de seis homens que estavam trancados no por�o de um pr�dio do CNA em Johannesburgo.
-Segundo o porta-voz da pol�cia, Dave Bruce, os seis foram torturados.
-O deputado Adroaldo Streck (PSDB-RS) ficou encarregado de confirmar com Britto o encontro.
-Britto j� informou a Streck que � favor�vel, mas ficou de discutir a quest�o com o PMDB ga�cho.
-Camila viajava no colo de Dalva, na frente do ve�culo.
-O corpo de Camila foi lan�ado para fora do carro.
-A menina morreu na hora.
-Dalva seria submetida ontem a cirurgia no hospital de S�o Paulo.
-A fam�la voltava para casa, em American�polis, depois de participar de casamento na Barra Funda e deu carona a amigos.
-Outras cinco pessoas ficaram feridas.
-Niemeyer -- �, foi em 1936.
-Folha -- o que o sr. pode dizer dele em termos pessoais?
-Jazz rap?
-Esque�a.
-Ou melhor, n�o esque�a porque ainda se faz muita coisa boa, mas deixe de querer ser bacana citando-o como a �ltima tend�ncia.
-Para aquele verniz atualizador, passe desde j� a usar a express�o �blues rap�.
-E, para um efeito extra, cite G. Love and Special Sauce.
-Seu �lbum de estr�ia, lan�ado no �ltimo ver�o americano, causou pouco ou nenhum impacto na parada.
-Mas uma boa escava��o nas se��es de cr�ticas de revistas de m�sica importadas revela a verdadeira adora��o que G. Love estimulou entre os jornalistas especializados.
-O secret�rio-geral da Presid�ncia, Mauro Durante, tamb�m tem emprego garantido.
-Itamar quis encaix�-lo no Tribunal Superior do Trabalho, mas a OAB (Ordem dos Advogados do Brasil) n�o deixou.
-O presidente articulou, ent�o, lobby certeiro em dire��o ao Sebrae (Servi�o de Apoio � Pequena e M�dia Empresa) e ainda pediu a FHC que o ajudasse a p�r Durante na presid�ncia da entidade.
-Esses dados fazem parte do livro �Conflitos no Campo Brasil 1993�, lan�ado na ABI (Associa��o Brasileira de Imprensa), no Rio de Janeiro, pela CPT (Comiss�o Pastoral da Terra), �rg�o da Igreja.
-Constam do livro 15 quadros estat�sticos relacionando os nomes das v�timas e os respons�veis por crimes ligados a conflitos de terra.
-As causas da viol�ncia no campo tamb�m s�o discutidas.
-O diretor executivo do FMI tamb�m enfatizou a necessidade da queda dos juros no Brasil para incentivar a volta de investimentos maci�os nos setor produtivo.
-A uma pergunta sobre se a volta dos investimentos externos n�o dependeria do selo de aprova��o do Plano Real atrav�s de um acordo formal entre o FMI e o Brasil, Camdessus disse que o que vai fazer a taxa de juros cair n�o � um acordo com o FMI, mas a credibilidade interna e externa do Plano Real.
-Bancos e financeiras receberam bem a resolu��o 2.071 do Conselho Monet�rio Nacional.
-Baixada sexta-feira, ela cria a taxa de juro flutuante.
-Abre a perspectiva de aplica��es por prazo mais longos.
-O juro flutante permite reavaliar periodicamente as taxas de juros das aplica��es e empr�stimos.
-A interven��o diplom�tica russa foi decisiva para evitar o envolvimento ocidental na guerra civil na B�snia.
-Ao se oferecer para intermediar o conflito, a R�ssia deu aos seus aliados s�rvios a possibilidade de uma retirada honrosa.
-Isso praticamente eliminou a amea�a de ataques a�reos da Otan.
-Essa � a avalia��o do Instituto Internacional de Estudos Estrat�gicos de Londres (IIEE), um dos mais importantes centros de pesquisa militar do Ocidente.
-�Um ataque agora n�o faz mais sentido, desde que os s�rvios continuem a recuar�, disse � Folha o coronel Andrew Duncan, do IIEE.
-O espantoso � que fora da pol�cia tamb�m se viu o �mal� no incidente de Cavalera.
-O jornal carioca �O Globo� recolheu depoimentos sobre a �pisada� n�o confirmada nem pela pol�cia e explicada por Cavalera como um simples trope�o, normal na movimenta��o de palco, em seu depoimento na delegacia.
-Todos, contra ou a favor, partem do princ�pio de que aquele foi um gesto de �protesto�.
-�Foi um protesto moleque.
-S� poderia ter partido de uma cabe�a de merda�.
-Um psicanalista (sic), Jos� Nazar, sugere, acreditem se quiser, nada mais nada menos do que linchamento como puni��o.
-O jurista Miguel Reale Jr. prefere um �pessedebismo� pedag�gico, ao aprovar a atitude da pol�cia em det�-lo como exemplo para a juventude.
-A tumorectomia �garante sobrevida compar�vel e melhor qualidade de vida do que a mastectomia total�, escreveu a chefe do novo estudo, Anna Lee-Feldstein.
-Cientistas da Universidade da Calif�rnia em Irvine (EUA) publicaram a pesquisa na �ltima edi��o da revista da Associa��o M�dica Norte-americana, (�Jama�).
-Com isso, o Cruzeiro deve come�ar a partida com Michelli, Magno, Derlan, Marcus Vin�cius e Anderson; Emiliano, Juliano e Anderson Le�o; Ricardinho, N�lson e Herbert.
-A equipe vem treinando junta h� pouco tempo.
-O atacante N�lson e meia Anderson Le�o chegaram agora ao time e o ponta-direita Ricardinho, o meia Juliano e o zagueiro Derlan foram promovidos no final de 93.
-Rec�m-promovido, Derlan, 17, j� � um dos destaques do Cruzeiro por sua habilidade nas sa�das da defesa para o ataque.
-O jogador chegou no clube h� dez meses e, em novembro, foi para a equipe de juniores.
-�Estamos muito motivados.
-A casa vai estar cheia e n�s vamos mostrar porque viemos disputar a Copa�, afirma.
-Como sua musa Iris gosta do tema, Silvio Santos vai agora todos os weekends ao teatro.
-Depois da pe�a de Leilah Assump��o, os dois foram juntinhos assitir a �Aluga-se Um Namorado�.
-Amaram.
-Par�grafo 3�. -- Nos contratos celebrados ou convertidos em URV, em que haja cl�usula de reajuste de valor por �ndice de pre�os ou por �ndice que reflita a varia��o ponderada dos custos dos insumos utilizados, o c�lculo desses �ndices, para efeitos de reajuste, dever� ser nesta moeda at� a emiss�o do real e, da� em diante, em real, observado o art. 38 da lei n�. 8.880 de 27.05.94.
-Par�grafo 4�. -- A Taxa Referencial -- TR -- somente poder� ser utilizada nas opera��es realizadas nos mercados financeiro, de valores mobili�rios, de seguros, de previd�ncia privada e de futuros.
-A sensa��o que se tem quando se est� andando num tren� puxado por c�es � semelhante � do esqui aqu�tico.
-Na minha primeira tentativa, fiz exatamente a mesma coisa que na primeira vez que pratiquei esqui aqu�tico: ca� e me soltei.
-Precisei cair mais algumas vezes at� aprender a usar o breque.
-Al�m de dominar esta habilidade, as duas �nicas coisas realmente necess�rias para se viajar de tren� pelo Alasca eram estar em razo�vel boa forma f�sica e ter mais de 13 anos de idade.
-Eu e meu marido, advogados de meia idade, apenas um pouco fora de forma, satisfaz�amos essas condi��es.
-Todos os pl�nios costumam almo�ar no Esplanada Grill, refei��es de US$ 40, em m�dia.
-Os motivos v�o do �bom atendimento� � certeza de achar ali �pessoas como n�s�.
-E se encontram � noite no bar Cabral, embora n�o se conhe�am.
-N�o � necess�rio.
-Os pl�nios t�m no Cabral, aberto no final de 1992 numa travessa escondida da avenida Cidade Jardim, sua meca.
-Luciano Huck, 22 um dos propriet�rios do bar, � o profeta da turma.
-L�, os pl�nios fazem amigos, influenciam pessoas, rev�em colegas, contam as novidades -- as �ltimas viagens para os Estados Unidos, quem comprou carro novo, quem �vai ter� que come�ar a trabalhar com o pai, os que ainda n�o conseguiram telefone celular.
-Pedem cerveja, tequila e batidas, num gasto m�dio de US$ 30 por noite, e falam mal dos mauricinhos que, como diz Rubinho Gimenes, s�o �cheios de querer ser�.
-Eles n�o.
-Eles s�o.
-O jovem corretor de seguros Kiko Villela, 22, �.
-Cursando economia na Faap, Kiko espera ansioso o seu telefone celular, que �est� para sair�.
-�� imprescind�vel hoje em dia�, regulamenta.
-O brinquedinho eletr�nico tem uma fun��o interessante no mundo dos pl�nios: substitui o antigo �torpedo�, bilhete desferido entre jovens em bares.
-Em vez de mandar um papel pelo gar�om com cantadas escritas, o pl�nio liga para a pl�nia de sua predile��o e pronto -- est� feito o contato imediato.
-Entretanto, h� possibilidade de queda nas cota��es externas nos pr�ximos meses, em especial no segundo semestre, quando se verifica a colheita de arroz no hemisf�rio Norte.
-A queda das cota��es internacionais viabilizaria o ingresso do produto a pre�os mais baixos, fato que impediria maiores avan�os das cota��es internas.
-Segundo a previs�o da Conab, a produ��o nacional de arroz deve chegar a 10,6 milh�es de toneladas de gr�os.
-No ano passado, o pa�s colheu 9,5 milh�es de toneladas.
-O diretor-presidente da Yashica do Brasil, Kazuo Tamura, 56, morreu em um acidente de carro ontem de manh� em S�o Paulo.
-Ele dirigia sozinho um Santana 90 em alta velocidade na avenida do Estado, no Cambuci (regi�o central), quando, provavelmente, perdeu o controle do carro e bateu num poste.
-Isoladamente, os EUA e o Jap�o, por exemplo, praticaram al�quotas ainda menores 5,46% e 4,79%, respectivamente.
-O levantamento mostra que a Constitui��o de 1988 elevou de 15,27% para 20,53% a al�quota m�dia sobre o consumo no Brasil em 1989.
-O ministro da Aeron�utica, L�lio Viana L�bo, aproveitou a comemora��o do Dia do Soldado ontem para queixar-se das dificuldades salariais dos militares.
-�Vivemos ainda dias dif�ceis, num contexto econ�mico, social e pol�tico em que as necessidades b�sicas de nossas for�as ( ...) t�m sofrido severamente as agruras que toda na��o atravessa�, disse, em sauda��o enviada ao Ex�rcito.
-Os f�s de Frank Zappa v�o ter uma boa surpresa em janeiro.
-O lan�amento de um CD com uma colet�nea de m�sicas de Zappa interpretadas por bandas cover dos Estados Unidos, Alemanha, B�lgica, Inglaterra, Holanda, It�lia, Su�cia e Brasil (com a banda The Central Scrutinizer).
-A banda brasileira nasceu em 1990 para fazer uma homenagem a Zappa.
-�Era um cara que sempre apostou no que acreditava.
-Lutava contra a bestialidade das pessoas e sempre mostrou isso de uma forma bizarra�, conta Mano Bap, 29, vocalista da The Central Scrutinizer.
-Para o diretor de cr�dito da Febraban, Christoph Heinrich Von Beackedorff, �n�o h� novos tomadores, s� est�o sendo rolados os empr�stimos que est�o vencendo�.
-Ambos apontam o baixo volume de capta��o de recursos com a venda de CDBs aos investidores como o principal fator de inseguran�a dos bancos na defini��o dos custos dos empr�stimos.
-Desse modo, apenas parte do fundo de viagem seria empregada na compra de �traveler cheques� ou c�dulas.
-O restante ficaria em uma aplica��o com anivers�rio coincidindo com o vencimento da fatura mensal do cart�o.
-O caso passou a ser investigado porque pessoas que foram ao vel�rio de Pereira teriam dito que o cad�ver suava e teve sua pele arrepiada dentro do caix�o.
-A fam�lia foi alertada mas n�o chamou nenhum m�dico e fez o enterro depois de dez horas de vel�rio.
-No cinema, sorte do espectador que ter� n�o uma, mas duas mostras internacionais: a Internacional de Cinema, que agora vai ser competitiva e tem Pedro Almod�var e Quentin Tarantino entre os convidados, e a Banco Nacional de Cinema, que ser� mais que uma amostra do evento com sede no Rio, com um ciclo em homenagem ao rei do filme �B�, Roger Corman, tamb�m presente.
-Shows h� para todos os ouvidos.
-O 9� Free Jazz Festival ampliou seu leque e programou uma noite trepidante sob o comando do �godfather of soul� James Brown e cedeu espa�o para a modernidade de Guru, US3 e dos Digable Planets.
-Fora do festival, o De La Soul � a atra��o mais promissora.
-�Como eles aumentaram 6,28% nas duas semanas, acertamos que eles iriam parar os aumentos.
-Dallari recebeu tamb�m a Associa��o Brasileira da Ind�stria de M�quinas.
-A entidade tamb�m se queixou de aumentos que variam de 5,5% a 11,5% no custo de alguns fundidos, forjados, a�o plano e rolamentos.
-Foi ao final de um ano e tr�s meses que o prefeito teve sua melhor avalia��o.
-Recebeu 27% de �timo e bom, 30% de ruim e p�ssimo e 42% de avalia��o regular.
-A boa performance de Maluf em mar�o �ltimo coincidiu com a fase em que ele anunciava sua candidatura � presid�ncia e investia em inaugura��es de grandes obras, como o t�nel do rio Pinheiros.
-A Gelaguela maior fabricante nacional de sobremesas individuais geladas est� investindo US$ 200 mil no sistema de franquias.
-A empresa, que faturou US$ 1 milh�o em 93, vai inaugurar at� setembro mais quatro unidades da Gelaguela Sobremesas.
-O objetivo � consolidar a marca.
-Esta taxa, no entanto, n�o reflete o que est� acontecendo de fato com os pre�os nas �ltimas semanas.
-Isto porque os �ndices de infla��o s� captam totalmente as mudan�as de pre�os 30 dias ap�s o aumento.
-� sempre considerada a m�dia de quatro semanas em rela��o �s quatro anteriores.
-A partir de agora, a taxa deve sempre recuar.
-Os pre�os estiveram praticamente est�veis nas �ltimas semanas.
-Juarez Rizzieri, coordenador do �ndice de Pre�os ao Consumidor da Fipe, prev� para agosto uma taxa entre 1% e 2%.
-A inten��o � votar e aprovar a MP na pr�xima semana, entre os dias 26 e 27.
-O pr�prio presidente Itamar Franco pedir� empenho de todos os ministros para mobilizar os seus partidos para a vota��o.
-O ministro Ricupero ficou satisfeito com aprova��o da MP da URV na comiss�o mista do Congresso que examinou a medida.
-Para o ministro, disse Simon, as mudan�as feitas s�o assimil�veis pelo plano.
-Os novos propriet�rios ser�o integrados � rede de franquia da Pakalolo, que conta atualmente com 76 pontos de venda.
-Tamb�m ser�o submetidas ao mesmo processo as 28 lojas da Body for Sure, a grife esportiva do grupo.
-�Eu acredito no efeito barriga no balc�o�, afirma o empres�rio Humberto Nastari, 37.
-Na condi��o de senhor de meia-idade com id�ias adolescentes, tio Dave vem observando com bastante inquieta��o que seu sentido do paladar parece estar se esvaindo pelo ralo.
-Peixe passou a ter gosto de carne para mim e uma noite destas, no Rodeio, eu confundi salsicha caseira com frango kebab.
-Chocante.
-Constrangedor.
-Ent�o me deparei com um estudo que afirma que algumas pessoas realmente t�m um paladar mais agu�ado do que outras.
-E, horror dos horrores, s�o as mulheres que t�m o paladar mais apurado do que os homens (pare de dar essas risadinhas, voc� a� no fundo da classe).
-Parece que a Universidade Yale, aquela que nos deu o inesquec�vel George Bush, comprovou a exist�ncia de �superdegustadores�, ou seja pessoas que possuem um n�mero de papilas gustativas muito al�m do normal.
-�Adventure in Castle� � um programa para aprender matem�tica.
-Em ingl�s, traz no��es sobre c�lculos de soma, subtra��o, multiplica��o e divis�o.
-Custa US$49, na Brasoftware.
-Tel. (011) 253-1588.
-�Journey in the Universe� � um programa em ingl�s, voltado para crian�as que querem aprender no��es de astronomia.
-Est� sendo vendido na Brasoftware em promo��o.
-Sai de US$ 79 por US$ 49.
-�MacMillan Dictionary for Children� � um dicion�rio de ingl�s em CD-ROM.
-Conta com recursos de figuras e sons, que mostram o significado das palavras.
-Custa US$45 na Multim�dia Center (tel 011 959-2650).
-Ele disse, no entanto, que a lei antitruste aprovada pelo Congresso reflete o clima que o pa�s est� vivendo nessa fase que antecede o lan�amento do real.
-Mas afirmou que a lei antitruste aprovada pelo Congresso tem as deforma��es t�picas da situa��o conjuntural.
-Apesar da declara��o dos separatistas, o governo brit�nico continua disposto a iniciar as negocia��es com o Sinn Fein, bra�o pol�tico do IRA, antes do Natal.
-O ministro brit�nico para a Irlanda do Norte, Patrick Mayhew, afirmou ontem em Belfast que o cronograma do processo de paz ser� mantido.
-Mayhew disse que o IRA poderia demonstrar que realmente n�o autorizou a opera��o de Newry devolvendo os US$ 210 mil levados durante o assalto.
-FHC -- Esse comit� faz tudo errado.
-Ruth -- Por isso perdemos as elei��es.
-(FHC come�a a rir).
-Sabe por que eu amo tanto voc�, querido?
-Porque est� sempre rindo.
-(Come�am ambos a chorar.
-Um estudo do Corecon (Conselho Regional de Economia), do Rio de Janeiro, divulgado ontem, est� projetando, na hip�tese de ado��o do real em abril, uma infla��o de 2,3$%.
-Com base nesta proje��o, o estudo prev� uma infla��o com a nova moeda de 30% em 94.
-O SPQ (Sistema de Proje��es Qualificadas) resulta da m�dia de opini�es de 16 economistas que fazem an�lise de conjuntura.
-Segundo o presidente do Corecon, H�lio Portocarrero, a infla��o do real n�o ser� puxada pelos oligop�lios, apontados pela equipe econ�mica do governo como os principais vil�es na subida de pre�os ap�s a implanta��o da URV.
-Para ele, a alta de pre�os na fase da nova moeda dever� ser impulsionada pelos setores competitivos como o agr�cola e o de servi�os.
-O projeto ainda n�o � oficial.
-Segundo o professor Vicente Amato Neto, 66, �h� informa��es que todos ouvem, no sentido de fazer o estacionamento�.
-Ontem, a diretoria da atl�tica e Amato Neto que iniciou a organiza��o dos alunos para a preserva��o do clube se reuniram para discutir alternativas para a �rea.
-Cedras n�o tem o controle de sua pol�cia.
-Para evitar dist�rbios, vamos distribuir �s TVs uma fita para mostrar � popula��o o que viemos fazer aqui.
-Esperamos uma mudan�a de atitude da pol�cia.
-Est�o ocorrendo viola��es dos direitos humanos.
-Se o sr. Cedras n�o tomar os passos apropriados, n�s vamos dizer num clima de respeito que passos ele deve dar.
-Tamb�m vamos distribuir 1 milh�o de cestas b�sicas, para matar a fome da popula��o at� a transi��o para a democracia.
-A Roma venceu ontem a Lazio, tamb�m na capital italiana, por 3 a 0, na partida mais importante e empolgante da d�cima primeira rodada do Campeonato Italiano de 1994/95.
-Animado com um teste de vesti�rio, o tcheco Zdenek Zeman, t�cnico da Lazio, colocou em campo o atacante croata Alan Boksic, cuja volta ao time estava prevista para a pr�xima semana.
-No mercado futuro do �ndice Bovespa, a cota��o para maio ficou em 20.000 pontos, projetando rentabilidade de 66,78% ao m�s.
-No mercado futuro de d�lar, a expectativa de desvaloriza��o cambial para abril ficou em 42,40%, contra 42,53% no dia anterior.
-O comportamento das pessoas no trabalho est� passando por uma nova e importante altera��o.
-Gest�o participativa, times de qualidade e outros conceitos foram assimilados pelas empresas ao mesmo tempo em que elas passaram a exigir funcion�rios mais abertos ao di�logo e cientes da import�ncia do cumprimento das regras de boas maneiras dentro do ambiente de trabalho.
-�As empresas notaram que sua imagem � a maior prejudicada quando um funcion�rio comete uma indelicadeza em p�blico e diante de um cliente ou subordinado�, afirma o consultor de marketing pessoal Otto Reiter, 69.
-�O refinamento do executivo � mais um diferencial na hora da sua avalia��o�, completa.
-Nos Estados Unidos, universidades e algumas empresas chegam a oferecer cursos de boas maneiras nos neg�cios.
-No Brasil, essa atitude ainda depende da iniciativa de cada um.
-A quest�o que enfrentaram era retomar a arte intensamente dram�tica de sua tradi��o sem se escravizar a ela.
-A solu��o que deram, obter equil�brio entre figura��o e abstra��o em que a profundidade n�o � nem cl�ssica (pers -- pectiva) nem modernista (planificada), mas sugerida por jogos crom�ticos semilivres �s vezes livres demais, como voc� vai ver.
-Cada um o fez a seu modo.
-Dos cinco, Baselitz, Immendorff e Kirkeby fizeram melhor.
-Kirkeby, que vem ao Brasil para a abertura, tamb�m ter� sala especial na 22� Bienal, a partir do dia 12.
-Tanta coincid�ncia s� pode ser instrutiva; pode mostrar mais a Alemanha que qualquer contato pol�tico afinal, como dizem eles, o ser reside na linguagem.
-Habite-se.
-Al�m da proposta de 18 cassa��es, o relat�rio final da CPI sugere que oito deles sejam objeto de processo criminal.
-S�o os deputados que, segundo o texto, devem ter os �elementos comprobat�rios encaminhados ao Minist�rio P�blico�.
-Est�o nesse grupo Ricardo Fiuza (PFL-PE), Jo�o Alves (sem partido-BA), Cid Carvalho (PMDB-MA), Jos� Geraldo (PMDB-MG), Manoel Moreira (PMDB-SP), F�bio Raunheitti (PTB-RJ), �zio Ferreira (PFL-AM) e Paulo Portugal (PP-RJ).
-Al�m disso, avaliou como fraca a organiza��o existente at� ontem na campanha.
-A partir da pr�xima semana, v�o viajar para os Estados os membros da coordena��o que n�o pertenceram ao n�cleo que passa a deter as decis�es.
-Cerca de 300 pessoas foram convidadas para a cerim�nia.
-De esse total, 40 s�o parentes e amigos do ex-jogador.
-Entre os convidados est�o o �rei da soja�, Olacyr de Moraes, o empres�rio Alfredo Saad e o comandante Rolim Amaro, dono da empresa a�rea TAM.
-Os funcion�rios da prefeitura reclamam que L�dice est� adiando desde maio o pagamento das perdas salariais da categoria.
-Eles tentaram agendar um encontro com Lula para pedir que ele ajudasse na negocia��o.
-Uma reprodu��o gigantesca da �Maja Desnuda�, de Goya, ocupa uma das paredes da casa.
-No banheiro, um funcion�rio vende balas, cigarros, chocolates, �gua mineral, rem�dios (Engov) e, claro, camisinhas.
-4 de novembro -- morto em emboscada o l�der da ALN e ex-deputado Carlos Marighella.
-19 de junho -- M�dici anuncia a constru��o da rodovia Transamaz�nica.
-As quest�es colocadas pela �body art� nos anos 60 foram retomadas agora como reflex�o sobre uma realidade em que os corpos est�o submetidos a um trabalho de transforma��o que real�a o sentido tr�gico.
-A Aids foi apenas um catalisador para a volta do pr�prio corpo como objeto est�tico em diversos trabalhos.
-�O v�deo � uma experi�ncia f�sica, ( ...) tem um efeito direto nos corpos das pessoas.
-O v�deo pode ser um instrumento poderoso para tocar as pessoas diretamente, na percep��o, em �reas que a cultura ocidental n�o leva em conta como um caminho para o conhecimento.
-Desde a Idade M�dia, esse caminho � feito atrav�s do intelecto e n�o do corpo.
-O corpo foi negligenciado�, disse Viola � Folha em 92.
-A a��o alega que a Petroplastic n�o considera a Dow acionista da Triunfo.
-E comprova que a Petroplastic recebeu US$ 5 milh�es para concordar com a transfer�ncia, para a Dow, do controle da Atochem (fundadora da Triunfo).
-Boris Gorentzvaig, da Petroplastic, diz que os US$ 5 milh�es eram adiantamento em �acordo de gaveta� com a Dow.
-�Mas a Dow dos EUA n�o quis cumprir o contrato e transferir tecnologia a uma concorrente�, diz.
-O �rg�o respons�vel pelo mercado de telebingos � a Susep (Superintend�ncia de Seguros Privados), uma autarquia federal subordinanda ao Minist�rio da Fazenda.
-�Compramos o t�tulo para verificar, levei para casa e n�o enxerguei nada�, disse ontem Vera Melo Ara�jo, chefe do Departamento de Fiscaliza��o da Susep.
-F�bio Igel, Jo�o Herreras e Marcelo Loureiro pilotam festa no Cabral.
-� em prol do Fundo Social de Solidariedade a apresenta��o de hoje de �Mulher, a Melhor Op��o de Investimento� no Teatro It�lia.
-Divulgado na semana passada, o fraco resultado em novembro da produ��o industrial e das novas encomendas �s ind�strias acabou com as esperan�as de que a Alemanha tivesse sa�do da pior recess�o do p�s-guerra no �ltimo trimestre do ano.
-Os dados detalhados sobre o desempenho do PIB entre outubro e dezembro n�o ser�o revelados at� mar�o.
-Os economistas afirmam que a recupera��o puxada pelas exporta��es que o governo previa para o segundo semestre de 1993 n�o aconteceu.
-A federa��o das pequenas e m�dias empresas revelou numa pesquisa que seus filiados est�o pr�ximos do p�nico em rela��o � situa��o econ�mica.
-Suas expectativas para o futuro pr�ximo da economia s�o as piores em dez anos.
-N�o preciso, governador, porque, sabendo da hospitalidade paranaense, eu nem trouxe carteira.
-Os anos 80 foram um divisor de �guas na industrializa��o brasileira.
-Vera L�cia Barbosa, 40, morreu na �ltima quarta presa pelo cinto de seguran�a ao carro em que estava, que caiu no rio Tiet�.
-O acidente foi �s 21h50, perto da Ponte Cruzeiro do Sul (zona norte).
-As outras tr�s pessoas que estavam no carro conseguiram se salvar.
-O tombamento de um caminh�o no km 226 da pista Rio-S�o Paulo da via Dutra �s 5h de ontem provocou engarrafamento na rodovia.
-O acidente causou a morte do menino Ren� Scorsa, que estava no Logus dirigido por S�rgio Duran, 33, que bateu no caminh�o.
-�Sobral, embora seja uma das principais cidades do Cear�, ainda n�o disp�e de um sistema adequado de esgotos.
-O projeto de canaliza��o de um c�rrego no munic�pio de Contagem ( ...) � indispens�vel para os moradores porque, durante o per�odo de chuvas, o rio transborda e alaga alguns bairros de Contagem�.
-Nenhum munic�pio brasileiro, nem mesmo S�o Paulo, �disp�e de um sistema adequado de esgotos�.
-Enchentes d�o-se pelo pa�s inteiro.
-A escolha t�o particular de Sobral, que por ser �uma das principais cidades do Cear� � tamb�m uma grande concentra��o eleitoral do Estado, coincide com sua escolha para a a��o de campanha que l� fez o candidato Fernando Henrique no fim-de-semana.
-A mineira Contagem � outra grande concentra��o eleitoral, com prefeito do PSDB e onde o partido, j� como propaganda, fez a conven��o de escolha de Fernando Henrique.
-Covas -- Quando se falando em emprego, n�o se tratando s� de uma quest�o administrativa.
-Quando se fala do Real, fala-se de posi��es que traduzem aquilo que deve ser o papel de S�o Paulo.
-Folha -- Pa�ses como a Argentina, que passaram por ajustes parecidos com o do Brasil, t�m hoje um desemprego recorde ...
-Qual a mat�ria odiada na escola?
-Lugar de que mais gosta?
-Os dados s�o do SCI (Servi�o de Seguran�a ao Cr�dito e Informa��es) que armazena informa��es comerciais sobre 1,6 milh�o de empresas no Brasil.
-Do volume de protestos, a regi�o Sudeste respondeu por 39,1% do total e a Sul, 23,5%.
-O Estado de S�o Paulo representou 22,8% dos protestos.
-O conselho tamb�m manteve multas aplicadas � Ind�strias J.B. Duarte e a seus dirigentes pela pr�tica de atividades restritas a institui��es financeiras.
-A corretora Antonio Delapieve e seus dirigentes foram multados por negociar t�tulos de renda fixa a pre�os superavaliados.
-Hoje, os mediadores internacionais lorde Carrington e Henry Kissinger (ex-ministros do exterior do Reino Unido e EUA, respectivamente) se encontram com os l�deres rivais negros Nelson Mandela (CNA) e Mangosuthu Buthelezi (zulu).
-Pelo menos dez pessoas morreram e 80 se feriram no terceiro dia consecutivo de luta entre fac��es rivais em Kabul, Afeganist�o.
-Tropas do presidente Burhanuddin Rabbani enfrentam soldados do primeiro-ministro Gulbuddin Hekmatyar.
-Biotecnologia -- busca o aprimoramento e cria��o de novos produtos a partir da manipula��o de animais e plantas destinados � sa�de e est�tica humana.
-Apesar de ter conseguido a guarda de Natasha, Concei��o est� aflita.
-�Tenho os pap�is, mas n�o tenho a minha filha.
-Agora s� deixo a Fran�a com ela.
-Esse � o meu grito�, se inflama.
-Segundo Concei��o, tem existido certa indiferen�a da pol�cia local em rela��o ao caso.
-A estrat�gia montada por Qu�rcia tem o objetivo de ganhar a pr�via do PMDB que vai definir o candidato do partido � Presid�ncia no pr�ximo dia 15, bem como manter o PMDB unido durante a campanha.
-Os ataques a Sarney s� ser�o feitos se a contabilidade quercista constatar que a vit�ria na pr�via est� amea�ada.
-Esse � o tema mais discutido na imprensa do pa�s; anteontem, ele foi objeto de debate especial do gabinete de governo japon�s.
-No caso de ontem, um garoto de 14 anos foi encontrado enforcado numa viga em sua escola em Yorii, 50 km a sudoeste de T�quio.
-A RBS tem ainda tr�s concess�es de TV em Santa Catarina e 30% da TV Cachoeiro, de Cachoeiro do Itapemirim, no Esp�rito Santo.
-O �nico caso que se tem registro de aplica��o rigorosa da lei ocorreu no final da d�cada de 60.
-Destaca que o Partido Liberal Democr�tico (PLD), derrubado do poder no ano passado, dever� apresentar seu presidente, Yohei Kono, como candidato a primeiro-ministro do Jap�o.
-Publica documentos comprados de James McDougal, ex-s�cio de Bill e Hillary Clinton na empresa Whitewater.
-Os documentos indicam que a primeira-dama dos EUA estava mais envolvida no dia-a-dia da administra��o da firma do que fora admitido at� agora.
-Depois de uma disputa acirrada entre as ind�strias para conquistar os melhores mercados, o ranking das gigantes multinacionais que dividem o bolo mudou.
-A japonesa NEC continua na lideran�a.
-O segundo lugar foi conquistado pela Ericsson, que em agosto de 93 ocupava a quarta posi��o em contratos assinados para fornecimento de equipamentos.
-A NEC tem mais de 55% (US$ 455 milh�es) dos contratos assinados pelas concession�rias da Telebr�s, incluindo a� a segunda fase da implanta��o do sistema m�vel em S�o Paulo e a terceira no Rio, previstas para 94.
-O engenheiro Bruno Maranh�o, l�der do Movimento por Terra, Trabalho e Liberdade, pertence a uma das fam�lias que dominam os latif�ndios no Nordeste.
-Uma invas�o do grupo, feita h� dois anos, em Pernambuco, na usina Massauassu, prejudicou justamente a fam�lia Maranh�o.
-Depois de conquistar seu pr�mio de estr�ia no concurso Smirnoff em S�o Paulo, o jovem estilista S�rgio Machado emplacou mais uma.
-� dele o segundo lugar do Smirnoff International Fashion Awards, disputado anteontem em Dublin.
-�Alphaville� � uma mistura de fic��o cient�fica, filme noir, e a irrever�ncia das hist�rias em quadrinhos.
-A hist�ria narra a ida de um agente secreto � desumana cidade futurista de Alphaville, controlada por um c�rebro eletr�nico que baniu totalmente os conceitos de amor e solidariedade.
-Para construir o ambiente futurista do filme, Godard recorreu quase que totalmente � fotografia.
-A c�mera de Raoul Coutard conseguiu transformar Paris numa cidade g�lida, sem contar a ousadia de montar sequ�ncias inteiras em negativo.
-O experimentalismo do filme n�o esconde sua proposi��o simb�lica, a aliena��o na sociedade tecnol�gica.
-Uma audi�ncia hoje na 7� Junta da Justi�a do Trabalho em Bel�m reabre a discuss�o sobre a obrigatoriedade do diploma espec�fico para o exerc�cio do jornalismo.
-O Sindicato dos Jornalistas do Par� exige a demiss�o dos cerca de 150 jornalistas irregulares (que n�o t�m curso universit�rio de Jornalismo) das empresas de Bel�m.
-Como o Estado n�o tem recursos, nem vai ter para todos, o atendimento acaba deixando de fora justamente os mais pobres, que n�o conseguem acesso aos servi�os p�blicos.
-O problema � pol�tico porque envolve, por exemplo, a gratuidade da educa��o, da sa�de, da previd�ncia m�nima.
-Excetuada a educa��o b�sica de primeiro grau, que deve ser gratuita e obrigat�ria, para todo o resto � preciso discriminar quem pode pagar.
-Dados do IBGE (Instituto Brasileiro de Geografia e Estat�stica), de 1989, mostram que 30,6 milh�es de brasileiros.
-Dos fumantes, 18,1 milh�es s�o homens e 12,5 milh�es, mulheres.
-O homem fuma entre 11 e 20 cigarros por dia e a mulher, entre 5 e 10.
-A PF (Pol�cia Federal) indiciou ontem duas pessoas por vender carro com �gio.
-Foram indiciados o dono da revendedora 3.000 Autom�veis, Leonardo Romanioli Filho, e o vendedor Lu�s Silveira, da concession�ria Frame.
-Os dois foram presos quando o taxista Jos� Fioravanti, 61, foi entregar US$ 1.000 a Romanioli como �gio da compra de um Santana Quantum.
-Ele estava acompanhados de tr�s agentes da PF.
-Um deles era seu filho, S�rgio Fioravanti.
-A partir desta edi��o, a tabela com o levantamento dos indicadores Folha-Sebrae passa a incluir a compara��o da capacidade ocupada no m�s pesquisado com o mesmo m�s no ano anterior.
-O uso da compara��o anualizada permite verificar a varia��o da atividade industrial sem a influ�ncia de fatores sazonais.
-Com a inclus�o de mais esse dado comparativo, a tabela fica mais completa.
-Ela tem tamb�m textos com explica��es sobre cada item pesquisado.
-A vers�o mais corrente sobre o in�cio do enriquecimento de Qu�rcia � de que ele comprou terrenos em �reas de periferia que seriam beneficiadas pelos projetos de melhoria urbana da Prefeitura.
-Na sua administra��o, executou um plano vi�rio com largas avenidas interligando os bairros, que provocaram um boom imobili�rio.
-Nicolau diz que hoje o produtor de leite C recebe US$ 0,22, enquanto o custo est� em US$ 0,24.
-Dallari orientou os produtores a negociarem com a ind�stria.
-Esses aspectos podem ser observados nos relatos das pacientes: �quando tenho que arrumar a casa e n�o estou com vontade, escuto vozes que me incentivam a come�ar a tarefa.
-Depois de um tempo, as vozes aumentam e acabo ficando atordoada e n�o consigo terminar o que comecei�.
-Estes problemas n�o s�o frequentes nos homens, pois al�m de terem uma possibilidade menor de casarem e terem filhos, esses n�o s�o os tipos de pap�is socialmente esperados para o sexo masculino.
-O restaurante, especializado em carnes e saladas, oferecer� uma garrafa de champanhe espanhol para os casais na noite do dia 12.
-Quem n�o quiser beber durante o jantar, poder� levar o champanhe para casa.
-�As pessoas est�o cansadas do hype que se cria em torno das roupas, dos estilistas e do luxo abusivo.
-Conforto � fundamental.
-Eu n�o me associo com moda.
-Para mim roupa e moda s�o coisas diferentes�.
-Folha -- o que a mulher precisa hoje, em termos de roupas?
-Desorganiza��o e viol�ncia marcam torneio que consolida o 'efeito Copa'.
-Os clubes de futebol do Brasil est�o valorizando cada vez mais a posse de bola e a utiliza��o de lan�amentos como armas para se chegar ao ataque.
-� o que confirmam as estat�sticas do Campeonato Brasileiro, encerrado ontem com o novo t�tulo palmeirense.
-Emily Lloyd vai ser a desbocada punk �Tank Girl�, dos gibis ingleses.
-Ainda na Inglaterra, Spielberg negocia os direitos da s�rie de �TV Doctor Who�.
-Chris Columbus est� ligado � adapta��o dos super-her�is �Quarteto Fant�stico�, que inauguraram a era Marvel nos gibis h� 30 anos.
-Mas o or�amento de US$ 5 milh�es insinua que a informa��o n�o � s�ria.
-S�o comuns casos como a filmagem do gibi �Sargento Rock�, que teve os direitos comprados por Joel Silver h� cinco anos.
-Arnold Schwarzenegger deu entrevistas como ator principal, foi substitu�do por Bruce Willis h� dois anos, mas o projeto nunca saiu do papel.
-Na campanha eleitoral, Alencar e Nilo estiveram em lados opostos quanto � a��o das For�as Armadas no combate ao crime.
-Alencar defendeu a ado��o do estado de defesa, que prev� a suspens�o de garantias individuais.
-Trata-se, segundo ele, de um �instrumento de defesa da democracia�.
-Ao contr�rio, nesta situa��o econ�mica de extrema gravidade, todos gostariam de ajudar o pa�s.
-Para isso, por�m, � necess�rio que o nosso Banco Central busque n�o a �independ�ncia� do Tesouro, que � imposs�vel, mas que deixe de �quebrar-lo� com a sua pol�tica agressiva de juros.
-O shopping West Plaza j� come�ou sua promo��o de Dia das M�es.
-Diariamente, est� promovendo desfiles de moda para seus consumidores.
-Os desfiles, com roupas a venda no pr�prio shopping, visam orientar o consumidor a respeito da moda.
-Estilistas estar�o � disposi��o dos clientes.
-Segundo ele, isso aconteceu ap�s a pris�o de soldados venezuelanos em territ�rio brasileiro, em fevereiro de 1993.
-�Depois desse incidente, as For�as Armadas venezuelanas tiveram de esfriar suas a��es na fronteira com o Brasil.
-A Guarda Nacional da Venezuela passou a conversar com os �ndios e a convenc�-los de fazer o papel dela, ou seja, reprimir os garimpeiros�, diz Altino.
-A maioria dos bons jogadores brasileiros atuava em clubes profissionais, filiados � FBF.
-N�o houve acordo para uma tr�gua durante a Copa.
-A solu��o foi negociar diretamente com os jogadores.
-A CBD aliciou Le�nidas (Vasco), Luizinho e Waldemar de Brito (S�o Paulo), entre outros.
-Era uma �poca em que os cariocas imperavam em campo e fora dele.
-Por raz�es que a pr�pria raz�o desconhece, no sorteio do local do jogo decisivo, a bolinha quase sempre apontava o assustador est�dio de S�o Janu�rio.
-O torcedor paulista sonhava com uma era futura, em que S�o Paulo chegaria � supremacia, se poss�vel de forma arrasadora.
-Passaram-se uns 50 anos e o sonho se realizou, trazendo alegria e tamb�m, inesperadamente, frustra��o.
-Ficamos todos , isto �, os torcedores paulistas que vem dos idos de 1940, como o americano m�dio, no fim da Guerra Fria.
-J� n�o h� o imp�rio do mal para combater.
-Vasco, Botafogo, Fluminense e at� o Flamengo s�o fantasmas do passado.
-O bombeiro suspeita que o golfinho tenha morrido afogado.
-Ele teria ficado preso em uma rede de pesca sem condi��es de subir � tona para respirar.
-Os bombeiros pediram ajuda ao Cebimar (Centro de Biologia Marinha) da USP para apurar as causas da morte do golfinho.
-At� as 17h, a Prefeitura de Caraguatatuba n�o havia retirado o golfinho da praia.
-O governo vai usar a URV para corrigir impostos, garantiu FHC.
-�A URV � produzida por tr�s �ndices, e um dos �ndices � o mesmo da Ufir.
-Vai ter paridade, j� desde o come�o�, explicou.
-Quanto �s tarifas p�blicas, n�o ser�o fixadas em URV para evitar reajustes di�rios, mas ter�o corre��es peri�dicas pelo indexador.
-�Do ponto de vista de prote��o ao consumidor, vou reajustar o pre�o da tarifa p�blica no dia normal como se ela fosse URV.
-Ou seja, pela m�dia real dos �ltimos quatro meses�, disse.
-�Onze milh�es de aposentados ganham m�nimo.
-Esses v�o ter um aumento real, pelo que disse o ministro Cutolo (S�rgio, da Previd�ncia), na passagem para a URV, de 17%.
-E alguns v�o ter de 30%�.
-Ele atribuiu a discuss�o sobre o valor dos benef�cios a uma �ilus�o monet�ria�.
-�As pessoas pensam que recebem US$ 80, mas 30 dias depois esse valor � muito menor�.
-Encerrada a festa, Maluly viu o rapaz esperando.
-O deputado se aproximou.
-Eu precisava de uma ajuda do senhor, deputado ...
-O Pr�ncipe Charles, do Reino Unido, fez respira��o boca-a-boca num boneco (foto) na inaugura��o do novo pr�dio do Centro de Ambul�ncias de Wellington, capital da Nova Zel�ndia.
-O homem que atacou Charles anteontem n�o ter� direito a fian�a e ficar� preso pelo menos at� o fim da visita de cinco dias do pr�ncipe ao pa�s.
-Litu�nia e Ucr�nia elogiam a Otan Os presidentes da Litu�nia, Algirdas Zebrauskas, e da Ucr�nia, Leonid Kravtchuk, elogiaram ontem o programa de �Parceria pela Paz� da Otan (alian�a militar ocidental, liderada pelos EUA), que prev� opera��es conjuntas com pa�ses do Leste Europeu.
-Segundo eles, os la�os com a alian�a n�o v�o afetar as rela��es com a R�ssia.
-N�o � verdade, como diz Gusm�o, que a miss�o enviada a Israel tenha feito �confronto de pre�os�.
-O relat�rio sigiloso n�o traz qualquer lista de pre�os.
-As evid�ncias de superfaturamento foram levantadas pelos professores Armando Lagan� e M�rcio Rillo, da USP, a pedido da Folha.
-Sustentadas em depoimentos � PF, foram confirmadas em tr�s per�cias.
-A �ltima delas, com a participa��o de tr�s cientistas, comprovou superfaturamento de 343%.
-Stephen Freehill, 16 (foto), compareceu ontem a um tribunal de Cingapura para uma audi�ncia preliminar.
-Ele � acusado de vandalismo.
-Pode ser condenado ao a�oite, como seu compatriota Michael Fay, 18, preso na mesma ocasi�o.
-Fay foi punido com quatro vergastadas e agora cumpre pena de pris�o.
-For�as do norte do I�men anunciaram a tomada da base a�rea de Al Anad, a principal dos sul-iemenitas.
-A base fica a apenas 50 km de �den, a capital do sul.
-A guerra come�ou h� 13 dias por causa de um confronto entre o presidente Ali Abdulllah Saleh e seu vice.
-�N�o damos conta de atend�-los.
-A resposta ao pedido de ajuda foi gigantesca�, diz Virginia de la Guardia, porta-voz da M�dicos Sem Fronteiras.
-A maioria dos volunt�rios s�o jovens.
-Mas, comenta Enrique Albizu, presidente da Medicus Mundi, �� precisamente nas situa��es de emerg�ncia que necessitamos de gente mais especializada�.
-O Santos volta a viver um clima tenso para o pr�ximo jogo, domingo contra o Santo Andr�, em busca da primeira vit�ria no Campeonato Paulista.
-O t�cnico Pepe, irritado com a atua��o do time no empate em 1 a 1 com Ituano anteontem, disse �que est� faltando tranquilidade e talento aos jogadores�.
-Pepe ainda tem esperan�a que o centroavante Guga renove o seu contrato, vencido em 31 de dezembro.
-�Se isso acontecer, tem que ser r�pido, do contr�rio n�o adianta mais�, afirmou.
-Nascido no dia 23 de maio de 1972, em S�o Paulo, Rubens Gon�alves Barrichello come�ou sua carreira automobil�stica no kart, em 81, quando foi vice-campe�o j�nior da capital paulista.
-Em 1989, ap�s ganhar diversos t�tulos paulistas e brasileiros no kart, Barrichello disputou o Campeonato Brasileiro de F�rmula Ford, terminando em quarto lugar.
-A Sunab (Superintend�ncia Nacional de Abastecimento) autuou s�bado duas lojas do ParK Shopping, em Bras�lia.
-Ambas n�o apresentavam pre�os de produtos expostos nas vitrines.
-A multa para lojistas que descumprirem a determina��o pode chegar a R$ 128 mil.
-Segundo Eduardo Lago, superintendente do org�o, j� foram aplicadas 400 multas em todo o pa�s desde o in�cio do m�s.
-A Mercedes-Benz deve instalar a linha de montagem do Swatch, carro compacto com design do fabricante dos rel�gios da marca, em Sarreguemines, cidade do norte da Fran�a.
-A decis�o foi tomada pelo conselho da montadora alem�, na �ltima sexta-feira.
-O an�ncio oficial ser� feito ap�s o dia 20.
-Beckenbauer aconselha o lateral a conversar com o treinador, procurando reverter a situa��o.
-O caso Effenberg, jogador cortado por ter feito gesto obsceno � torcida, tamb�m foi criticado.
-�Foi um ato muito rigoroso.
-�Beckenbauer tem o direito de dizer o que quiser�.
-Rodado no in�cio da d�cada de 50, �poca �urea do macarthismo persegui��o a artistas e intelectuais comunistas ou acusados de simpatizar com essa ideologia liderada pelo senador Joseph McCarthy nos EUA, o filme ganha vers�o para CD-ROM, com direito a um extenso material de refer�ncia.
-Pre�o: US$ 74,71.
-O filme narra uma greve de mineiros em uma cidade do Novo M�xico, nos EUA.
-H� uma trama paralela, com Ramon e Esperanza, casal que ap�s a greve se separa.
-Caso isso ocorresse, eles seriam colocados em liberdade t�o logo chegassem no Canad�.
-Documento do Minist�rio das Rela��es Exteriores do Canad�, obtido pela Folha, d� apoio ao lobby (grupo de press�o) feito pela Embaixada do Canad� junto a senadores e deputados brasileiros para que os canadenses sejam expulsos.
-Segundo o c�nsul, era crescente a press�o do Congresso norte-americano sobre o Departamento de Estado para que se adotasse uma pol�tica id�ntica � do Brasil.
-�Queremos dar um visto por dez anos.
-� mais eficiente do que por apenas quatro anos.
-Estamos sendo for�ados, ao inv�s, a reduzir o prazo para tr�s meses.
-� uma situa��o absurda�, disse Taylor, 49.
-Um jogador que estava nos planos de Pepe era o meia Carlos Alberto Dias, que acabou indo para o Flamengo, j� que a diretoria do Santos vetou o seu nome.
-No momento, Pel�, o maior jogador da hist�ria da equipe, � tamb�m a maior esperan�a de um time forte.
-Durante esta semana, o agora dirigente esteve no Jap�o, em busca de uma empresa que, no futuro, invista no Santos.
-Recentemente, o time firmou um contrato de US$ 50 mil mensais com a Lousano, que vale at� o fim do Campeonato Paulista.
-O aumento das despesas acontece at� mesmo nos minist�rios da Fazenda e do Planejamento, respons�veis pela montagem do Or�amento federal.
-No Minist�rio da Fazenda, as despesas crescer�o de US$ 1,13 bilh�es em 93 para US$ 1,36 bilh�es em 94 (ou mais 20,07%).
-No Planejamento, o crescimento � de 33,19%, elevando as despesas de US$ 87,6 milh�es em 93 para US$ 116,69 milh�es em 94.
-O deputado Aloizio Mercadante (PT/SP) divulgou ontem n�meros do Tesouro sobre a execu��o or�ament�ria de janeiro a novembro de 1993, demonstrando que o governo conseguiu um super�vit operacional de US$ 9,2 bilh�es neste per�odo.
-Embora esteja a quase 40 km do est�dio, o hotel foi escolhido porque est� pr�ximo da California State University, onde o Brasil treinar� durante esta semana.
-A chegada ao hotel foi �s 12h10 (16h10 em Bras�lia).
-Toda a delega��o subiu diretamente para os quartos.
-Os jogadores e Parreira n�o falaram com a imprensa.
-Para estimular a participa��o, a cada dois dias de trabalho as meninas ganham uma boneca.
-A Rep�blica Movimento de Ema�s trabalha h� 20 anos com adolescentes carentes.
-Cheia de energia, a interpreta��o da Orquestra Estadual da Hungria vem amortecida um pouco pela artificialidade da grava��o, de quase 15 anos atr�s, mas compensa a sonoridade de est�dio com o vigor.
-A Sinfonia toda � uma esp�cie de demoniza��o da Nona de Beethoven, que � muito mais seu assunto do que o Fausto de Goethe.
-Nisto tamb�m na resist�ncia e repeti��o de Beethoven Liszt � um foco importante, com reflexos na obra de Tchaikovsky, Scriabin e Strauss.
-N�o poderia haver realiza��o maior para um compositor: substituir Beethoven, ou ter pelo menos a ilus�o de ser um novo ponto de partida.
-Para Simon Franco, 55, presidente da Simon Franco Recursos Humanos, �n�o se pode jogar fora 15 anos de experi�ncia�.
-Segundo ele, Carvalho n�o est� avaliando que pode ampliar seu espectro de op��es sem a necessidade de uma mudan�a radical.
-A reprodu��o assistida est� regulamentada no Brasil desde novembro de 1992, embora sua pr�tica tenha sido iniciada oito anos antes.
-Determinadas pelo Conselho Federal de Medicina (CFM) as normas �ticas foram inspiradas nas de outros pa�ses Estados Unidos, Fran�a e It�lia, por exemplo.
-Mas, como nesses pa�ses, os avan�os nas pesquisas m�dicas tornaram os c�digos de �tica ultrapassados.
-A possibilidade da gravidez p�s-menopausa e o uso de �vulos de fetos abortados (veja texto � p�g. 6) s�o exemplos mais gritantes.
-�Ficaram de fora de nossa regulamenta��o�, disse � Folha Antonio Henrique Pedrosa Neto, diretor do CFM.
-Ele afirmou, no entanto, que pelo menos a �gravidez p�s-menopausa ser� objeto de nova resolu��o�.
-Pol�cia Civil encontrou dois homens amarrados, amorda�ados e de olhos vendados, em um barraco da favela Nova Bras�lia (zona norte).
-Mauro Pereira e Gilson Paulino dos Santos disseram ter sido sequestrados por traficantes, que os teriam confundido com policiais.
-Fiscais do Tribunal Regional Eleitoral e PMs do Batalh�o de Choque foram recebidos a tiros ontem � tarde na Vila do Jo�o, Manguinhos (zona norte do Rio).
-Os fiscais retirar propaganda irregular.
-No tiroteio, morreu Adriano Herculano da Silva, 18.
-O casamento ser� realizado pelo reverendo Onaldo Pereira, 38, ordenado h� oito anos nos Estados Unidos.
-O pastor � respons�vel no Brasil pela Comunidade Pacifista Crist�, fundada na Alemanha em 1708.
-A sele��o brasileira feminina de basquete � a campe� do Torneio Internacional de Basquete, um quadrangular amistoso disputado em Recife (PE) e que contou com a participa��o das sele��es de Cuba, Argentina e Eslov�nia.
-O time comandado pelo t�cnico Miguel �ngelo da Luz ficou com o t�tulo ao derrotar anteontem � noite na final a forte sele��o de Cuba por 115 a 93 (54 a 44 no primeiro tempo).
-A cestinha do jogo foi Hort�ncia, que marcou 38 pontos.
-Al�m da fazenda do Sabi�, participaram do leil�o a Terra Boa e a Mata Velha, tradicionais criadoras de nelore.
-O principal destaque na pista foi a vaca Santya, selecionada para ser doadora em transfer�ncia de embri�es, que foi vendida por 40,2 mil URVs.
-Filha do touro Chummak, ela est� prenha e foi comercializada com uma bezerra ao p�.
-�A Times Square � tamb�m um ponto de encontro e uma alternativa teen�, afirma o diretor da Multiplan.
-Para Spinelli, o espa�o representa uma nova tend�ncia para as �reas de conveni�ncia dos shoppings.
-Paula Toller Isso � uma coisa que a gravadora vinha sugerindo para a gente h� muito tempo.
-Gostamos da id�ia, resolvemos pegar velhos sucessos e fazer neste formato.
-Grava��es ac�sticas se encaixam com o nosso tipo de som.
-Sempre tivemos can��es mais lentas.
-Bruno Fortunato A gente sempre teve m�sicas que d�o para tocar no viol�o.
-A inten��o � louv�vel e esta Folha tem denunciado sempre a ciranda financeira como obst�culo a uma aut�ntica estabiliza��o.
-O momento e a forma escolhidos para mudar o sistema financeiro, entretanto, dependem fortemente de vari�veis pol�ticas.
-Est� em estudo no Minist�rio da Previd�ncia um conjunto de medidas para desestimular o aumento de aposentadorias no pr�ximo ano.
-Elas ser�o oferecidas a Itamar, como alternativa � propalada quebra do caixa previdenci�rio.
-Causou m� impress�o, na quarta, a participa��o do ministro da Justi�a, Alexandre Dupeyrat, na reuni�o que tratou do projeto sobre abuso do poder econ�mico.
-Chegou atrasado, foi duro com seus cr�ticos e saiu antes do fim.
-Em �Olhos de Serpente� (Snake Eyes) de Abel Ferrara, Madonna faz o papel dela mesma: uma falsa atriz, falsa loira, que paga para estar num filme.
-� de longe sua melhor atua��o no cinema.
-Ferrara p�e o excelente Harvey Keitel para interpretar o seu papel: o do diretor que faz da falsa loira uma verdadeira atriz.
-�Olhos de Serpente� � o filme dentro do filme dentro do filme.
-Eddie (Harvey Keitel) dirige a hist�ria de um casal de ricos drogados em crise (Madonna e James Russo).
-Eddie tamb�m est� em crise com sua mulher (interpretada pela mulher de Abel Ferrara) e n�o resiste � tenta��o da atriz, que paga para ele filmar (Madonna � produtora de �Olhos de Serpente�).
-Caso o tetracampe�o seja o Brasil (seja feita a vossa vontade assim na Terra como nos gramados), confirma-se que os �ltimos ser�o os primeiros.
-Vi, num jogo quase inacredit�vel da Copa, o Eire jogar futebol muito melhor do que a It�lia.
-Venceu por 1 a 0.
-J� bastava, para orgulho da Irlanda, que a Inglaterra sequer tivesse chegado � Copa.
-Mas � na Republica Dominicana que o cruzeiro atinge seu ponto alto.
-O navio ancora numa praia, Serena Cay, que se torna exclusiva dos 1.600 passageiros.
-Na areia h� apenas espregui�adeiras, coqueiros e barraquinhas de artesanato.
-O mar � cristalino.
-Quem quiser, vai em excurs�o at� o resort local, Casa de Campo.
-Sem dizer que o seu clube dispensou, humilhantemente, o seu arqueiro Zubizarreta -- depois da derrota para o Milan, 0 a 4, na decis�o da Copa da Europa.
-�Chegamos at� aqui, claro, tamb�m gra�as a Cruyff�.
-S� Salinas discordou dessa posi��o.
-Dos dez cestinhas da atual temporada, apenas um joga fora do garraf�o.
-Dos cinco primeiros artilheiros, quatro s�o superpiv�s.
-Todos eles estar�o esta noite em Minneapolis.
-Chance imperd�vel para aqueles que apreciam enterradas, tocos e a mais primitiva troca de porradas.
-A NBA nem existia e o profissionalismo no esporte apenas engatinhava quando apareceu o primeiro gigante do basquete norte-americano.
-Seu nome: George Mikan.
-Sua virtude: 2,08 m.
-Em torno do gabinete presidencial no Planalto ele quer os dois maiores colaboradores na campanha eleitoral: o amigo, empres�rio e secret�rio-geral do PSDB S�rgio Motta e o ex-reitor da Unicamp e coordenador do programa de governo Paulo Renato de Souza.
-Cardoso diz que a frente para sua elei��o foi formada exclusivamente em torno de um programa.
-�O n�mero � mais alarmante se pensarmos que daria para abastecer toda a popula��o brasileira por oito meses�, diz Dalmo Rosalen, da Secretaria do Meio Ambiente.
-H� cidades que enfrentam programas de racionamento de �gua.
-Um exemplo � a bacia do Vale do Piracicaba (a 170 quil�metros a noroeste de S�o Paulo).
-Flach Hoje est�o estabelecidas penas de pris�o, mesmo que eventualmente n�o sejam cumpridas ou sejam convertidas em presta��o de servi�os � comunidade.
-Mas eu imagino que deveria se dotar, pelo menos o Judici�rio, de medidas que possibilitassem a concess�o do perd�o judicial.
-Folha -- O senhor acha que o usu�rio � quest�o de sa�de, de educa��o ou de pol�cia?
-Flach No terreno das id�ias, eu priorizo como uma quest�o de educa��o e de sa�de.
-Eu estou muito preocupado em estimular as atividades preventivas.
-Nossa preocupa��o � um projeto que estimule no jovem uma vida sem drogas, promovendo-se um comportamento construtivo.
-A espanhola Arantxa Sanchez, tenista com mlehor desempenho nesta temporada, foi eliminada na primeira rodad do Virginia Slims Masters em Nova York, que re�ne as 16 melhores jogadoras do ano.
-Sanchez, n� 2 do ranking mundial, perdeu num jogo dram�tico para a francesa Julie Halard por 6/2, 1/6 e 7/6, com 7/2 no tie-break decisivo.
-Na 22� posi��o do ranking, Halard foi empurrada pelo p�blico no Madison Square Garden.
-�Se for uma greve s� por grevismo, da� prejudica a quem � favor�vel a isso.
-A�, poderia afetar o Lula, n�o a mim�, disse FHC.
-O candidato tucano a presidente deu essa declara��o ontem � tarde, depois de discursar para cerca de 550 empres�rios na hora do almo�o (leia texto nesta p�gina).
-A PMD (psicose man�aco-depressiva) � uma doen�a psiqui�trica que leva a uma altera��o abrupta do comportamento.
-As pessoas com PMD oscilam entre dois p�los.
-T�m fases de depress�o e de euforia (mania).
-Nem todos passam pelas duas fases.
-Os irm�os Osny Silveira Neto e Guilherme Silveira abrem hoje o bar Hor�cio no Itaim.
-Jos� Arthur Giannotti, Marilena Chaui, Gloria Kalil e Jorge da Cunha Lima faziam parte de plat�ia-cabe�a que acompanhou anteontem no Masp a palestra de Claude Lefort apresentado por S�rgio Cardoso.
-Essa �poca marca a forma��o da base da moral samurai, resultado da disciplina f�sica e mental do zen-budismo, dos ditames do confuncionismo e do esp�rito militarista reinante.
-Os EUA entram na vida japonesa em meados do s�culo 19, quando obrigam o �shogun� a assinar um tratado de com�rcio.
-Esse sinal de fraqueza associado a crises internas levam � queda do sistema em 1867.
-Um ano depois, a capital passa a ser T�quio.
-A hidrogin�stica � uma alternativa para quem n�o tem acompanhante.
-A professora Cl�udia Morgado, 25, da academia Competition, recomenda exerc�cios leves, como a corrida.
-�O importante � levantar bem o joelho, manter o ritmo e encostar o calcanhar no ch�o a cada movimento�, diz.
-�Primeiro foi uma oportunidade de esclarecer muitos pontos que eu n�o conhecia antes.
-Mesmo entendendo suas explica��es sobre o programa de governo, entendo que ele tinha que ter um programa de governo, que vai dar um meio de cobrar depois.
-Um programa � um planejamento para se atingir certas metas.
-A falta de um programa poderia dar a impress�o de n�o ter metas.
-�Gostei da sua posi��o sobre a religi�o.
-Mesmo criticado, ele defende sua posi��o claramente em favor dos evang�licos e de seu ponto de vista religioso.
-Em muitos momentos ele simplesmente deixou de se posicionar.
-Talvez ele n�o tenha id�ias elaboradas sobre os problemas do Estado.
-�Ele foi mais direto, mais atacante, deu respostas mais profundas e melhores.
-Minha expectativa n�o foi atendida em v�rios pontos.
-Redes, multim�dia, sistemas operacionais ou inform�tica na educa��o.
-Esses s�o alguns dos temas que estar�o sendo discutidos no Congresso da Fenasoft, promovido paralelamente � feira.
-O congresso � dividido em tr�s temas, com o objetivo de atender de profissionais de inform�tica a executivos e empres�rios interessados em novas tecnologias, pasando pelo usu�rio final.
-O t�cnico da Holanda, Dick Advocaat, disse que sua preocupa��o � anular o esquema defensivo da Irlanda.
-Ele afirmou que pretende refor�ar seu meio-campo, mas n�o adiantou a escala��o da equipe.
-Folha -- O senhor foi indiciado em inqu�rito da Pol�cia Federal por manipula��o de arbitragem, estelionato e forma��o de quadrilha.
-O senhor teme ser condenado?
-Miranda -- Em rela��o a mim isso n�o vai dar absolutamente em nada.
-N�o sei em rela��o a os outros indiciados.
-Me indiciaram precipitadamente, a�odadamente.
-� coisa orquestrada, dirigida.
-Com prega��es que duram at� dois minutos.
-Os candidatos da Bahia est�o encontrando certa dificuldade em contratar cantores para animar suas campanhas.
-O maior aumento aconteceu em direito (mais 366 candidatos) e a maior queda, em engenharia (menos 980).
-O curso que mais cresceu foi odontologia na USP em Bauru 83,5%.
-O n�mero total de candidatos no vestibular caiu em rela��o ao ano passado.
-De 140.518 inscritos, a Fuvest registrou 139.369.
-A inten��o de Fleury � vender as a��es para equilibrar as finan�as e come�ar a pagar a d�vida do Estado, estimada em R$ 31 bilh�es.
-Segundo a assessoria de imprensa do governador, Fleury j� pediu um levantamento de pre�o das a��es, junto a consultores especializados, para estabelecer o valor m�nimo das a��es, que v�o ser levadas a leil�o.
-O ministro da Fazenda, Rubens Ricupero, disse que o resultado do IPC-r �n�o � uma surpresa�.
-Ele explicou que o �ndice foi calculado do dia 16 de junho (ainda sobre cruzeiros reais) ao dia 14 deste m�s.
-O IPC-r de julho, segundo o ministro, �tem muito pouco da nova moeda�.
-�Normalmente n�s utilizamos dados hist�ricos sobre a produtividade em cada regi�o, al�m de informa��es de agricultores�, diz.
-Segundo Formaggio, est�o em estudo outras formas de obter a produtividade das culturas.
-Ele estima em dez horas o tempo necess�rio para classificar as �reas e culturas plantadas em uma extens�o de 180 quil�metros.
-O prefeito de Juazeiro, Manoel Salviano (PSDB), disse que qualquer funcion�rio que tenha participado da recep��o �foi espontaneamente, sem nenhuma press�o da prefeitura�.
-Acompanhada de Renata Queir�z, mulher do candidato do PSDB ao governo do Cear�, Tasso Jereissati, e de Patr�cia Gomes, mulher do ministro da Fazenda, Ciro Gomes, Ruth Cardoso visitou tr�s cidades cearenses antes de Juazeiro.
-Entre as mais de 140 participantes da feira, estavam presentes companhias como a Xerox, Kodak, QMS, Digital e Pennant, empresa da IBM para a �rea de impress�o.
-A Kodak, por exemplo, apresentou as impressoras/copiadoras ColorEdge 1.560 e 1.565, capazes de copiar em cores frente e verso de documentos de v�rias p�ginas.
-Podem produzir pequenas brochuras, mala direta, folhetos, realizando at� sete impress�es por minuto.
-Kim E sobre como eu fiquei totalmente nua o tempo todo.
-Assista ao filme de novo: voc� n�o vai me ver completamente nua a n�o ser numa cena, no final do strip tease.
-E por tr�s ...
-Est� tudo na sua cabe�a.
-Como quando eu conheci Alec.
-Jurava que ele usava um chap�u de cowboy.
-Alec Nunca usei um chap�u daqueles na vida!
-Nasci em Lono Island.
-O que um chap�u de cowboy estaria fazendo ali?
-Apesar de haver anunciado que o treino da Bulg�ria seria aberto ao p�blico, os dirigentes mudaram de id�ia pouco antes do in�cio do treinamento e proibiram a presen�a de torcedores no campo da Southern Methodist University, em Dallas.
-Os dirigentes da sele��o pediram aos seguran�as da universidade que afastassem o p�blico, composto em sua maior parte por jovens, que j� se preparava para acompanhar os treinos.
-� noite, o projeto prev� aulas de alfabetiza��o para jovens de 14 a 22 anos nos Cieps.
-Na elei��o de 89, Leonel Brizola prometia a constru��o de 10 mil Cieps.
-No projeto n�o h� defini��o de quantos podem ser constru�dos.
-O custo m�dio de cada um dos Cieps no Rio de Janeiro foi de cerca de US$ 1 milh�o.
-�Nossa preocupa��o � promover o desenvolvimento.
-E como n�o h� crescimento sem educa��o, a causa das causas para n�s � a eleva��o do n�vel educacional do povo brasileiro.
-Claro sem descuidar de tudo mais, mas vendo com clareza a quest�o das prioridades�, declara Brizola.
-Em Manaus, o representante da fam�lia Gra�a � Manuel Tavares da Gra�a, candidato derrotado a deputado estadual pelo PP.
-Paix�o � irm�o de Jos� Tavares da Gra�a, preso em agosto de 93 em Bel�m (PA) com 435 quilos de coca�na.
-� tamb�m primo de Curica e de Floriano Gra�a.
-Fui procurado pelos ladr�es para comprar a carga.
-Fomos eu, o Violim, e os investigadores Gilberto Brito, Euripedes Tozzo, Mauro, Marc�o e o Adner.
-Prenderam todos e apreenderam a mercadoria.
-Eles desviaram quatro toneladas da carga.
-Quatro Kombis foram para o Deic.
-S� isso foi devolvido para a Riachuelo.
-No realismo moderno de John Cassavettes (1929-89), por exemplo, o ator constru�a o personagem em tempo real diante da c�mera, baseado no improviso.
-Cada hesita��o, cada sil�ncio, cada desvio do olhar era um ganho na contabilidade do sublime que o diretor-autor planejava.
-Na semana passada, o jogador Buchwald criticou a escala��o de Matthaeus como l�bero, pedindo que ele jogasse no meio-campo.
-O t�cnico da Cor�ia, Kim Ho, afirmou que, no primeiro tempo, a equipe estava �intimidada pela Alemanha, o que � natural, pois eles s�o campe�es do mundo�.
-O secret�rio-geral do Conselho de Seguran�a da ONU, Boutros Boutros-Ghali, pediu que as pot�ncias que negociam um tratado de paz com as fac��es em luta na B�snia formem uma for�a-tarefa para agir na regi�o.
-Boutros-Ghali teme que as pot�ncias se retirem e suspendam san��es contra a S�rvia pondo em risco outras partes da ex-Iugosl�via se o plano for aceito.
-Folha -- Qual o segredo da vit�ria?
-Gilbert -- Acho que Andre usou essa mesma press�o a seu favor.
-Ele funciona desse jeito.
-Se voc� bate nele, o revide vem forte, pode apostar.
-Alguns tenistas s�o assim, usam sua carga emocional como combust�vel.
-Haver� mais e melhores escolas, laborat�rios, universidades e bolsas de estudo.
-Pequenas e m�dias empresas, For�as Armadas, deficientes f�sicos e artistas ter�o apoio e recursos.
-Segundo FHC, o Brasil possui esses recursos, muitos de eles naturais, e vantagens comparativas para realizar essas metas.
-Segundo ele, o tubo era independente do sistema de propuls�o do submarino e o vapor que escapou n�o � radiativo.
-O Emeraude n�o carrega armamento nuclear.
-A energia nuclear � usada s� para movimentar a embarca��o.
-Entre cada parte do submarino h� isolamento, evitando que acidentes numa parte atinjam as outras.
-O rela��es p�blicas da corpora��o, tenente-coronel Fernando Belo, disse que o encontro foi uma oportunidade para agradecer e elogiar a colabora��o da PM.
-Belo negou que na reuni�o tenha sido discutida a incorpora��o aos quadros da PM de cerca de 2.000 soldados do Ex�rcito.
-A possibilidade foi levantada em encontro do governador eleito, Marcello Alencar (PSDB), com oficiais do CML.
-As emissoras se negaram a se retratar e o juiz amea�ou �terminar com a cobertura do julgamento�, sem especificar como.
-Ito pode anunciar hoje que a transmiss�o est� proibida.
-A lei do Estado da Calif�rnia d� ao juiz de cada caso autoridade para impedir a presen�a de c�maras no tribunal se achar que ela prejudica a Justi�a.
-ANGOLA, UMA TRAG�DIA ESQUECIDA -- O fot�grafo Andr� Penner exp�e 29 fotos coloridas que retratam o cotidiano da guerra civil em Angola.
-Abertura hoje �s 19h30.
-Seg a sex das 9h30 �s 18h30.
-Pre�o das fotos: US$ 300.
-At� 17 de junho.
-BASTIDORES DOS MUSEUS -- O trabalho feito pelos fot�grafos Eduardo Castanho, Saul Queiroz, Rog�rio Voltan, Ricardo Hantzchel, Fausto Chermont e Eliana Lopes retrata o que as pessoas n�o v�em ao visitar um museu.
-Na Anhanguera, que une S�o Paulo a Ribeir�o Preto, costuma haver neblina pesada entre o km 21 e o km 43, tamb�m perto de Perus e Cajamar.
-Isto ocorre principalmente � noite e a visibilidade pode chegar a zero.
-A Rodovia Castelo Branco, que segue para o oeste do Estado, apresenta v�rios pontos com neblina.
-O mais perigoso � na regi�o da Serra das Conchas, entre o km 129 e o km 162, logo ap�s Tatu�, para quem vai para o interior.
-O paulistano n�o acredita em queda de infla��o nos pr�ximos meses.
-O �ndice deve aumentar, segundo 45% dos entrevistados pelo DataFolha.
-A impress�o de que o �ndice de alta dos pre�os cai se restringe a 27% das respostas.
-Tudo fica como est� na opini�o de 23%, enquanto 5% n�o sabem responder.
-A derrota (1 a 0) para a fraca sele��o dos Estados Unidos conturbou o ambiente da sele��o mexicana.
-Um grupo de torcedores arremessou ovos podres e insultos contra o time, na volta para a Cidade do M�xico na noite de domingo passado.
-�Nascidos para perder�.
-Segundo a ag�ncia de noticias Notimex, a rea��o pode ser uma amostra de que como vai reagir a torcida se o M�xico n�o se classificar para a segunda fase da Copa.
-�Adoraria ser candidata.
-Tenho certeza de que se pudesse concorrer a algum cargo, me elegeria.
-Eu adoro pol�tica�, confessa Mercedes Rossi de Almeida, 73, a m�e do candidato ao governo de S�o Paulo Francisco Rossi (PDT).
-O painel vai funcionar das 8h �s 22h.
-O p�blico alvo s�o os tr�s milh�es de pedestres que circulam diariamente na regi�o.
-Empresa funciona das 9h �s 19h, diariamente.
-Na Samp, dois titulares est�o fora de combate: o zagueiro Marco Rossi e o armador s�rvio Jugovic.
-Pior, o mister sueco Sven-Goran Eriksson tamb�m n�o poder� contar com o garoto Bertarelli, contratura na coxa direita.
-Retorna ao banco o bom volante eslov�nio Katanec.
-E, depois de uma semana com gripe, recupera a sua forma o holand�s Ruud Gullit, artilheiro do time com 14 tentos.
-Na terceira coloca��o, 34 pontos, a Juventus de Turim visita o Genoa, 22, no limiar do rebaixamento.
-A Juve vive a transi��o para uma nova temporada.
-Acabou-se a gest�o do ex-craque Giampiero Boniperti na administra��o do clube.
-Em seu lugar, vai assumindo um outro ex-atleta, Roberto Bettega.
-Com Boniperti se despede o t�cnico Giovanni Trapattoni, que ceder� o posto a Marcello Lippi, hoje no Napoli.
-A torcida da �Senhora� se conforta com a melhora de Roberto Baggio, que n�o ter� de operar o joelho.
-O projeto vem sendo implementado, em car�ter experimental, em tr�s escolas: Morumbi, Visconde de Porto Seguro (particulares) e Godofredo Furtado (estadual).
-�O programa ter� a��o integrada com pais e alunos atrav�s da forma��o de grupos de informa��o�, diz Antonio Carlos Gomes da Silva, superintendente do HC.
-4) A realiza��o no Cairo (Egito) da Confer�ncia Internacional sobre Popula��o e Desenvolvimento da ONU tem como maior objetivo a divulga��o mundial de pol�ticas para o controle de natalidade como forma de redu��o da pobreza.
-A popula��o mundial est� em torno de 5,66 bilh�es.
-VERA L�CIA DA COSTA ANTUNES � coordenadora de geografia do curso e col�gio Objetivo.
-Com a determina��o da Justi�a, os empregados ficam impedidos de fazer o pagamento das a��es.
-O chefe da ger�ncia jur�dica do BNDES, em S�o Paulo, Arnaldo Montenegro, 43 disse que ser� impetrada uma a��o de agravo de instrumento com pedido de reconsidera��o ao juiz Andrade Martins.
-O banco n�o informou porque o sigilo n�o foi mantido tamb�m para os grupos estrangeiros.
-A rela��o entre os dois piorou quando Fishel arranjou uma amante, no final dos anos 80.
-Ele teria deixado a mulher e trazido a amante para Roma.
-�V�rias vezes os dois foram pegos fazendo amor na minha cl�nica.
-Eu tolerei pois n�o quis me intrometer na vida privada dos meus funcion�rios�, disse Antinori, para quem Fishel era um excelente t�cnico.
-�Era um miser�vel quando chegou.
-Em poucos anos ganhou mais de US$ 1 milh�o�.
-Ap�s v�rias diverg�ncias com Fishel, Antinori o demitiu em 1990.
-Nessa �poca, Fishel teria conhecido o ginecologista brit�nico Robert Winston, a quem convidou para um encontro cient�fico promovido por Antinori.
-O cineasta italiano Franco Zefirelli revelou que, para iludir o servi�o militar durante o per�odo fascista, se tornou um partisan e acabou matando um soldado alem�o.
-As sinaliza��es que tem dado o presidente eleito, Fernando Henrique Cardoso, sobre a reforma patrimonial do Estado s�o auspiciosas.
-Mas � tamb�m preciso a sociedade mobilizar-se para sensibilizar o futuro Congresso Nacional na promo��o de reformas constitucionais indispens�veis ao �xito das mudan�as pretendidas.
-O patrim�nio p�blico n�o � fetiche a ser adorado e sim bem a ser utilizado principalmente em favor de quem n�o tem acesso a escolas, nem � assist�ncia m�dica, nem a empregos.
-Abram Szajman, 58, � presidente da Federa��o do Com�rcio do Estado de S�o Paulo e do Conselho Deliberatico do Sebrae-SP (Servi�o Brasileiro de Apoio �s Micro e Pequenas Empresas).
-Al�m de Mauro Salles que surpreendeu a galera ao revelar seu c�t� de fot�grafo profissional no �nico da carreira, o foco principal do encontro foi a mulher de J.R.Duran, Alexandra Brochen.
diff --git a/nltk/test/gluesemantics.doctest b/nltk/test/gluesemantics.doctest
index 1aa111e..814a231 100644
--- a/nltk/test/gluesemantics.doctest
+++ b/nltk/test/gluesemantics.doctest
@@ -5,7 +5,7 @@
Glue Semantics
==============================================================================
-.. include:: ../../doc/definitions.rst
+.. include:: ../../../nltk_book/definitions.rst
======================
@@ -17,40 +17,40 @@ Linear logic
>>> from nltk.sem.linearlogic import *
>>> from nltk.sem.linearlogic import Expression
- >>> llexpr = Expression.fromstring
+ >>> read_expr = Expression.fromstring
Parser
- >>> print(llexpr(r'f'))
+ >>> print(read_expr(r'f'))
f
- >>> print(llexpr(r'(g -o f)'))
+ >>> print(read_expr(r'(g -o f)'))
(g -o f)
- >>> print(llexpr(r'(g -o (h -o f))'))
+ >>> print(read_expr(r'(g -o (h -o f))'))
(g -o (h -o f))
- >>> print(llexpr(r'((g -o G) -o G)'))
+ >>> print(read_expr(r'((g -o G) -o G)'))
((g -o G) -o G)
- >>> print(llexpr(r'(g -o f)(g)'))
+ >>> print(read_expr(r'(g -o f)(g)'))
(g -o f)(g)
- >>> print(llexpr(r'((g -o G) -o G)((g -o f))'))
+ >>> print(read_expr(r'((g -o G) -o G)((g -o f))'))
((g -o G) -o G)((g -o f))
Simplify
- >>> print(llexpr(r'f').simplify())
+ >>> print(read_expr(r'f').simplify())
f
- >>> print(llexpr(r'(g -o f)').simplify())
+ >>> print(read_expr(r'(g -o f)').simplify())
(g -o f)
- >>> print(llexpr(r'((g -o G) -o G)').simplify())
+ >>> print(read_expr(r'((g -o G) -o G)').simplify())
((g -o G) -o G)
- >>> print(llexpr(r'(g -o f)(g)').simplify())
+ >>> print(read_expr(r'(g -o f)(g)').simplify())
f
- >>> try: llexpr(r'(g -o f)(f)').simplify()
+ >>> try: read_expr(r'(g -o f)(f)').simplify()
... except LinearLogicApplicationException as e: print(e)
...
Cannot apply (g -o f) to f. Cannot unify g with f given {}
- >>> print(llexpr(r'(G -o f)(g)').simplify())
+ >>> print(read_expr(r'(G -o f)(g)').simplify())
f
- >>> print(llexpr(r'((g -o G) -o G)((g -o f))').simplify())
+ >>> print(read_expr(r'((g -o G) -o G)((g -o f))').simplify())
f
Test BindingDict
@@ -121,11 +121,11 @@ Test Unify
Test Compile
- >>> print(llexpr('g').compile_pos(Counter(), GlueFormula))
+ >>> print(read_expr('g').compile_pos(Counter(), GlueFormula))
(<ConstantExpression g>, [])
- >>> print(llexpr('(g -o f)').compile_pos(Counter(), GlueFormula))
+ >>> print(read_expr('(g -o f)').compile_pos(Counter(), GlueFormula))
(<ImpExpression (g -o f)>, [])
- >>> print(llexpr('(g -o (h -o f))').compile_pos(Counter(), GlueFormula))
+ >>> print(read_expr('(g -o (h -o f))').compile_pos(Counter(), GlueFormula))
(<ImpExpression (g -o (h -o f))>, [])
diff --git a/nltk/test/inference.doctest b/nltk/test/inference.doctest
index 08d5df2..edb5f88 100644
--- a/nltk/test/inference.doctest
+++ b/nltk/test/inference.doctest
@@ -35,10 +35,11 @@ included with NLTK: ``Prover9``, ``TableauProver``, and
``ResolutionProver``. The first is an off-the-shelf prover, while the other
two are written in Python and included in the ``nltk.inference`` package.
- >>> lp = LogicParser()
- >>> p1 = lp.parse('man(socrates)')
- >>> p2 = lp.parse('all x.(man(x) -> mortal(x))')
- >>> c = lp.parse('mortal(socrates)')
+ >>> from nltk.sem import Expression
+ >>> read_expr = Expression.fromstring
+ >>> p1 = read_expr('man(socrates)')
+ >>> p2 = read_expr('all x.(man(x) -> mortal(x))')
+ >>> c = read_expr('mortal(socrates)')
>>> Prover9().prove(c, [p1,p2])
True
>>> TableauProver().prove(c, [p1,p2])
@@ -105,7 +106,7 @@ The assumptions and goal may be accessed using the ``assumptions()`` and
``goal()`` methods, respectively.
>>> prover.assumptions()
- [<ApplicationExpression man(socrates)>, <AllExpression all x.(man(x) -> mortal(x))>]
+ [<ApplicationExpression man(socrates)>, <Alread_expression all x.(man(x) -> mortal(x))>]
>>> prover.goal()
<ApplicationExpression mortal(socrates)>
@@ -116,7 +117,7 @@ proof, the stored result is cleared when either of these methods are called.
That means that ``proof()`` will be unavailable until ``prove()`` is called and
a call to ``prove()`` will execute the theorem prover.
- >>> prover.retract_assumptions([lp.parse('man(socrates)')])
+ >>> prover.retract_assumptions([read_expr('man(socrates)')])
>>> print(prover.proof()) # doctest: +ELLIPSIS
Traceback (most recent call last):
File "...", line 1212, in __run
@@ -132,7 +133,7 @@ a call to ``prove()`` will execute the theorem prover.
[2] {-man(z6), mortal(z6)} A
[3] {-man(socrates)} (1, 2)
<BLANKLINE>
- >>> prover.add_assumptions([lp.parse('man(socrates)')])
+ >>> prover.add_assumptions([read_expr('man(socrates)')])
>>> prover.prove()
True
@@ -199,7 +200,7 @@ initialized with a proof goal and, possibly, some assumptions. The
``prove()`` method attempts to find a proof of the goal, given the
list of assumptions (in this case, none).
- >>> goal = lp.parse('(man(x) <-> --man(x))')
+ >>> goal = read_expr('(man(x) <-> --man(x))')
>>> prover = Prover9Command(goal)
>>> prover.prove()
True
@@ -237,8 +238,8 @@ provided by Prover9, shown in abbreviated form here::
As mentioned earlier, we may want to list some assumptions for
the proof, as shown here.
- >>> g = lp.parse('mortal(socrates)')
- >>> a1 = lp.parse('all x.(man(x) -> mortal(x))')
+ >>> g = read_expr('mortal(socrates)')
+ >>> a1 = read_expr('all x.(man(x) -> mortal(x))')
>>> prover = Prover9Command(g, assumptions=[a1])
>>> prover.print_assumptions()
all x.(man(x) -> mortal(x))
@@ -250,7 +251,7 @@ However, the assumptions are not sufficient to derive the goal:
So let's add another assumption:
- >>> a2 = lp.parse('man(socrates)')
+ >>> a2 = read_expr('man(socrates)')
>>> prover.add_assumptions([a2])
>>> prover.print_assumptions()
all x.(man(x) -> mortal(x))
@@ -279,7 +280,7 @@ Assumptions can be retracted from the list of assumptions.
Statements can be loaded from a file and parsed. We can then add these
statements as new assumptions.
- >>> g = lp.parse('all x.(boxer(x) -> -boxerdog(x))')
+ >>> g = read_expr('all x.(boxer(x) -> -boxerdog(x))')
>>> prover = Prover9Command(g)
>>> prover.prove()
False
@@ -340,8 +341,8 @@ two Expressions have the same meaning.
The ``equiv()`` method calls a theorem prover to determine whether two
Expressions are logically equivalent.
- >>> a = lp.parse(r'exists x.(man(x) & walks(x))')
- >>> b = lp.parse(r'exists x.(walks(x) & man(x))')
+ >>> a = read_expr(r'exists x.(man(x) & walks(x))')
+ >>> b = read_expr(r'exists x.(walks(x) & man(x))')
>>> print(a.equiv(b))
True
@@ -373,9 +374,9 @@ Thus, the following interaction shows how both ``{a, c1}`` and ``{a, c2}``
are consistent sets, since Mace succeeds in a building a
model for each of them, while ``{c1, c2}`` is inconsistent.
- >>> a3 = lp.parse('exists x.(man(x) and walks(x))')
- >>> c1 = lp.parse('mortal(socrates)')
- >>> c2 = lp.parse('-mortal(socrates)')
+ >>> a3 = read_expr('exists x.(man(x) and walks(x))')
+ >>> c1 = read_expr('mortal(socrates)')
+ >>> c2 = read_expr('-mortal(socrates)')
>>> mace = Mace()
>>> print(mace.build_model(None, [a3, c1]))
True
@@ -400,10 +401,10 @@ the goal. That is, it succeeds in finding a model
where there is a woman that every man loves; Adam is a man; Eve is a
woman; but Adam does not love Eve.
- >>> a4 = lp.parse('exists y. (woman(y) & all x. (man(x) -> love(x,y)))')
- >>> a5 = lp.parse('man(adam)')
- >>> a6 = lp.parse('woman(eve)')
- >>> g = lp.parse('love(adam,eve)')
+ >>> a4 = read_expr('exists y. (woman(y) & all x. (man(x) -> love(x,y)))')
+ >>> a5 = read_expr('man(adam)')
+ >>> a6 = read_expr('woman(eve)')
+ >>> g = read_expr('love(adam,eve)')
>>> print(mace.build_model(g, [a4, a5, a6]))
True
@@ -412,9 +413,9 @@ the goal. Mace will continue to look for models of ever-increasing sizes
until the end_size number is reached. By default, end_size is 500,
but it can be set manually for quicker response time.
- >>> a7 = lp.parse('all x.(man(x) -> mortal(x))')
- >>> a8 = lp.parse('man(socrates)')
- >>> g2 = lp.parse('mortal(socrates)')
+ >>> a7 = read_expr('all x.(man(x) -> mortal(x))')
+ >>> a8 = read_expr('man(socrates)')
+ >>> g2 = read_expr('mortal(socrates)')
>>> print(Mace(end_size=50).build_model(g2, [a7, a8]))
False
@@ -439,7 +440,7 @@ Using Mace4
Check whether Mace4 can find a model.
- >>> a = lp.parse('(see(mary,john) & -(mary = john))')
+ >>> a = read_expr('(see(mary,john) & -(mary = john))')
>>> mb = MaceCommand(assumptions=[a])
>>> mb.build_model()
True
@@ -522,8 +523,8 @@ Adam doesn't love Eve.
Mace can also be used with propositional logic.
- >>> p = lp.parse('P')
- >>> q = lp.parse('Q')
+ >>> p = read_expr('P')
+ >>> q = read_expr('Q')
>>> mb = MaceCommand(q, [p, p>-q])
>>> mb.build_model()
True
diff --git a/nltk/test/logic.doctest b/nltk/test/logic.doctest
index 2e32a60..5ec455a 100644
--- a/nltk/test/logic.doctest
+++ b/nltk/test/logic.doctest
@@ -41,12 +41,12 @@ Untyped Logic
Process logical expressions conveniently:
- >>> lexpr = Expression.fromstring
+ >>> read_expr = Expression.fromstring
Test for equality under alpha-conversion
========================================
- >>> e1 = lexpr('exists x.P(x)')
+ >>> e1 = read_expr('exists x.P(x)')
>>> print(e1)
exists x.P(x)
>>> e2 = e1.alpha_convert(Variable('z'))
@@ -56,23 +56,23 @@ Test for equality under alpha-conversion
True
- >>> l = lexpr(r'\X.\X.X(X)(1)').simplify()
- >>> id = lexpr(r'\X.X(X)')
+ >>> l = read_expr(r'\X.\X.X(X)(1)').simplify()
+ >>> id = read_expr(r'\X.X(X)')
>>> l == id
True
Test numerals
=============
- >>> zero = lexpr(r'\F x.x')
- >>> one = lexpr(r'\F x.F(x)')
- >>> two = lexpr(r'\F x.F(F(x))')
- >>> three = lexpr(r'\F x.F(F(F(x)))')
- >>> four = lexpr(r'\F x.F(F(F(F(x))))')
- >>> succ = lexpr(r'\N F x.F(N(F,x))')
- >>> plus = lexpr(r'\M N F x.M(F,N(F,x))')
- >>> mult = lexpr(r'\M N F.M(N(F))')
- >>> pred = lexpr(r'\N F x.(N(\G H.H(G(F)))(\u.x)(\u.u))')
+ >>> zero = read_expr(r'\F x.x')
+ >>> one = read_expr(r'\F x.F(x)')
+ >>> two = read_expr(r'\F x.F(F(x))')
+ >>> three = read_expr(r'\F x.F(F(F(x)))')
+ >>> four = read_expr(r'\F x.F(F(F(F(x))))')
+ >>> succ = read_expr(r'\N F x.F(N(F,x))')
+ >>> plus = read_expr(r'\M N F x.M(F,N(F,x))')
+ >>> mult = read_expr(r'\M N F.M(N(F))')
+ >>> pred = read_expr(r'\N F x.(N(\G H.H(G(F)))(\u.x)(\u.u))')
>>> v1 = ApplicationExpression(succ, zero).simplify()
>>> v1 == one
True
@@ -100,9 +100,9 @@ Overloaded operators also exist, for convenience.
>>> print(pred(pred(four)).simplify() == two)
True
- >>> john = lexpr(r'john')
- >>> man = lexpr(r'\x.man(x)')
- >>> walk = lexpr(r'\x.walk(x)')
+ >>> john = read_expr(r'john')
+ >>> man = read_expr(r'\x.man(x)')
+ >>> walk = read_expr(r'\x.walk(x)')
>>> man(john).simplify()
<ApplicationExpression man(john)>
>>> print(-walk(john).simplify())
@@ -131,225 +131,225 @@ Python's built-in lambda operator can also be used with Expressions
Tests based on Blackburn & Bos' book, *Representation and Inference
for Natural Language*.
- >>> x1 = lexpr(r'\P.P(mia)(\x.walk(x))').simplify()
- >>> x2 = lexpr(r'walk(mia)').simplify()
+ >>> x1 = read_expr(r'\P.P(mia)(\x.walk(x))').simplify()
+ >>> x2 = read_expr(r'walk(mia)').simplify()
>>> x1 == x2
True
- >>> x1 = lexpr(r'exists x.(man(x) & ((\P.exists x.(woman(x) & P(x)))(\y.love(x,y))))').simplify()
- >>> x2 = lexpr(r'exists x.(man(x) & exists y.(woman(y) & love(x,y)))').simplify()
+ >>> x1 = read_expr(r'exists x.(man(x) & ((\P.exists x.(woman(x) & P(x)))(\y.love(x,y))))').simplify()
+ >>> x2 = read_expr(r'exists x.(man(x) & exists y.(woman(y) & love(x,y)))').simplify()
>>> x1 == x2
True
- >>> x1 = lexpr(r'\a.sleep(a)(mia)').simplify()
- >>> x2 = lexpr(r'sleep(mia)').simplify()
+ >>> x1 = read_expr(r'\a.sleep(a)(mia)').simplify()
+ >>> x2 = read_expr(r'sleep(mia)').simplify()
>>> x1 == x2
True
- >>> x1 = lexpr(r'\a.\b.like(b,a)(mia)').simplify()
- >>> x2 = lexpr(r'\b.like(b,mia)').simplify()
+ >>> x1 = read_expr(r'\a.\b.like(b,a)(mia)').simplify()
+ >>> x2 = read_expr(r'\b.like(b,mia)').simplify()
>>> x1 == x2
True
- >>> x1 = lexpr(r'\a.(\b.like(b,a)(vincent))').simplify()
- >>> x2 = lexpr(r'\a.like(vincent,a)').simplify()
+ >>> x1 = read_expr(r'\a.(\b.like(b,a)(vincent))').simplify()
+ >>> x2 = read_expr(r'\a.like(vincent,a)').simplify()
>>> x1 == x2
True
- >>> x1 = lexpr(r'\a.((\b.like(b,a)(vincent)) & sleep(a))').simplify()
- >>> x2 = lexpr(r'\a.(like(vincent,a) & sleep(a))').simplify()
+ >>> x1 = read_expr(r'\a.((\b.like(b,a)(vincent)) & sleep(a))').simplify()
+ >>> x2 = read_expr(r'\a.(like(vincent,a) & sleep(a))').simplify()
>>> x1 == x2
True
- >>> x1 = lexpr(r'(\a.\b.like(b,a)(mia)(vincent))').simplify()
- >>> x2 = lexpr(r'like(vincent,mia)').simplify()
+ >>> x1 = read_expr(r'(\a.\b.like(b,a)(mia)(vincent))').simplify()
+ >>> x2 = read_expr(r'like(vincent,mia)').simplify()
>>> x1 == x2
True
- >>> x1 = lexpr(r'P((\a.sleep(a)(vincent)))').simplify()
- >>> x2 = lexpr(r'P(sleep(vincent))').simplify()
+ >>> x1 = read_expr(r'P((\a.sleep(a)(vincent)))').simplify()
+ >>> x2 = read_expr(r'P(sleep(vincent))').simplify()
>>> x1 == x2
True
- >>> x1 = lexpr(r'\A.A((\b.sleep(b)(vincent)))').simplify()
- >>> x2 = lexpr(r'\A.A(sleep(vincent))').simplify()
+ >>> x1 = read_expr(r'\A.A((\b.sleep(b)(vincent)))').simplify()
+ >>> x2 = read_expr(r'\A.A(sleep(vincent))').simplify()
>>> x1 == x2
True
- >>> x1 = lexpr(r'\A.A(sleep(vincent))').simplify()
- >>> x2 = lexpr(r'\A.A(sleep(vincent))').simplify()
+ >>> x1 = read_expr(r'\A.A(sleep(vincent))').simplify()
+ >>> x2 = read_expr(r'\A.A(sleep(vincent))').simplify()
>>> x1 == x2
True
- >>> x1 = lexpr(r'(\A.A(vincent)(\b.sleep(b)))').simplify()
- >>> x2 = lexpr(r'sleep(vincent)').simplify()
+ >>> x1 = read_expr(r'(\A.A(vincent)(\b.sleep(b)))').simplify()
+ >>> x2 = read_expr(r'sleep(vincent)').simplify()
>>> x1 == x2
True
- >>> x1 = lexpr(r'\A.believe(mia,A(vincent))(\b.sleep(b))').simplify()
- >>> x2 = lexpr(r'believe(mia,sleep(vincent))').simplify()
+ >>> x1 = read_expr(r'\A.believe(mia,A(vincent))(\b.sleep(b))').simplify()
+ >>> x2 = read_expr(r'believe(mia,sleep(vincent))').simplify()
>>> x1 == x2
True
- >>> x1 = lexpr(r'(\A.(A(vincent) & A(mia)))(\b.sleep(b))').simplify()
- >>> x2 = lexpr(r'(sleep(vincent) & sleep(mia))').simplify()
+ >>> x1 = read_expr(r'(\A.(A(vincent) & A(mia)))(\b.sleep(b))').simplify()
+ >>> x2 = read_expr(r'(sleep(vincent) & sleep(mia))').simplify()
>>> x1 == x2
True
- >>> x1 = lexpr(r'\A.\B.(\C.C(A(vincent))(\d.probably(d)) & (\C.C(B(mia))(\d.improbably(d))))(\f.walk(f))(\f.talk(f))').simplify()
- >>> x2 = lexpr(r'(probably(walk(vincent)) & improbably(talk(mia)))').simplify()
+ >>> x1 = read_expr(r'\A.\B.(\C.C(A(vincent))(\d.probably(d)) & (\C.C(B(mia))(\d.improbably(d))))(\f.walk(f))(\f.talk(f))').simplify()
+ >>> x2 = read_expr(r'(probably(walk(vincent)) & improbably(talk(mia)))').simplify()
>>> x1 == x2
True
- >>> x1 = lexpr(r'(\a.\b.(\C.C(a,b)(\d.\f.love(d,f))))(jules)(mia)').simplify()
- >>> x2 = lexpr(r'love(jules,mia)').simplify()
+ >>> x1 = read_expr(r'(\a.\b.(\C.C(a,b)(\d.\f.love(d,f))))(jules)(mia)').simplify()
+ >>> x2 = read_expr(r'love(jules,mia)').simplify()
>>> x1 == x2
True
- >>> x1 = lexpr(r'(\A.\B.exists c.(A(c) & B(c)))(\d.boxer(d),\d.sleep(d))').simplify()
- >>> x2 = lexpr(r'exists c.(boxer(c) & sleep(c))').simplify()
+ >>> x1 = read_expr(r'(\A.\B.exists c.(A(c) & B(c)))(\d.boxer(d),\d.sleep(d))').simplify()
+ >>> x2 = read_expr(r'exists c.(boxer(c) & sleep(c))').simplify()
>>> x1 == x2
True
- >>> x1 = lexpr(r'\A.Z(A)(\c.\a.like(a,c))').simplify()
- >>> x2 = lexpr(r'Z(\c.\a.like(a,c))').simplify()
+ >>> x1 = read_expr(r'\A.Z(A)(\c.\a.like(a,c))').simplify()
+ >>> x2 = read_expr(r'Z(\c.\a.like(a,c))').simplify()
>>> x1 == x2
True
- >>> x1 = lexpr(r'\A.\b.A(b)(\c.\b.like(b,c))').simplify()
- >>> x2 = lexpr(r'\b.(\c.\b.like(b,c)(b))').simplify()
+ >>> x1 = read_expr(r'\A.\b.A(b)(\c.\b.like(b,c))').simplify()
+ >>> x2 = read_expr(r'\b.(\c.\b.like(b,c)(b))').simplify()
>>> x1 == x2
True
- >>> x1 = lexpr(r'(\a.\b.(\C.C(a,b)(\b.\a.loves(b,a))))(jules)(mia)').simplify()
- >>> x2 = lexpr(r'loves(jules,mia)').simplify()
+ >>> x1 = read_expr(r'(\a.\b.(\C.C(a,b)(\b.\a.loves(b,a))))(jules)(mia)').simplify()
+ >>> x2 = read_expr(r'loves(jules,mia)').simplify()
>>> x1 == x2
True
- >>> x1 = lexpr(r'(\A.\b.(exists b.A(b) & A(b)))(\c.boxer(c))(vincent)').simplify()
- >>> x2 = lexpr(r'((exists b.boxer(b)) & boxer(vincent))').simplify()
+ >>> x1 = read_expr(r'(\A.\b.(exists b.A(b) & A(b)))(\c.boxer(c))(vincent)').simplify()
+ >>> x2 = read_expr(r'((exists b.boxer(b)) & boxer(vincent))').simplify()
>>> x1 == x2
True
Test Parser
===========
- >>> print(lexpr(r'john'))
+ >>> print(read_expr(r'john'))
john
- >>> print(lexpr(r'x'))
+ >>> print(read_expr(r'x'))
x
- >>> print(lexpr(r'-man(x)'))
+ >>> print(read_expr(r'-man(x)'))
-man(x)
- >>> print(lexpr(r'--man(x)'))
+ >>> print(read_expr(r'--man(x)'))
--man(x)
- >>> print(lexpr(r'(man(x))'))
+ >>> print(read_expr(r'(man(x))'))
man(x)
- >>> print(lexpr(r'((man(x)))'))
+ >>> print(read_expr(r'((man(x)))'))
man(x)
- >>> print(lexpr(r'man(x) <-> tall(x)'))
+ >>> print(read_expr(r'man(x) <-> tall(x)'))
(man(x) <-> tall(x))
- >>> print(lexpr(r'(man(x) <-> tall(x))'))
+ >>> print(read_expr(r'(man(x) <-> tall(x))'))
(man(x) <-> tall(x))
- >>> print(lexpr(r'(man(x) & tall(x) & walks(x))'))
+ >>> print(read_expr(r'(man(x) & tall(x) & walks(x))'))
(man(x) & tall(x) & walks(x))
- >>> print(lexpr(r'(man(x) & tall(x) & walks(x))').first)
+ >>> print(read_expr(r'(man(x) & tall(x) & walks(x))').first)
(man(x) & tall(x))
- >>> print(lexpr(r'man(x) | tall(x) & walks(x)'))
+ >>> print(read_expr(r'man(x) | tall(x) & walks(x)'))
(man(x) | (tall(x) & walks(x)))
- >>> print(lexpr(r'((man(x) & tall(x)) | walks(x))'))
+ >>> print(read_expr(r'((man(x) & tall(x)) | walks(x))'))
((man(x) & tall(x)) | walks(x))
- >>> print(lexpr(r'man(x) & (tall(x) | walks(x))'))
+ >>> print(read_expr(r'man(x) & (tall(x) | walks(x))'))
(man(x) & (tall(x) | walks(x)))
- >>> print(lexpr(r'(man(x) & (tall(x) | walks(x)))'))
+ >>> print(read_expr(r'(man(x) & (tall(x) | walks(x)))'))
(man(x) & (tall(x) | walks(x)))
- >>> print(lexpr(r'P(x) -> Q(x) <-> R(x) | S(x) & T(x)'))
+ >>> print(read_expr(r'P(x) -> Q(x) <-> R(x) | S(x) & T(x)'))
((P(x) -> Q(x)) <-> (R(x) | (S(x) & T(x))))
- >>> print(lexpr(r'exists x.man(x)'))
+ >>> print(read_expr(r'exists x.man(x)'))
exists x.man(x)
- >>> print(lexpr(r'exists x.(man(x) & tall(x))'))
+ >>> print(read_expr(r'exists x.(man(x) & tall(x))'))
exists x.(man(x) & tall(x))
- >>> print(lexpr(r'exists x.(man(x) & tall(x) & walks(x))'))
+ >>> print(read_expr(r'exists x.(man(x) & tall(x) & walks(x))'))
exists x.(man(x) & tall(x) & walks(x))
- >>> print(lexpr(r'-P(x) & Q(x)'))
+ >>> print(read_expr(r'-P(x) & Q(x)'))
(-P(x) & Q(x))
- >>> lexpr(r'-P(x) & Q(x)') == lexpr(r'(-P(x)) & Q(x)')
+ >>> read_expr(r'-P(x) & Q(x)') == read_expr(r'(-P(x)) & Q(x)')
True
- >>> print(lexpr(r'\x.man(x)'))
+ >>> print(read_expr(r'\x.man(x)'))
\x.man(x)
- >>> print(lexpr(r'\x.man(x)(john)'))
+ >>> print(read_expr(r'\x.man(x)(john)'))
\x.man(x)(john)
- >>> print(lexpr(r'\x.man(x)(john) & tall(x)'))
+ >>> print(read_expr(r'\x.man(x)(john) & tall(x)'))
(\x.man(x)(john) & tall(x))
- >>> print(lexpr(r'\x.\y.sees(x,y)'))
+ >>> print(read_expr(r'\x.\y.sees(x,y)'))
\x y.sees(x,y)
- >>> print(lexpr(r'\x y.sees(x,y)'))
+ >>> print(read_expr(r'\x y.sees(x,y)'))
\x y.sees(x,y)
- >>> print(lexpr(r'\x.\y.sees(x,y)(a)'))
+ >>> print(read_expr(r'\x.\y.sees(x,y)(a)'))
(\x y.sees(x,y))(a)
- >>> print(lexpr(r'\x y.sees(x,y)(a)'))
+ >>> print(read_expr(r'\x y.sees(x,y)(a)'))
(\x y.sees(x,y))(a)
- >>> print(lexpr(r'\x.\y.sees(x,y)(a)(b)'))
+ >>> print(read_expr(r'\x.\y.sees(x,y)(a)(b)'))
((\x y.sees(x,y))(a))(b)
- >>> print(lexpr(r'\x y.sees(x,y)(a)(b)'))
+ >>> print(read_expr(r'\x y.sees(x,y)(a)(b)'))
((\x y.sees(x,y))(a))(b)
- >>> print(lexpr(r'\x.\y.sees(x,y)(a,b)'))
+ >>> print(read_expr(r'\x.\y.sees(x,y)(a,b)'))
((\x y.sees(x,y))(a))(b)
- >>> print(lexpr(r'\x y.sees(x,y)(a,b)'))
+ >>> print(read_expr(r'\x y.sees(x,y)(a,b)'))
((\x y.sees(x,y))(a))(b)
- >>> print(lexpr(r'((\x.\y.sees(x,y))(a))(b)'))
+ >>> print(read_expr(r'((\x.\y.sees(x,y))(a))(b)'))
((\x y.sees(x,y))(a))(b)
- >>> print(lexpr(r'P(x)(y)(z)'))
+ >>> print(read_expr(r'P(x)(y)(z)'))
P(x,y,z)
- >>> print(lexpr(r'P(Q)'))
+ >>> print(read_expr(r'P(Q)'))
P(Q)
- >>> print(lexpr(r'P(Q(x))'))
+ >>> print(read_expr(r'P(Q(x))'))
P(Q(x))
- >>> print(lexpr(r'(\x.exists y.walks(x,y))(x)'))
+ >>> print(read_expr(r'(\x.exists y.walks(x,y))(x)'))
(\x.exists y.walks(x,y))(x)
- >>> print(lexpr(r'exists x.(x = john)'))
+ >>> print(read_expr(r'exists x.(x = john)'))
exists x.(x = john)
- >>> print(lexpr(r'((\P.\Q.exists x.(P(x) & Q(x)))(\x.dog(x)))(\x.bark(x))'))
+ >>> print(read_expr(r'((\P.\Q.exists x.(P(x) & Q(x)))(\x.dog(x)))(\x.bark(x))'))
((\P Q.exists x.(P(x) & Q(x)))(\x.dog(x)))(\x.bark(x))
- >>> a = lexpr(r'exists c.exists b.A(b,c) & A(b,c)')
- >>> b = lexpr(r'(exists c.(exists b.A(b,c))) & A(b,c)')
+ >>> a = read_expr(r'exists c.exists b.A(b,c) & A(b,c)')
+ >>> b = read_expr(r'(exists c.(exists b.A(b,c))) & A(b,c)')
>>> print(a == b)
True
- >>> a = lexpr(r'exists c.(exists b.A(b,c) & A(b,c))')
- >>> b = lexpr(r'exists c.((exists b.A(b,c)) & A(b,c))')
+ >>> a = read_expr(r'exists c.(exists b.A(b,c) & A(b,c))')
+ >>> b = read_expr(r'exists c.((exists b.A(b,c)) & A(b,c))')
>>> print(a == b)
True
- >>> print(lexpr(r'exists x.x = y'))
+ >>> print(read_expr(r'exists x.x = y'))
exists x.(x = y)
- >>> print(lexpr('A(B)(C)'))
+ >>> print(read_expr('A(B)(C)'))
A(B,C)
- >>> print(lexpr('(A(B))(C)'))
+ >>> print(read_expr('(A(B))(C)'))
A(B,C)
- >>> print(lexpr('A((B)(C))'))
+ >>> print(read_expr('A((B)(C))'))
A(B(C))
- >>> print(lexpr('A(B(C))'))
+ >>> print(read_expr('A(B(C))'))
A(B(C))
- >>> print(lexpr('(A)(B(C))'))
+ >>> print(read_expr('(A)(B(C))'))
A(B(C))
- >>> print(lexpr('(((A)))(((B))(((C))))'))
+ >>> print(read_expr('(((A)))(((B))(((C))))'))
A(B(C))
- >>> print(lexpr(r'A != B'))
+ >>> print(read_expr(r'A != B'))
-(A = B)
- >>> print(lexpr('P(x) & x=y & P(y)'))
+ >>> print(read_expr('P(x) & x=y & P(y)'))
(P(x) & (x = y) & P(y))
- >>> try: print(lexpr(r'\walk.walk(x)'))
+ >>> try: print(read_expr(r'\walk.walk(x)'))
... except LogicalExpressionException as e: print(e)
'walk' is an illegal variable name. Constants may not be abstracted.
\walk.walk(x)
^
- >>> try: print(lexpr(r'all walk.walk(john)'))
+ >>> try: print(read_expr(r'all walk.walk(john)'))
... except LogicalExpressionException as e: print(e)
'walk' is an illegal variable name. Constants may not be quantified.
all walk.walk(john)
^
- >>> try: print(lexpr(r'x(john)'))
+ >>> try: print(read_expr(r'x(john)'))
... except LogicalExpressionException as e: print(e)
'x' is an illegal predicate name. Individual variables may not be used as predicates.
x(john)
^
- >>> from nltk.sem.logic import _LogicParser # hack to give access to custom quote chars
- >>> lpq = _LogicParser()
+ >>> from nltk.sem.logic import LogicParser # hack to give access to custom quote chars
+ >>> lpq = LogicParser()
>>> lpq.quote_chars = [("'", "'", "\\", False)]
>>> print(lpq.parse(r"(man(x) & 'tall\'s,' (x) & walks (x) )"))
(man(x) & tall's,(x) & walks(x))
@@ -367,93 +367,93 @@ Test Parser
Simplify
========
- >>> print(lexpr(r'\x.man(x)(john)').simplify())
+ >>> print(read_expr(r'\x.man(x)(john)').simplify())
man(john)
- >>> print(lexpr(r'\x.((man(x)))(john)').simplify())
+ >>> print(read_expr(r'\x.((man(x)))(john)').simplify())
man(john)
- >>> print(lexpr(r'\x.\y.sees(x,y)(john, mary)').simplify())
+ >>> print(read_expr(r'\x.\y.sees(x,y)(john, mary)').simplify())
sees(john,mary)
- >>> print(lexpr(r'\x y.sees(x,y)(john, mary)').simplify())
+ >>> print(read_expr(r'\x y.sees(x,y)(john, mary)').simplify())
sees(john,mary)
- >>> print(lexpr(r'\x.\y.sees(x,y)(john)(mary)').simplify())
+ >>> print(read_expr(r'\x.\y.sees(x,y)(john)(mary)').simplify())
sees(john,mary)
- >>> print(lexpr(r'\x y.sees(x,y)(john)(mary)').simplify())
+ >>> print(read_expr(r'\x y.sees(x,y)(john)(mary)').simplify())
sees(john,mary)
- >>> print(lexpr(r'\x.\y.sees(x,y)(john)').simplify())
+ >>> print(read_expr(r'\x.\y.sees(x,y)(john)').simplify())
\y.sees(john,y)
- >>> print(lexpr(r'\x y.sees(x,y)(john)').simplify())
+ >>> print(read_expr(r'\x y.sees(x,y)(john)').simplify())
\y.sees(john,y)
- >>> print(lexpr(r'(\x.\y.sees(x,y)(john))(mary)').simplify())
+ >>> print(read_expr(r'(\x.\y.sees(x,y)(john))(mary)').simplify())
sees(john,mary)
- >>> print(lexpr(r'(\x y.sees(x,y)(john))(mary)').simplify())
+ >>> print(read_expr(r'(\x y.sees(x,y)(john))(mary)').simplify())
sees(john,mary)
- >>> print(lexpr(r'exists x.(man(x) & (\x.exists y.walks(x,y))(x))').simplify())
+ >>> print(read_expr(r'exists x.(man(x) & (\x.exists y.walks(x,y))(x))').simplify())
exists x.(man(x) & exists y.walks(x,y))
- >>> e1 = lexpr(r'exists x.(man(x) & (\x.exists y.walks(x,y))(y))').simplify()
- >>> e2 = lexpr(r'exists x.(man(x) & exists z1.walks(y,z1))')
+ >>> e1 = read_expr(r'exists x.(man(x) & (\x.exists y.walks(x,y))(y))').simplify()
+ >>> e2 = read_expr(r'exists x.(man(x) & exists z1.walks(y,z1))')
>>> e1 == e2
True
- >>> print(lexpr(r'(\P Q.exists x.(P(x) & Q(x)))(\x.dog(x))').simplify())
+ >>> print(read_expr(r'(\P Q.exists x.(P(x) & Q(x)))(\x.dog(x))').simplify())
\Q.exists x.(dog(x) & Q(x))
- >>> print(lexpr(r'((\P.\Q.exists x.(P(x) & Q(x)))(\x.dog(x)))(\x.bark(x))').simplify())
+ >>> print(read_expr(r'((\P.\Q.exists x.(P(x) & Q(x)))(\x.dog(x)))(\x.bark(x))').simplify())
exists x.(dog(x) & bark(x))
- >>> print(lexpr(r'\P.(P(x)(y))(\a b.Q(a,b))').simplify())
+ >>> print(read_expr(r'\P.(P(x)(y))(\a b.Q(a,b))').simplify())
Q(x,y)
Replace
=======
- >>> a = lexpr(r'a')
- >>> x = lexpr(r'x')
- >>> y = lexpr(r'y')
- >>> z = lexpr(r'z')
+ >>> a = read_expr(r'a')
+ >>> x = read_expr(r'x')
+ >>> y = read_expr(r'y')
+ >>> z = read_expr(r'z')
- >>> print(lexpr(r'man(x)').replace(x.variable, a, False))
+ >>> print(read_expr(r'man(x)').replace(x.variable, a, False))
man(a)
- >>> print(lexpr(r'(man(x) & tall(x))').replace(x.variable, a, False))
+ >>> print(read_expr(r'(man(x) & tall(x))').replace(x.variable, a, False))
(man(a) & tall(a))
- >>> print(lexpr(r'exists x.man(x)').replace(x.variable, a, False))
+ >>> print(read_expr(r'exists x.man(x)').replace(x.variable, a, False))
exists x.man(x)
- >>> print(lexpr(r'exists x.man(x)').replace(x.variable, a, True))
+ >>> print(read_expr(r'exists x.man(x)').replace(x.variable, a, True))
exists a.man(a)
- >>> print(lexpr(r'exists x.give(x,y,z)').replace(y.variable, a, False))
+ >>> print(read_expr(r'exists x.give(x,y,z)').replace(y.variable, a, False))
exists x.give(x,a,z)
- >>> print(lexpr(r'exists x.give(x,y,z)').replace(y.variable, a, True))
+ >>> print(read_expr(r'exists x.give(x,y,z)').replace(y.variable, a, True))
exists x.give(x,a,z)
- >>> e1 = lexpr(r'exists x.give(x,y,z)').replace(y.variable, x, False)
- >>> e2 = lexpr(r'exists z1.give(z1,x,z)')
+ >>> e1 = read_expr(r'exists x.give(x,y,z)').replace(y.variable, x, False)
+ >>> e2 = read_expr(r'exists z1.give(z1,x,z)')
>>> e1 == e2
True
- >>> e1 = lexpr(r'exists x.give(x,y,z)').replace(y.variable, x, True)
- >>> e2 = lexpr(r'exists z1.give(z1,x,z)')
+ >>> e1 = read_expr(r'exists x.give(x,y,z)').replace(y.variable, x, True)
+ >>> e2 = read_expr(r'exists z1.give(z1,x,z)')
>>> e1 == e2
True
- >>> print(lexpr(r'\x y z.give(x,y,z)').replace(y.variable, a, False))
+ >>> print(read_expr(r'\x y z.give(x,y,z)').replace(y.variable, a, False))
\x y z.give(x,y,z)
- >>> print(lexpr(r'\x y z.give(x,y,z)').replace(y.variable, a, True))
+ >>> print(read_expr(r'\x y z.give(x,y,z)').replace(y.variable, a, True))
\x a z.give(x,a,z)
- >>> print(lexpr(r'\x.\y.give(x,y,z)').replace(z.variable, a, False))
+ >>> print(read_expr(r'\x.\y.give(x,y,z)').replace(z.variable, a, False))
\x y.give(x,y,a)
- >>> print(lexpr(r'\x.\y.give(x,y,z)').replace(z.variable, a, True))
+ >>> print(read_expr(r'\x.\y.give(x,y,z)').replace(z.variable, a, True))
\x y.give(x,y,a)
- >>> e1 = lexpr(r'\x.\y.give(x,y,z)').replace(z.variable, x, False)
- >>> e2 = lexpr(r'\z1.\y.give(z1,y,x)')
+ >>> e1 = read_expr(r'\x.\y.give(x,y,z)').replace(z.variable, x, False)
+ >>> e2 = read_expr(r'\z1.\y.give(z1,y,x)')
>>> e1 == e2
True
- >>> e1 = lexpr(r'\x.\y.give(x,y,z)').replace(z.variable, x, True)
- >>> e2 = lexpr(r'\z1.\y.give(z1,y,x)')
+ >>> e1 = read_expr(r'\x.\y.give(x,y,z)').replace(z.variable, x, True)
+ >>> e2 = read_expr(r'\z1.\y.give(z1,y,x)')
>>> e1 == e2
True
- >>> print(lexpr(r'\x.give(x,y,z)').replace(z.variable, y, False))
+ >>> print(read_expr(r'\x.give(x,y,z)').replace(z.variable, y, False))
\x.give(x,y,y)
- >>> print(lexpr(r'\x.give(x,y,z)').replace(z.variable, y, True))
+ >>> print(read_expr(r'\x.give(x,y,z)').replace(z.variable, y, True))
\x.give(x,y,y)
>>> from nltk.sem import logic
>>> logic._counter._value = 0
- >>> e1 = lexpr('e1')
- >>> e2 = lexpr('e2')
- >>> print(lexpr('exists e1 e2.(walk(e1) & talk(e2))').replace(e1.variable, e2, True))
+ >>> e1 = read_expr('e1')
+ >>> e2 = read_expr('e2')
+ >>> print(read_expr('exists e1 e2.(walk(e1) & talk(e2))').replace(e1.variable, e2, True))
exists e2 e01.(walk(e2) & talk(e01))
@@ -471,7 +471,7 @@ Variables / Free
... r'\P.P(x)',
... r'aa(x,bb(y),cc(z),P(w),u)',
... r'bo(?det(?n), at x)']
- >>> examples = [lexpr(e) for e in examples]
+ >>> examples = [read_expr(e) for e in examples]
>>> for e in examples:
... print('%-25s' % e, sorted(e.free()))
@@ -532,14 +532,14 @@ Variables / Free
`normalize`
- >>> print(lexpr(r'\e083.(walk(e083, z472) & talk(e092, z938))').normalize())
+ >>> print(read_expr(r'\e083.(walk(e083, z472) & talk(e092, z938))').normalize())
\e01.(walk(e01,z3) & talk(e02,z4))
Typed Logic
+++++++++++
- >>> from nltk.sem.logic import _LogicParser
- >>> tlp = _LogicParser(True)
+ >>> from nltk.sem.logic import LogicParser
+ >>> tlp = LogicParser(True)
>>> print(tlp.parse(r'man(x)').type)
?
>>> print(tlp.parse(r'walk(angus)').type)
@@ -764,25 +764,25 @@ findtype()
>>> print(tlp.parse(r'P(Q(R(x)))').findtype(Variable('Q')))
?
-parse_type()
+reading types from strings
- >>> print(parse_type('e'))
+ >>> Type.fromstring('e')
e
- >>> print(parse_type('<e,t>'))
+ >>> Type.fromstring('<e,t>')
<e,t>
- >>> print(parse_type('<<e,t>,<e,t>>'))
+ >>> Type.fromstring('<<e,t>,<e,t>>')
<<e,t>,<e,t>>
- >>> print(parse_type('<<e,?>,?>'))
+ >>> Type.fromstring('<<e,?>,?>')
<<e,?>,?>
alternative type format
- >>> print(parse_type('e').str())
- IND
- >>> print(parse_type('<e,?>').str())
- (IND -> ANY)
- >>> print(parse_type('<<e,t>,t>').str())
- ((IND -> BOOL) -> BOOL)
+ >>> Type.fromstring('e').str()
+ 'IND'
+ >>> Type.fromstring('<e,?>').str()
+ '(IND -> ANY)'
+ >>> Type.fromstring('<<e,t>,t>').str()
+ '((IND -> BOOL) -> BOOL)'
Type.__eq__()
@@ -882,214 +882,214 @@ Type error during parsing
Parse errors
============
- >>> try: lexpr(r'')
+ >>> try: read_expr(r'')
... except LogicalExpressionException as e: print(e)
End of input found. Expression expected.
<BLANKLINE>
^
- >>> try: lexpr(r'(')
+ >>> try: read_expr(r'(')
... except LogicalExpressionException as e: print(e)
End of input found. Expression expected.
(
^
- >>> try: lexpr(r')')
+ >>> try: read_expr(r')')
... except LogicalExpressionException as e: print(e)
Unexpected token: ')'. Expression expected.
)
^
- >>> try: lexpr(r'()')
+ >>> try: read_expr(r'()')
... except LogicalExpressionException as e: print(e)
Unexpected token: ')'. Expression expected.
()
^
- >>> try: lexpr(r'(P(x) & Q(x)')
+ >>> try: read_expr(r'(P(x) & Q(x)')
... except LogicalExpressionException as e: print(e)
End of input found. Expected token ')'.
(P(x) & Q(x)
^
- >>> try: lexpr(r'(P(x) &')
+ >>> try: read_expr(r'(P(x) &')
... except LogicalExpressionException as e: print(e)
End of input found. Expression expected.
(P(x) &
^
- >>> try: lexpr(r'(P(x) | )')
+ >>> try: read_expr(r'(P(x) | )')
... except LogicalExpressionException as e: print(e)
Unexpected token: ')'. Expression expected.
(P(x) | )
^
- >>> try: lexpr(r'P(x) ->')
+ >>> try: read_expr(r'P(x) ->')
... except LogicalExpressionException as e: print(e)
End of input found. Expression expected.
P(x) ->
^
- >>> try: lexpr(r'P(x')
+ >>> try: read_expr(r'P(x')
... except LogicalExpressionException as e: print(e)
End of input found. Expected token ')'.
P(x
^
- >>> try: lexpr(r'P(x,')
+ >>> try: read_expr(r'P(x,')
... except LogicalExpressionException as e: print(e)
End of input found. Expression expected.
P(x,
^
- >>> try: lexpr(r'P(x,)')
+ >>> try: read_expr(r'P(x,)')
... except LogicalExpressionException as e: print(e)
Unexpected token: ')'. Expression expected.
P(x,)
^
- >>> try: lexpr(r'exists')
+ >>> try: read_expr(r'exists')
... except LogicalExpressionException as e: print(e)
End of input found. Variable and Expression expected following quantifier 'exists'.
exists
^
- >>> try: lexpr(r'exists x')
+ >>> try: read_expr(r'exists x')
... except LogicalExpressionException as e: print(e)
End of input found. Expression expected.
exists x
^
- >>> try: lexpr(r'exists x.')
+ >>> try: read_expr(r'exists x.')
... except LogicalExpressionException as e: print(e)
End of input found. Expression expected.
exists x.
^
- >>> try: lexpr(r'\ ')
+ >>> try: read_expr(r'\ ')
... except LogicalExpressionException as e: print(e)
End of input found. Variable and Expression expected following lambda operator.
\
^
- >>> try: lexpr(r'\ x')
+ >>> try: read_expr(r'\ x')
... except LogicalExpressionException as e: print(e)
End of input found. Expression expected.
\ x
^
- >>> try: lexpr(r'\ x y')
+ >>> try: read_expr(r'\ x y')
... except LogicalExpressionException as e: print(e)
End of input found. Expression expected.
\ x y
^
- >>> try: lexpr(r'\ x.')
+ >>> try: read_expr(r'\ x.')
... except LogicalExpressionException as e: print(e)
End of input found. Expression expected.
\ x.
^
- >>> try: lexpr(r'P(x)Q(x)')
+ >>> try: read_expr(r'P(x)Q(x)')
... except LogicalExpressionException as e: print(e)
Unexpected token: 'Q'.
P(x)Q(x)
^
- >>> try: lexpr(r'(P(x)Q(x)')
+ >>> try: read_expr(r'(P(x)Q(x)')
... except LogicalExpressionException as e: print(e)
Unexpected token: 'Q'. Expected token ')'.
(P(x)Q(x)
^
- >>> try: lexpr(r'exists x y')
+ >>> try: read_expr(r'exists x y')
... except LogicalExpressionException as e: print(e)
End of input found. Expression expected.
exists x y
^
- >>> try: lexpr(r'exists x y.')
+ >>> try: read_expr(r'exists x y.')
... except LogicalExpressionException as e: print(e)
End of input found. Expression expected.
exists x y.
^
- >>> try: lexpr(r'exists x -> y')
+ >>> try: read_expr(r'exists x -> y')
... except LogicalExpressionException as e: print(e)
Unexpected token: '->'. Expression expected.
exists x -> y
^
- >>> try: lexpr(r'A -> ((P(x) & Q(x)) -> Z')
+ >>> try: read_expr(r'A -> ((P(x) & Q(x)) -> Z')
... except LogicalExpressionException as e: print(e)
End of input found. Expected token ')'.
A -> ((P(x) & Q(x)) -> Z
^
- >>> try: lexpr(r'A -> ((P(x) &) -> Z')
+ >>> try: read_expr(r'A -> ((P(x) &) -> Z')
... except LogicalExpressionException as e: print(e)
Unexpected token: ')'. Expression expected.
A -> ((P(x) &) -> Z
^
- >>> try: lexpr(r'A -> ((P(x) | )) -> Z')
+ >>> try: read_expr(r'A -> ((P(x) | )) -> Z')
... except LogicalExpressionException as e: print(e)
Unexpected token: ')'. Expression expected.
A -> ((P(x) | )) -> Z
^
- >>> try: lexpr(r'A -> (P(x) ->) -> Z')
+ >>> try: read_expr(r'A -> (P(x) ->) -> Z')
... except LogicalExpressionException as e: print(e)
Unexpected token: ')'. Expression expected.
A -> (P(x) ->) -> Z
^
- >>> try: lexpr(r'A -> (P(x) -> Z')
+ >>> try: read_expr(r'A -> (P(x) -> Z')
... except LogicalExpressionException as e: print(e)
End of input found. Expected token ')'.
A -> (P(x) -> Z
^
- >>> try: lexpr(r'A -> (P(x,) -> Z')
+ >>> try: read_expr(r'A -> (P(x,) -> Z')
... except LogicalExpressionException as e: print(e)
Unexpected token: ')'. Expression expected.
A -> (P(x,) -> Z
^
- >>> try: lexpr(r'A -> (P(x,)) -> Z')
+ >>> try: read_expr(r'A -> (P(x,)) -> Z')
... except LogicalExpressionException as e: print(e)
Unexpected token: ')'. Expression expected.
A -> (P(x,)) -> Z
^
- >>> try: lexpr(r'A -> (exists) -> Z')
+ >>> try: read_expr(r'A -> (exists) -> Z')
... except LogicalExpressionException as e: print(e)
')' is an illegal variable name. Constants may not be quantified.
A -> (exists) -> Z
^
- >>> try: lexpr(r'A -> (exists x) -> Z')
+ >>> try: read_expr(r'A -> (exists x) -> Z')
... except LogicalExpressionException as e: print(e)
Unexpected token: ')'. Expression expected.
A -> (exists x) -> Z
^
- >>> try: lexpr(r'A -> (exists x.) -> Z')
+ >>> try: read_expr(r'A -> (exists x.) -> Z')
... except LogicalExpressionException as e: print(e)
Unexpected token: ')'. Expression expected.
A -> (exists x.) -> Z
^
- >>> try: lexpr(r'A -> (\ ) -> Z')
+ >>> try: read_expr(r'A -> (\ ) -> Z')
... except LogicalExpressionException as e: print(e)
')' is an illegal variable name. Constants may not be abstracted.
A -> (\ ) -> Z
^
- >>> try: lexpr(r'A -> (\ x) -> Z')
+ >>> try: read_expr(r'A -> (\ x) -> Z')
... except LogicalExpressionException as e: print(e)
Unexpected token: ')'. Expression expected.
A -> (\ x) -> Z
^
- >>> try: lexpr(r'A -> (\ x y) -> Z')
+ >>> try: read_expr(r'A -> (\ x y) -> Z')
... except LogicalExpressionException as e: print(e)
Unexpected token: ')'. Expression expected.
A -> (\ x y) -> Z
^
- >>> try: lexpr(r'A -> (\ x.) -> Z')
+ >>> try: read_expr(r'A -> (\ x.) -> Z')
... except LogicalExpressionException as e: print(e)
Unexpected token: ')'. Expression expected.
A -> (\ x.) -> Z
^
- >>> try: lexpr(r'A -> (P(x)Q(x)) -> Z')
+ >>> try: read_expr(r'A -> (P(x)Q(x)) -> Z')
... except LogicalExpressionException as e: print(e)
Unexpected token: 'Q'. Expected token ')'.
A -> (P(x)Q(x)) -> Z
^
- >>> try: lexpr(r'A -> ((P(x)Q(x)) -> Z')
+ >>> try: read_expr(r'A -> ((P(x)Q(x)) -> Z')
... except LogicalExpressionException as e: print(e)
Unexpected token: 'Q'. Expected token ')'.
A -> ((P(x)Q(x)) -> Z
^
- >>> try: lexpr(r'A -> (all x y) -> Z')
+ >>> try: read_expr(r'A -> (all x y) -> Z')
... except LogicalExpressionException as e: print(e)
Unexpected token: ')'. Expression expected.
A -> (all x y) -> Z
^
- >>> try: lexpr(r'A -> (exists x y.) -> Z')
+ >>> try: read_expr(r'A -> (exists x y.) -> Z')
... except LogicalExpressionException as e: print(e)
Unexpected token: ')'. Expression expected.
A -> (exists x y.) -> Z
^
- >>> try: lexpr(r'A -> (exists x -> y) -> Z')
+ >>> try: read_expr(r'A -> (exists x -> y) -> Z')
... except LogicalExpressionException as e: print(e)
Unexpected token: '->'. Expression expected.
A -> (exists x -> y) -> Z
diff --git a/nltk/test/nonmonotonic.doctest b/nltk/test/nonmonotonic.doctest
index 7bc0904..ac28978 100644
--- a/nltk/test/nonmonotonic.doctest
+++ b/nltk/test/nonmonotonic.doctest
@@ -9,7 +9,7 @@ Nonmonotonic Reasoning
>>> from nltk.inference.nonmonotonic import *
>>> from nltk.sem import logic
>>> logic._counter._value = 0
- >>> lexpr = logic.Expression.fromstring
+ >>> read_expr = logic.Expression.fromstring
------------------------
Closed Domain Assumption
@@ -20,9 +20,9 @@ If the domain only contains "A" and "B", then the expression "exists x.P(x)" can
be replaced with "P(A) | P(B)" and an expression "all x.P(x)" can be replaced
with "P(A) & P(B)".
- >>> p1 = lexpr(r'all x.(man(x) -> mortal(x))')
- >>> p2 = lexpr(r'man(Socrates)')
- >>> c = lexpr(r'mortal(Socrates)')
+ >>> p1 = read_expr(r'all x.(man(x) -> mortal(x))')
+ >>> p2 = read_expr(r'man(Socrates)')
+ >>> c = read_expr(r'mortal(Socrates)')
>>> prover = Prover9Command(c, [p1,p2])
>>> prover.prove()
True
@@ -33,9 +33,9 @@ with "P(A) & P(B)".
>>> cdp.prove()
True
- >>> p1 = lexpr(r'exists x.walk(x)')
- >>> p2 = lexpr(r'man(Socrates)')
- >>> c = lexpr(r'walk(Socrates)')
+ >>> p1 = read_expr(r'exists x.walk(x)')
+ >>> p2 = read_expr(r'man(Socrates)')
+ >>> c = read_expr(r'walk(Socrates)')
>>> prover = Prover9Command(c, [p1,p2])
>>> prover.prove()
False
@@ -46,10 +46,10 @@ with "P(A) & P(B)".
>>> cdp.prove()
True
- >>> p1 = lexpr(r'exists x.walk(x)')
- >>> p2 = lexpr(r'man(Socrates)')
- >>> p3 = lexpr(r'-walk(Bill)')
- >>> c = lexpr(r'walk(Socrates)')
+ >>> p1 = read_expr(r'exists x.walk(x)')
+ >>> p2 = read_expr(r'man(Socrates)')
+ >>> p3 = read_expr(r'-walk(Bill)')
+ >>> c = read_expr(r'walk(Socrates)')
>>> prover = Prover9Command(c, [p1,p2,p3])
>>> prover.prove()
False
@@ -61,9 +61,9 @@ with "P(A) & P(B)".
>>> cdp.prove()
True
- >>> p1 = lexpr(r'walk(Socrates)')
- >>> p2 = lexpr(r'walk(Bill)')
- >>> c = lexpr(r'all x.walk(x)')
+ >>> p1 = read_expr(r'walk(Socrates)')
+ >>> p2 = read_expr(r'walk(Bill)')
+ >>> c = read_expr(r'all x.walk(x)')
>>> prover = Prover9Command(c, [p1,p2])
>>> prover.prove()
False
@@ -76,12 +76,12 @@ with "P(A) & P(B)".
>>> cdp.prove()
True
- >>> p1 = lexpr(r'girl(mary)')
- >>> p2 = lexpr(r'dog(rover)')
- >>> p3 = lexpr(r'all x.(girl(x) -> -dog(x))')
- >>> p4 = lexpr(r'all x.(dog(x) -> -girl(x))')
- >>> p5 = lexpr(r'chase(mary, rover)')
- >>> c = lexpr(r'exists y.(dog(y) & all x.(girl(x) -> chase(x,y)))')
+ >>> p1 = read_expr(r'girl(mary)')
+ >>> p2 = read_expr(r'dog(rover)')
+ >>> p3 = read_expr(r'all x.(girl(x) -> -dog(x))')
+ >>> p4 = read_expr(r'all x.(dog(x) -> -girl(x))')
+ >>> p5 = read_expr(r'chase(mary, rover)')
+ >>> c = read_expr(r'exists y.(dog(y) & all x.(girl(x) -> chase(x,y)))')
>>> prover = Prover9Command(c, [p1,p2,p3,p4,p5])
>>> print(prover.prove())
False
@@ -106,9 +106,9 @@ explicitly proven that they do. Therefore, if the domain contains "A" and "B",
then add the assumption "-(A = B)" if it is not the case that
"<assumptions> \|- (A = B)".
- >>> p1 = lexpr(r'man(Socrates)')
- >>> p2 = lexpr(r'man(Bill)')
- >>> c = lexpr(r'exists x.exists y.-(x = y)')
+ >>> p1 = read_expr(r'man(Socrates)')
+ >>> p2 = read_expr(r'man(Bill)')
+ >>> c = read_expr(r'exists x.exists y.-(x = y)')
>>> prover = Prover9Command(c, [p1,p2])
>>> prover.prove()
False
@@ -120,10 +120,10 @@ then add the assumption "-(A = B)" if it is not the case that
>>> unp.prove()
True
- >>> p1 = lexpr(r'all x.(walk(x) -> (x = Socrates))')
- >>> p2 = lexpr(r'Bill = William')
- >>> p3 = lexpr(r'Bill = Billy')
- >>> c = lexpr(r'-walk(William)')
+ >>> p1 = read_expr(r'all x.(walk(x) -> (x = Socrates))')
+ >>> p2 = read_expr(r'Bill = William')
+ >>> p3 = read_expr(r'Bill = Billy')
+ >>> c = read_expr(r'-walk(William)')
>>> prover = Prover9Command(c, [p1,p2,p3])
>>> prover.prove()
False
@@ -151,9 +151,9 @@ of "P". If the assumptions contain "all x.(ostrich(x) -> bird(x))", then
assumptions don't contain anything that are "P", then "all x.-P(x)" is the
completion of "P".
- >>> p1 = lexpr(r'walk(Socrates)')
- >>> p2 = lexpr(r'-(Socrates = Bill)')
- >>> c = lexpr(r'-walk(Bill)')
+ >>> p1 = read_expr(r'walk(Socrates)')
+ >>> p2 = read_expr(r'-(Socrates = Bill)')
+ >>> c = read_expr(r'-walk(Bill)')
>>> prover = Prover9Command(c, [p1,p2])
>>> prover.prove()
False
@@ -165,11 +165,11 @@ completion of "P".
>>> cwp.prove()
True
- >>> p1 = lexpr(r'see(Socrates, John)')
- >>> p2 = lexpr(r'see(John, Mary)')
- >>> p3 = lexpr(r'-(Socrates = John)')
- >>> p4 = lexpr(r'-(John = Mary)')
- >>> c = lexpr(r'-see(Socrates, Mary)')
+ >>> p1 = read_expr(r'see(Socrates, John)')
+ >>> p2 = read_expr(r'see(John, Mary)')
+ >>> p3 = read_expr(r'-(Socrates = John)')
+ >>> p4 = read_expr(r'-(John = Mary)')
+ >>> c = read_expr(r'-see(Socrates, Mary)')
>>> prover = Prover9Command(c, [p1,p2,p3,p4])
>>> prover.prove()
False
@@ -183,11 +183,11 @@ completion of "P".
>>> cwp.prove()
True
- >>> p1 = lexpr(r'all x.(ostrich(x) -> bird(x))')
- >>> p2 = lexpr(r'bird(Tweety)')
- >>> p3 = lexpr(r'-ostrich(Sam)')
- >>> p4 = lexpr(r'Sam != Tweety')
- >>> c = lexpr(r'-bird(Sam)')
+ >>> p1 = read_expr(r'all x.(ostrich(x) -> bird(x))')
+ >>> p2 = read_expr(r'bird(Tweety)')
+ >>> p3 = read_expr(r'-ostrich(Sam)')
+ >>> p4 = read_expr(r'Sam != Tweety')
+ >>> c = read_expr(r'-bird(Sam)')
>>> prover = Prover9Command(c, [p1,p2,p3,p4])
>>> prover.prove()
False
@@ -208,9 +208,9 @@ Multi-Decorator Example
Decorators can be nested to utilize multiple assumptions.
- >>> p1 = lexpr(r'see(Socrates, John)')
- >>> p2 = lexpr(r'see(John, Mary)')
- >>> c = lexpr(r'-see(Socrates, Mary)')
+ >>> p1 = read_expr(r'see(Socrates, John)')
+ >>> p2 = read_expr(r'see(John, Mary)')
+ >>> c = read_expr(r'-see(Socrates, Mary)')
>>> prover = Prover9Command(c, [p1,p2])
>>> print(prover.prove())
False
@@ -225,26 +225,26 @@ Default Reasoning
>>> premises = []
define the taxonomy
- >>> premises.append(lexpr(r'all x.(elephant(x) -> animal(x))'))
- >>> premises.append(lexpr(r'all x.(bird(x) -> animal(x))'))
- >>> premises.append(lexpr(r'all x.(dove(x) -> bird(x))'))
- >>> premises.append(lexpr(r'all x.(ostrich(x) -> bird(x))'))
- >>> premises.append(lexpr(r'all x.(flying_ostrich(x) -> ostrich(x))'))
+ >>> premises.append(read_expr(r'all x.(elephant(x) -> animal(x))'))
+ >>> premises.append(read_expr(r'all x.(bird(x) -> animal(x))'))
+ >>> premises.append(read_expr(r'all x.(dove(x) -> bird(x))'))
+ >>> premises.append(read_expr(r'all x.(ostrich(x) -> bird(x))'))
+ >>> premises.append(read_expr(r'all x.(flying_ostrich(x) -> ostrich(x))'))
default the properties using abnormalities
- >>> premises.append(lexpr(r'all x.((animal(x) & -Ab1(x)) -> -fly(x))')) #normal animals don't fly
- >>> premises.append(lexpr(r'all x.((bird(x) & -Ab2(x)) -> fly(x))')) #normal birds fly
- >>> premises.append(lexpr(r'all x.((ostrich(x) & -Ab3(x)) -> -fly(x))')) #normal ostriches don't fly
+ >>> premises.append(read_expr(r'all x.((animal(x) & -Ab1(x)) -> -fly(x))')) #normal animals don't fly
+ >>> premises.append(read_expr(r'all x.((bird(x) & -Ab2(x)) -> fly(x))')) #normal birds fly
+ >>> premises.append(read_expr(r'all x.((ostrich(x) & -Ab3(x)) -> -fly(x))')) #normal ostriches don't fly
specify abnormal entities
- >>> premises.append(lexpr(r'all x.(bird(x) -> Ab1(x))')) #flight
- >>> premises.append(lexpr(r'all x.(ostrich(x) -> Ab2(x))')) #non-flying bird
- >>> premises.append(lexpr(r'all x.(flying_ostrich(x) -> Ab3(x))')) #flying ostrich
+ >>> premises.append(read_expr(r'all x.(bird(x) -> Ab1(x))')) #flight
+ >>> premises.append(read_expr(r'all x.(ostrich(x) -> Ab2(x))')) #non-flying bird
+ >>> premises.append(read_expr(r'all x.(flying_ostrich(x) -> Ab3(x))')) #flying ostrich
define entities
- >>> premises.append(lexpr(r'elephant(el)'))
- >>> premises.append(lexpr(r'dove(do)'))
- >>> premises.append(lexpr(r'ostrich(os)'))
+ >>> premises.append(read_expr(r'elephant(el)'))
+ >>> premises.append(read_expr(r'dove(do)'))
+ >>> premises.append(read_expr(r'ostrich(os)'))
print the augmented assumptions list
>>> prover = Prover9Command(None, premises)
@@ -277,10 +277,10 @@ print the augmented assumptions list
-(el = do)
-(os = do)
- >>> UniqueNamesProver(ClosedWorldProver(Prover9Command(lexpr('-fly(el)'), premises))).prove()
+ >>> UniqueNamesProver(ClosedWorldProver(Prover9Command(read_expr('-fly(el)'), premises))).prove()
True
- >>> UniqueNamesProver(ClosedWorldProver(Prover9Command(lexpr('fly(do)'), premises))).prove()
+ >>> UniqueNamesProver(ClosedWorldProver(Prover9Command(read_expr('fly(do)'), premises))).prove()
True
- >>> UniqueNamesProver(ClosedWorldProver(Prover9Command(lexpr('-fly(os)'), premises))).prove()
+ >>> UniqueNamesProver(ClosedWorldProver(Prover9Command(read_expr('-fly(os)'), premises))).prove()
True
diff --git a/nltk/test/onto1.fol b/nltk/test/onto1.fol
deleted file mode 100644
index 5c526ee..0000000
--- a/nltk/test/onto1.fol
+++ /dev/null
@@ -1,6 +0,0 @@
-all x. ((boxer2 x) implies (dog x))
-all x. ((boxer1 x) implies (person x))
-all x. (not ((dog x) and (person x)))
-all x. (not ((kitchen x) and (garden x)))
-all x. ((kitchen x) implies (location x))
-all x. ((garden x) implies (location x))
\ No newline at end of file
diff --git a/nltk/test/paice.doctest b/nltk/test/paice.doctest
new file mode 100644
index 0000000..318781f
--- /dev/null
+++ b/nltk/test/paice.doctest
@@ -0,0 +1,36 @@
+
+=====================================================
+PAICE's evaluation statistics for stemming algorithms
+=====================================================
+
+Given a list of words with their real lemmas and stems according to stemming algorithm under evaluation,
+counts Understemming Index (UI), Overstemming Index (OI), Stemming Weight (SW) and Error-rate relative to truncation (ERRT).
+
+ >>> from nltk.metrics import Paice
+
+
+-------------------------------------
+Understemming and Overstemming values
+-------------------------------------
+
+ >>> lemmas = {'kneel': ['kneel', 'knelt'],
+ ... 'range': ['range', 'ranged'],
+ ... 'ring': ['ring', 'rang', 'rung']}
+ >>> stems = {'kneel': ['kneel'],
+ ... 'knelt': ['knelt'],
+ ... 'rang': ['rang', 'range', 'ranged'],
+ ... 'ring': ['ring'],
+ ... 'rung': ['rung']}
+ >>> p = Paice(lemmas, stems)
+ >>> p.gumt, p.gdmt, p.gwmt, p.gdnt
+ (4.0, 5.0, 2.0, 16.0)
+
+ >>> p.ui, p.oi, p.sw
+ (0.8, 0.125, 0.15625)
+
+ >>> p.errt
+ 1.0
+
+ >>> p.coords
+ [(0.0, 1.0), (0.0, 0.375), (0.6, 0.125), (0.8, 0.125)]
+
\ No newline at end of file
diff --git a/nltk/test/parse.doctest b/nltk/test/parse.doctest
index e47f251..f792cba 100644
--- a/nltk/test/parse.doctest
+++ b/nltk/test/parse.doctest
@@ -556,7 +556,7 @@ Create a set of PCFG productions.
A
>>> grammar.productions()
- [A -> B B [0.3], A -> C B C [0.7], B -> B D [0.5], B -> C [0.5], C -> 'a' [0.1], C -> 'b' [0.9], D -> 'b' [1]]
+ [A -> B B [0.3], A -> C B C [0.7], B -> B D [0.5], B -> C [0.5], C -> 'a' [0.1], C -> 'b' [0.9], D -> 'b' [1.0]]
Induce some productions using parsed Treebank data.
@@ -570,7 +570,7 @@ Induce some productions using parsed Treebank data.
<Grammar with 71 productions>
>>> sorted(grammar.productions(lhs=Nonterminal('PP')))[:2]
- [PP -> IN NP [1]]
+ [PP -> IN NP [1.0]]
>>> sorted(grammar.productions(lhs=Nonterminal('NNP')))[:2]
[NNP -> 'Agnew' [0.0714286], NNP -> 'Consolidated' [0.0714286]]
>>> sorted(grammar.productions(lhs=Nonterminal('JJ')))[:2]
@@ -585,14 +585,14 @@ Unit tests for the Probabilistic Chart Parse classes
>>> grammar = toy_pcfg2
>>> print(grammar)
Grammar with 23 productions (start state = S)
- S -> NP VP [1]
+ S -> NP VP [1.0]
VP -> V NP [0.59]
VP -> V [0.4]
VP -> VP PP [0.01]
NP -> Det N [0.41]
NP -> Name [0.28]
NP -> NP PP [0.31]
- PP -> P NP [1]
+ PP -> P NP [1.0]
V -> 'saw' [0.21]
V -> 'ate' [0.51]
V -> 'ran' [0.28]
diff --git a/nltk/test/portuguese.doctest_latin1 b/nltk/test/portuguese.doctest_latin1
deleted file mode 100644
index 888f729..0000000
--- a/nltk/test/portuguese.doctest_latin1
+++ /dev/null
@@ -1,300 +0,0 @@
-==========================================
-Examplos para o processamento do portugu�s
-==========================================
-
- >>> import nltk
-
-(NB. Este material parte do pressuposto de que o leitor esteja
-familiarizado com o livro do NLTK, dispon�vel em
-``http://nltk.org/index.php/Book``).
-
-Utilizando o Corpus MacMorpho Tagged
-------------------------------------
-
-O NLTK inclui o corpus de not�cias para o portugu�s brasileiro com tags de partes do discurso
-MAC-MORPHO, que conta com mais de um milh�o de palavras de textos jornal�sticos extra�dos
-de dez se��es do jornal di�rio *Folha de S�o Paulo*, do ano de 1994.
-
-Podemos utilizar este corpus como uma seq��ncia de palavras ou de palavras com tags da
-seguinte maneira:
-
- >>> nltk.corpus.mac_morpho.words()
- ['Jersei', 'atinge', 'm\xe9dia', 'de', 'Cr$', '1,4', ...]
- >>> nltk.corpus.mac_morpho.sents()
- [['Jersei', 'atinge', 'm\xe9dia', 'de', 'Cr$', '1,4', 'milh\xe3o',
- 'em', 'a', 'venda', 'de', 'a', 'Pinhal', 'em', 'S\xe3o', 'Paulo'],
- ['Programe', 'sua', 'viagem', 'a', 'a', 'Exposi\xe7\xe3o', 'Nacional',
- 'do', 'Zebu', ',', 'que', 'come\xe7a', 'dia', '25'], ...]
- >>> nltk.corpus.mac_morpho.tagged_words()
- [('Jersei', 'N'), ('atinge', 'V'), ('m\xe9dia', 'N'), ...]
-
-Tamb�m � poss�vel utiliz�-lo em chunks de frases.
-
- >>> nltk.corpus.mac_morpho.tagged_sents()
- [[('Jersei', 'N'), ('atinge', 'V'), ('m\xe9dia', 'N'), ('de', 'PREP'),
- ('Cr$', 'CUR'), ('1,4', 'NUM'), ('milh\xe3o', 'N'), ('em', 'PREP|+'),
- ('a', 'ART'), ('venda', 'N'), ('de', 'PREP|+'), ('a', 'ART'),
- ('Pinhal', 'NPROP'), ('em', 'PREP'), ('S\xe3o', 'NPROP'), ('Paulo', 'NPROP')],
- [('Programe', 'V'), ('sua', 'PROADJ'), ('viagem', 'N'), ('a', 'PREP|+'),
- ('a', 'ART'), ('Exposi\xe7\xe3o', 'NPROP'), ('Nacional', 'NPROP'),
- ('do', 'NPROP'), ('Zebu', 'NPROP'), (',', ','), ('que', 'PRO-KS-REL'),
- ('come\xe7a', 'V'), ('dia', 'N'), ('25', 'N|AP')], ...]
-
-Estes dados podem ser utilizados para efetuar o treinamento de taggers (como nos
-exemplos abaixo para o Floresta treebank).
-
-
-Utilizando o Floresta Portuguese Treebank
------------------------------------------
-
-A distribui��o de dados do NLTK inclui o
-"Floresta Sinta(c)tica Corpus" na vers�o 7.4, dispon�vel em
-``http://www.linguateca.pt/Floresta/``.
-
-Como para a amostra do Penn Treebank, � poss�vel
-utilizar o conte�do deste corpus como uma seq��ncia de palavras com
-informa��es de tags, da seguinte maneira:
-
- >>> from nltk.corpus import floresta
- >>> floresta.words()
- ['Um', 'revivalismo', 'refrescante', 'O', '7_e_Meio', ...]
- >>> floresta.tagged_words()
- [('Um', '>N+art'), ('revivalismo', 'H+n'), ...]
-
-As tags s�o constitu�das por certas informa��es sint�ticas, seguidas por
-um sinal
-de mais, seguido por tag costumeira de parte do discurso
-(part-of-speech). Vamos
-remover o conte�do que antecede o sinal de mais:
-
- >>> def simplify_tag(t):
- ... if "+" in t:
- ... return t[t.index("+")+1:]
- ... else:
- ... return t
- >>> twords = nltk.corpus.floresta.tagged_words()
- >>> twords = [(w.lower(),simplify_tag(t)) for (w,t) in twords]
- >>> twords[:10] # doctest: +NORMALIZE_WHITESPACE
- [('um', 'art'), ('revivalismo', 'n'), ('refrescante', 'adj'), ('o', 'art'), ('7_e_meio', 'prop'),
- ('\xe9', 'v-fin'), ('um', 'art'), ('ex-libris', 'n'), ('de', 'prp'), ('a', 'art')]
-
-E exibir de maneira mais apropriada as palavras com informa��es de tags:
-
- >>> print ' '.join(word + '/' + tag for (word, tag) in twords[:10])
- um/art revivalismo/n refrescante/adj o/art 7_e_meio/prop ?/v-fin um/art ex-libris/n de/prp a/art
-
-Em seguida, vamos contar o n�mero de tokens de palavras e tipos, al�m de
-determinar qual a palavra mais comum:
-
- >>> words = floresta.words()
- >>> len(words)
- 211870
- >>> fd = nltk.FreqDist(words)
- >>> len(fd)
- 29425
- >>> fd.max()
- 'de'
-
-Podemos tamb�m listar as 20 tags mais freq�entes, em ordem decrescente de
-freq��ncia:
-
- >>> tags = [simplify_tag(tag) for (word,tag) in floresta.tagged_words()]
- >>> fd = nltk.FreqDist(tags)
- >>> fd.sorted()[:20] # doctest: +NORMALIZE_WHITESPACE
- ['n', 'prp', 'art', 'v-fin', ',', 'prop', 'adj', 'adv', '.', 'conj-c', 'v-inf',
- 'pron-det', 'v-pcp', 'num', 'pron-indp', 'pron-pers', '\xab', '\xbb', 'conj-s', '}']
-
-Tamb�m podemos ler o corpus agrupado por enunciados:
-
- >>> floresta.sents() # doctest: +NORMALIZE_WHITESPACE
- [['Um', 'revivalismo', 'refrescante'], ['O', '7_e_Meio', '\xe9', 'um', 'ex-libris',
- 'de', 'a', 'noite', 'algarvia', '.'], ...]
- >>> floresta.tagged_sents() # doctest: +NORMALIZE_WHITESPACE
- [[('Um', '>N+art'), ('revivalismo', 'H+n'), ('refrescante', 'N<+adj')],
- [('O', '>N+art'), ('7_e_Meio', 'H+prop'), ('\xe9', 'P+v-fin'), ('um', '>N+art'),
- ('ex-libris', 'H+n'), ('de', 'H+prp'), ('a', '>N+art'), ('noite', 'H+n'),
- ('algarvia', 'N<+adj'), ('.', '.')], ...]
- >>> floresta.parsed_sents() # doctest: +NORMALIZE_WHITESPACE
- [Tree('UTT+np', [Tree('>N+art', ['Um']), Tree('H+n', ['revivalismo']),
- Tree('N<+adj', ['refrescante'])]), Tree('STA+fcl', [Tree('SUBJ+np',
- [Tree('>N+art', ['O']), Tree('H+prop', ['7_e_Meio'])]), Tree('P+v-fin', ['\xe9']),
- Tree('SC+np', [Tree('>N+art', ['um']), Tree('H+n', ['ex-libris']),
- Tree('N<+pp', [Tree('H+prp', ['de']), Tree('P<+np', [Tree('>N+art', ['a']),
- Tree('H+n', ['noite']), Tree('N<+adj', ['algarvia'])])])]), Tree('.', ['.'])]), ...]
-
-Para ver uma �rvore de an�lise sint�tica, podemos utilizar o m�todo
-``draw()``, como no exemplo:
-
- >>> psents = floresta.parsed_sents()
- >>> psents[5].draw() # doctest: +SKIP
-
-
-Concord�ncia simples
---------------------
-
-A seguir, apresentamos uma fun��o que recebe uma palavra e uma
-quantidade determinada
-de contexto (medido em caracteres) e gera uma concord�ncia para a mesma.
-
- >>> def concordance(word, context=30):
- ... for sent in floresta.sents():
- ... if word in sent:
- ... pos = sent.index(word)
- ... left = ' '.join(sent[:pos])
- ... right = ' '.join(sent[pos+1:])
- ... print '%*s %s %-*s' %\
- ... (context, left[-context:], word, context, right[:context])
-
- >>> concordance("dar") # doctest: +SKIP
- anduru , foi o suficiente para dar a volta a o resultado .
- 1. O P?BLICO veio dar a a imprensa di?ria portuguesa
- A fartura de pensamento pode dar maus resultados e n?s n?o quer
- Come?a a dar resultados a pol?tica de a Uni
- ial come?ar a incorporar- lo e dar forma a um ' site ' que tem se
- r com Constantino para ele lhe dar tamb?m os pap?is assinados .
- va a brincar , pois n?o lhe ia dar procura??o nenhuma enquanto n?
- ?rica como o ant?doto capaz de dar sentido a o seu enorme poder .
- . . .
- >>> concordance("vender") # doctest: +SKIP
- er recebido uma encomenda para vender 4000 blindados a o Iraque .
- m?rico_Amorim caso conseguisse vender o lote de ac??es de o empres?r
- mpre ter jovens simp?ticos a ? vender ? chega ! }
- Disse que o governo vai vender ? desde autom?vel at? particip
- ndiciou ontem duas pessoas por vender carro com ?gio .
- A inten??o de Fleury ? vender as a??es para equilibrar as fi
-
-Tagging de partes do discurso
------------------------------
-
-Vamos come�ar obtendo os dados dos enunciados marcados com tags e
-simplificando
-estas �ltimas como descrito anteriormente.
-
- >>> from nltk.corpus import floresta
- >>> tsents = floresta.tagged_sents()
- >>> tsents = [[(w.lower(),simplify_tag(t)) for (w,t) in sent] for sent in tsents if sent]
- >>> train = tsents[100:]
- >>> test = tsents[:100]
-
-J� sabemos que ``n`` � a tag mais comum; desta forma, podemos criar um
-tagger por default
-que marque toda palavra como substantivo e, em seguida, avaliar seu
-desempenho:
-
- >>> tagger0 = nltk.DefaultTagger('n')
- >>> nltk.tag.accuracy(tagger0, test)
- 0.17690941385435169
-
-Como pode-se deduzir facilmente, uma em cada seis palavras � um
-substantivo. Vamos
-aperfei�oar estes resultados treinando um tagger unigrama:
-
- >>> tagger1 = nltk.UnigramTagger(train, backoff=tagger0)
- >>> nltk.tag.accuracy(tagger1, test)
- 0.85115452930728241
-
-E, em seguida, um tagger bigrama:
-
- >>> tagger2 = nltk.BigramTagger(train, backoff=tagger1)
- >>> nltk.tag.accuracy(tagger2, test)
- 0.86856127886323264
-
-Segmenta��o de frases
----------------------
-
-O Punkt � uma ferramenta para segmenta��o de frases ling�isticamente independente, o qual
-requer um treinamento em texto puro.
-O texto de origem (obtido do Floresta Portuguese Treebank) cont�m uma frase por linha. Podemos
-ler o texto, dividi-lo em fun��o de suas linhas e ent�o agrupar estas linhas utilizando
-espa�os. Desta forma as informa��es sobre quebras de frases ter�o sido descartadas; podemos
-ent�o dividir este material em dados para treinamento e para verifica��o:
-
- >>> text = open('floresta.txt').read()
- >>> lines = text.split('\n')
- >>> train = ' '.join(lines[10:])
- >>> test = ' '.join(lines[:10])
-
-� agora poss�vel treinar o segmentador de frases (ou tokenizador de frases) e utiliz�-lo em
-nossas frases de verifica��o. (Para exibir o texto em uma forma leg�vel, pode ser necess�rio
-converter o texto para o UTF-8, utilizando ``print sent.decode('latin-1').encode('utf-8')``.)
-
- >>> stok = nltk.PunktSentenceTokenizer(train)
- >>> for sent in stok.tokenize(test):
- ... print sent
-
-
-As vers�es do NLTK a partir da 0.9b1 incluem um modelo treinado para a segmenta��o de frases
-em portugu�s, o qual pode ser carregado pela maneira a seguir. � mais r�pido carregar um modelo
-j� treinado do que repetir o treinamento do mesmo.
-
- >>> stok = nltk.data.load('tokenizers/punkt/portuguese.pickle')
-
-Stemming
---------
-
-O NLTK inclui o stemmer para o portugu�s RSLP. Vamos demonstrar sua utiliza��o para algumas
-palavras em portugu�s:
-
- >>> stemmer = nltk.stem.RSLPStemmer()
- >>> stemmer.stem("copiar")
- u'copi'
- >>> stemmer.stem("paisagem")
- u'pais'
-
-Stopwords
----------
-
-O NLTK inclui stopword ("palavras limite") para o portugu�s:
-
- >>> stopwords = nltk.corpus.stopwords.words('portuguese')
- >>> stopwords[:10]
- ['a', 'ao', 'aos', 'aquela', 'aquelas', 'aquele', 'aqueles', 'aquilo', 'as', 'at\xe9']
-
-A esta altura, � poss�vel utiliz�-las para filtrar textos. Vamos encontrar as palavras mais
-comuns (� exce��o das stopwords) e list�-las em ordem decrescente de freq��ncia:
-
- >>> fd = nltk.FreqDist(w.lower() for w in floresta.words() if w not in stopwords)
- >>> for word in fd.sorted()[:20]:
- ... print word, fd[word]
- , 13444
- . 7725
- ? 2369
- ? 2310
- ? 1137
- o 1086
- } 1047
- { 1044
- a 897
- ; 633
- em 516
- ser 466
- sobre 349
- os 313
- anos 301
- ontem 292
- ainda 279
- segundo 256
- ter 249
- dois 231
-
-
-Codifica��es de caracteres
---------------------------
-
-O Python � capaz de lidar com todas a codifica��es de caracteres mais utilizada para o portugu�s, a
-ISO 8859-1 (ISO Latin 1).
-
- >>> text = open('floresta.txt').read()
- >>> text[:60]
- 'O 7 e Meio \xe9 um ex-libris da noite algarvia.\n\xc9 uma das mais '
- >>> print text[:60]
- O 7 e Meio ? um ex-libris da noite algarvia.
- ? uma das mais
- >>> text[:60].decode('latin-1')
- u'O 7 e Meio \xe9 um ex-libris da noite algarvia.\n\xc9 uma das mais '
- >>> text[:60].decode('latin-1').encode('utf-8')
- 'O 7 e Meio \xc3\xa9 um ex-libris da noite algarvia.\n\xc3\x89 uma das mais '
- >>> text[:60].decode('latin-1').encode('utf-8')
- 'O 7 e Meio \xc3\xa9 um ex-libris da noite algarvia.\n\xc3\x89 uma das mais '
- >>> text[:60].decode('latin-1').encode('utf-16')
- '\xff\xfeO\x00 \x007\x00 \x00e\x00 \x00M\x00e\x00i\x00o\x00 \x00\xe9\x00 \x00u\x00m\x00 \x00e\x00x\x00-\x00l\x00i\x00b\x00r\x00i\x00s\x00 \x00d\x00a\x00 \x00n\x00o\x00i\x00t\x00e\x00 \x00a\x00l\x00g\x00a\x00r\x00v\x00i\x00a\x00.\x00\n\x00\xc9\x00 \x00u\x00m\x00a\x00 \x00d\x00a\x00s\x00 \x00m\x00a\x00i\x00s\x00 \x00'
diff --git a/nltk/test/resolution.doctest b/nltk/test/resolution.doctest
index e182c7c..4633f49 100644
--- a/nltk/test/resolution.doctest
+++ b/nltk/test/resolution.doctest
@@ -9,16 +9,16 @@ Resolution Theorem Prover
>>> from nltk.sem import logic
>>> from nltk.sem.logic import *
>>> logic._counter._value = 0
- >>> lexpr = logic.Expression.fromstring
+ >>> read_expr = logic.Expression.fromstring
- >>> P = lexpr('P')
- >>> Q = lexpr('Q')
- >>> R = lexpr('R')
- >>> A = lexpr('A')
- >>> B = lexpr('B')
- >>> x = lexpr('x')
- >>> y = lexpr('y')
- >>> z = lexpr('z')
+ >>> P = read_expr('P')
+ >>> Q = read_expr('Q')
+ >>> R = read_expr('R')
+ >>> A = read_expr('A')
+ >>> B = read_expr('B')
+ >>> x = read_expr('x')
+ >>> y = read_expr('y')
+ >>> z = read_expr('z')
-------------------------------
Test most_general_unification()
@@ -62,8 +62,8 @@ Test unify()
>>> print(Clause([P(x,x), Q(x), R(x)]).unify(Clause([-P(A,z), -Q(B)])))
[{-Q(B), Q(A), R(A)}, {-P(A,z), R(B), P(B,B)}]
- >>> a = clausify(lexpr('P(A)'))
- >>> b = clausify(lexpr('A=B'))
+ >>> a = clausify(read_expr('P(A)'))
+ >>> b = clausify(read_expr('A=B'))
>>> print(a[0].unify(b[0]))
[{P(B)}]
@@ -104,58 +104,58 @@ Test subsumes()
------------
Test prove()
------------
- >>> print(ResolutionProverCommand(lexpr('man(x)')).prove())
+ >>> print(ResolutionProverCommand(read_expr('man(x)')).prove())
False
- >>> print(ResolutionProverCommand(lexpr('(man(x) -> man(x))')).prove())
+ >>> print(ResolutionProverCommand(read_expr('(man(x) -> man(x))')).prove())
True
- >>> print(ResolutionProverCommand(lexpr('(man(x) -> --man(x))')).prove())
+ >>> print(ResolutionProverCommand(read_expr('(man(x) -> --man(x))')).prove())
True
- >>> print(ResolutionProverCommand(lexpr('-(man(x) & -man(x))')).prove())
+ >>> print(ResolutionProverCommand(read_expr('-(man(x) & -man(x))')).prove())
True
- >>> print(ResolutionProverCommand(lexpr('(man(x) | -man(x))')).prove())
+ >>> print(ResolutionProverCommand(read_expr('(man(x) | -man(x))')).prove())
True
- >>> print(ResolutionProverCommand(lexpr('(man(x) -> man(x))')).prove())
+ >>> print(ResolutionProverCommand(read_expr('(man(x) -> man(x))')).prove())
True
- >>> print(ResolutionProverCommand(lexpr('-(man(x) & -man(x))')).prove())
+ >>> print(ResolutionProverCommand(read_expr('-(man(x) & -man(x))')).prove())
True
- >>> print(ResolutionProverCommand(lexpr('(man(x) | -man(x))')).prove())
+ >>> print(ResolutionProverCommand(read_expr('(man(x) | -man(x))')).prove())
True
- >>> print(ResolutionProverCommand(lexpr('(man(x) -> man(x))')).prove())
+ >>> print(ResolutionProverCommand(read_expr('(man(x) -> man(x))')).prove())
True
- >>> print(ResolutionProverCommand(lexpr('(man(x) <-> man(x))')).prove())
+ >>> print(ResolutionProverCommand(read_expr('(man(x) <-> man(x))')).prove())
True
- >>> print(ResolutionProverCommand(lexpr('-(man(x) <-> -man(x))')).prove())
+ >>> print(ResolutionProverCommand(read_expr('-(man(x) <-> -man(x))')).prove())
True
- >>> print(ResolutionProverCommand(lexpr('all x.man(x)')).prove())
+ >>> print(ResolutionProverCommand(read_expr('all x.man(x)')).prove())
False
- >>> print(ResolutionProverCommand(lexpr('-all x.some y.F(x,y) & some x.all y.(-F(x,y))')).prove())
+ >>> print(ResolutionProverCommand(read_expr('-all x.some y.F(x,y) & some x.all y.(-F(x,y))')).prove())
False
- >>> print(ResolutionProverCommand(lexpr('some x.all y.sees(x,y)')).prove())
+ >>> print(ResolutionProverCommand(read_expr('some x.all y.sees(x,y)')).prove())
False
- >>> p1 = lexpr('all x.(man(x) -> mortal(x))')
- >>> p2 = lexpr('man(Socrates)')
- >>> c = lexpr('mortal(Socrates)')
+ >>> p1 = read_expr('all x.(man(x) -> mortal(x))')
+ >>> p2 = read_expr('man(Socrates)')
+ >>> c = read_expr('mortal(Socrates)')
>>> ResolutionProverCommand(c, [p1,p2]).prove()
True
- >>> p1 = lexpr('all x.(man(x) -> walks(x))')
- >>> p2 = lexpr('man(John)')
- >>> c = lexpr('some y.walks(y)')
+ >>> p1 = read_expr('all x.(man(x) -> walks(x))')
+ >>> p2 = read_expr('man(John)')
+ >>> c = read_expr('some y.walks(y)')
>>> ResolutionProverCommand(c, [p1,p2]).prove()
True
- >>> p = lexpr('some e1.some e2.(believe(e1,john,e2) & walk(e2,mary))')
- >>> c = lexpr('some e0.walk(e0,mary)')
+ >>> p = read_expr('some e1.some e2.(believe(e1,john,e2) & walk(e2,mary))')
+ >>> c = read_expr('some e0.walk(e0,mary)')
>>> ResolutionProverCommand(c, [p]).prove()
True
------------
Test proof()
------------
- >>> p1 = lexpr('all x.(man(x) -> mortal(x))')
- >>> p2 = lexpr('man(Socrates)')
- >>> c = lexpr('mortal(Socrates)')
+ >>> p1 = read_expr('all x.(man(x) -> mortal(x))')
+ >>> p2 = read_expr('man(Socrates)')
+ >>> c = read_expr('mortal(Socrates)')
>>> logic._counter._value = 0
>>> tp = ResolutionProverCommand(c, [p1,p2])
>>> tp.prove()
@@ -173,10 +173,10 @@ Test proof()
Question Answering
------------------
One answer
- >>> p1 = lexpr('father_of(art,john)')
- >>> p2 = lexpr('father_of(bob,kim)')
- >>> p3 = lexpr('all x.all y.(father_of(x,y) -> parent_of(x,y))')
- >>> c = lexpr('all x.(parent_of(x,john) -> ANSWER(x))')
+ >>> p1 = read_expr('father_of(art,john)')
+ >>> p2 = read_expr('father_of(bob,kim)')
+ >>> p3 = read_expr('all x.all y.(father_of(x,y) -> parent_of(x,y))')
+ >>> c = read_expr('all x.(parent_of(x,john) -> ANSWER(x))')
>>> logic._counter._value = 0
>>> tp = ResolutionProverCommand(None, [p1,p2,p3,c])
>>> sorted(tp.find_answers())
@@ -194,11 +194,11 @@ One answer
<BLANKLINE>
Multiple answers
- >>> p1 = lexpr('father_of(art,john)')
- >>> p2 = lexpr('mother_of(ann,john)')
- >>> p3 = lexpr('all x.all y.(father_of(x,y) -> parent_of(x,y))')
- >>> p4 = lexpr('all x.all y.(mother_of(x,y) -> parent_of(x,y))')
- >>> c = lexpr('all x.(parent_of(x,john) -> ANSWER(x))')
+ >>> p1 = read_expr('father_of(art,john)')
+ >>> p2 = read_expr('mother_of(ann,john)')
+ >>> p3 = read_expr('all x.all y.(father_of(x,y) -> parent_of(x,y))')
+ >>> p4 = read_expr('all x.all y.(mother_of(x,y) -> parent_of(x,y))')
+ >>> c = read_expr('all x.(parent_of(x,john) -> ANSWER(x))')
>>> logic._counter._value = 0
>>> tp = ResolutionProverCommand(None, [p1,p2,p3,p4,c])
>>> sorted(tp.find_answers())
diff --git a/nltk/test/sem3.cfg b/nltk/test/sem3.cfg
deleted file mode 100644
index 948f1fd..0000000
--- a/nltk/test/sem3.cfg
+++ /dev/null
@@ -1,14 +0,0 @@
-#######################################
-# sem1.cfg
-#######################################
-# Minimal feature-based grammar with determiner semantics.
-
-
-% start S
-
-S[sem=?vp] -> NP[sem=?np] VP[subj=?np, sem=?vp]
-VP[sem=?v, subj=?np] -> IV[sem=?v, subj=?np]
-NP[sem=[index='k',name='kim']] -> 'Kim'
-IV[sem=[rel='bark', arg=?i], subj=[sem=[index=?i]]] -> 'barks'
-#IV[fsem=[rel='bark', arg=(1)[]], subj=[fsem=[index->(1)]]] -> 'barks'
-
diff --git a/nltk/test/semantics.doctest b/nltk/test/semantics.doctest
index f22c4a5..3daf7b0 100644
--- a/nltk/test/semantics.doctest
+++ b/nltk/test/semantics.doctest
@@ -168,7 +168,7 @@ Parse a valuation from a string.
... in => {(b1, n), (b2, n), (d2, n)}
... with => {(b1, g1), (g1, b1), (d1, b1), (b1, d1)}
... """
- >>> val = parse_valuation(v)
+ >>> val = Valuation.fromstring(v)
>>> print(val) # doctest: +SKIP
{'bark': set([('d1',), ('d2',)]),
diff --git a/nltk/test/toy.cfg b/nltk/test/toy.cfg
deleted file mode 100644
index 0977292..0000000
--- a/nltk/test/toy.cfg
+++ /dev/null
@@ -1,9 +0,0 @@
-S -> NP VP
-PP -> P NP
-NP -> Det N | NP PP
-VP -> V NP | VP PP
-Det -> 'a' | 'the'
-N -> 'dog' | 'cat'
-V -> 'chased' | 'sat'
-P -> 'on' | 'in'
-
diff --git a/nltk/text.py b/nltk/text.py
index cc8067e..37bae1c 100644
--- a/nltk/text.py
+++ b/nltk/text.py
@@ -26,7 +26,7 @@ from nltk.probability import ConditionalFreqDist as CFD
from nltk.util import tokenwrap, LazyConcatenation
from nltk.metrics import f_measure, BigramAssocMeasures
from nltk.collocations import BigramCollocationFinder
-from nltk.compat import python_2_unicode_compatible, text_type
+from nltk.compat import python_2_unicode_compatible, text_type, Counter
class ContextIndex(object):
@@ -327,7 +327,7 @@ class Text(object):
:seealso: ``ConcordanceIndex``
"""
if '_concordance_index' not in self.__dict__:
- print("Building index...")
+ #print("Building index...")
self._concordance_index = ConcordanceIndex(self.tokens,
key=lambda s:s.lower())
@@ -347,7 +347,7 @@ class Text(object):
self._num = num
self._window_size = window_size
- print("Building collocations list")
+ #print("Building collocations list")
from nltk.corpus import stopwords
ignored_words = stopwords.words('english')
finder = BigramCollocationFinder.from_words(self.tokens, window_size)
@@ -386,7 +386,7 @@ class Text(object):
:seealso: ContextIndex.similar_words()
"""
if '_word_context_index' not in self.__dict__:
- print('Building word-context index...')
+ #print('Building word-context index...')
self._word_context_index = ContextIndex(self.tokens,
filter=lambda x:x.isalpha(),
key=lambda s:s.lower())
@@ -397,9 +397,9 @@ class Text(object):
wci = self._word_context_index._word_to_contexts
if word in wci.conditions():
contexts = set(wci[word])
- fd = FreqDist(w for w in wci.conditions() for c in wci[w]
+ fd = Counter(w for w in wci.conditions() for c in wci[w]
if c in contexts and not w == word)
- words = islice(fd.keys(), num)
+ words = [w for w, _ in fd.most_common(num)]
print(tokenwrap(words))
else:
print("No matches")
@@ -417,7 +417,7 @@ class Text(object):
:seealso: ContextIndex.common_contexts()
"""
if '_word_context_index' not in self.__dict__:
- print('Building word-context index...')
+ #print('Building word-context index...')
self._word_context_index = ContextIndex(self.tokens,
key=lambda s:s.lower())
@@ -426,7 +426,7 @@ class Text(object):
if not fd:
print("No common contexts were found")
else:
- ranked_contexts = islice(fd.keys(), num)
+ ranked_contexts = [w for w, _ in fd.most_common(num)]
print(tokenwrap(w1+"_"+w2 for w1,w2 in ranked_contexts))
except ValueError as e:
@@ -456,7 +456,7 @@ class Text(object):
:seealso: nltk.prob.FreqDist
"""
if "_vocab" not in self.__dict__:
- print("Building vocabulary index...")
+ #print("Building vocabulary index...")
self._vocab = FreqDist(self)
return self._vocab
@@ -586,9 +586,9 @@ def demo():
print("Collocations:")
text.collocations()
print()
- print("Automatically generated text:")
- text.generate()
- print()
+ #print("Automatically generated text:")
+ #text.generate()
+ #print()
print("Dispersion plot:")
text.dispersion_plot(['news', 'report', 'said', 'announced'])
print()
diff --git a/nltk/tree.py b/nltk/tree.py
index 6bc0472..eab736e 100644
--- a/nltk/tree.py
+++ b/nltk/tree.py
@@ -1512,7 +1512,7 @@ def demo():
and shows the results of calling several of their methods.
"""
- from nltk import Tree
+ from nltk import Tree, ProbabilisticTree
# Demonstrate tree parsing.
s = '(S (NP (DT the) (NN cat)) (VP (VBD ate) (NP (DT a) (NN cookie))))'
@@ -1550,7 +1550,7 @@ def demo():
print()
# Demonstrate probabilistic trees.
- pt = tree.ProbabilisticTree('x', ['y', 'z'], prob=0.5)
+ pt = ProbabilisticTree('x', ['y', 'z'], prob=0.5)
print("Probabilistic Tree:")
print(pt)
print()
diff --git a/nltk/util.py b/nltk/util.py
index 85fbe69..daef21b 100644
--- a/nltk/util.py
+++ b/nltk/util.py
@@ -1098,3 +1098,36 @@ def set_proxy(proxy, user=None, password=''):
# Overide the existing url opener
install_opener(opener)
+
+
+######################################################################
+# ElementTree pretty printing from http://www.effbot.org/zone/element-lib.htm
+######################################################################
+
+
+def elementtree_indent(elem, level=0):
+ """
+ Recursive function to indent an ElementTree._ElementInterface
+ used for pretty printing. Run indent on elem and then output
+ in the normal way.
+
+ :param elem: element to be indented. will be modified.
+ :type elem: ElementTree._ElementInterface
+ :param level: level of indentation for this element
+ :type level: nonnegative integer
+ :rtype: ElementTree._ElementInterface
+ :return: Contents of elem indented to reflect its structure
+ """
+
+ i = "\n" + level*" "
+ if len(elem):
+ if not elem.text or not elem.text.strip():
+ elem.text = i + " "
+ for elem in elem:
+ elementtree_indent(elem, level+1)
+ if not elem.tail or not elem.tail.strip():
+ elem.tail = i
+ else:
+ if level and (not elem.tail or not elem.tail.strip()):
+ elem.tail = i
+
diff --git a/papers/acl-02/.cvsignore b/papers/acl-02/.cvsignore
deleted file mode 100644
index a027086..0000000
--- a/papers/acl-02/.cvsignore
+++ /dev/null
@@ -1,7 +0,0 @@
-*.aux
-*.dvi
-*.log
-*.ps
-*.bbl
-*.blg
-*.pdf
diff --git a/papers/acl-02/Makefile b/papers/acl-02/Makefile
deleted file mode 100644
index 27db9fc..0000000
--- a/papers/acl-02/Makefile
+++ /dev/null
@@ -1,62 +0,0 @@
-# Natural Language Toolkit: Technical report Makefile
-#
-# Copyright (C) 2001-2014 NLTK Project
-# Author: Edward Loper <edloper at gmail.com>
-# URL: <http://nltk.org/>
-# For license information, see LICENSE.TXT
-
-##############################################
-## The name of the report
-REPORT = acl02
-
-help: usage
-usage:
- @echo
- @echo make '[dvi | ps | pdf | clean]'
- @echo
-
-# We're using bibtex:
-$(REPORT).dvi: $(REPORT).bbl
-BIBFILE = nltk.bib
-
-##############################################
-## Figure dependancies
-
-
-##############################################
-## You shouldn't have to change anything below here.
-
-# Find the name of the dvi and ps files.
-DVI := $(REPORT).dvi
-PS := $(REPORT).ps
-PDF := $(REPORT).pdf
-
-# Top-level rules.
-dvi: $(DVI)
-ps: $(PS)
-pdf: $(PDF)
-clean:
- rm -f *.log *.aux *.dvi *.ps *.toc *.pdf *.bbl *.blg
-
-%.bbl: %.tex $(BIBFILE)
- latex $*.tex || (rm -f $*.dvi && false)
- bibtex $* || (rm -f $*.dvi $@ && false)
-
-%.dvi: %.tex
- latex $*.tex || (rm -f $@ && false)
- latex $*.tex || (rm -f $@ && false)
-
-%.ps: %.dvi
- dvips -t letter -o $@ $< -G0 -Ppdf
-
-%.eps: %.dot
- dot -Tps -o $@ $<
-
-%.eps: %.obj
- tgif -print -eps $<
-
-%.pdf: %.ps
- ps2pdf -sPAPERSIZE=letter -dMaxSubsetPct=100 \
- -dCompatibilityLevel=1.2 -dSubsetFonts=true \
- -dEmbedAllFonts=true $< $@
-
diff --git a/papers/acl-02/acl-02.tex b/papers/acl-02/acl-02.tex
deleted file mode 100644
index 5e527ee..0000000
--- a/papers/acl-02/acl-02.tex
+++ /dev/null
@@ -1,705 +0,0 @@
-%
-% Submission for ``Effective Tools And Methodologies For Teaching
-% Natural Language Processing And Computational Linguistics'' workshop
-% at ACL 2002
-%
-% Authors: Edward Loper and Steven Bird
-%
-\documentclass[11pt]{article}
-\usepackage{acl2002,url,alltt,epsfig}
-
-% hyphenation control
-\pretolerance 250
-\tolerance 500
-\hyphenpenalty 200
-\exhyphenpenalty 100
-\doublehyphendemerits 7500
-\finalhyphendemerits 7500
-\brokenpenalty 10000
-\lefthyphenmin 3
-\righthyphenmin 3
-\widowpenalty 10000
-\clubpenalty 10000
-\displaywidowpenalty 10000
-\looseness 1
-
-\title{NLTK: The Natural Language Toolkit}
-\author{
-Edward Loper and Steven Bird\\
-Department of Computer and Information Science \\
-University of Pennsylvania, Philadelphia, PA 19104-6389, USA
-}
-\date{}
-
-% Outline:
-% - abstract (summary, above.)
-% - introduction
-% - choice of programming language
-% - design criteria
-% - modules
-% - uses
-% - assignments
-% - class demonstrations
-% - projects
-% - evaluation
-% - other approaches
-% - conclusion
-
-
-\newenvironment{sv}{\small\begin{alltt}}{\end{alltt}\normalsize}
-
-\begin{document}
-\maketitle
-
-\begin{abstract}
-NLTK, the Natural Language Toolkit, is a suite of open source program modules,
-tutorials and problem sets, providing ready-to-use computational
-linguistics courseware. NLTK covers symbolic and statistical natural
-language processing, and is interfaced to annotated corpora. Students
-augment and replace existing components, learn structured
-programming by example, and manipulate sophisticated models from the
-outset.
-\end{abstract}
-
-% ===================== Introduction =====================
-\section{Introduction}
-
-Teachers of introductory courses on computational linguistics are
-often faced with the challenge of setting up a practical programming
-component for student assignments and projects. This is a difficult
-task because different computational linguistics domains require a
-variety of different data structures and functions, and because a
-diverse range of topics may need to be included in the syllabus.
-
-A widespread practice is to employ multiple programming languages,
-where each language provides native data structures and functions that
-are a good fit for the task at hand. For example, a course might use
-Prolog for parsing, Perl for corpus processing, and a finite-state
-toolkit for morphological analysis. By relying on the built-in
-features of various languages, the teacher avoids having to develop a
-lot of software infrastructure.
-
-An unfortunate consequence is that a significant part of such courses
-must be devoted to teaching programming languages. Further, many
-interesting projects span a variety of domains, and would require that
-multiple languages be bridged. For example, a student project that
-involved syntactic parsing of corpus data from a morphologically rich
-language might involve all three of the languages mentioned above:
-Perl for string processing; a finite state toolkit for morphological
-analysis; and Prolog for parsing.
-It is clear that these considerable overheads and shortcomings warrant
-a fresh approach.
-
-Apart from the practical component, computational linguistics courses
-may also depend on software for in-class demonstrations. This context
-calls for highly interactive graphical user interfaces, making it
-possible to view program state (e.g. the chart of a chart parser),
-observe program execution step-by-step (e.g. execution of a
-finite-state machine), and even make minor modifications to programs
-in response to ``what if'' questions from the class. Because of these
-difficulties it is common to avoid live demonstrations, and keep
-classes for theoretical presentations only. Apart from being dull,
-this approach leaves students to solve important practical problems on
-their own, or to deal with them less efficiently in office hours.
-
-In this paper we introduce a new approach to the above challenges, a
-streamlined and flexible way of organizing the practical component of
-an introductory computational linguistics course. We describe NLTK,
-the Natural Language Toolkit, which we have developed in conjunction
-with a course we have taught at the University of Pennsylvania.
-
-The Natural Language Toolkit is available under an open source license
-from \mbox{\url{http://nltk.sf.net/}}. NLTK runs on all platforms
-supported by Python, including Windows, OS X, Linux, and Unix.
-
-% ===================== Python =====================
-\section{Choice of Programming Language}
-\label{sec:python}
-
-The most basic step in setting up a practical component is choosing a
-suitable programming language. A number of considerations influenced
-our choice. First, the language must have a shallow learning curve,
-so that novice programmers get immediate rewards for their efforts.
-Second, the language must support rapid prototyping and a short
-develop/test cycle; an obligatory compilation step is a serious
-detraction. Third, the code should be self-documenting, with a
-transparent syntax and semantics. Fourth, it should be easy to write
-structured programs, ideally object-oriented but without the burden
-associated with languages like C++. Finally, the language must have
-an easy-to-use graphics library to support the development of
-graphical user interfaces.
-
-% [EL] ``punitive'' seems like a strange word.
-% [EL] I couldn't find a REF for ``executable pseudocode'' -- closest
-% I got was http://www.thinkware.se/cgi-bin/thinki.cgi/PythonQuotes
-% [SB] changed Python citation to URL
-In surveying the available languages, we believe that Python offers an
-especially good fit to the above requirements. Python is an
-object-oriented scripting language developed by Guido van Rossum
-and available on all platforms (\url{www.python.org}). Python offers a
-shallow learning curve; it was designed to be easily learnt by
-children \cite{rossum99}. As an interpreted language, Python is
-suitable for rapid prototyping. Python code is exceptionally
-readable, and it has been praised as ``executable pseudocode.''
-Python is an object-oriented language, but not punitively so, and it
-is easy to encapsulate data and methods inside Python classes.
-Finally, Python has an interface to the Tk graphics toolkit
-\cite{tkinter}, and writing graphical interfaces is straightforward.
-
-% ===================== Design Criteria =====================
-\section{Design Criteria}
-\label{sec:criteria}
-
-% [EL] Is this ambiguous between descending/ascending?
-Several criteria were considered in the design and implementation of
-the toolkit. These design criteria are listed in the order of their
-importance. It was also important to decide what goals the toolkit
-would \emph{not} attempt to accomplish; we therefore include an
-explicit set of non-requirements, which the toolkit is not expected to
-satisfy.
-
-\subsection{Requirements}
-
-\paragraph{\textit{Ease of Use.}} The primary purpose of the toolkit is
-to allow students to concentrate on building natural language
-processing (NLP) systems. The more time students must spend learning
-to use the toolkit, the less useful it is.
-
-\paragraph{\textit{Consistency.}} The toolkit should use consistent data
-structures and interfaces.
-
-\paragraph{\textit{Extensibility.}} The toolkit should easily
-accommodate new components, whether those components replicate or
-extend the toolkit's existing functionality. The toolkit should be
-structured in such a way that it is obvious where new extensions would
-fit into the toolkit's infrastructure.
-
-% [EL] I commented out the list of documentation types, since we have
-% a section that talks about the documentation.
-\paragraph{\textit{Documentation.}} The toolkit, its data structures,
-and its implementation all need to be carefully and thoroughly
-documented. All nomenclature must be carefully chosen and
-consistently used.
-
-\paragraph{\textit{Simplicity.}} The toolkit should structure the
-complexities of building NLP systems, not hide them. Therefore, each
-class defined by the toolkit should be simple enough that a student
-could implement it by the time they finish an introductory course in
-computational linguistics.
-
-\paragraph{\textit{Modularity.}} The interaction between different
-components of the toolkit should be kept to a minimum, using simple,
-well-defined interfaces. In particular, it should be possible to
-complete individual projects using small parts of the toolkit, without
-worrying about how they interact with the rest of the toolkit. This
-allows students to learn how to use the toolkit incrementally
-throughout a course. Modularity also makes it easier to change and
-extend the toolkit.
-
-\subsection{Non-Requirements}
-
-\paragraph{\textit{Comprehensiveness.}} The toolkit is not intended to
-provide a comprehensive set of tools. Indeed, there should be a wide
-variety of ways in which students can extend the toolkit.
-
-\paragraph{\textit{Efficiency.}} The toolkit does not need to be highly
-optimized for runtime performance. However, it should be efficient
-enough that students can use their NLP systems to perform real tasks.
-
-\paragraph{\textit{Cleverness.}} Clear designs and implementations are
-far preferable to ingenious yet indecipherable ones.
-
-% ===================== Modules =====================
-\section{Modules}
-\label{sec:modules}
-% What order should the subsections be in? Put more impressive stuff
-% at the beginning and end?
-
-% [EL] is ``defines'' the right word?
-The toolkit is implemented as a collection of independent
-\emph{modules}, each of which defines a specific data structure or
-task.
-
-A set of core modules defines basic data types and processing systems
-that are used throughout the toolkit. The \texttt{token} module
-provides basic classes for processing individual elements of text,
-such as words or sentences. The \texttt{tree} module defines data
-structures for representing tree structures over text, such as syntax
-trees and morphological trees. The \texttt{probability} module
-implements classes that encode frequency distributions and probability
-distributions, including a variety of statistical smoothing
-techniques.
-
-The remaining modules define data structures and interfaces for
-performing specific NLP tasks. This list of modules will grow over
-time, as we add new tasks and algorithms to the toolkit.
-
-\subsection*{Parsing Modules}
-
-The \texttt{parser} module defines a high-level interface for
-producing trees that represent the structures of texts. The
-\texttt{chunkparser} module defines a sub-interface for parsers that
-identify non-overlapping linguistic groups (such as base noun phrases)
-in unrestricted text.
-
-Four modules provide implementations for these abstract interfaces.
-The \texttt{srparser} module implements a simple shift-reduce parser.
-The \texttt{chartparser} module defines a flexible parser that uses a
-\emph{chart} to record hypotheses about syntactic constituents. The
-\texttt{pcfgparser} module provides a variety of different parsers for
-probabilistic grammars. And the \texttt{rechunkparser} module defines
-a transformational regular-expression based implementation of the
-chunk parser interface.
-
-\subsection*{Tagging Modules}
-
-The \texttt{tagger} module defines a standard interface for augmenting
-each token of a text with supplementary information, such as its part
-of speech or its WordNet synset tag; and provides several different
-implementations for this interface.
-
-\subsection*{Finite State Automata}
-
-% [EL] Steven, do you want to add anything here? Say anything about HMMS?
-% Will you have implemented more interfaces by the time of ACL?
-The \texttt{fsa} module defines a data type for encoding finite state
-automata; and an interface for creating automata from regular
-expressions.
-
-\subsection*{Type Checking}
-
-% [EL] This could use another pass or two. :)
-Debugging time is an important factor in the toolkit's ease of use.
-To reduce the amount of time students must spend debugging their code,
-we provide a type checking module, which can be used to ensure that
-functions are given valid arguments. The type checking module is
-used by all of the basic data types and processing classes.
-
-Since type checking is done explicitly, it can slow the toolkit down.
-However, when efficiency is an issue, type checking can be easily
-turned off; and with type checking is disabled, there is no
-performance penalty.
-
-\subsection*{Visualization}
-
-Visualization modules define graphical interfaces for viewing and
-manipulating data structures, and graphical tools for experimenting
-with NLP tasks. The \texttt{draw.tree} module provides a simple
-graphical interface for displaying tree structures. The
-\texttt{draw.tree\_edit} module provides an interface for building and
-modifying tree structures. The \texttt{draw.plot\_graph} module can be
-used to graph mathematical functions. The \texttt{draw.fsa} module
-provides a graphical tool for displaying and simulating finite state
-automata. The \texttt{draw.chart} module provides an interactive
-graphical tool for experimenting with chart parsers.
-
-% [EL] This still needs work...
-The visualization modules provide interfaces for interaction and
-experimentation; they do not directly implement NLP data structures or
-tasks. Simplicity of implementation is therefore less of an issue for
-the visualization modules than it is for the rest of the toolkit.
-
-\subsection*{Text Classification}
-
-The \texttt{classifier} module defines a standard interface for
-classifying texts into categories. This interface is currently
-implemented by two modules. The \texttt{classifier.naivebayes} module
-defines a text classifier based on the Naive Bayes assumption. The
-\texttt{classifier.maxent} module defines the maximum entropy model
-for text classification, and implements two algorithms for training
-the model: Generalized Iterative Scaling and Improved Iterative
-Scaling.
-
-The \texttt{classifier.feature} module provides a standard encoding
-for the information that is used to make decisions for a particular
-classification task. This standard encoding allows students to
-experiment with the differences between different text classification
-algorithms, using identical feature sets.
-
-The \texttt{classifier.featureselection} module defines a standard
-interface for choosing which features are relevant for a particular
-classification task. Good feature selection can significantly improve
-classification performance.
-
-% ===================== Documentation =====================
-\section{Documentation}
-\label{sec:documentation}
-
-The toolkit is accompanied by extensive documentation that explains
-the toolkit, and describes how to use and extend it. This
-documentation is divided into three primary categories:
-
-% [EL] Provide some indication of how much tutorial material is
-% available? (Currently, 9 tutorials, mean=16pp, range=6pp-52pp.)
-\paragraph{\textit{Tutorials}} teach students how to use the toolkit,
-in the context of performing specific tasks. Each tutorial focuses on
-a single domain, such as tagging, probabilistic systems, or text
-classification. The tutorials include a high-level discussion that
-explains and motivates the domain, followed by a detailed
-walk-through that uses examples to show how NLTK can be used to
-perform specific tasks.
-
-\paragraph{\textit{Reference Documentation}} provides precise
-definitions for every module, interface, class, method, function, and
-variable in the toolkit. It is automatically extracted from docstring
-comments in the Python source code, using Epydoc \cite{epydoc}.
-
-\paragraph{\textit{Technical Reports}} explain and justify the
-toolkit's design and implementation. They are used by the developers
-of the toolkit to guide and document the toolkit's construction.
-Students can also consult these reports if they would like further
-information about how the toolkit is designed, and why it is designed
-that way.
-
-% ===================== Uses =====================
-\section{Uses of NLTK}
-\label{sec:uses}
-
-\subsection{Assignments}
-
-NLTK can be used to create student assignments of varying difficulty
-and scope.
-% Use a module
-In the simplest assignments, students experiment with an existing
-module. The wide variety of existing modules provide many opportunities
-for creating these simple assignments.
-% Edit/extend a module.
-Once students become more familiar with the toolkit, they can be asked
-to make minor changes or extensions to an existing module.
-% Develop a new module.
-A more challenging task is to develop a new module. Here, NLTK
-provides some useful starting points: predefined interfaces and data
-structures, and existing modules that implement the same interface.
-
-\subsubsection*{Example: Chunk Parsing}
-
-As an example of a moderately difficult assignment, we asked students
-to construct a chunk parser that correctly identifies base noun phrase
-chunks in a given text, by defining a cascade of transformational
-chunking rules. The NLTK \texttt{rechunkparser} module provides a
-variety of regular-expression based rule types, which the students can
-instantiate to construct complete rules. For example,
-\texttt{ChunkRule('<NN.*>')} builds chunks from sequences of
-consecutive nouns; \texttt{ChinkRule('<VB.>')} excises verbs from
-existing chunks; \texttt{SplitRule('<NN>', '<DT>')} splits any
-existing chunk that contains a singular noun followed by determiner
-into two pieces; and \texttt{MergeRule('<JJ>', '<JJ>')} combines two
-adjacent chunks where the first chunk ends and the second chunk starts
-with adjectives.
-
-The chunking tutorial motivates chunk parsing, describes each rule
-type, and provides all the necessary code for the assignment. The
-provided code is responsible for loading the chunked, part-of-speech
-tagged text using an existing tokenizer, creating an unchunked version
-of the text, applying the chunk rules to the unchunked text, and
-scoring the result. Students focus on the NLP task only -- providing
-a rule set with the best coverage.
-
-In the remainder of this section we reproduce some of the cascades
-created by the students. The first example illustrates a combination
-of several rule types:
-
-\begin{sv}
-cascade = [
- ChunkRule('<DT><NN.*><VB.><NN.*>'),
- ChunkRule('<DT><VB.><NN.*>'),
- ChunkRule('<.*>'),
- UnChunkRule('<IN|VB.*|CC|MD|RB.*>'),
- UnChunkRule("<,|{\textbackslash}{\textbackslash}.|``|''>"),
- MergeRule('<NN.*|DT|JJ.*|CD>',
- '<NN.*|DT|JJ.*|CD>'),
- SplitRule('<NN.*>', '<DT|JJ>')
-]
-\end{sv}
-
-The next example illustrates a brute-force statistical approach. The
-student calculated how often each part-of-speech tag was included in a
-noun phrase. They then constructed chunks from any sequence of tags
-that occurred in a noun phrase more than 50\% of the time.
-
-\begin{sv}
-cascade = [
- ChunkRule('<{\textbackslash}{\textbackslash}\$|CD|DT|EX|PDT
- |PRP.*|WP.*|{\textbackslash}{\textbackslash}\#|FW
- |JJ.*|NN.*|POS|RBS|WDT>*')
-]
-\end{sv}
-
-In the third example, the student constructed a single chunk
-containing the entire text, and then excised all elements that did not
-belong.
-
-\begin{sv}
-cascade = [
- ChunkRule('<.*>+')
- ChinkRule('<VB.*|IN|CC|R.*|MD|WRB|TO|.|,>+')
-]
-\end{sv}
-
-%% [EL] This makes it sound like we GRADED them using their precision,
-%% recall, and f-measure. Either say something about the contest, or
-%% leave this out:
-%Each student's project was scored using its precision, recall, and
-%F-measure.
-
-% [EL] Leave out the picture.
-%Figure~\ref{fig:contest} shows the results; students with the best two
-%scores were presented with prizes.
-%
-%\begin{figure}
-%\centerline{\epsfig{figure=contest.ps,width=\linewidth}}
-%\caption{Precision/Recall Graph for Chunking Competition}\label{fig:contest}
-%\vspace*{2ex}\hrule
-%\end{figure}
-
-\subsection{Class demonstrations}
-
-NLTK provides graphical tools that can be used in class demonstrations
-to help explain basic NLP concepts and algorithms. These interactive
-tools can be used to display relevant data structures and to show the
-step-by-step execution of algorithms. Both data structures and
-control flow can be easily modified during the demonstration, in
-response to questions from the class.
-
-Since these graphical tools are included with the toolkit, they can
-also be used by students. This allows students to experiment at home
-with the algorithms that they have seen presented in class.
-
-\subsubsection*{Example: The Chart Parsing Tool}
-
-The chart parsing tool is an example of a graphical tool provided by
-NLTK. This tool can be used to explain the basic concepts behind
-chart parsing, and to show how the algorithm works. Chart parsing is
-a flexible parsing algorithm that uses a data structure called a
-\emph{chart} to record hypotheses about syntactic constituents. Each
-hypothesis is represented by a single \emph{edge} on the chart. A set
-of \emph{rules} determine when new edges can be added to the chart.
-This set of rules controls the overall behavior of the parser (e.g.,
-whether it parses top-down or bottom-up).
-
-The chart parsing tool demonstrates the process of parsing a single
-sentence, with a given grammar and lexicon. Its display is divided
-into three sections: the bottom section displays the chart; the middle
-section displays the sentence; and the top section displays the
-partial syntax tree corresponding to the selected edge. Buttons along
-the bottom of the window are used to control the execution of the
-algorithm. The main display window for the chart parsing tool is
-shown in Figure~\ref{fig:chartparse}.
-
-\begin{figure}
-\centerline{\epsfig{figure=chartparse.eps,width=\linewidth}}
-\caption{Chart Parsing Tool}\label{fig:chartparse}
-\vspace*{2ex}\hrule
-\end{figure}
-
-This tool can be used to explain several different aspects of chart
-parsing. First, it can be used to explain the basic chart data
-structure, and to show how edges can represent hypotheses about
-syntactic constituents. It can then be used to demonstrate and
-explain the individual rules that the chart parser uses to create new
-edges. Finally, it can be used to show how these individual rules
-combine to find a complete parse for a given sentence.
-
-% Is ``user'' a good word here? ``lecturer''?
-To reduce the overhead of setting up demonstrations during lecture,
-the user can define a list of preset charts. The tool can then be
-reset to any one of these charts at any time.
-
-The chart parsing tool allows for flexible control of the parsing
-algorithm. At each step of the algorithm, the user can select which
-rule or strategy they wish to apply. This allows the user to
-experiment with mixing different strategies (e.g., top-down and
-bottom-up). The user can exercise fine-grained control over the
-algorithm by selecting which edge they wish to apply a rule to. This
-flexibility allows lecturers to use the tool to respond to a wide
-variety of questions; and allows students to experiment with different
-variations on the chart parsing algorithm.
-
-\subsection{Advanced Projects}
-
-NLTK provides students with a flexible framework for advanced
-projects. Typical projects involve the development of entirely new
-functionality for a previously unsupported NLP task, or the
-development of a complete system out of existing and new modules.
-
-% Broad coverage
-The toolkit's broad coverage allows students to explore a wide variety
-of topics. In our introductory computational linguistics course,
-topics for student projects included text generation, word sense
-disambiguation, collocation analysis, and morphological analysis.
-
-% Less grunt-work
-NLTK eliminates the tedious infrastructure-building that is typically
-associated with advanced student projects by providing students with
-the basic data structures, tools, and interfaces that they need. This
-allows the students to concentrate on the problems that interest them.
-
-% Meaningful contribution
-The collaborative, open-source nature of the toolkit can provide
-students with a sense that their projects are meaningful
-contributions, and not just exercises. Several of the students in our
-course have expressed interest in incorporating their projects into
-the toolkit.
-
-% Good examples
-Finally, many of the modules included in the toolkit provide students
-with good examples of what projects should look like, with well
-thought-out interfaces, clean code structure, and thorough
-documentation.
-
-\subsubsection*{Example: Probabilistic Parsing}
-% [EL] I'm a bit uncomfortable including this description without
-% mentioning that I'm the author -- seems a little misleading. But at
-% the same time, it seems like it's much less interesting if I say
-% that I wrote it, given that I wrote the majority of the toolkit
-% anyway. :-/ Perhaps we should just leave out this section. Any
-% ideas?
-
-The probabilistic parsing module was created as a class project for a
-statistical NLP course. The toolkit provided the basic data types and
-interfaces for parsing. The project extended these, adding a new
-probabilistic parsing interface, and using subclasses to create a
-probabilistic version of the context free grammar data structure.
-These new components were used in conjunction with several existing
-components, such as the chart data structure, to define two
-implementations of the probabilistic parsing interface. Finally, a
-tutorial was written that explained the basic motivations and concepts
-behind probabilistic parsing, and described the new interfaces, data
-structures, and parsers.
-
-% ===================== Evaluation =====================
-\section{Evaluation}
-\label{sec:evaluation}
-
-% Do we want to mention that there were 40h of lecture time?
-% Should we be more explicit about who took the class?
-We used NLTK as a basis for the assignments and student projects in
-CIS-530, an introductory computational linguistics class taught at the
-University of Pennsylvania. CIS-530 is a graduate level class,
-although some advanced undergraduates were also enrolled. Most
-students had a background in either computer science or linguistics
-(and occasionally both). Students were required to complete five assignments,
-two exams, and a final project. All class materials are available
-from the course website \mbox{\url{http://www.cis.upenn.edu/~cis530/}}.
-
-The experience of using NLTK was very positive, both for us and for
-the students. The students liked the fact that they could do
-interesting projects from the outset. They also liked being able to
-run everything on their computer at home. The students found the
-extensive documentation very helpful for learning to use the toolkit.
-They found the interfaces defined by NLTK intuitive, and appreciated
-the ease with which they could combine different components to create
-complete NLP systems.
-
-We did encounter a few difficulties during the semester. One problem
-was finding large clean corpora that the students could use for their
-assignments. Several of the students needed assistance finding
-suitable corpora for their final projects. Another issue was the fact
-that we were actively developing NLTK during the semester; some
-modules were only completed one or two weeks before the students used
-them. As a result, students who worked at home needed to download new
-versions of the toolkit several times throughout the semester.
-Luckily, Python has extensive support for installation scripts, which
-made these upgrades simple. The students encountered a couple
-of bugs in the toolkit, but none were serious, and all were quickly
-corrected.
-
-% ===================== Other Approaches =====================
-\section{Other Approaches}
-\label{sec:approaches}
-
-The computational component of computational linguistics courses takes
-many forms. In this section we briefly review a selection of approaches,
-classified according to the (original) target audience.
-
-{\bf Linguistics Students.}
-Various books introduce programming or computing to linguists.
-These are elementary on the computational side, providing a
-gentle introduction to students having no prior experience
-in computer science. Examples of such books are:
-\emph{Using Computers in Linguistics}
-\cite{Lawler98}, and
-\emph{Programming for Linguistics: Java Technology for Language
-Researchers} \cite{Hammond02}.
-
-{\bf Grammar Developers.}
-Infrastructure for grammar development has a long history in
-unification-based (or constraint-based) grammar frameworks, from DCG
-\cite{PereiraWarren80} to HPSG \cite{PollardSag94}. Recent work includes
-\cite{Copestake00,Baldridge02}. A concurrent development has been the
-finite state toolkits, such as the Xerox toolkit \cite{Beesley02}. This
-work has found widespread pedagogical application.
-
-{\bf Other Researchers and Developers.}
-A variety of toolkits have been created for research or R\&D
-purposes. Examples include
-the \emph{CMU-Cambridge Statistical Language Modeling Toolkit}
-\cite{Clarkson97},
-the \emph{EMU Speech Database System} \cite{Harrington99},
-the \emph{General Architecture for Text Engineering} \cite{Bontcheva02},
-the \emph{Maxent Package for Maximum Entropy Models} \cite{maxent},
-and the \emph{Annotation Graph Toolkit} \cite{MaedaBird02}.
-Although not originally motivated by pedagogical needs, all of these
-toolkits have pedagogical applications and many have already been
-used in teaching.
-
-% ===================== Conclusion =====================
-\section{Conclusions and Future Work}
-\label{sec:conclusion}
-
-%Overview of the paper:
-% [EL] Pick better 3 adjectives :)
-NLTK provides a simple, extensible, uniform framework for assignments,
-projects, and class demonstrations. It is well documented, easy to
-learn, and simple to use. We hope that NLTK will allow computational
-linguistics classes to include more hands-on experience with using and
-building NLP components and systems.
-
-NLTK is unique in its combination of three factors.
-First, it was deliberately designed as courseware and gives pedagogical
-goals primary status. Second, its target audience consists of both
-linguists and computer scientists, and it is accessible and challenging
-at many levels of prior computational skill. Finally, it is based on
-an object-oriented scripting language supporting rapid prototyping and
-literate programming.
-
-% [EL] No room for this for now...
-%NOTES: Many CL textbooks provide good exercises at the end of each
-%chapter. This isn't enough for many situations. E.g. students spend
-%lots of time writing interface code (e.g. to process a corpus).
-%E.g. teachers spend lots of time creating do-able assignments...
-
-% [EL] Add something saying explicitly that there's still a lot to
-% do? (In response to reviewer comment)
-%Future work:
-We plan to continue extending the breadth of materials covered by
-the toolkit. We are currently working on NLTK modules for Hidden
-Markov Models, language modeling, and tree adjoining grammars. We
-also plan to increase the number of algorithms implemented by some
-existing modules, such as the text classification module.
-
-Finding suitable corpora is a prerequisite for many student assignments and
-projects. We are therefore putting together a collection of corpora
-containing data appropriate for every module defined by the toolkit.
-
-NLTK is an open source project, and we welcome any contributions.
-Readers who are interested in contributing to NLTK, or who have
-suggestions for improvements, are encouraged to contact the authors.
-
-% include URL (a second time; 1st was in the intro) in conclusion??
-
-% ===================== Acknowledgements =====================
-\section{Acknowledgments}
-\label{sec:acknowledgments}
-
-We are indebted to our students for feedback on the toolkit, and to
-anonymous reviewers, Jee Bang, and the workshop organizers for
-comments on an earlier version of this paper. We are grateful to
-Mitch Marcus and the Department of Computer and Information Science at
-the University of Pennsylvania for sponsoring the work reported here.
-
-\bibliographystyle{acl}
-\bibliography{nltk}
-
-\end{document}
-% LocalWords: stevenbird Exp pcfgparser subclasses CFG DCG HPSG toolkits CMU
diff --git a/papers/acl-02/acl.bst b/papers/acl-02/acl.bst
deleted file mode 100644
index b95ec04..0000000
--- a/papers/acl-02/acl.bst
+++ /dev/null
@@ -1,1322 +0,0 @@
-
-% BibTeX `acl' style file for BibTeX version 0.99c, LaTeX version 2.09
-% This version was made by modifying `aaai-named' format based on the master
-% file by Oren Patashnik (PATASHNIK at SCORE.STANFORD.EDU)
-
-% Copyright (C) 1985, all rights reserved.
-% Modifications Copyright 1988, Peter F. Patel-Schneider
-% Further modifictions by Stuart Shieber, 1991, and Fernando Pereira, 1992.
-% Copying of this file is authorized only if either
-% (1) you make absolutely no changes to your copy, including name, or
-% (2) if you do make changes, you name it something other than
-% btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
-% This restriction helps ensure that all standard styles are identical.
-
-% There are undoubtably bugs in this style. If you make bug fixes,
-% improvements, etc. please let me know. My e-mail address is:
-% pfps at spar.slb.com
-
-% Citation format: [author-last-name, year]
-% [author-last-name and author-last-name, year]
-% [author-last-name {\em et al.}, year]
-%
-% Reference list ordering: alphabetical by author or whatever passes
-% for author in the absence of one.
-%
-% This BibTeX style has support for short (year only) citations. This
-% is done by having the citations actually look like
-% \citename{name-info, }year
-% The LaTeX style has to have the following
-% \let\@internalcite\cite
-% \def\cite{\def\citename##1{##1}\@internalcite}
-% \def\shortcite{\def\citename##1{}\@internalcite}
-% \def\@biblabel#1{\def\citename##1{##1}[#1]\hfill}
-% which makes \shortcite the macro for short citations.
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Changes made by SMS for thesis style
-% no emphasis on "et al."
-% "Ph.D." includes periods (not "PhD")
-% moved year to immediately after author's name
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-ENTRY
- { address
- author
- booktitle
- chapter
- edition
- editor
- howpublished
- institution
- journal
- key
- month
- note
- number
- organization
- pages
- publisher
- school
- series
- title
- type
- volume
- year
- }
- {}
- { label extra.label sort.label }
-
-INTEGERS { output.state before.all mid.sentence after.sentence after.block }
-
-FUNCTION {init.state.consts}
-{ #0 'before.all :=
- #1 'mid.sentence :=
- #2 'after.sentence :=
- #3 'after.block :=
-}
-
-STRINGS { s t }
-
-FUNCTION {output.nonnull}
-{ 's :=
- output.state mid.sentence =
- { ", " * write$ }
- { output.state after.block =
- { add.period$ write$
- newline$
- "\newblock " write$
- }
- { output.state before.all =
- 'write$
- { add.period$ " " * write$ }
- if$
- }
- if$
- mid.sentence 'output.state :=
- }
- if$
- s
-}
-
-FUNCTION {output}
-{ duplicate$ empty$
- 'pop$
- 'output.nonnull
- if$
-}
-
-FUNCTION {output.check}
-{ 't :=
- duplicate$ empty$
- { pop$ "empty " t * " in " * cite$ * warning$ }
- 'output.nonnull
- if$
-}
-
-FUNCTION {output.bibitem}
-{ newline$
-
- "\bibitem[" write$
- label write$
- "]{" write$
-
- cite$ write$
- "}" write$
- newline$
- ""
- before.all 'output.state :=
-}
-
-FUNCTION {fin.entry}
-{ add.period$
- write$
- newline$
-}
-
-FUNCTION {new.block}
-{ output.state before.all =
- 'skip$
- { after.block 'output.state := }
- if$
-}
-
-FUNCTION {new.sentence}
-{ output.state after.block =
- 'skip$
- { output.state before.all =
- 'skip$
- { after.sentence 'output.state := }
- if$
- }
- if$
-}
-
-FUNCTION {not}
-{ { #0 }
- { #1 }
- if$
-}
-
-FUNCTION {and}
-{ 'skip$
- { pop$ #0 }
- if$
-}
-
-FUNCTION {or}
-{ { pop$ #1 }
- 'skip$
- if$
-}
-
-FUNCTION {new.block.checka}
-{ empty$
- 'skip$
- 'new.block
- if$
-}
-
-FUNCTION {new.block.checkb}
-{ empty$
- swap$ empty$
- and
- 'skip$
- 'new.block
- if$
-}
-
-FUNCTION {new.sentence.checka}
-{ empty$
- 'skip$
- 'new.sentence
- if$
-}
-
-FUNCTION {new.sentence.checkb}
-{ empty$
- swap$ empty$
- and
- 'skip$
- 'new.sentence
- if$
-}
-
-FUNCTION {field.or.null}
-{ duplicate$ empty$
- { pop$ "" }
- 'skip$
- if$
-}
-
-FUNCTION {emphasize}
-{ duplicate$ empty$
- { pop$ "" }
- { "{\em " swap$ * "}" * }
- if$
-}
-
-INTEGERS { nameptr namesleft numnames }
-
-FUNCTION {format.names}
-{ 's :=
- #1 'nameptr :=
- s num.names$ 'numnames :=
- numnames 'namesleft :=
- { namesleft #0 > }
-
- { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
-
- nameptr #1 >
- { namesleft #1 >
- { ", " * t * }
- { numnames #2 >
- { "," * }
- 'skip$
- if$
- t "others" =
- { " et~al." * }
- { " and " * t * }
- if$
- }
- if$
- }
- 't
- if$
- nameptr #1 + 'nameptr :=
- namesleft #1 - 'namesleft :=
- }
- while$
-}
-
-FUNCTION {format.authors}
-{ author empty$
- { "" }
- { author format.names }
- if$
-}
-
-FUNCTION {format.editors}
-{ editor empty$
- { "" }
- { editor format.names
- editor num.names$ #1 >
- { ", editors" * }
- { ", editor" * }
- if$
- }
- if$
-}
-
-FUNCTION {format.title}
-{ title empty$
- { "" }
-
- { title "t" change.case$ }
-
- if$
-}
-
-FUNCTION {n.dashify}
-{ 't :=
- ""
- { t empty$ not }
- { t #1 #1 substring$ "-" =
- { t #1 #2 substring$ "--" = not
- { "--" *
- t #2 global.max$ substring$ 't :=
- }
- { { t #1 #1 substring$ "-" = }
- { "-" *
- t #2 global.max$ substring$ 't :=
- }
- while$
- }
- if$
- }
- { t #1 #1 substring$ *
- t #2 global.max$ substring$ 't :=
- }
- if$
- }
- while$
-}
-
-FUNCTION {format.date}
-{ year empty$
- { month empty$
- { "" }
- { "there's a month but no year in " cite$ * warning$
- month
- }
- if$
- }
- { month empty$
- { "" }
- { month }
- if$
- }
- if$
-}
-
-FUNCTION {format.btitle}
-{ title emphasize
-}
-
-FUNCTION {tie.or.space.connect}
-{ duplicate$ text.length$ #3 <
- { "~" }
- { " " }
- if$
- swap$ * *
-}
-
-FUNCTION {either.or.check}
-{ empty$
- 'pop$
- { "can't use both " swap$ * " fields in " * cite$ * warning$ }
- if$
-}
-
-FUNCTION {format.bvolume}
-{ volume empty$
- { "" }
- { "volume" volume tie.or.space.connect
- series empty$
- 'skip$
- { " of " * series emphasize * }
- if$
- "volume and number" number either.or.check
- }
- if$
-}
-
-FUNCTION {format.number.series}
-{ volume empty$
- { number empty$
- { series field.or.null }
- { output.state mid.sentence =
- { "number" }
- { "Number" }
- if$
- number tie.or.space.connect
- series empty$
- { "there's a number but no series in " cite$ * warning$ }
- { " in " * series * }
- if$
- }
- if$
- }
- { "" }
- if$
-}
-
-FUNCTION {format.edition}
-{ edition empty$
- { "" }
- { output.state mid.sentence =
- { edition "l" change.case$ " edition" * }
- { edition "t" change.case$ " edition" * }
- if$
- }
- if$
-}
-
-INTEGERS { multiresult }
-
-FUNCTION {multi.page.check}
-{ 't :=
- #0 'multiresult :=
- { multiresult not
- t empty$ not
- and
- }
- { t #1 #1 substring$
- duplicate$ "-" =
- swap$ duplicate$ "," =
- swap$ "+" =
- or or
- { #1 'multiresult := }
- { t #2 global.max$ substring$ 't := }
- if$
- }
- while$
- multiresult
-}
-
-FUNCTION {format.pages}
-{ pages empty$
- { "" }
- { pages multi.page.check
- { "pages" pages n.dashify tie.or.space.connect }
- { "page" pages tie.or.space.connect }
- if$
- }
- if$
-}
-
-FUNCTION {format.year.label}
-{ year extra.label *
-}
-
-FUNCTION {format.vol.num.pages}
-{ volume field.or.null
- number empty$
- 'skip$
- { "(" number * ")" * *
- volume empty$
- { "there's a number but no volume in " cite$ * warning$ }
- 'skip$
- if$
- }
- if$
- pages empty$
- 'skip$
- { duplicate$ empty$
- { pop$ format.pages }
- { ":" * pages n.dashify * }
- if$
- }
- if$
-}
-
-FUNCTION {format.chapter.pages}
-{ chapter empty$
- 'format.pages
- { type empty$
- { "chapter" }
- { type "l" change.case$ }
- if$
- chapter tie.or.space.connect
- pages empty$
- 'skip$
- { ", " * format.pages * }
- if$
- }
- if$
-}
-
-FUNCTION {format.in.ed.booktitle}
-{ booktitle empty$
- { "" }
- { editor empty$
- { "In " booktitle emphasize * }
- { "In " format.editors * ", " * booktitle emphasize * }
- if$
- }
- if$
-}
-
-FUNCTION {empty.misc.check}
-{ author empty$ title empty$ howpublished empty$
- month empty$ year empty$ note empty$
- and and and and and
-
- key empty$ not and
-
- { "all relevant fields are empty in " cite$ * warning$ }
- 'skip$
- if$
-}
-
-FUNCTION {format.thesis.type}
-{ type empty$
- 'skip$
- { pop$
- type "t" change.case$
- }
- if$
-}
-
-FUNCTION {format.tr.number}
-{ type empty$
- { "Technical Report" }
- 'type
- if$
- number empty$
- { "t" change.case$ }
- { number tie.or.space.connect }
- if$
-}
-
-FUNCTION {format.article.crossref}
-{ key empty$
- { journal empty$
- { "need key or journal for " cite$ * " to crossref " * crossref *
- warning$
- ""
- }
- { "In {\em " journal * "\/}" * }
- if$
- }
- { "In " key * }
- if$
- " \cite{" * crossref * "}" *
-}
-
-FUNCTION {format.crossref.editor}
-{ editor #1 "{vv~}{ll}" format.name$
- editor num.names$ duplicate$
- #2 >
- { pop$ " et~al." * }
- { #2 <
- 'skip$
- { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
- { " et~al." * }
- { " and " * editor #2 "{vv~}{ll}" format.name$ * }
- if$
- }
- if$
- }
- if$
-}
-
-FUNCTION {format.book.crossref}
-{ volume empty$
- { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
- "In "
- }
- { "Volume" volume tie.or.space.connect
- " of " *
- }
- if$
- editor empty$
- editor field.or.null author field.or.null =
- or
- { key empty$
- { series empty$
- { "need editor, key, or series for " cite$ * " to crossref " *
- crossref * warning$
- "" *
- }
- { "{\em " * series * "\/}" * }
- if$
- }
- { key * }
- if$
- }
- { format.crossref.editor * }
- if$
- " \cite{" * crossref * "}" *
-}
-
-FUNCTION {format.incoll.inproc.crossref}
-{ editor empty$
- editor field.or.null author field.or.null =
- or
- { key empty$
- { booktitle empty$
- { "need editor, key, or booktitle for " cite$ * " to crossref " *
- crossref * warning$
- ""
- }
- { "In {\em " booktitle * "\/}" * }
- if$
- }
- { "In " key * }
- if$
- }
- { "In " format.crossref.editor * }
- if$
- " \cite{" * crossref * "}" *
-}
-
-FUNCTION {article}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- crossref missing$
- { journal emphasize "journal" output.check
- format.vol.num.pages output
- format.date output
- }
- { format.article.crossref output.nonnull
- format.pages output
- }
- if$
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {book}
-{ output.bibitem
- author empty$
- { format.editors "author and editor" output.check }
- { format.authors output.nonnull
- crossref missing$
- { "author and editor" editor either.or.check }
- 'skip$
- if$
- }
- if$
- new.block
- format.year.label "year" output.check
- new.block
- format.btitle "title" output.check
- crossref missing$
- { format.bvolume output
- new.block
- format.number.series output
- new.sentence
- publisher "publisher" output.check
- address output
- }
- { new.block
- format.book.crossref output.nonnull
- }
- if$
- format.edition output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {booklet}
-{ output.bibitem
- format.authors output
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- howpublished address new.block.checkb
- howpublished output
- address output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {inbook}
-{ output.bibitem
- author empty$
- { format.editors "author and editor" output.check }
- { format.authors output.nonnull
- crossref missing$
- { "author and editor" editor either.or.check }
- 'skip$
- if$
- }
- if$
- format.year.label "year" output.check
- new.block
- new.block
- format.btitle "title" output.check
- crossref missing$
- { format.bvolume output
- format.chapter.pages "chapter and pages" output.check
- new.block
- format.number.series output
- new.sentence
- publisher "publisher" output.check
- address output
- }
- { format.chapter.pages "chapter and pages" output.check
- new.block
- format.book.crossref output.nonnull
- }
- if$
- format.edition output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {incollection}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- crossref missing$
- { format.in.ed.booktitle "booktitle" output.check
- format.bvolume output
- format.number.series output
- format.chapter.pages output
- new.sentence
- publisher "publisher" output.check
- address output
- format.edition output
- format.date output
- }
- { format.incoll.inproc.crossref output.nonnull
- format.chapter.pages output
- }
- if$
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {inproceedings}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- crossref missing$
- { format.in.ed.booktitle "booktitle" output.check
- format.bvolume output
- format.number.series output
- format.pages output
- address empty$
- { organization publisher new.sentence.checkb
- organization output
- publisher output
- format.date output
- }
- { address output.nonnull
- format.date output
- new.sentence
- organization output
- publisher output
- }
- if$
- }
- { format.incoll.inproc.crossref output.nonnull
- format.pages output
- }
- if$
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {conference} { inproceedings }
-
-FUNCTION {manual}
-{ output.bibitem
- author empty$
- { organization empty$
- 'skip$
- { organization output.nonnull
- address output
- }
- if$
- }
- { format.authors output.nonnull }
- if$
- format.year.label "year" output.check
- new.block
- new.block
- format.btitle "title" output.check
- author empty$
- { organization empty$
- { address new.block.checka
- address output
- }
- 'skip$
- if$
- }
- { organization address new.block.checkb
- organization output
- address output
- }
- if$
- format.edition output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {mastersthesis}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- "Master's thesis" format.thesis.type output.nonnull
- school "school" output.check
- address output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {misc}
-{ output.bibitem
- format.authors output
- new.block
- format.year.label output
- new.block
- title howpublished new.block.checkb
- format.title output
- howpublished new.block.checka
- howpublished output
- format.date output
- new.block
- note output
- fin.entry
- empty.misc.check
-}
-
-FUNCTION {phdthesis}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.btitle "title" output.check
- new.block
- "{Ph.D.} thesis" format.thesis.type output.nonnull
- school "school" output.check
- address output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {proceedings}
-{ output.bibitem
- editor empty$
- { organization output }
- { format.editors output.nonnull }
- if$
- new.block
- format.year.label "year" output.check
- new.block
- format.btitle "title" output.check
- format.bvolume output
- format.number.series output
- address empty$
- { editor empty$
- { publisher new.sentence.checka }
- { organization publisher new.sentence.checkb
- organization output
- }
- if$
- publisher output
- format.date output
- }
- { address output.nonnull
- format.date output
- new.sentence
- editor empty$
- 'skip$
- { organization output }
- if$
- publisher output
- }
- if$
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {techreport}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- format.tr.number output.nonnull
- institution "institution" output.check
- address output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {unpublished}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- note "note" output.check
- format.date output
- fin.entry
-}
-
-FUNCTION {default.type} { misc }
-
-MACRO {jan} {"January"}
-
-MACRO {feb} {"February"}
-
-MACRO {mar} {"March"}
-
-MACRO {apr} {"April"}
-
-MACRO {may} {"May"}
-
-MACRO {jun} {"June"}
-
-MACRO {jul} {"July"}
-
-MACRO {aug} {"August"}
-
-MACRO {sep} {"September"}
-
-MACRO {oct} {"October"}
-
-MACRO {nov} {"November"}
-
-MACRO {dec} {"December"}
-
-MACRO {acmcs} {"ACM Computing Surveys"}
-
-MACRO {acta} {"Acta Informatica"}
-
-MACRO {cacm} {"Communications of the ACM"}
-
-MACRO {ibmjrd} {"IBM Journal of Research and Development"}
-
-MACRO {ibmsj} {"IBM Systems Journal"}
-
-MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
-
-MACRO {ieeetc} {"IEEE Transactions on Computers"}
-
-MACRO {ieeetcad}
- {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
-
-MACRO {ipl} {"Information Processing Letters"}
-
-MACRO {jacm} {"Journal of the ACM"}
-
-MACRO {jcss} {"Journal of Computer and System Sciences"}
-
-MACRO {scp} {"Science of Computer Programming"}
-
-MACRO {sicomp} {"SIAM Journal on Computing"}
-
-MACRO {tocs} {"ACM Transactions on Computer Systems"}
-
-MACRO {tods} {"ACM Transactions on Database Systems"}
-
-MACRO {tog} {"ACM Transactions on Graphics"}
-
-MACRO {toms} {"ACM Transactions on Mathematical Software"}
-
-MACRO {toois} {"ACM Transactions on Office Information Systems"}
-
-MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
-
-MACRO {tcs} {"Theoretical Computer Science"}
-
-READ
-
-FUNCTION {sortify}
-{ purify$
- "l" change.case$
-}
-
-INTEGERS { len }
-
-FUNCTION {chop.word}
-{ 's :=
- 'len :=
- s #1 len substring$ =
- { s len #1 + global.max$ substring$ }
- 's
- if$
-}
-
-INTEGERS { et.al.char.used }
-
-FUNCTION {initialize.et.al.char.used}
-{ #0 'et.al.char.used :=
-}
-
-EXECUTE {initialize.et.al.char.used}
-
-FUNCTION {format.lab.names}
-{ 's :=
- s num.names$ 'numnames :=
-
- numnames #1 =
- { s #1 "{vv }{ll}" format.name$ }
- { numnames #2 =
- { s #1 "{vv }{ll }and " format.name$ s #2 "{vv }{ll}" format.name$ *
- }
- { s #1 "{vv }{ll }\bgroup et al.\egroup " format.name$ }
- if$
- }
- if$
-
-}
-
-FUNCTION {author.key.label}
-{ author empty$
- { key empty$
-
- { cite$ #1 #3 substring$ }
-
- { key #3 text.prefix$ }
- if$
- }
- { author format.lab.names }
- if$
-}
-
-FUNCTION {author.editor.key.label}
-{ author empty$
- { editor empty$
- { key empty$
-
- { cite$ #1 #3 substring$ }
-
- { key #3 text.prefix$ }
- if$
- }
- { editor format.lab.names }
- if$
- }
- { author format.lab.names }
- if$
-}
-
-FUNCTION {author.key.organization.label}
-{ author empty$
- { key empty$
- { organization empty$
-
- { cite$ #1 #3 substring$ }
-
- { "The " #4 organization chop.word #3 text.prefix$ }
- if$
- }
- { key #3 text.prefix$ }
- if$
- }
- { author format.lab.names }
- if$
-}
-
-FUNCTION {editor.key.organization.label}
-{ editor empty$
- { key empty$
- { organization empty$
-
- { cite$ #1 #3 substring$ }
-
- { "The " #4 organization chop.word #3 text.prefix$ }
- if$
- }
- { key #3 text.prefix$ }
- if$
- }
- { editor format.lab.names }
- if$
-}
-
-FUNCTION {calc.label}
-{ type$ "book" =
- type$ "inbook" =
- or
- 'author.editor.key.label
- { type$ "proceedings" =
- 'editor.key.organization.label
- { type$ "manual" =
- 'author.key.organization.label
- 'author.key.label
- if$
- }
- if$
- }
- if$
- duplicate$
-
- "\protect\citename{" swap$ * "}" *
- year field.or.null purify$ *
- 'label :=
- year field.or.null purify$ *
-
- sortify 'sort.label :=
-}
-
-FUNCTION {sort.format.names}
-{ 's :=
- #1 'nameptr :=
- ""
- s num.names$ 'numnames :=
- numnames 'namesleft :=
- { namesleft #0 > }
- { nameptr #1 >
- { " " * }
- 'skip$
- if$
-
- s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
-
- nameptr numnames = t "others" = and
- { "et al" * }
- { t sortify * }
- if$
- nameptr #1 + 'nameptr :=
- namesleft #1 - 'namesleft :=
- }
- while$
-}
-
-FUNCTION {sort.format.title}
-{ 't :=
- "A " #2
- "An " #3
- "The " #4 t chop.word
- chop.word
- chop.word
- sortify
- #1 global.max$ substring$
-}
-
-FUNCTION {author.sort}
-{ author empty$
- { key empty$
- { "to sort, need author or key in " cite$ * warning$
- ""
- }
- { key sortify }
- if$
- }
- { author sort.format.names }
- if$
-}
-
-FUNCTION {author.editor.sort}
-{ author empty$
- { editor empty$
- { key empty$
- { "to sort, need author, editor, or key in " cite$ * warning$
- ""
- }
- { key sortify }
- if$
- }
- { editor sort.format.names }
- if$
- }
- { author sort.format.names }
- if$
-}
-
-FUNCTION {author.organization.sort}
-{ author empty$
- { organization empty$
- { key empty$
- { "to sort, need author, organization, or key in " cite$ * warning$
- ""
- }
- { key sortify }
- if$
- }
- { "The " #4 organization chop.word sortify }
- if$
- }
- { author sort.format.names }
- if$
-}
-
-FUNCTION {editor.organization.sort}
-{ editor empty$
- { organization empty$
- { key empty$
- { "to sort, need editor, organization, or key in " cite$ * warning$
- ""
- }
- { key sortify }
- if$
- }
- { "The " #4 organization chop.word sortify }
- if$
- }
- { editor sort.format.names }
- if$
-}
-
-FUNCTION {presort}
-
-{ calc.label
- sort.label
- " "
- *
- type$ "book" =
-
- type$ "inbook" =
- or
- 'author.editor.sort
- { type$ "proceedings" =
- 'editor.organization.sort
- { type$ "manual" =
- 'author.organization.sort
- 'author.sort
- if$
- }
- if$
- }
- if$
-
- *
-
- " "
- *
- year field.or.null sortify
- *
- " "
- *
- title field.or.null
- sort.format.title
- *
- #1 entry.max$ substring$
- 'sort.key$ :=
-}
-
-ITERATE {presort}
-
-SORT
-
-STRINGS { longest.label last.sort.label next.extra }
-
-INTEGERS { longest.label.width last.extra.num }
-
-FUNCTION {initialize.longest.label}
-{ "" 'longest.label :=
- #0 int.to.chr$ 'last.sort.label :=
- "" 'next.extra :=
- #0 'longest.label.width :=
- #0 'last.extra.num :=
-}
-
-FUNCTION {forward.pass}
-{ last.sort.label sort.label =
- { last.extra.num #1 + 'last.extra.num :=
- last.extra.num int.to.chr$ 'extra.label :=
- }
- { "a" chr.to.int$ 'last.extra.num :=
- "" 'extra.label :=
- sort.label 'last.sort.label :=
- }
- if$
-}
-
-FUNCTION {reverse.pass}
-{ next.extra "b" =
- { "a" 'extra.label := }
- 'skip$
- if$
- label extra.label * 'label :=
- label width$ longest.label.width >
- { label 'longest.label :=
- label width$ 'longest.label.width :=
- }
- 'skip$
- if$
- extra.label 'next.extra :=
-}
-
-EXECUTE {initialize.longest.label}
-
-ITERATE {forward.pass}
-
-REVERSE {reverse.pass}
-
-FUNCTION {begin.bib}
-
-{ et.al.char.used
- { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
- 'skip$
- if$
- preamble$ empty$
-
- 'skip$
- { preamble$ write$ newline$ }
- if$
-
- "\begin{thebibliography}{" "}" * write$ newline$
-
-}
-
-EXECUTE {begin.bib}
-
-EXECUTE {init.state.consts}
-
-ITERATE {call.type$}
-
-FUNCTION {end.bib}
-{ newline$
- "\end{thebibliography}" write$ newline$
-}
-
-EXECUTE {end.bib}
-
diff --git a/papers/acl-02/acl2002.sty b/papers/acl-02/acl2002.sty
deleted file mode 100644
index 161734e..0000000
--- a/papers/acl-02/acl2002.sty
+++ /dev/null
@@ -1,340 +0,0 @@
-% File acl2002.sty
-% October 1, 2002
-% Contact: lindek at cs.ualberta.ca
-
-% This is the LaTeX style file for ACL 2002. It is nearly identical to the
-% style files for ACL 2001, ACL 2000, EACL 95 and EACL 99. Minor changes concern
-% changes in the dimentions for margins.
-%
-% -- Roberto Zamparelli, March 26, 2001
-% -- Dekang Lin, October 1, 2001
-
-% This is the LaTeX style file for ACL 2000. It is nearly identical to the
-% style files for EACL 95 and EACL 99. Minor changes include editing the
-% instructions to reflect use of \documentclass rather than \documentstyle
-% and removing the white space before the title on the first page
-% -- John Chen, June 29, 2000
-
-% To convert from submissions prepared using the style file aclsub.sty
-% prepared for the ACL 2000 conference, proceed as follows:
-% 1) Remove submission-specific information: \whichsession, \id,
-% \wordcount, \otherconferences, \area, \keywords
-% 2) \summary should be removed. The summary material should come
-% after \maketitle and should be in the ``abstract'' environment
-% 3) Check all citations. This style should handle citations correctly
-% and also allows multiple citations separated by semicolons.
-% 4) Check figures and examples. Because the final format is double-
-% column, some adjustments may have to be made to fit text in the column
-% or to choose full-width (\figure*} figures.
-% 5) Change the style reference from aclsub to acl2000, and be sure
-% this style file is in your TeX search path
-
-
-% This is the LaTeX style file for EACL-95. It is identical to the
-% style file for ANLP '94 except that the margins are adjusted for A4
-% paper. -- abney 13 Dec 94
-
-% The ANLP '94 style file is a slightly modified
-% version of the style used for AAAI and IJCAI, using some changes
-% prepared by Fernando Pereira and others and some minor changes
-% by Paul Jacobs.
-
-% Papers prepared using the aclsub.sty file and acl.bst bibtex style
-% should be easily converted to final format using this style.
-% (1) Submission information (\wordcount, \subject, and \makeidpage)
-% should be removed.
-% (2) \summary should be removed. The summary material should come
-% after \maketitle and should be in the ``abstract'' environment
-% (between \begin{abstract} and \end{abstract}).
-% (3) Check all citations. This style should handle citations correctly
-% and also allows multiple citations separated by semicolons.
-% (4) Check figures and examples. Because the final format is double-
-% column, some adjustments may have to be made to fit text in the column
-% or to choose full-width (\figure*} figures.
-
-% Place this in a file called aclap.sty in the TeX search path.
-% (Placing it in the same directory as the paper should also work.)
-
-% Prepared by Peter F. Patel-Schneider, liberally using the ideas of
-% other style hackers, including Barbara Beeton.
-% This style is NOT guaranteed to work. It is provided in the hope
-% that it will make the preparation of papers easier.
-%
-% There are undoubtably bugs in this style. If you make bug fixes,
-% improvements, etc. please let me know. My e-mail address is:
-% pfps at research.att.com
-
-% Papers are to be prepared using the ``acl'' bibliography style,
-% as follows:
-% \documentclass[11pt]{article}
-% \usepackage{acl2000}
-% \title{Title}
-% \author{Author 1 \and Author 2 \\ Address line \\ Address line \And
-% Author 3 \\ Address line \\ Address line}
-% \begin{document}
-% ...
-% \bibliography{bibliography-file}
-% \bibliographystyle{acl}
-% \end{document}
-
-% Author information can be set in various styles:
-% For several authors from the same institution:
-% \author{Author 1 \and ... \and Author n \\
-% Address line \\ ... \\ Address line}
-% if the names do not fit well on one line use
-% Author 1 \\ {\bf Author 2} \\ ... \\ {\bf Author n} \\
-% For authors from different institutions:
-% \author{Author 1 \\ Address line \\ ... \\ Address line
-% \And ... \And
-% Author n \\ Address line \\ ... \\ Address line}
-% To start a seperate ``row'' of authors use \AND, as in
-% \author{Author 1 \\ Address line \\ ... \\ Address line
-% \AND
-% Author 2 \\ Address line \\ ... \\ Address line \And
-% Author 3 \\ Address line \\ ... \\ Address line}
-
-% If the title and author information does not fit in the area allocated,
-% place \setlength\titlebox{<new height>} right after
-% \usepackage{acl2000}
-% where <new height> can be something larger than 2.25in
-
-% \typeout{Conference Style for ACL 2000 -- released June 20, 2000}
-\typeout{Conference Style for ACL 2002 -- released April 8, 2002}
-
-% NOTE: Some laser printers have a serious problem printing TeX output.
-% These printing devices, commonly known as ``write-white'' laser
-% printers, tend to make characters too light. To get around this
-% problem, a darker set of fonts must be created for these devices.
-%
-
-% Physical page layout - slightly modified from IJCAI by pj
-\setlength\topmargin{0.0in} \setlength\oddsidemargin{-0.0in}
-\setlength\textheight{9.0in} \setlength\textwidth{6.5in}
-\setlength\columnsep{0.2in}
-\newlength\titlebox
-\setlength\titlebox{2.25in}
-\setlength\headheight{0pt} \setlength\headsep{0pt}
-%\setlength\footheight{0pt}
-\setlength\footskip{0pt}
-\thispagestyle{empty} \pagestyle{empty}
-\flushbottom \twocolumn \sloppy
-
-%% A4 version of page layout
-%\setlength\topmargin{-0.45cm} % changed by Rz -1.4
-%\setlength\oddsidemargin{.8mm} % was -0cm, changed by Rz
-%\setlength\textheight{23.5cm}
-%\setlength\textwidth{15.8cm}
-%\setlength\columnsep{0.6cm}
-%\newlength\titlebox
-%\setlength\titlebox{2.00in}
-%\setlength\headheight{5pt}
-%\setlength\headsep{0pt}
-%%\setlength\footheight{0pt}
-%\setlength\footskip{0pt}
-%\thispagestyle{empty}
-%\pagestyle{empty}
-
-\flushbottom \twocolumn \sloppy
-
-% We're never going to need a table of contents, so just flush it to
-% save space --- suggested by drstrip at sandia-2
-\def\addcontentsline#1#2#3{}
-
-% Title stuff, taken from deproc.
-\def\maketitle{\par
- \begingroup
- \def\thefootnote{\fnsymbol{footnote}}
- \def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}}
- \twocolumn[\@maketitle] \@thanks
- \endgroup
- \setcounter{footnote}{0}
- \let\maketitle\relax \let\@maketitle\relax
- \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
-\def\@maketitle{\vbox to \titlebox{\hsize\textwidth
- \linewidth\hsize \vskip 0.125in minus 0.125in \centering
- {\Large\bf \@title \par} \vskip 0.2in plus 1fil minus 0.1in
- {\def\and{\unskip\enspace{\rm and}\enspace}%
- \def\And{\end{tabular}\hss \egroup \hskip 1in plus 2fil
- \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf}%
- \def\AND{\end{tabular}\hss\egroup \hfil\hfil\egroup
- \vskip 0.25in plus 1fil minus 0.125in
- \hbox to \linewidth\bgroup\large \hfil\hfil
- \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf}
- \hbox to \linewidth\bgroup\large \hfil\hfil
- \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf\@author
- \end{tabular}\hss\egroup
- \hfil\hfil\egroup}
- \vskip 0.3in plus 2fil minus 0.1in
-}}
-\renewenvironment{abstract}{\centerline{\large\bf
- Abstract}\vspace{0.5ex}\begin{quote}}{\par\end{quote}\vskip 1ex}
-
-
-% bibliography
-
-\def\thebibliography#1{\section*{References}
- \global\def\@listi{\leftmargin\leftmargini
- \labelwidth\leftmargini \advance\labelwidth-\labelsep
- \topsep 1pt plus 2pt minus 1pt
- \parsep 0.25ex plus 1pt \itemsep 0.25ex plus 1pt}
- \list {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth
- \advance\leftmargin\labelsep\usecounter{enumi}}
- \def\newblock{\hskip .11em plus .33em minus -.07em}
- \sloppy
- \sfcode`\.=1000\relax}
-
-\def\@up#1{\raise.2ex\hbox{#1}}
-
-% most of cite format is from aclsub.sty by SMS
-
-% don't box citations, separate with ; and a space
-% also, make the penalty between citations negative: a good place to break
-% changed comma back to semicolon pj 2/1/90
-% \def\@citex[#1]#2{\if at filesw\immediate\write\@auxout{\string\citation{#2}}\fi
-% \def\@citea{}\@cite{\@for\@citeb:=#2\do
-% {\@citea\def\@citea{;\penalty\@citeseppen\ }\@ifundefined
-% {b@\@citeb}{{\bf ?}\@warning
-% {Citation `\@citeb' on page \thepage \space undefined}}%
-% {\csname b@\@citeb\endcsname}}}{#1}}
-
-% don't box citations, separate with ; and a space
-% Replaced for multiple citations (pj)
-% don't box citations and also add space, semicolon between multiple citations
-\def\@citex[#1]#2{\if at filesw\immediate\write\@auxout{\string\citation{#2}}\fi
- \def\@citea{}\@cite{\@for\@citeb:=#2\do
- {\@citea\def\@citea{; }\@ifundefined
- {b@\@citeb}{{\bf ?}\@warning
- {Citation `\@citeb' on page \thepage \space undefined}}%
- {\csname b@\@citeb\endcsname}}}{#1}}
-
-% Allow short (name-less) citations, when used in
-% conjunction with a bibliography style that creates labels like
-% \citename{<names>, }<year>
-%
-\let\@internalcite\cite
-\def\cite{\def\citename##1{##1, }\@internalcite}
-\def\shortcite{\def\citename##1{}\@internalcite}
-\def\newcite{\leavevmode\def\citename##1{{##1} (}\@internalciteb}
-
-% Macros for \newcite, which leaves name in running text, and is
-% otherwise like \shortcite.
-\def\@citexb[#1]#2{\if at filesw\immediate\write\@auxout{\string\citation{#2}}\fi
- \def\@citea{}\@newcite{\@for\@citeb:=#2\do
- {\@citea\def\@citea{;\penalty\@m\ }\@ifundefined
- {b@\@citeb}{{\bf ?}\@warning
- {Citation `\@citeb' on page \thepage \space undefined}}%
-\hbox{\csname b@\@citeb\endcsname}}}{#1}}
-\def\@internalciteb{\@ifnextchar [{\@tempswatrue\@citexb}{\@tempswafalse\@citexb[]}}
-
-\def\@newcite#1#2{{#1\if at tempswa, #2\fi)}}
-
-\def\@biblabel#1{\def\citename##1{##1}[#1]\hfill}
-
-%%% More changes made by SMS (originals in latex.tex)
-% Use parentheses instead of square brackets in the text.
-\def\@cite#1#2{({#1\if at tempswa , #2\fi})}
-
-% Don't put a label in the bibliography at all. Just use the unlabeled format
-% instead.
-\def\thebibliography#1{\vskip\parskip%
-\vskip\baselineskip%
-\def\baselinestretch{1}%
-\ifx\@currsize\normalsize\@normalsize\else\@currsize\fi%
-\vskip-\parskip%
-\vskip-\baselineskip%
-\section*{References\@mkboth
- {References}{References}}\list
- {}{\setlength{\labelwidth}{0pt}\setlength{\leftmargin}{\parindent}
- \setlength{\itemindent}{-\parindent}}
- \def\newblock{\hskip .11em plus .33em minus -.07em}
- \sloppy\clubpenalty4000\widowpenalty4000
- \sfcode`\.=1000\relax}
-\let\endthebibliography=\endlist
-
-% Allow for a bibliography of sources of attested examples
-\def\thesourcebibliography#1{\vskip\parskip%
-\vskip\baselineskip%
-\def\baselinestretch{1}%
-\ifx\@currsize\normalsize\@normalsize\else\@currsize\fi%
-\vskip-\parskip%
-\vskip-\baselineskip%
-\section*{Sources of Attested Examples\@mkboth
- {Sources of Attested Examples}{Sources of Attested Examples}}\list
- {}{\setlength{\labelwidth}{0pt}\setlength{\leftmargin}{\parindent}
- \setlength{\itemindent}{-\parindent}}
- \def\newblock{\hskip .11em plus .33em minus -.07em}
- \sloppy\clubpenalty4000\widowpenalty4000
- \sfcode`\.=1000\relax}
-\let\endthesourcebibliography=\endlist
-
-\def\@lbibitem[#1]#2{\item[]\if at filesw
- { \def\protect##1{\string ##1\space}\immediate
- \write\@auxout{\string\bibcite{#2}{#1}}\fi\ignorespaces}}
-
-\def\@bibitem#1{\item\if at filesw \immediate\write\@auxout
- {\string\bibcite{#1}{\the\c at enumi}}\fi\ignorespaces}
-
-% sections with less space
-\def\section{\@startsection {section}{1}{\z@}{-2.0ex plus
- -0.5ex minus -.2ex}{1.5ex plus 0.3ex minus .2ex}{\large\bf\raggedright}}
-\def\subsection{\@startsection{subsection}{2}{\z@}{-1.8ex plus
- -0.5ex minus -.2ex}{0.8ex plus .2ex}{\normalsize\bf\raggedright}}
-\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{1.5ex plus
- 0.5ex minus .2ex}{0.5ex plus .2ex}{\normalsize\bf\raggedright}}
-\def\paragraph{\@startsection{paragraph}{4}{\z@}{1.5ex plus
- 0.5ex minus .2ex}{-1em}{\normalsize\bf}}
-\def\subparagraph{\@startsection{subparagraph}{5}{\parindent}{1.5ex plus
- 0.5ex minus .2ex}{-1em}{\normalsize\bf}}
-
-% Footnotes
-\footnotesep 6.65pt %
-\skip\footins 9pt plus 4pt minus 2pt
-\def\footnoterule{\kern-3pt \hrule width 5pc \kern 2.6pt }
-\setcounter{footnote}{0}
-
-% Lists and paragraphs
-\parindent 1em
-\topsep 4pt plus 1pt minus 2pt
-\partopsep 1pt plus 0.5pt minus 0.5pt
-\itemsep 2pt plus 1pt minus 0.5pt
-\parsep 2pt plus 1pt minus 0.5pt
-
-\leftmargin 2em \leftmargini\leftmargin \leftmarginii 2em
-\leftmarginiii 1.5em \leftmarginiv 1.0em \leftmarginv .5em \leftmarginvi .5em
-\labelwidth\leftmargini\advance\labelwidth-\labelsep \labelsep 5pt
-
-\def\@listi{\leftmargin\leftmargini}
-\def\@listii{\leftmargin\leftmarginii
- \labelwidth\leftmarginii\advance\labelwidth-\labelsep
- \topsep 2pt plus 1pt minus 0.5pt
- \parsep 1pt plus 0.5pt minus 0.5pt
- \itemsep \parsep}
-\def\@listiii{\leftmargin\leftmarginiii
- \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
- \topsep 1pt plus 0.5pt minus 0.5pt
- \parsep \z@ \partopsep 0.5pt plus 0pt minus 0.5pt
- \itemsep \topsep}
-\def\@listiv{\leftmargin\leftmarginiv
- \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
-\def\@listv{\leftmargin\leftmarginv
- \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
-\def\@listvi{\leftmargin\leftmarginvi
- \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
-
-\abovedisplayskip 7pt plus2pt minus5pt%
-\belowdisplayskip \abovedisplayskip
-\abovedisplayshortskip 0pt plus3pt%
-\belowdisplayshortskip 4pt plus3pt minus3pt%
-
-% Less leading in most fonts (due to the narrow columns)
-% The choices were between 1-pt and 1.5-pt leading
-\def\@normalsize{\@setsize\normalsize{11pt}\xpt\@xpt}
-\def\small{\@setsize\small{10pt}\ixpt\@ixpt}
-\def\footnotesize{\@setsize\footnotesize{10pt}\ixpt\@ixpt}
-\def\scriptsize{\@setsize\scriptsize{8pt}\viipt\@viipt}
-\def\tiny{\@setsize\tiny{7pt}\vipt\@vipt}
-\def\large{\@setsize\large{14pt}\xiipt\@xiipt}
-\def\Large{\@setsize\Large{16pt}\xivpt\@xivpt}
-\def\LARGE{\@setsize\LARGE{20pt}\xviipt\@xviipt}
-\def\huge{\@setsize\huge{23pt}\xxpt\@xxpt}
-\def\Huge{\@setsize\Huge{28pt}\xxvpt\@xxvpt}
diff --git a/papers/acl-02/chartparse.eps.gz b/papers/acl-02/chartparse.eps.gz
deleted file mode 100644
index d1969aa..0000000
Binary files a/papers/acl-02/chartparse.eps.gz and /dev/null differ
diff --git a/papers/acl-02/contest.ps.gz b/papers/acl-02/contest.ps.gz
deleted file mode 100644
index 1f78840..0000000
Binary files a/papers/acl-02/contest.ps.gz and /dev/null differ
diff --git a/papers/acl-02/nltk.bib b/papers/acl-02/nltk.bib
deleted file mode 100644
index bdee454..0000000
--- a/papers/acl-02/nltk.bib
+++ /dev/null
@@ -1,154 +0,0 @@
-
- at InProceedings{Baldridge02,
- author = {Jason Baldridge and John Dowding and Susana Early},
- title = {Leo: an architecture for sharing resources for unification-based grammars},
- booktitle = {Proceedings of the Third Language Resources and Evaluation Conference},
- year = 2002,
- publisher = {Paris: European Language Resources Association},
- note = {\\\url{http://www.iccs.informatics.ed.ac.uk/~jmb/leo-lrec.ps.gz}}
-}
-
- at book{Beesley02,
- author = {Kenneth R.~Beesley and Lauri Karttunen},
- title = {Finite-State Morphology: Xerox Tools and Techniques},
- publisher = {Cambridge University Press},
- series = {Studies in Natural Language Processing},
- year = 2002
-}
-
- at InProceedings{Bontcheva02,
- author = {Kalina Bontcheva and Hamish Cunningham and Valentin Tablan and Diana Maynard and Oana Hamza},
- title = {Using {GATE} as an Environment for Teaching {NLP}},
- booktitle = {Proceedings of the ACL Workshop on Effective Tools
- and Methodologies for Teaching NLP and CL},
- year = 2002,
- publisher = {Somerset, NJ: Association for Computational Linguistics}
-}
-
- at InProceedings{Clarkson97,
- author = {Philip R.~Clarkson and Ronald Rosenfeld},
- title = {Statistical language modeling using the {CMU-Cambridge Toolkit}},
- booktitle = {Proceedings of the 5th European Conference on Speech
- Communication and Technology (EUROSPEECH '97)},
- year = 1997,
- note = {\url{http://svr-www.eng.cam.ac.uk/~prc14/eurospeech97.ps}}
-}
-
- at Misc{Copestake00,
- author = {Ann Copestake},
- title = {The (new) {LKB} system},
- year = 2000,
- note = {\\\url{http://www-csli.stanford.edu/~aac/doc5-2.pdf}}
-}
-
- at Book{Hammond02,
- author = {Michael Hammond},
- title = {Programming for Linguistics: Java
- Technology for Language Researchers},
- publisher = {Oxford: Blackwell},
- year = 2002,
- note = {In press.}
-}
-
- at Book{Lawler98,
- editor = {John M.~Lawler and Helen Aristar Dry},
- title = {Using Computers in Linguistics},
- publisher = {London: Routledge},
- year = 1998
-}
-
- at Book{Harrington99,
- author = {Jonathan Harrington and Steve Cassidy},
- title = {Techniques in Speech Acoustics},
- publisher = {Kluwer},
- year = 1999
-}
-
- at InProceedings{MaedaBird02,
- author = {Kazuaki Maeda and Steven Bird and Xiaoyi Ma and Haejoong Lee},
- title = {Creating Annotation Tools with the Annotation Graph Toolkit},
- booktitle = {Proceedings of the Third International Conference
- on Language Resources and Evaluation},
- year = 2002,
- note = {\url{http://arXiv.org/abs/cs/0204005}}
-}
-
- at article{PereiraWarren80,
- author={Fernando C.~N.~Pereira and David H.~D.~Warren},
- title={Definite Clause Grammars for language analysis -- a
- survey of the formalism and a comparison with
- Augmented Transition Grammars},
- journal={Artificial Intelligence},
- year={1980},
- volume={13},
- pages={231--78}
-}
-
- at book{PollardSag94,
- author={Carl Pollard and Ivan A.~Sag},
- title={Head-Driven Phrase Structure Grammar},
- publisher={Chicago University Press},
- year={1994}
-}
-
- at Misc{epydoc,
- author = {Edward Loper},
- title = {Epydoc},
- year = 2002,
- note = {\\\url{http://epydoc.sourceforge.net/}}
-}
-
- at Misc{nltk,
- title = {Natural Language Processing Toolkit},
- author = {Edward Loper and Steven Bird},
- year = 2002,
- note = {\\\url{http://nltk.sourceforge.net/}}
-}
-
- at Misc{opennlp,
- title = {The OpenNLP Project},
- author = {Jason Baldridge},
- year = 2002,
- note = {\\\url{http://opennlp.sourceforge.net/}}
-}
-
- at Misc{maxent,
- title = {The {MaxEnt} Project},
- author = {Jason Baldridge and Thomas Morton and Gann Bierner},
- year = 2002,
- note = {\\\url{http://maxent.sourceforge.net/}}
-}
-
-% I couldn't find any "original paper" or anything like that.
-% Guido has some essays at http://www.python.org/doc/essays/
-% We could cite one of those instead?
-% Also, what year? It was created in the winter of 89-90, but it's
-% evolved a lot over time.
-% [SB - I don't think we need a formal citation for this]
- at Misc{python,
- author = {Guido van Rossum},
- title = {The Python Programming Language},
- note = {\url{http://www.python.org}},
- year = 1990
-}
-
-% Is this right? It's a proposal. (Note: change "url=" to "note=" if
-% we want to display the url in the bibliography)
-% [SB - yes the only thing on this I've seen is the proposal]
-% [SB - done, we want URLs in the bibliography]
-% CNRI Proposal # 90120-1a
- at TechReport{rossum99,
- author = {Guido van Rossum},
- title = {Computer Programming for Everybody},
- institution = {Corporation for National Research Initiatives},
- year = 1999,
- note = {\url{http://www.python.org/doc/essays/cp4e.html}}
-}
-
- at Misc{tkinter,
- author = {Fredrik Lundh},
- title = {An Introduction to Tkinter},
- note = {\\\url{http://www.pythonware.com/library/tkinter/introduction/index.htm}},
- year = 1999
-}
-
diff --git a/papers/acl-04/.cvsignore b/papers/acl-04/.cvsignore
deleted file mode 100644
index ede195c..0000000
--- a/papers/acl-04/.cvsignore
+++ /dev/null
@@ -1,12 +0,0 @@
-!
-#*
-*.aux
-*.dvi
-*.eps
-*.log
-*.pdf
-*.ps
-*.toc
-*~
-acl04.bbl
-acl04.blg
diff --git a/papers/acl-04/Makefile b/papers/acl-04/Makefile
deleted file mode 100644
index 1a49016..0000000
--- a/papers/acl-04/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-# Natural Language Toolkit: Technical report Makefile
-#
-# Copyright (C) 2001-2014 NLTK Project
-# Author: Edward Loper <edloper at gmail.com>
-# URL: <http://nltk.org/>
-# For license information, see LICENSE.TXT
-
-##############################################
-## The name of the report
-REPORT = acl04
-
-##############################################
-## Figure dependancies
-
-##############################################
-## You shouldn't have to change anything below here.
-
-# Find the name of the dvi and ps files.
-DVI := $(REPORT).dvi
-PS := $(REPORT).ps
-PDF := $(REPORT).pdf
-
-# Top-level rules.
-dvi: $(DVI)
-ps: $(PS)
-pdf: $(PDF)
-clean:
- rm -f *.eps *.log *.aux *.dvi *.ps *.toc *.pdf
-
-# General rules
-%.dvi: %.tex
- latex $<
- latex $<
-
-%.ps: %.dvi
- dvips -t letter -o $@ $<
-
-%.eps: %.dot
- dot -Tps -o $@ $<
-
-%.eps: %.obj
- tgif -print -eps $<
-
-%.pdf: %.ps
- ps2pdf $< $@
diff --git a/papers/acl-04/acl-04.tex b/papers/acl-04/acl-04.tex
deleted file mode 100644
index 9bfd16e..0000000
--- a/papers/acl-04/acl-04.tex
+++ /dev/null
@@ -1,508 +0,0 @@
-\documentclass[11pt]{article}
-\usepackage{colacl}
-\usepackage{times}
-\usepackage{latexsym}
-\usepackage{url,alltt,epsfig,boxedminipage}
-
-% hyphenation control
-\pretolerance 250
-\tolerance 500
-\hyphenpenalty 200
-\exhyphenpenalty 100
-\doublehyphendemerits 7500
-\finalhyphendemerits 7500
-\brokenpenalty 10000
-\lefthyphenmin 3
-\righthyphenmin 3
-\widowpenalty 10000
-\clubpenalty 10000
-\displaywidowpenalty 10000
-\looseness 1
-
-\def\UrlFont{\tt\small}
-\def\object#1{\texttt{\small #1}}
-
-\title{NLTK: The Natural Language Toolkit}
-
-\author{
- Steven Bird \\
- Department of Computer Science \\
- \indent and Software Engineering \\
- University of Melbourne \\
- Victoria 3010, Australia \\
- {\tt\small stevenbird1 at gmail.com}
-\And
- Edward Loper\\
- Department of Computer \\
- \indent and Information Science \\
- University of Pennsylvania\\
- Philadelphia PA 19104-6389, USA\\
- {\tt\small edloper at gmail.com}
-}
-
-\newenvironment{sv}{\scriptsize\begin{alltt}}{\end{alltt}\normalsize}
-
-\begin{document}
-
-\maketitle
-
-\begin{abstract}\small
- The Natural Language Toolkit is a suite of program modules, data
- sets, tutorials and exercises, covering symbolic and statistical
- natural language processing. NLTK is written in Python and
- distributed under the GPL open source license. Over the past three
- years, NLTK has become popular in teaching and research. We
- describe the toolkit and report on its current state of development.
-\end{abstract}
-
-%========================= Introduction =========================
-\section{Introduction}
-
-The Natural Language Toolkit (NLTK) was developed in conjunction with
-a computational linguistics course at the University of Pennsylvania
-in 2001 \cite{LoperBird02}. It was designed with three pedagogical
-applications in mind: assignments, demonstrations, and projects.
-
-\textbf{Assignments.}
-NLTK supports assignments of varying difficulty
-and scope. In the simplest assignments, students experiment with
-existing components to perform a wide variety of NLP tasks. As students
-become more familiar with the toolkit, they can be asked to modify
-existing components, or to create complete systems out of existing
-components.
-
-\textbf{Demonstrations.}
-NLTK's interactive graphical demonstrations have proven to be very
-useful for students learning NLP concepts.
-The demonstrations give a step-by-step execution of important
-algorithms, displaying the current state of key data structures.
-A screenshot of the chart parsing demonstration is shown in Figure~\ref{fig:chart}.
-
-\textbf{Projects.} NLTK provides students with a flexible framework
-for advanced projects. Typical projects might involve implementing a
-new algorithm, developing a new component, or implementing a new
-task.
-
-We chose Python because it has a shallow learning curve, its syntax
-and semantics are transparent, and it has good string-handling
-functionality. As an interpreted language, Python facilitates
-interactive exploration. As an object-oriented language, Python
-permits data and methods to be encapsulated and re-used easily. Python comes with an extensive
-standard library, including tools for graphical programming and
-numerical processing. The recently added generator
-syntax makes it easy to create interactive implementations of
-algorithms \cite{Loper04,Rossum03intro,Rossum03ref}.
-
-\begin{figure}[bth]
-\epsfig{file=chart.eps, width=\linewidth}
-\caption{Interactive Chart Parsing Demonstration}
-\label{fig:chart}
-\end{figure}
-
-\section{Design}
-
-NLTK is implemented as a large collection of minimally interdependent
-modules, organized into a shallow hierarchy. A set of core
-modules defines basic data types that are used throughout the toolkit.
-The remaining modules are \emph{task modules}, each devoted to an
-individual natural language processing task. For example, the
-\object{nltk.parser} module encompasses to the task of
-\emph{parsing}, or deriving the syntactic structure of a sentence; and
-the \object{nltk.tokenizer} module is devoted to the task of
-\emph{tokenizing}, or dividing a text into its constituent parts.
-
-\subsection{Tokens and other core data types}
-
-To maximize interoperability between modules, we use a
-single class to encode information about natural language texts -- the
-\object{Token} class. Each \object{Token} instance represents a
-unit of text such as a word, sentence, or document, and is
-defined by a (partial) mapping from property names to values. For
-example, the \object{TEXT} property is used to encode a token's text
-content:\footnote{Some code samples are specific to NLTK
- version 1.4.}
-
-\begin{alltt}\small
-\textbf{>>> from nltk.token import *}
-\textbf{>>> Token(TEXT="Hello World!")}
-<Hello World!>
-\end{alltt}
-%
-The \object{TAG} property is used to encode a token's part-of-speech
-tag:
-
-\begin{alltt}\small
-\textbf{>>> Token(TEXT="python", TAG="NN")}
-<python/NN>
-\end{alltt}
-%
-The \object{SUBTOKENS} property is used to store a tokenized text:
-
-\begin{alltt}\small
-\textbf{>>> from nltk.tokenizer import *}
-\textbf{>>> tok = Token(TEXT="Hello World!")}
-\textbf{>>> WhitespaceTokenizer().tokenize(tok)}
-\textbf{>>> print tok['SUBTOKENS'])}
-[<Hello>, <World!>]
-\end{alltt}
-%
-In a similar fashion, other language processing tasks such as
-word-sense disambiguation, chunking and parsing all add properties to
-the \object{Token} data structure.
-
-In general, language processing tasks are formulated as
-annotations and transformations involving \object{Tokens}. In
-particular, each processing task takes a token and extends it to
-include new information. These modifications are typically
-\emph{monotonic}; new information is added but
-existing information is not deleted or modified. Thus, tokens serve
-as a \emph{blackboard}, where information about a piece of text is
-collated. This architecture contrasts with the more typical
-\emph{pipeline} architecture where each processing task's output
-discards its input information. We chose the blackboard approach
-over the pipeline approach because it allows more flexibility when
-combining tasks into a single system.
-
-In addition to the \object{Token} class and its derivatives, NLTK
-defines a variety of other data types. For instance, the
-\object{probability} module defines classes for
-probability distributions and statistical smoothing techniques; and
-the \object{cfg} module defines classes for encoding context free
-grammars and probabilistic context free grammars.
-
-\subsection{The corpus module}
-
-\begin{table*}
-\small\noindent
-\begin{boxedminipage}{\linewidth}
-\begin{tabular}{llll}
-\setlength{\tabcolsep}{0.5\tabcolsep}
-\textbf{Corpus} &
-\textbf{Contents and Wordcount} &
-\textbf{Example Application} \\
-
-20 Newsgroups (selection) &
-3 newsgroups, 4000 posts, 780kw &
-text classification \\
-
-Brown Corpus &
-15 genres, 1.15Mw, tagged &
-training \& testing taggers, text classification \\
-
-CoNLL 2000 Chunking Data &
-270kw, tagged and chunked &
-training \& testing chunk parsers \\
-
-Project Gutenberg (selection) &
-14 texts, 1.7Mw &
-text classification, language modelling \\
-
-NIST 1999 IEER (selection) &
-63kw, named-entity markup &
-training \& testing named-entity recognizers \\
-
-Levin Verb Index &
-3k verbs with Levin classes &
-parser development \\
-
-Names Corpus &
-8k male \& female names &
-text classification \\
-
-PP Attachment Corpus &
-28k prepositional phrases, tagged &
-parser development \\
-
-Roget's Thesaurus &
-200kw, formatted text &
-word-sense disambiguation \\
-
-SEMCOR &
-880kw, POS \& sense tagged &
-word-sense disambiguation \\
-
-SENSEVAL 2 Corpus &
-600kw, POS \& sense tagged &
-word-sense disambiguation \\
-
-Stopwords Corpus &
-2,400 stopwords for 11 lgs &
-text retrieval \\
-
-Penn Treebank (sample) &
-40kw, tagged \& parsed &
-parser development \\
-
-Wordnet 1.7 &
-180kw in a semantic network &
-WSD, NL understanding \\
-
-Wordlist Corpus &
-960kw and 20k affixes for 8 lgs &
-spell checking
- \\
-\end{tabular}
-\caption{Corpora and Corpus Samples Distributed with NLTK}\label{tab:data}
-\end{boxedminipage}
-\end{table*}
-
-Many language processing tasks must be developed and tested using
-annotated data sets or corpora. Several such corpora are distributed
-with NLTK, as listed in Table~\ref{tab:data}. The
-\object{corpus} module defines classes for reading and processing
-many of these corpora. The following code fragment illustrates
-how the Brown Corpus is accessed.
-
-\begin{alltt}\small
-\textbf{>>> from nltk.corpus import brown}
-\textbf{>>> brown.groups()}
-['skill and hobbies', 'popular lore',
-'humor', 'fiction: mystery', ...]
-\textbf{>>> brown.items('humor')}
-('cr01', 'cr02', 'cr03', 'cr04', 'cr05',
-'cr06', 'cr07', 'cr08', 'cr09')
-\textbf{>>> brown.tokenize('cr01')}
-<[<It/pps>, <was/bedz>, <among/in>,
-<these/dts>, <that/cs>, <Hinkle/np>,
-<identified/vbd>, <a/at>, ...]>
-\end{alltt}
-%
-A selection of 5\% of the Penn Treebank corpus is included with
-NLTK, and it is accessed as follows:
-
-\begin{alltt}\small
-\textbf{>>> from nltk.corpus import treebank}
-\textbf{>>> treebank.groups()}
-('raw', 'tagged', 'parsed', 'merged')
-\textbf{>>> treebank.items('parsed')}
-['wsj_0001.prd', 'wsj_0002.prd', ...]
-\textbf{>>> item = 'parsed/wsj_0001.prd'}
-\textbf{>>> sentences = treebank.tokenize(item)}
-\textbf{>>> for sent in sentences['SUBTOKENS']:}
-\textbf{... print sent.pp()} \emph{# pretty-print}
-(S:
- (NP-SBJ:
- (NP: <Pierre> <Vinken>)
- (ADJP:
- (NP: <61> <years>)
- <old>
- )
- ...
-\end{alltt}
-%
-
-\subsection{Processing modules}
-
-Each language processing algorithm is implemented as a class. For
-example, the \object{ChartParser} and
-\object{Recursive\-Descent\-Parser} classes each define a single
-algorithm for parsing a text. We implement language processing
-algorithms using classes instead of functions for three reasons.
-First, all algorithm-specific options can be passed to the
-constructor, allowing a consistent interface for applying the
-algorithms. Second, a number of algorithms need to have their state
-initialized before they can be used. For example, the
-\object{NthOrderTagger} class must be initialized by training on a
-tagged corpus before it can be used. Third, subclassing can be used
-to create specialized versions of a given algorithm.
-
-Each processing module defines an \emph{interface} for its task.
-Interface classes are distinguished by naming them with a trailing
-capital ``\object{I},'' such as \object{ParserI}.
-Each interface defines a single \emph{action method} which
-performs the task defined by the interface. For example, the
-\object{ParserI} interface defines the \object{parse} method and the
-\object{Tokenizer} interface defines the \object{tokenize} method.
-When appropriate, an interface defines \emph{extended action
- methods}, which provide variations on the basic action method. For
-example, the \object{ParserI} interface defines the \object{parse\_n}
-method which finds at most $n$ parses for a given sentence; and
-the \object{TokenizerI} interface defines the \object{xtokenize}
-method, which outputs an iterator over subtokens instead of a list of
-subtokens.
-
-NLTK includes the following modules:
-\object{cfg},
-\object{corpus},
-\object{draw}
-(\object{cfg},
-\object{chart},
-\object{corpus},
-\object{featurestruct},
-\object{fsa},
-\object{graph},
-\object{plot},
-\object{rdparser},
-\object{srparser},
-\object{tree}),
-\object{eval},
-\object{featurestruct},
-\object{parser}
-(\object{chart},
-\object{chunk},
-\object{probabilistic}),
-\object{probability},
-\object{sense},
-\object{set},
-\object{stemmer}
-(\object{porter}),
-\object{tagger},
-\object{test},
-\object{token},
-\object{tokenizer},
-\object{tree}, and
-\object{util}.
-Please see the online documentation for details.
-
-\subsection{Documentation}
-
-Three different types of documentation are available. Tutorials
-explain how to use the toolkit, with detailed worked examples. The
-API documentation describes every module, interface, class, method,
-function, and variable in the toolkit. Technical reports explain and
-justify the toolkit's design and implementation. All are available
-from \url{http://nltk.sf.net/docs.html}.
-
-\section{Installing NLTK}
-
-NLTK is available from \url{nltk.sf.net}, and is packaged for
-easy installation under Unix, Mac OS X and Windows. The full
-distribution consists of four packages: the Python source code
-(\object{nltk}); the corpora (\object{nltk-data}); the documentation
-(\object{nltk-docs}); and third-party contributions
-(\object{nltk-contrib}). Before installing NLTK, it is necessary to
-install Python version 2.3 or later, available from
-\url{www.python.org}. Full installation instructions and a quick
-start guide are available from the NLTK homepage.
-
-As soon as NLTK is installed, users can run the demonstrations. On
-Windows, the demonstrations can be run by double-clicking on their
-Python source files. Alternatively, from the Python interpreter, this
-can be done as follows:
-
-\begin{alltt} \small
-\textbf{>>> import nltk.draw.rdparser}
-\textbf{>>> nltk.draw.rdparser.demo()}
-\textbf{>>> nltk.draw.srparser.demo()}
-\textbf{>>> nltk.draw.chart.demo()}
-\end{alltt}
-
-\section{Using and contributing to NLTK}
-
-NLTK has been used at the University of Pennsylvania since 2001, and has
-subsequently been adopted by several NLP courses at other
-universities, including those listed in Table~\ref{tab:courses}.
-
-Third party contributions to NLTK include: Brill tagger (Chris Maloof),
-hidden Markov model tagger (Trevor Cohn, Phil Blunsom), GPSG-style feature-based grammar
-and parser (Rob Speer, Bob Berwick), finite-state morphological analyzer
-(Carl de Marcken, Beracah Yankama, Bob Berwick), decision list and decision tree
-classifiers (Trevor Cohn), and Discourse Representation Theory
-implementation (Edward Ivanovic).
-
-NLTK is an open source project, and we welcome any contributions.
-There are several ways to contribute: users can report bugs, suggest
-features, or contribute patches on Sourceforge; users can participate
-in discussions on the \textit{NLTK-Devel} mailing
-list\footnote{\url{http://lists.sourceforge.net/lists/listinfo/nltk-devel}}
-or in the NLTK public
-forums; and users can submit their own NLTK-based projects for
-inclusion in the nltk\_contrib directory. New code modules that are
-relevant, substantial, original and well-documented will be considered
-for inclusion in NLTK proper.
-All source code is distributed under the GNU General Public License,
-and all documentation is distributed under a Creative Commons
-non-commercial license. Thus, potential contributors can be confident that their
-work will remain freely available to all. Further information about
-contributing to NLTK is available at \url{http://nltk.sf.net/contrib.html}.
-
-\begin{table}[bt]
-\small\noindent
-\begin{boxedminipage}{\linewidth}
-\begin{tabular}{l}
-
-Graz University of Technology, Austria \\
-\hspace{2ex}
-\textit{Information Search and Retrieval} \\[.5ex]
-
-Macquarie University, Australia \\
-\hspace{2ex}
-\textit{Intelligent Text Processing} \\[.5ex]
-
-Massachusetts Institute of Technology, USA \\
-\hspace{2ex}
-\textit{Natural Language Processing} \\[.5ex]
-
-National Autonomous University of Mexico, Mexico \\
-\hspace{2ex}
-\textit{Introduction to Natural Language Processing}\\
-\hspace{2ex}
-\textit{in Python} \\[.5ex]
-
-Ohio State University, USA \\
-\hspace{2ex}
-\textit{Statistical Natural Language Processing}\\[.5ex]
-
-University of Amsterdam, Netherlands \\
-\hspace{2ex}
-\textit{Language Processing and Information Access} \\[.5ex]
-
-University of Colorado, USA \\
-\hspace{2ex}
-\textit{Natural Language Processing} \\[.5ex]
-
-University of Edinburgh, UK \\
-\hspace{2ex}
-\textit{Introduction to Computational Linguistics} \\[.5ex]
-
-University of Magdeburg, Germany \\
-\hspace{2ex}
-\textit{Natural Language Systems} \\[.5ex]
-
-University of Malta, Malta \\
-\hspace{2ex}
-\textit{Natural Language Algorithms}\\[.5ex]
-
-University of Melbourne, Australia \\
-\hspace{2ex}
-\textit{Human Language Technology} \\[.5ex]
-
-University of Pennsylvania, USA \\
-\hspace{2ex}
-\textit{Introduction to Computational Linguistics} \\[.5ex]
-
-University of Pittsburgh, USA \\
-\hspace{2ex}
-\textit{Artificial Intelligence Application Development} \\[.5ex]
-
-Simon Fraser University, Canada \\
-\hspace{2ex}
-\textit{Computational Linguistics} \\[.5ex]
-
-\end{tabular}
-\caption{University Courses using NLTK}\label{tab:courses}
-\end{boxedminipage}
-\end{table}
-
-\section{Conclusion}
-
-NLTK is a broad-coverage natural language toolkit that provides a simple, extensible,
-uniform framework for assignments, demonstrations and projects. It is
-thoroughly documented, easy to learn, and simple to use. NLTK is now widely
-used in research and teaching. Readers who
-would like to receive occasional announcements about NLTK are
-encouraged to sign up for the low-volume, moderated mailing list
-\textit{NLTK-Announce}.\footnote{\url{http://lists.sourceforge.net/lists/listinfo/nltk-announce}}
-
-\section{Acknowledgements}
-
-We are indebted to our students and colleagues for feedback on the
-toolkit, and to many contributors listed on the NLTK website.
-
-\pagebreak
-
-\bibliographystyle{acl}
-\bibliography{nltk}
-
-\end{document}
-
diff --git a/papers/acl-04/acl.bst b/papers/acl-04/acl.bst
deleted file mode 100644
index 8c7d392..0000000
--- a/papers/acl-04/acl.bst
+++ /dev/null
@@ -1,1323 +0,0 @@
-% BibTeX `acl' style file for BibTeX version 0.99c, LaTeX version 2.09
-% This version was made by modifying `aaai-named' format based on the master
-% file by Oren Patashnik (PATASHNIK at SCORE.STANFORD.EDU)
-
-% Copyright (C) 1985, all rights reserved.
-% Modifications Copyright 1988, Peter F. Patel-Schneider
-% Further modifictions by Stuart Shieber, 1991, and Fernando Pereira, 1992.
-% Copying of this file is authorized only if either
-% (1) you make absolutely no changes to your copy, including name, or
-% (2) if you do make changes, you name it something other than
-% btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
-% This restriction helps ensure that all standard styles are identical.
-
-% There are undoubtably bugs in this style. If you make bug fixes,
-% improvements, etc. please let me know. My e-mail address is:
-% pfps at spar.slb.com
-
-% Citation format: [author-last-name, year]
-% [author-last-name and author-last-name, year]
-% [author-last-name {\em et al.}, year]
-%
-% Reference list ordering: alphabetical by author or whatever passes
-% for author in the absence of one.
-%
-% This BibTeX style has support for short (year only) citations. This
-% is done by having the citations actually look like
-% \citename{name-info, }year
-% The LaTeX style has to have the following
-% \let\@internalcite\cite
-% \def\cite{\def\citename##1{##1}\@internalcite}
-% \def\shortcite{\def\citename##1{}\@internalcite}
-% \def\@biblabel#1{\def\citename##1{##1}[#1]\hfill}
-% which makes \shortcite the macro for short citations.
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Changes made by SMS for thesis style
-% no emphasis on "et al."
-% "Ph.D." includes periods (not "PhD")
-% moved year to immediately after author's name
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-ENTRY
- { address
- author
- booktitle
- chapter
- edition
- editor
- howpublished
- institution
- journal
- key
- month
- note
- number
- organization
- pages
- publisher
- school
- series
- title
- type
- volume
- year
- }
- {}
- { label extra.label sort.label }
-
-INTEGERS { output.state before.all mid.sentence after.sentence after.block }
-
-FUNCTION {init.state.consts}
-{ #0 'before.all :=
- #1 'mid.sentence :=
- #2 'after.sentence :=
- #3 'after.block :=
-}
-
-STRINGS { s t }
-
-FUNCTION {output.nonnull}
-{ 's :=
- output.state mid.sentence =
- { ", " * write$ }
- { output.state after.block =
- { add.period$ write$
- newline$
- "\newblock " write$
- }
- { output.state before.all =
- 'write$
- { add.period$ " " * write$ }
- if$
- }
- if$
- mid.sentence 'output.state :=
- }
- if$
- s
-}
-
-FUNCTION {output}
-{ duplicate$ empty$
- 'pop$
- 'output.nonnull
- if$
-}
-
-FUNCTION {output.check}
-{ 't :=
- duplicate$ empty$
- { pop$ "empty " t * " in " * cite$ * warning$ }
- 'output.nonnull
- if$
-}
-
-FUNCTION {output.bibitem}
-{ newline$
-
- "\bibitem[" write$
- label write$
- "]{" write$
-
- cite$ write$
- "}" write$
- newline$
- ""
- before.all 'output.state :=
-}
-
-FUNCTION {fin.entry}
-{ add.period$
- write$
- newline$
-}
-
-FUNCTION {new.block}
-{ output.state before.all =
- 'skip$
- { after.block 'output.state := }
- if$
-}
-
-FUNCTION {new.sentence}
-{ output.state after.block =
- 'skip$
- { output.state before.all =
- 'skip$
- { after.sentence 'output.state := }
- if$
- }
- if$
-}
-
-FUNCTION {not}
-{ { #0 }
- { #1 }
- if$
-}
-
-FUNCTION {and}
-{ 'skip$
- { pop$ #0 }
- if$
-}
-
-FUNCTION {or}
-{ { pop$ #1 }
- 'skip$
- if$
-}
-
-FUNCTION {new.block.checka}
-{ empty$
- 'skip$
- 'new.block
- if$
-}
-
-FUNCTION {new.block.checkb}
-{ empty$
- swap$ empty$
- and
- 'skip$
- 'new.block
- if$
-}
-
-FUNCTION {new.sentence.checka}
-{ empty$
- 'skip$
- 'new.sentence
- if$
-}
-
-FUNCTION {new.sentence.checkb}
-{ empty$
- swap$ empty$
- and
- 'skip$
- 'new.sentence
- if$
-}
-
-FUNCTION {field.or.null}
-{ duplicate$ empty$
- { pop$ "" }
- 'skip$
- if$
-}
-
-FUNCTION {emphasize}
-{ duplicate$ empty$
- { pop$ "" }
- { "{\em " swap$ * "}" * }
- if$
-}
-
-INTEGERS { nameptr namesleft numnames }
-
-FUNCTION {format.names}
-{ 's :=
- #1 'nameptr :=
- s num.names$ 'numnames :=
- numnames 'namesleft :=
- { namesleft #0 > }
-
- { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
-
- nameptr #1 >
- { namesleft #1 >
- { ", " * t * }
- { numnames #2 >
- { "," * }
- 'skip$
- if$
- t "others" =
- { " et~al." * }
- { " and " * t * }
- if$
- }
- if$
- }
- 't
- if$
- nameptr #1 + 'nameptr :=
- namesleft #1 - 'namesleft :=
- }
- while$
-}
-
-FUNCTION {format.authors}
-{ author empty$
- { "" }
- { author format.names }
- if$
-}
-
-FUNCTION {format.editors}
-{ editor empty$
- { "" }
- { editor format.names
- editor num.names$ #1 >
- { ", editors" * }
- { ", editor" * }
- if$
- }
- if$
-}
-
-FUNCTION {format.title}
-{ title empty$
- { "" }
-
- { title "t" change.case$ }
-
- if$
-}
-
-FUNCTION {n.dashify}
-{ 't :=
- ""
- { t empty$ not }
- { t #1 #1 substring$ "-" =
- { t #1 #2 substring$ "--" = not
- { "--" *
- t #2 global.max$ substring$ 't :=
- }
- { { t #1 #1 substring$ "-" = }
- { "-" *
- t #2 global.max$ substring$ 't :=
- }
- while$
- }
- if$
- }
- { t #1 #1 substring$ *
- t #2 global.max$ substring$ 't :=
- }
- if$
- }
- while$
-}
-
-FUNCTION {format.date}
-{ year empty$
- { month empty$
- { "" }
- { "there's a month but no year in " cite$ * warning$
- month
- }
- if$
- }
- { month empty$
- { "" }
- { month }
- if$
- }
- if$
-}
-
-FUNCTION {format.btitle}
-{ title emphasize
-}
-
-FUNCTION {tie.or.space.connect}
-{ duplicate$ text.length$ #3 <
- { "~" }
- { " " }
- if$
- swap$ * *
-}
-
-FUNCTION {either.or.check}
-{ empty$
- 'pop$
- { "can't use both " swap$ * " fields in " * cite$ * warning$ }
- if$
-}
-
-FUNCTION {format.bvolume}
-{ volume empty$
- { "" }
- { "volume" volume tie.or.space.connect
- series empty$
- 'skip$
- { " of " * series emphasize * }
- if$
- "volume and number" number either.or.check
- }
- if$
-}
-
-FUNCTION {format.number.series}
-{ volume empty$
- { number empty$
- { series field.or.null }
- { output.state mid.sentence =
- { "number" }
- { "Number" }
- if$
- number tie.or.space.connect
- series empty$
- { "there's a number but no series in " cite$ * warning$ }
- { " in " * series * }
- if$
- }
- if$
- }
- { "" }
- if$
-}
-
-FUNCTION {format.edition}
-{ edition empty$
- { "" }
- { output.state mid.sentence =
- { edition "l" change.case$ " edition" * }
- { edition "t" change.case$ " edition" * }
- if$
- }
- if$
-}
-
-INTEGERS { multiresult }
-
-FUNCTION {multi.page.check}
-{ 't :=
- #0 'multiresult :=
- { multiresult not
- t empty$ not
- and
- }
- { t #1 #1 substring$
- duplicate$ "-" =
- swap$ duplicate$ "," =
- swap$ "+" =
- or or
- { #1 'multiresult := }
- { t #2 global.max$ substring$ 't := }
- if$
- }
- while$
- multiresult
-}
-
-FUNCTION {format.pages}
-{ pages empty$
- { "" }
- { pages multi.page.check
- { "pages" pages n.dashify tie.or.space.connect }
- { "page" pages tie.or.space.connect }
- if$
- }
- if$
-}
-
-FUNCTION {format.year.label}
-{ year extra.label *
-}
-
-FUNCTION {format.vol.num.pages}
-{ volume field.or.null
- number empty$
- 'skip$
- { "(" number * ")" * *
- volume empty$
- { "there's a number but no volume in " cite$ * warning$ }
- 'skip$
- if$
- }
- if$
- pages empty$
- 'skip$
- { duplicate$ empty$
- { pop$ format.pages }
- { ":" * pages n.dashify * }
- if$
- }
- if$
-}
-
-FUNCTION {format.chapter.pages}
-{ chapter empty$
- 'format.pages
- { type empty$
- { "chapter" }
- { type "l" change.case$ }
- if$
- chapter tie.or.space.connect
- pages empty$
- 'skip$
- { ", " * format.pages * }
- if$
- }
- if$
-}
-
-FUNCTION {format.in.ed.booktitle}
-{ booktitle empty$
- { "" }
- { editor empty$
- { "In " booktitle emphasize * }
- { "In " format.editors * ", " * booktitle emphasize * }
- if$
- }
- if$
-}
-
-FUNCTION {empty.misc.check}
-{ author empty$ title empty$ howpublished empty$
- month empty$ year empty$ note empty$
- and and and and and
-
- key empty$ not and
-
- { "all relevant fields are empty in " cite$ * warning$ }
- 'skip$
- if$
-}
-
-FUNCTION {format.thesis.type}
-{ type empty$
- 'skip$
- { pop$
- type "t" change.case$
- }
- if$
-}
-
-FUNCTION {format.tr.number}
-{ type empty$
- { "Technical Report" }
- 'type
- if$
- number empty$
- { "t" change.case$ }
- { number tie.or.space.connect }
- if$
-}
-
-FUNCTION {format.article.crossref}
-{ key empty$
- { journal empty$
- { "need key or journal for " cite$ * " to crossref " * crossref *
- warning$
- ""
- }
- { "In {\em " journal * "\/}" * }
- if$
- }
- { "In " key * }
- if$
- " \cite{" * crossref * "}" *
-}
-
-FUNCTION {format.crossref.editor}
-{ editor #1 "{vv~}{ll}" format.name$
- editor num.names$ duplicate$
- #2 >
- { pop$ " et~al." * }
- { #2 <
- 'skip$
- { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
- { " et~al." * }
- { " and " * editor #2 "{vv~}{ll}" format.name$ * }
- if$
- }
- if$
- }
- if$
-}
-
-FUNCTION {format.book.crossref}
-{ volume empty$
- { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
- "In "
- }
- { "Volume" volume tie.or.space.connect
- " of " *
- }
- if$
- editor empty$
- editor field.or.null author field.or.null =
- or
- { key empty$
- { series empty$
- { "need editor, key, or series for " cite$ * " to crossref " *
- crossref * warning$
- "" *
- }
- { "{\em " * series * "\/}" * }
- if$
- }
- { key * }
- if$
- }
- { format.crossref.editor * }
- if$
- " \cite{" * crossref * "}" *
-}
-
-FUNCTION {format.incoll.inproc.crossref}
-{ editor empty$
- editor field.or.null author field.or.null =
- or
- { key empty$
- { booktitle empty$
- { "need editor, key, or booktitle for " cite$ * " to crossref " *
- crossref * warning$
- ""
- }
- { "In {\em " booktitle * "\/}" * }
- if$
- }
- { "In " key * }
- if$
- }
- { "In " format.crossref.editor * }
- if$
- " \cite{" * crossref * "}" *
-}
-
-FUNCTION {article}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- crossref missing$
- { journal emphasize "journal" output.check
- format.vol.num.pages output
- format.date output
- }
- { format.article.crossref output.nonnull
- format.pages output
- }
- if$
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {book}
-{ output.bibitem
- author empty$
- { format.editors "author and editor" output.check }
- { format.authors output.nonnull
- crossref missing$
- { "author and editor" editor either.or.check }
- 'skip$
- if$
- }
- if$
- new.block
- format.year.label "year" output.check
- new.block
- format.btitle "title" output.check
- crossref missing$
- { format.bvolume output
- new.block
- format.number.series output
- new.sentence
- publisher "publisher" output.check
- address output
- }
- { new.block
- format.book.crossref output.nonnull
- }
- if$
- format.edition output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {booklet}
-{ output.bibitem
- format.authors output
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- howpublished address new.block.checkb
- howpublished output
- address output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {inbook}
-{ output.bibitem
- author empty$
- { format.editors "author and editor" output.check }
- { format.authors output.nonnull
- crossref missing$
- { "author and editor" editor either.or.check }
- 'skip$
- if$
- }
- if$
- format.year.label "year" output.check
- new.block
- new.block
- format.btitle "title" output.check
- crossref missing$
- { format.bvolume output
- format.chapter.pages "chapter and pages" output.check
- new.block
- format.number.series output
- new.sentence
- publisher "publisher" output.check
- address output
- }
- { format.chapter.pages "chapter and pages" output.check
- new.block
- format.book.crossref output.nonnull
- }
- if$
- format.edition output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {incollection}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- crossref missing$
- { format.in.ed.booktitle "booktitle" output.check
- format.bvolume output
- format.number.series output
- format.chapter.pages output
- new.sentence
- publisher "publisher" output.check
- address output
- format.edition output
- format.date output
- }
- { format.incoll.inproc.crossref output.nonnull
- format.chapter.pages output
- }
- if$
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {inproceedings}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- crossref missing$
- { format.in.ed.booktitle "booktitle" output.check
- format.bvolume output
- format.number.series output
- format.pages output
- address empty$
- { organization publisher new.sentence.checkb
- organization output
- publisher output
- format.date output
- }
- { address output.nonnull
- format.date output
- new.sentence
- organization output
- publisher output
- }
- if$
- }
- { format.incoll.inproc.crossref output.nonnull
- format.pages output
- }
- if$
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {conference} { inproceedings }
-
-FUNCTION {manual}
-{ output.bibitem
- author empty$
- { organization empty$
- 'skip$
- { organization output.nonnull
- address output
- }
- if$
- }
- { format.authors output.nonnull }
- if$
- format.year.label "year" output.check
- new.block
- new.block
- format.btitle "title" output.check
- author empty$
- { organization empty$
- { address new.block.checka
- address output
- }
- 'skip$
- if$
- }
- { organization address new.block.checkb
- organization output
- address output
- }
- if$
- format.edition output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {mastersthesis}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- "Master's thesis" format.thesis.type output.nonnull
- school "school" output.check
- address output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {misc}
-{ output.bibitem
- format.authors output
- new.block
- format.year.label output
- new.block
- title howpublished new.block.checkb
- format.title output
- howpublished new.block.checka
- howpublished output
- format.date output
- new.block
- note output
- fin.entry
- empty.misc.check
-}
-
-FUNCTION {phdthesis}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.btitle "title" output.check
- new.block
- "{Ph.D.} thesis" format.thesis.type output.nonnull
- school "school" output.check
- address output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {proceedings}
-{ output.bibitem
- editor empty$
- { organization output }
- { format.editors output.nonnull }
- if$
- new.block
- format.year.label "year" output.check
- new.block
- format.btitle "title" output.check
- format.bvolume output
- format.number.series output
- address empty$
- { editor empty$
- { publisher new.sentence.checka }
- { organization publisher new.sentence.checkb
- organization output
- }
- if$
- publisher output
- format.date output
- }
- { address output.nonnull
- format.date output
- new.sentence
- editor empty$
- 'skip$
- { organization output }
- if$
- publisher output
- }
- if$
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {techreport}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- format.tr.number output.nonnull
- institution "institution" output.check
- address output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {unpublished}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- note "note" output.check
- format.date output
- fin.entry
-}
-
-FUNCTION {default.type} { misc }
-
-MACRO {jan} {"January"}
-
-MACRO {feb} {"February"}
-
-MACRO {mar} {"March"}
-
-MACRO {apr} {"April"}
-
-MACRO {may} {"May"}
-
-MACRO {jun} {"June"}
-
-MACRO {jul} {"July"}
-
-MACRO {aug} {"August"}
-
-MACRO {sep} {"September"}
-
-MACRO {oct} {"October"}
-
-MACRO {nov} {"November"}
-
-MACRO {dec} {"December"}
-
-MACRO {acmcs} {"ACM Computing Surveys"}
-
-MACRO {acta} {"Acta Informatica"}
-
-MACRO {cacm} {"Communications of the ACM"}
-
-MACRO {ibmjrd} {"IBM Journal of Research and Development"}
-
-MACRO {ibmsj} {"IBM Systems Journal"}
-
-MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
-
-MACRO {ieeetc} {"IEEE Transactions on Computers"}
-
-MACRO {ieeetcad}
- {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
-
-MACRO {ipl} {"Information Processing Letters"}
-
-MACRO {jacm} {"Journal of the ACM"}
-
-MACRO {jcss} {"Journal of Computer and System Sciences"}
-
-MACRO {scp} {"Science of Computer Programming"}
-
-MACRO {sicomp} {"SIAM Journal on Computing"}
-
-MACRO {tocs} {"ACM Transactions on Computer Systems"}
-
-MACRO {tods} {"ACM Transactions on Database Systems"}
-
-MACRO {tog} {"ACM Transactions on Graphics"}
-
-MACRO {toms} {"ACM Transactions on Mathematical Software"}
-
-MACRO {toois} {"ACM Transactions on Office Information Systems"}
-
-MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
-
-MACRO {tcs} {"Theoretical Computer Science"}
-
-READ
-
-FUNCTION {sortify}
-{ purify$
- "l" change.case$
-}
-
-INTEGERS { len }
-
-FUNCTION {chop.word}
-{ 's :=
- 'len :=
- s #1 len substring$ =
- { s len #1 + global.max$ substring$ }
- 's
- if$
-}
-
-INTEGERS { et.al.char.used }
-
-FUNCTION {initialize.et.al.char.used}
-{ #0 'et.al.char.used :=
-}
-
-EXECUTE {initialize.et.al.char.used}
-
-FUNCTION {format.lab.names}
-{ 's :=
- s num.names$ 'numnames :=
-
- numnames #1 =
- { s #1 "{vv }{ll}" format.name$ }
- { numnames #2 =
- { s #1 "{vv }{ll }and " format.name$ s #2 "{vv }{ll}" format.name$ *
- }
- { s #1 "{vv }{ll }\bgroup et al.\egroup " format.name$ }
- if$
- }
- if$
-
-}
-
-FUNCTION {author.key.label}
-{ author empty$
- { key empty$
-
- { cite$ #1 #3 substring$ }
-
- { key #3 text.prefix$ }
- if$
- }
- { author format.lab.names }
- if$
-}
-
-FUNCTION {author.editor.key.label}
-{ author empty$
- { editor empty$
- { key empty$
-
- { cite$ #1 #3 substring$ }
-
- { key #3 text.prefix$ }
- if$
- }
- { editor format.lab.names }
- if$
- }
- { author format.lab.names }
- if$
-}
-
-FUNCTION {author.key.organization.label}
-{ author empty$
- { key empty$
- { organization empty$
-
- { cite$ #1 #3 substring$ }
-
- { "The " #4 organization chop.word #3 text.prefix$ }
- if$
- }
- { key #3 text.prefix$ }
- if$
- }
- { author format.lab.names }
- if$
-}
-
-FUNCTION {editor.key.organization.label}
-{ editor empty$
- { key empty$
- { organization empty$
-
- { cite$ #1 #3 substring$ }
-
- { "The " #4 organization chop.word #3 text.prefix$ }
- if$
- }
- { key #3 text.prefix$ }
- if$
- }
- { editor format.lab.names }
- if$
-}
-
-FUNCTION {calc.label}
-{ type$ "book" =
- type$ "inbook" =
- or
- 'author.editor.key.label
- { type$ "proceedings" =
- 'editor.key.organization.label
- { type$ "manual" =
- 'author.key.organization.label
- 'author.key.label
- if$
- }
- if$
- }
- if$
- duplicate$
-
- "\protect\citename{" swap$ * "}" *
- year field.or.null purify$ *
- 'label :=
- year field.or.null purify$ *
-
- sortify 'sort.label :=
-}
-
-FUNCTION {sort.format.names}
-{ 's :=
- #1 'nameptr :=
- ""
- s num.names$ 'numnames :=
- numnames 'namesleft :=
- { namesleft #0 > }
- { nameptr #1 >
- { " " * }
- 'skip$
- if$
-
- s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
-
- nameptr numnames = t "others" = and
- { "et al" * }
- { t sortify * }
- if$
- nameptr #1 + 'nameptr :=
- namesleft #1 - 'namesleft :=
- }
- while$
-}
-
-FUNCTION {sort.format.title}
-{ 't :=
- "A " #2
- "An " #3
- "The " #4 t chop.word
- chop.word
- chop.word
- sortify
- #1 global.max$ substring$
-}
-
-FUNCTION {author.sort}
-{ author empty$
- { key empty$
- { "to sort, need author or key in " cite$ * warning$
- ""
- }
- { key sortify }
- if$
- }
- { author sort.format.names }
- if$
-}
-
-FUNCTION {author.editor.sort}
-{ author empty$
- { editor empty$
- { key empty$
- { "to sort, need author, editor, or key in " cite$ * warning$
- ""
- }
- { key sortify }
- if$
- }
- { editor sort.format.names }
- if$
- }
- { author sort.format.names }
- if$
-}
-
-FUNCTION {author.organization.sort}
-{ author empty$
- { organization empty$
- { key empty$
- { "to sort, need author, organization, or key in " cite$ * warning$
- ""
- }
- { key sortify }
- if$
- }
- { "The " #4 organization chop.word sortify }
- if$
- }
- { author sort.format.names }
- if$
-}
-
-FUNCTION {editor.organization.sort}
-{ editor empty$
- { organization empty$
- { key empty$
- { "to sort, need editor, organization, or key in " cite$ * warning$
- ""
- }
- { key sortify }
- if$
- }
- { "The " #4 organization chop.word sortify }
- if$
- }
- { editor sort.format.names }
- if$
-}
-
-FUNCTION {presort}
-
-{ calc.label
- sort.label
- " "
- *
- type$ "book" =
-
- type$ "inbook" =
- or
- 'author.editor.sort
- { type$ "proceedings" =
- 'editor.organization.sort
- { type$ "manual" =
- 'author.organization.sort
- 'author.sort
- if$
- }
- if$
- }
- if$
-
- *
-
- " "
- *
- year field.or.null sortify
- *
- " "
- *
- title field.or.null
- sort.format.title
- *
- #1 entry.max$ substring$
- 'sort.key$ :=
-}
-
-ITERATE {presort}
-
-SORT
-
-STRINGS { longest.label last.sort.label next.extra }
-
-INTEGERS { longest.label.width last.extra.num }
-
-FUNCTION {initialize.longest.label}
-{ "" 'longest.label :=
- #0 int.to.chr$ 'last.sort.label :=
- "" 'next.extra :=
- #0 'longest.label.width :=
- #0 'last.extra.num :=
-}
-
-FUNCTION {forward.pass}
-{ last.sort.label sort.label =
- { last.extra.num #1 + 'last.extra.num :=
- last.extra.num int.to.chr$ 'extra.label :=
- }
- { "a" chr.to.int$ 'last.extra.num :=
- "" 'extra.label :=
- sort.label 'last.sort.label :=
- }
- if$
-}
-
-FUNCTION {reverse.pass}
-{ next.extra "b" =
- { "a" 'extra.label := }
- 'skip$
- if$
- label extra.label * 'label :=
- label width$ longest.label.width >
- { label 'longest.label :=
- label width$ 'longest.label.width :=
- }
- 'skip$
- if$
- extra.label 'next.extra :=
-}
-
-EXECUTE {initialize.longest.label}
-
-ITERATE {forward.pass}
-
-REVERSE {reverse.pass}
-
-FUNCTION {begin.bib}
-
-{ et.al.char.used
- { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
- 'skip$
- if$
- preamble$ empty$
-
- 'skip$
- { preamble$ write$ newline$ }
- if$
-
- "\begin{thebibliography}{" "}" * write$ newline$
-
-}
-
-EXECUTE {begin.bib}
-
-EXECUTE {init.state.consts}
-
-ITERATE {call.type$}
-
-FUNCTION {end.bib}
-{ newline$
- "\end{thebibliography}" write$ newline$
-}
-
-EXECUTE {end.bib}
-
-
-
diff --git a/papers/acl-04/acl04.sty b/papers/acl-04/acl04.sty
deleted file mode 100644
index 558bf82..0000000
--- a/papers/acl-04/acl04.sty
+++ /dev/null
@@ -1,361 +0,0 @@
-% File acl04.sty
-% January 07, 2004
-% Contact: rambow at cs.columbia.edu
-
-% This is the LaTeX style file for ACL 2004. It is identical to the
-% style files for ACL 2003, ACL 2002, ACL 2001, ACL 2000, EACL 95 and EACL
-% 99.
-%
-% -- Roberto Zamparelli, March 26, 2001
-% -- Dekang Lin, October 1, 2001
-
-% This is the LaTeX style file for ACL 2000. It is nearly identical to the
-% style files for EACL 95 and EACL 99. Minor changes include editing the
-% instructions to reflect use of \documentclass rather than \documentstyle
-% and removing the white space before the title on the first page
-% -- John Chen, June 29, 2000
-
-% To convert from submissions prepared using the style file aclsub.sty
-% prepared for the ACL 2000 conference, proceed as follows:
-% 1) Remove submission-specific information: \whichsession, \id,
-% \wordcount, \otherconferences, \area, \keywords
-% 2) \summary should be removed. The summary material should come
-% after \maketitle and should be in the ``abstract'' environment
-% 3) Check all citations. This style should handle citations correctly
-% and also allows multiple citations separated by semicolons.
-% 4) Check figures and examples. Because the final format is double-
-% column, some adjustments may have to be made to fit text in the column
-% or to choose full-width (\figure*} figures.
-% 5) Change the style reference from aclsub to acl2000, and be sure
-% this style file is in your TeX search path
-
-
-% This is the LaTeX style file for EACL-95. It is identical to the
-% style file for ANLP '94 except that the margins are adjusted for A4
-% paper. -- abney 13 Dec 94
-
-% The ANLP '94 style file is a slightly modified
-% version of the style used for AAAI and IJCAI, using some changes
-% prepared by Fernando Pereira and others and some minor changes
-% by Paul Jacobs.
-
-% Papers prepared using the aclsub.sty file and acl.bst bibtex style
-% should be easily converted to final format using this style.
-% (1) Submission information (\wordcount, \subject, and \makeidpage)
-% should be removed.
-% (2) \summary should be removed. The summary material should come
-% after \maketitle and should be in the ``abstract'' environment
-% (between \begin{abstract} and \end{abstract}).
-% (3) Check all citations. This style should handle citations correctly
-% and also allows multiple citations separated by semicolons.
-% (4) Check figures and examples. Because the final format is double-
-% column, some adjustments may have to be made to fit text in the column
-% or to choose full-width (\figure*} figures.
-
-% Place this in a file called aclap.sty in the TeX search path.
-% (Placing it in the same directory as the paper should also work.)
-
-% Prepared by Peter F. Patel-Schneider, liberally using the ideas of
-% other style hackers, including Barbara Beeton.
-% This style is NOT guaranteed to work. It is provided in the hope
-% that it will make the preparation of papers easier.
-%
-% There are undoubtably bugs in this style. If you make bug fixes,
-% improvements, etc. please let me know. My e-mail address is:
-% pfps at research.att.com
-
-% Papers are to be prepared using the ``acl'' bibliography style,
-% as follows:
-% \documentclass[11pt]{article}
-% \usepackage{acl2000}
-% \title{Title}
-% \author{Author 1 \and Author 2 \\ Address line \\ Address line \And
-% Author 3 \\ Address line \\ Address line}
-% \begin{document}
-% ...
-% \bibliography{bibliography-file}
-% \bibliographystyle{acl}
-% \end{document}
-
-% Author information can be set in various styles:
-% For several authors from the same institution:
-% \author{Author 1 \and ... \and Author n \\
-% Address line \\ ... \\ Address line}
-% if the names do not fit well on one line use
-% Author 1 \\ {\bf Author 2} \\ ... \\ {\bf Author n} \\
-% For authors from different institutions:
-% \author{Author 1 \\ Address line \\ ... \\ Address line
-% \And ... \And
-% Author n \\ Address line \\ ... \\ Address line}
-% To start a seperate ``row'' of authors use \AND, as in
-% \author{Author 1 \\ Address line \\ ... \\ Address line
-% \AND
-% Author 2 \\ Address line \\ ... \\ Address line \And
-% Author 3 \\ Address line \\ ... \\ Address line}
-
-% If the title and author information does not fit in the area allocated,
-% place \setlength\titlebox{<new height>} right after
-% \usepackage{acl2000}
-% where <new height> can be something larger than 2.25in
-
-% \typeout{Conference Style for ACL 2000 -- released June 20, 2000}
-\typeout{Conference Style for ACL 2002 -- released April 8, 2002}
-
-% NOTE: Some laser printers have a serious problem printing TeX output.
-% These printing devices, commonly known as ``write-white'' laser
-% printers, tend to make characters too light. To get around this
-% problem, a darker set of fonts must be created for these devices.
-%
-
-% % Physical page layout - slightly modified from IJCAI by pj
-% \setlength\topmargin{0.0in} \setlength\oddsidemargin{-0.0in}
-% \setlength\textheight{9.0in} \setlength\textwidth{6.5in}
-% \setlength\columnsep{0.2in}
-% \newlength\titlebox
-% \setlength\titlebox{2.25in}
-% \setlength\headheight{0pt} \setlength\headsep{0pt}
-% %\setlength\footheight{0pt}
-% \setlength\footskip{0pt}
-% \thispagestyle{empty} \pagestyle{empty}
-% \flushbottom \twocolumn \sloppy
-
-% %% A4 version of page layout
-% \setlength\topmargin{-0.45cm} % changed by Rz -1.4
-% \setlength\oddsidemargin{.8mm} % was -0cm, changed by Rz
-% \setlength\textheight{23.5cm}
-% \setlength\textwidth{15.8cm}
-% \setlength\columnsep{0.6cm}
-% \newlength\titlebox
-% \setlength\titlebox{2.00in}
-% \setlength\headheight{5pt}
-% \setlength\headsep{0pt}
-% %\setlength\footheight{0pt}
-% \setlength\footskip{0pt}
-% \thispagestyle{empty}
-% \pagestyle{empty}
-
-
-% EACL 2003 A4 version of page layout
-\setlength\topmargin{3mm}
-\setlength\oddsidemargin{11mm}
-\setlength\evensidemargin{-7mm}
-\setlength\textheight{230mm}
-\setlength\textwidth{160mm}
-\setlength\columnsep{6mm}
-\newlength\titlebox
-\setlength\titlebox{50mm}
-\setlength\headheight{5pt}
-\setlength\headsep{0pt}
-%\setlength\footheight{0pt}
-\setlength\footskip{0pt}
-\thispagestyle{empty}
-\pagestyle{empty}
-
-
-\flushbottom \twocolumn \sloppy
-
-% We're never going to need a table of contents, so just flush it to
-% save space --- suggested by drstrip at sandia-2
-\def\addcontentsline#1#2#3{}
-
-% Title stuff, taken from deproc.
-\def\maketitle{\par
- \begingroup
- \def\thefootnote{\fnsymbol{footnote}}
- \def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}}
- \twocolumn[\@maketitle] \@thanks
- \endgroup
- \setcounter{footnote}{0}
- \let\maketitle\relax \let\@maketitle\relax
- \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
-\def\@maketitle{\vbox to \titlebox{\hsize\textwidth
- \linewidth\hsize \vskip 0.125in minus 0.125in \centering
- {\Large\bf \@title \par} \vskip 0.2in plus 1fil minus 0.1in
- {\def\and{\unskip\enspace{\rm and}\enspace}%
- \def\And{\end{tabular}\hss \egroup \hskip 1in plus 2fil
- \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf}%
- \def\AND{\end{tabular}\hss\egroup \hfil\hfil\egroup
- \vskip 0.25in plus 1fil minus 0.125in
- \hbox to \linewidth\bgroup\large \hfil\hfil
- \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf}
- \hbox to \linewidth\bgroup\large \hfil\hfil
- \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf\@author
- \end{tabular}\hss\egroup
- \hfil\hfil\egroup}
- \vskip 0.3in plus 2fil minus 0.1in
-}}
-\renewenvironment{abstract}{\centerline{\large\bf
- Abstract}\vspace{0.5ex}\begin{quote}}{\par\end{quote}\vskip 1ex}
-
-
-% bibliography
-
-\def\thebibliography#1{\section*{References}
- \global\def\@listi{\leftmargin\leftmargini
- \labelwidth\leftmargini \advance\labelwidth-\labelsep
- \topsep 1pt plus 2pt minus 1pt
- \parsep 0.25ex plus 1pt \itemsep 0.25ex plus 1pt}
- \list {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth
- \advance\leftmargin\labelsep\usecounter{enumi}}
- \def\newblock{\hskip .11em plus .33em minus -.07em}
- \sloppy
- \sfcode`\.=1000\relax}
-
-\def\@up#1{\raise.2ex\hbox{#1}}
-
-% most of cite format is from aclsub.sty by SMS
-
-% don't box citations, separate with ; and a space
-% also, make the penalty between citations negative: a good place to break
-% changed comma back to semicolon pj 2/1/90
-% \def\@citex[#1]#2{\if at filesw\immediate\write\@auxout{\string\citation{#2}}\fi
-% \def\@citea{}\@cite{\@for\@citeb:=#2\do
-% {\@citea\def\@citea{;\penalty\@citeseppen\ }\@ifundefined
-% {b@\@citeb}{{\bf ?}\@warning
-% {Citation `\@citeb' on page \thepage \space undefined}}%
-% {\csname b@\@citeb\endcsname}}}{#1}}
-
-% don't box citations, separate with ; and a space
-% Replaced for multiple citations (pj)
-% don't box citations and also add space, semicolon between multiple citations
-\def\@citex[#1]#2{\if at filesw\immediate\write\@auxout{\string\citation{#2}}\fi
- \def\@citea{}\@cite{\@for\@citeb:=#2\do
- {\@citea\def\@citea{; }\@ifundefined
- {b@\@citeb}{{\bf ?}\@warning
- {Citation `\@citeb' on page \thepage \space undefined}}%
- {\csname b@\@citeb\endcsname}}}{#1}}
-
-% Allow short (name-less) citations, when used in
-% conjunction with a bibliography style that creates labels like
-% \citename{<names>, }<year>
-%
-\let\@internalcite\cite
-\def\cite{\def\citename##1{##1, }\@internalcite}
-\def\shortcite{\def\citename##1{}\@internalcite}
-\def\newcite{\leavevmode\def\citename##1{{##1} (}\@internalciteb}
-
-% Macros for \newcite, which leaves name in running text, and is
-% otherwise like \shortcite.
-\def\@citexb[#1]#2{\if at filesw\immediate\write\@auxout{\string\citation{#2}}\fi
- \def\@citea{}\@newcite{\@for\@citeb:=#2\do
- {\@citea\def\@citea{;\penalty\@m\ }\@ifundefined
- {b@\@citeb}{{\bf ?}\@warning
- {Citation `\@citeb' on page \thepage \space undefined}}%
-\hbox{\csname b@\@citeb\endcsname}}}{#1}}
-\def\@internalciteb{\@ifnextchar [{\@tempswatrue\@citexb}{\@tempswafalse\@citexb[]}}
-
-\def\@newcite#1#2{{#1\if at tempswa, #2\fi)}}
-
-\def\@biblabel#1{\def\citename##1{##1}[#1]\hfill}
-
-%%% More changes made by SMS (originals in latex.tex)
-% Use parentheses instead of square brackets in the text.
-\def\@cite#1#2{({#1\if at tempswa , #2\fi})}
-
-% Don't put a label in the bibliography at all. Just use the unlabeled format
-% instead.
-\def\thebibliography#1{\vskip\parskip%
-\vskip\baselineskip%
-\def\baselinestretch{1}%
-\ifx\@currsize\normalsize\@normalsize\else\@currsize\fi%
-\vskip-\parskip%
-\vskip-\baselineskip%
-\section*{References\@mkboth
- {References}{References}}\list
- {}{\setlength{\labelwidth}{0pt}\setlength{\leftmargin}{\parindent}
- \setlength{\itemindent}{-\parindent}}
- \def\newblock{\hskip .11em plus .33em minus -.07em}
- \sloppy\clubpenalty4000\widowpenalty4000
- \sfcode`\.=1000\relax}
-\let\endthebibliography=\endlist
-
-% Allow for a bibliography of sources of attested examples
-\def\thesourcebibliography#1{\vskip\parskip%
-\vskip\baselineskip%
-\def\baselinestretch{1}%
-\ifx\@currsize\normalsize\@normalsize\else\@currsize\fi%
-\vskip-\parskip%
-\vskip-\baselineskip%
-\section*{Sources of Attested Examples\@mkboth
- {Sources of Attested Examples}{Sources of Attested Examples}}\list
- {}{\setlength{\labelwidth}{0pt}\setlength{\leftmargin}{\parindent}
- \setlength{\itemindent}{-\parindent}}
- \def\newblock{\hskip .11em plus .33em minus -.07em}
- \sloppy\clubpenalty4000\widowpenalty4000
- \sfcode`\.=1000\relax}
-\let\endthesourcebibliography=\endlist
-
-\def\@lbibitem[#1]#2{\item[]\if at filesw
- { \def\protect##1{\string ##1\space}\immediate
- \write\@auxout{\string\bibcite{#2}{#1}}\fi\ignorespaces}}
-
-\def\@bibitem#1{\item\if at filesw \immediate\write\@auxout
- {\string\bibcite{#1}{\the\c at enumi}}\fi\ignorespaces}
-
-% sections with less space
-\def\section{\@startsection {section}{1}{\z@}{-2.0ex plus
- -0.5ex minus -.2ex}{1.5ex plus 0.3ex minus .2ex}{\large\bf\raggedright}}
-\def\subsection{\@startsection{subsection}{2}{\z@}{-1.8ex plus
- -0.5ex minus -.2ex}{0.8ex plus .2ex}{\normalsize\bf\raggedright}}
-\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{1.5ex plus
- 0.5ex minus .2ex}{0.5ex plus .2ex}{\normalsize\bf\raggedright}}
-\def\paragraph{\@startsection{paragraph}{4}{\z@}{1.5ex plus
- 0.5ex minus .2ex}{-1em}{\normalsize\bf}}
-\def\subparagraph{\@startsection{subparagraph}{5}{\parindent}{1.5ex plus
- 0.5ex minus .2ex}{-1em}{\normalsize\bf}}
-
-% Footnotes
-\footnotesep 6.65pt %
-\skip\footins 9pt plus 4pt minus 2pt
-\def\footnoterule{\kern-3pt \hrule width 5pc \kern 2.6pt }
-\setcounter{footnote}{0}
-
-% Lists and paragraphs
-\parindent 1em
-\topsep 4pt plus 1pt minus 2pt
-\partopsep 1pt plus 0.5pt minus 0.5pt
-\itemsep 2pt plus 1pt minus 0.5pt
-\parsep 2pt plus 1pt minus 0.5pt
-
-\leftmargin 2em \leftmargini\leftmargin \leftmarginii 2em
-\leftmarginiii 1.5em \leftmarginiv 1.0em \leftmarginv .5em \leftmarginvi .5em
-\labelwidth\leftmargini\advance\labelwidth-\labelsep \labelsep 5pt
-
-\def\@listi{\leftmargin\leftmargini}
-\def\@listii{\leftmargin\leftmarginii
- \labelwidth\leftmarginii\advance\labelwidth-\labelsep
- \topsep 2pt plus 1pt minus 0.5pt
- \parsep 1pt plus 0.5pt minus 0.5pt
- \itemsep \parsep}
-\def\@listiii{\leftmargin\leftmarginiii
- \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
- \topsep 1pt plus 0.5pt minus 0.5pt
- \parsep \z@ \partopsep 0.5pt plus 0pt minus 0.5pt
- \itemsep \topsep}
-\def\@listiv{\leftmargin\leftmarginiv
- \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
-\def\@listv{\leftmargin\leftmarginv
- \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
-\def\@listvi{\leftmargin\leftmarginvi
- \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
-
-\abovedisplayskip 7pt plus2pt minus5pt%
-\belowdisplayskip \abovedisplayskip
-\abovedisplayshortskip 0pt plus3pt%
-\belowdisplayshortskip 4pt plus3pt minus3pt%
-
-% Less leading in most fonts (due to the narrow columns)
-% The choices were between 1-pt and 1.5-pt leading
-\def\@normalsize{\@setsize\normalsize{11pt}\xpt\@xpt}
-\def\small{\@setsize\small{10pt}\ixpt\@ixpt}
-\def\footnotesize{\@setsize\footnotesize{10pt}\ixpt\@ixpt}
-\def\scriptsize{\@setsize\scriptsize{8pt}\viipt\@viipt}
-\def\tiny{\@setsize\tiny{7pt}\vipt\@vipt}
-\def\large{\@setsize\large{14pt}\xiipt\@xiipt}
-\def\Large{\@setsize\Large{16pt}\xivpt\@xivpt}
-\def\LARGE{\@setsize\LARGE{20pt}\xviipt\@xviipt}
-\def\huge{\@setsize\huge{23pt}\xxpt\@xxpt}
-\def\Huge{\@setsize\Huge{28pt}\xxvpt\@xxvpt}
-
-% Expanding the titlebox
-\setlength\titlebox{6.5cm}
diff --git a/papers/acl-04/chart-matrix.gif b/papers/acl-04/chart-matrix.gif
deleted file mode 100644
index 699211e..0000000
Binary files a/papers/acl-04/chart-matrix.gif and /dev/null differ
diff --git a/papers/acl-04/chart.eps.gz b/papers/acl-04/chart.eps.gz
deleted file mode 100644
index 5d333ae..0000000
Binary files a/papers/acl-04/chart.eps.gz and /dev/null differ
diff --git a/papers/acl-04/nltk.bib b/papers/acl-04/nltk.bib
deleted file mode 100644
index 1f6c599..0000000
--- a/papers/acl-04/nltk.bib
+++ /dev/null
@@ -1,50 +0,0 @@
-
- at Book{Rossum03intro,
- author = {Guido Van Rossum},
- title = {An Introduction to Python},
- publisher = {Network Theory Ltd},
- year = 2003
-}
-
- at Book{Rossum03ref,
- author = {Guido Van Rossum},
- title = {The Python Language Reference},
- publisher = {Network Theory Ltd},
- year = 2003
-}
-
- at InProceedings{LoperBird02,
- author = {Edward Loper and Steven Bird},
- title = {{NLTK: The Natural Language Toolkit}},
- booktitle = {Proceedings of the ACL Workshop on Effective Tools and
- Methodologies for Teaching Natural Language Processing and Computational
- Linguistics},
- year = 2002,
- publisher={Somerset, NJ: Association for Computational Linguistics},
- pages={62--69},
- note = {\url{http://arXiv.org/abs/cs/0205028}},
-}
-
- at InProceedings{Loper04,
- author = {Edward Loper},
- title = {{NLTK}: Building a Pedagogical Toolkit in {Python}},
- booktitle = {PyCon DC 2004},
- year = 2004,
- publisher = {Python Software Foundation},
- note = {\url{http://www.python.org/pycon/dc2004/papers/}}
-}
-
- at Misc{tkinter,
- author = {Fredrik Lundh},
- title = {An Introduction to Tkinter},
- note = {\url{http://www.pythonware.com/library/tkinter/introduction/index.htm}},
- year = 1999
-}
-
- at Misc{epydoc,
- author = {Edward Loper},
- title = {Epydoc},
- year = 2002,
- note = {\url{http://epydoc.sourceforge.net/}}
-}
-
diff --git a/papers/acl-06/acl-06.tex b/papers/acl-06/acl-06.tex
deleted file mode 100644
index 7c20d0a..0000000
--- a/papers/acl-06/acl-06.tex
+++ /dev/null
@@ -1,405 +0,0 @@
-\documentclass[11pt]{article}
-\usepackage{colacl06}
-\usepackage{times,url}
-\usepackage{latexsym}
-\usepackage{hyphen}
-\usepackage{epsfig}
-\setlength\titlebox{6.5cm} % Expanding the titlebox
-
-\title{NLTK: The Natural Language Toolkit}
-
-\author{Steven Bird\\[.5ex]
- Department of Computer Science and Software Engineering\\
- University of Melbourne, Victoria 3010, AUSTRALIA\\[.5ex]
- Linguistic Data Consortium, University of Pennsylvania,\\
- Philadelphia PA 19104-2653, USA}
-\date{}
-
-\begin{document}
-\maketitle
-\begin{abstract}
- The Natural Language Toolkit is a suite of program modules, data
- sets and tutorials supporting research and teaching in computational
- linguistics and natural language processing. NLTK is written in
- Python and distributed under the GPL open source license. Over the
- past year the toolkit has been rewritten, simplifying many
- linguistic data structures and taking advantage of recent
- enhancements in the Python language. This paper reports on the
- simplified toolkit and explains how it is used in teaching NLP.
-\end{abstract}
-
-\section{Introduction}
-
-NLTK, the Natural Language Toolkit, is a suite of Python modules
-providing many NLP data types, processing tasks, corpus samples and
-readers, together with animated algorithms, tutorials, and problem
-sets \cite{LoperBird02}. Data types include tokens, tags, chunks,
-trees, and feature structures. Interface definitions and reference
-implementations are provided for tokenizers, stemmers, taggers
-(regexp, ngram, Brill), chunkers, parsers (recursive-descent,
-shift-reduce, chart, probabilistic), clusterers, and classifiers.
-Corpus samples and readers include: Brown Corpus, CoNLL-2000 Chunking
-Corpus, CMU Pronunciation Dictionary, NIST IEER Corpus, PP Attachment
-Corpus, Penn Treebank, and the SIL Shoebox corpus format.
-
-NLTK is ideally suited to students who are learning NLP or conducting
-research in NLP or closely related areas.
-NLTK has been used successfully as a
-teaching tool, as an individual study tool, and as a platform for
-prototyping and building research systems \cite{Liddy05,Satre05}.
-
-We chose Python for its shallow learning curve, transparent syntax,
-and good string-handling. Python permits exploration via its
-interactive interpreter. As an object-oriented language, Python
-permits data and code to be encapsulated and re-used easily. Python
-comes with an extensive library, including tools for graphical
-programming and numerical processing \cite{Beasley06}.
-
-Over the past four years the toolkit grew rapidly and the data
-structures became significantly more complex. Each new processing
-task added new requirements on input and output
-representations. It was not clear how to generalize tasks so they
-could be applied independently of each other.
-
-As a simple example, consider the independent tasks of tagging and
-stemming, which both operate on sequences of tokens. If stemming is
-done first, we lose information required for tagging. If tagging is
-done first, the stemming must be able to skip over the tags. If both
-are done independently, we need to be able to align the results. As
-task combinations multiply, managing the data becomes extremely
-difficult.
-
-To address this problem, NLTK 1.4 introduced a blackboard architecture
-for tokens, unifying many data types, and permitting distinct tasks to
-be run independently. Unfortunately this architecture also came with
-a significant overhead for programmers, who were often forced to use
-``rather awkward code structures'' \cite{Hearst05}. It was clear that
-the re-engineering done in NLTK 1.4 unduly complicated the
-programmer's task.
-
-This paper presents a brief overview and tutorial on a new, simplified
-toolkit, and describes how it is used in teaching.
-
-\section{Simple Processing Tasks}
-
-\subsection{Tokenization and Stemming}
-
-The following three-line program imports the \texttt{tokenize}
-package, defines a text string, and tokenizes the string on
-whitespace to create a list of tokens. (NB.\ `\url{>>>}' is
-Python's interactive prompt; `\url{...}' is the continuation prompt.)
-
-{\small\begin{verbatim}
->>> text = 'This is a test.'
->>> list(tokenize.whitespace(text))
-['This', 'is', 'a', 'test.']
-\end{verbatim}}
-
-\noindent
-Several other tokenizers are provided. We can stem the output of tokenization
-using the Porter Stemmer as follows:
-
-{\small\begin{verbatim}
->>> text = 'stemming is exciting'
->>> tokens = tokenize.whitespace(text)
->>> porter = stem.Porter()
->>> for token in tokens:
-... print porter.stem(token),
-stem is excit
-\end{verbatim}}
-
-The corpora included with NLTK come with corpus readers that
-understand the file structure of the corpus, and load the data into
-Python data structures. For example, the following code reads part \textit{a}
-of the Brown Corpus. It prints a list of tuples, where each tuple
-consists of a word and its tag.
-
-{\small\begin{verbatim}
->>> for sent in brown.tagged('a'):
-... print sent
-[('The', 'at'), ('Fulton', 'np-tl'),
-('County', 'nn-tl'), ('Grand', 'jj-tl'),
-('Jury', 'nn-tl'), ('said', 'vbd'), ...]
-\end{verbatim}}
-
-NLTK provides support for conditional frequency distributions, making
-it easy to count up items of interest in specified contexts. Such
-information may be useful for studies in stylistics or in text
-categorization.
-
-\subsection{Tagging}
-
-The simplest possible tagger assigns the same tag to each token:
-
-{\small\begin{verbatim}
->>> my_tagger = tag.Default('nn')
->>> list(my_tagger.tag(tokens))
-[('John', 'nn'), ('saw', 'nn'),
- ('3', 'nn'), ('polar', 'nn'),
- ('bears', 'nn'), ('.', 'nn')]
-\end{verbatim}}
-
-On its own, this will tag only 10--20\% of the tokens correctly.
-However, it is a reasonable tagger to use as a default if a more
-advanced tagger fails to determine a token's tag.
-
-The regular expression tagger assigns a tag to a token according to a
-series of string patterns. For instance, the following tagger assigns
-\texttt{cd} to cardinal numbers, \texttt{nns} to words ending in the
-letter \textit{s}, and \texttt{nn} to everything else:
-
-{\small\begin{verbatim}
->>> patterns = [
-... (r'\d+(.\d+)?$', 'cd'),
-... (r'\.*s$', 'nns'),
-... (r'.*', 'nn')]
->>> simple_tagger = tag.Regexp(patterns)
->>> list(simple_tagger.tag(tokens))
-[('John', 'nn'), ('saw', 'nn'),
- ('3', 'cd'), ('polar', 'nn'),
- ('bears', 'nns'), ('.', 'nn')]
-\end{verbatim}}
-
-The \texttt{tag.Unigram} class implements a simple statistical tagging
-algorithm: for each token, it assigns the tag that is most likely
-for that token. For example, it will assign the tag \texttt{jj} to
-any occurrence of the word \textit{frequent}, since \textit{frequent} is used as an
-adjective (e.g.\ \textit{a frequent word}) more often than it is used as a
-verb (e.g.\ \textit{I frequent this cafe}).
-Before a unigram tagger can be used, it must be trained on
-a corpus, as shown below for the first section of the Brown Corpus.
-
-{\small\begin{verbatim}
->>> unigram_tagger = tag.Unigram()
->>> unigram_tagger.train(brown('a'))
-\end{verbatim}}
-
-\noindent
-Once a unigram tagger has been trained, it can be used to tag new text.
-Note that it assigns the default tag \texttt{None} to any token that was not
-encountered during training.
-
-{\small\begin{verbatim}
->>> text = "John saw the books on the table"
->>> tokens = list(tokenize.whitespace(text))
->>> list(unigram_tagger.tag(tokens))
-[('John', 'np'), ('saw', 'vbd'),
- ('the', 'at'), ('books', None),
- ('on', 'in'), ('the', 'at'),
- ('table', None)]
-\end{verbatim}}
-
-\noindent
-We can instruct the unigram tagger to back off to our default
-\url{simple_tagger} when it cannot assign a tag itself. Now all
-the words are guaranteed to be tagged:
-
-{\small\begin{verbatim}
->>> unigram_tagger =
-... tag.Unigram(backoff=simple_tagger)
->>> unigram_tagger.train(train_sents)
->>> list(unigram_tagger.tag(tokens))
-[('John', 'np'), ('saw', 'vbd'),
- ('the', 'at'), ('books', 'nns'),
- ('on', 'in'), ('the', 'at'),
- ('table', 'nn')]
-\end{verbatim}}
-
-\noindent
-We can go on to define and train a bigram tagger, as shown below:
-
-{\small\begin{verbatim}
->>> bigram_tagger =\
-... tag.Bigram(backoff=unigram_tagger)
->>> bigram_tagger.train(brown.tagged('a'))
-\end{verbatim}}
-
-\noindent
-We can easily evaluate this tagger against some gold-standard tagged
-text, using the \url{tag.accuracy()} function.
-
-NLTK also includes a Brill tagger (contributed by Christopher
-Maloof) and an HMM tagger (contributed by Trevor Cohn).
-
-\section{Chunking and Parsing}
-
-Chunking is a technique for shallow syntactic analysis of (tagged)
-text. Chunk data can be loaded from files that use the common bracket or
-IOB notations. We can define a regular-expression based chunk parser
-for use in chunking tagged text. NLTK also supports simple cascading
-of chunk parsers. Corpus readers for chunked data in Penn Treebank
-and CoNLL-2000 are provided, along with comprehensive support for
-evaluation and error analysis.
-
-NLTK provides several parsers for context-free phrase-structure
-grammars. Grammars can be defined using a series of productions as follows:
-
-{\small\begin{verbatim}
->>> grammar = cfg.parse_grammar('''
-... S -> NP VP
-... VP -> V NP | V NP PP
-... V -> "saw" | "ate"
-... NP -> "John" | Det N | Det N PP
-... Det -> "a" | "an" | "the" | "my"
-... N -> "dog" | "cat" | "ball"
-... PP -> P NP
-... P -> "on" | "by" | "with"
-... ''')
-\end{verbatim}}
-
-\noindent
-Now we can tokenize and parse a sentence with a recursive descent
-parser. Note that we avoided left-recursive productions in the above
-grammar, so that this parser does not get into an infinite loop.
-
-{\small\begin{verbatim}
->>> text = "John saw a cat with my ball"
->>> sent = list(tokenize.whitespace(text))
->>> rd = parse.RecursiveDescent(grammar)
-\end{verbatim}}
-
-Now we apply it to our sentence, and iterate over all the parses that
-it generates. Observe that two parses are possible, due to
-prepositional phrase attachment ambiguity.
-
-{\small\begin{verbatim}
->>> for p in rd.get_parse_list(sent):
-... print p
-(S:
- (NP: 'John')
- (VP:
- (V: 'saw')
- (NP:
- (Det: 'a')
- (N: 'cat')
- (PP: (P: 'with')
- (NP: (Det: 'my') (N: 'ball'))))))
-(S:
- (NP: 'John')
- (VP:
- (V: 'saw')
- (NP: (Det: 'a') (N: 'cat'))
- (PP: (P: 'with')
- (NP: (Det: 'my') (N: 'ball')))))
-\end{verbatim}}
-
-\noindent
-The same sentence can be parsed using a grammar with left-recursive
-productions, so long as we use a chart parser. We can invoke NLTK's
-chart parser with a bottom-up rule-invocation strategy with
-\texttt{chart.ChartParse(grammar, chart.BU$\_$STRATEGY)}. Tracing can
-be turned on in order to display each step of the process. NLTK also
-supports probabilistic context free grammars, and provides a
-Viterbi-style PCFG parser, together with a suite of bottom-up
-probabilistic chart parsers.
-
-\begin{figure*}[tb]
-\centerline{\epsfig{file=srparser.eps, scale=.5}}
-\vspace{4ex}
-\centerline{\epsfig{file=rdparser.eps, scale=.5}}
-\caption{Two Parser Demonstrations: Shift-Reduce and Recursive Descent Parsers}
-\label{fig:parser}
-\end{figure*}
-\section{Teaching with NLTK}
-
-Natural language processing is often taught within the confines of a
-single-semester course, either at advanced undergraduate level or at
-postgraduate level. Unfortunately, it turns out to be rather
-difficult to cover both the theoretical and practical sides of the
-subject in such a short span of time. Some courses focus on theory to
-the exclusion of practical exercises, and deprive students of the
-challenge and excitement of writing programs to automatically process
-natural language. Other courses are simply designed to teach
-programming for linguists, and do not manage to cover any significant
-NLP content. NLTK was developed to address this problem, making
-it feasible to cover a substantial amount of theory and practice
-within a single-semester course.
-
-A significant fraction of any NLP course is made up of fundamental
-data structures and algorithms. These are usually taught with the
-help of formal notations and complex diagrams. Large trees and charts
-are copied onto the board and edited in tedious slow motion, or
-laboriously prepared for presentation slides. A more effective method
-is to use live demonstrations in which those diagrams are generated
-and updated automatically. NLTK provides interactive graphical user
-interfaces, making it possible to view program state and to study
-program execution step-by-step (e.g.\ see Figure~\ref{fig:parser}).
-Most NLTK components have a demonstration mode, and will perform an
-interesting task without requiring any special input from the user.
-It is even possible to make minor modifications to programs in
-response to ``what if'' questions. In this way, students learn the
-mechanics of NLP quickly, gain deeper insights into the data
-structures and algorithms, and acquire new problem-solving skills.
-Since these demonstrations are distributed with the toolkit, students
-can experiment on their own with the algorithms that they have seen
-presented in class.
-
-NLTK can be used to create student assignments of varying difficulty
-and scope. In the simplest assignments, students experiment with one
-of the existing modules. Once students become more familiar with the
-toolkit, they can be asked to make minor changes or extensions to an
-existing module (e.g.\ build a left-corner parser by modifying the
-recursive descent parser). A bigger challenge is to develop one or
-more new modules and integrate them with existing modules to perform
-a sophisticated NLP task. Here, NLTK provides a useful starting
-point with its existing components and its extensive tutorials and
-API documentation.
-
-NLTK is a unique framework for teaching natural language processing.
-NLTK provides comprehensive support for a first course in NLP which
-tightly couples theory and practice. Its extensive documentation
-maximizes the potential for independent learning. For more
-information, including documentation, download pointers, and links to
-dozens of courses that have adopted NLTK, please see:
-\url{http://nltk.sourceforge.net/} .
-
-\section*{Acknowledgements}
-
-I am grateful to Edward Loper, co-developer of NLTK, and to dozens of
-people who have contributed code and provided helpful feedback.
-\vspace{-2ex}
-
-\bibliographystyle{acl}
-
-\begin{thebibliography}{}
-\setlength{\parskip}{0pt}
-\setlength{\itemsep}{0pt}
-
-\bibitem[\protect\citename{Hearst}2005]{Hearst05}
-Marti Hearst.
-\newblock 2005.
-\newblock Teaching applied natural language processing: Triumphs and
- tribulations.
-\newblock In {\em Proc 2nd ACL Workshop on Effective Tools and
- Methodologies for Teaching NLP and CL}, pages 1--8, ACL
-
-\bibitem[\protect\citename{Liddy and McCracken}2005]{Liddy05}
-Elizabeth Liddy and Nancy McCracken.
-\newblock 2005.
-\newblock Hands-on {NLP} for an interdisciplinary audience.
-\newblock In {\em Proc 2nd ACL Workshop on Effective Tools and
- Methodologies for Teaching NLP and CL}, pages 62--68, ACL
-
-\bibitem[\protect\citename{Loper and Bird}2002]{LoperBird02}
-Edward Loper and Steven Bird.
-\newblock 2002.
-\newblock {NLTK}: The Natural Language Toolkit.
-\newblock In {\em Proc ACL Workshop on Effective Tools and
- Methodologies for Teaching Natural Language Processing and Computational
- Linguistics}, pages 62--69. ACL.
-
-\bibitem[\protect\citename{Beasley}2006]{Beasley06}
-David Beasley.
-\newblock 2006.
-\newblock {\em Python Essential Reference, 3rd Edition}.
-\newblock Sams.
-
-\bibitem[\protect\citename{S{\ae}tre \bgroup et al.\egroup }2005]{Satre05}
-Rune S{\ae}tre, Amund Tveit, Tonje~S. Steigedal, and Astrid L{\ae}greid.
-\newblock 2005.
-\newblock Semantic annotation of biomedical literature using Google.
-\newblock In {\em Data Mining and Bioinformatics Workshop}, volume 3482 of {\em
- Lecture Notes in Computer Science}. Springer.
-
-\end{thebibliography}
-\end{document}
diff --git a/papers/acl-06/acl.bst b/papers/acl-06/acl.bst
deleted file mode 100644
index b95ec04..0000000
--- a/papers/acl-06/acl.bst
+++ /dev/null
@@ -1,1322 +0,0 @@
-
-% BibTeX `acl' style file for BibTeX version 0.99c, LaTeX version 2.09
-% This version was made by modifying `aaai-named' format based on the master
-% file by Oren Patashnik (PATASHNIK at SCORE.STANFORD.EDU)
-
-% Copyright (C) 1985, all rights reserved.
-% Modifications Copyright 1988, Peter F. Patel-Schneider
-% Further modifictions by Stuart Shieber, 1991, and Fernando Pereira, 1992.
-% Copying of this file is authorized only if either
-% (1) you make absolutely no changes to your copy, including name, or
-% (2) if you do make changes, you name it something other than
-% btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
-% This restriction helps ensure that all standard styles are identical.
-
-% There are undoubtably bugs in this style. If you make bug fixes,
-% improvements, etc. please let me know. My e-mail address is:
-% pfps at spar.slb.com
-
-% Citation format: [author-last-name, year]
-% [author-last-name and author-last-name, year]
-% [author-last-name {\em et al.}, year]
-%
-% Reference list ordering: alphabetical by author or whatever passes
-% for author in the absence of one.
-%
-% This BibTeX style has support for short (year only) citations. This
-% is done by having the citations actually look like
-% \citename{name-info, }year
-% The LaTeX style has to have the following
-% \let\@internalcite\cite
-% \def\cite{\def\citename##1{##1}\@internalcite}
-% \def\shortcite{\def\citename##1{}\@internalcite}
-% \def\@biblabel#1{\def\citename##1{##1}[#1]\hfill}
-% which makes \shortcite the macro for short citations.
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Changes made by SMS for thesis style
-% no emphasis on "et al."
-% "Ph.D." includes periods (not "PhD")
-% moved year to immediately after author's name
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-ENTRY
- { address
- author
- booktitle
- chapter
- edition
- editor
- howpublished
- institution
- journal
- key
- month
- note
- number
- organization
- pages
- publisher
- school
- series
- title
- type
- volume
- year
- }
- {}
- { label extra.label sort.label }
-
-INTEGERS { output.state before.all mid.sentence after.sentence after.block }
-
-FUNCTION {init.state.consts}
-{ #0 'before.all :=
- #1 'mid.sentence :=
- #2 'after.sentence :=
- #3 'after.block :=
-}
-
-STRINGS { s t }
-
-FUNCTION {output.nonnull}
-{ 's :=
- output.state mid.sentence =
- { ", " * write$ }
- { output.state after.block =
- { add.period$ write$
- newline$
- "\newblock " write$
- }
- { output.state before.all =
- 'write$
- { add.period$ " " * write$ }
- if$
- }
- if$
- mid.sentence 'output.state :=
- }
- if$
- s
-}
-
-FUNCTION {output}
-{ duplicate$ empty$
- 'pop$
- 'output.nonnull
- if$
-}
-
-FUNCTION {output.check}
-{ 't :=
- duplicate$ empty$
- { pop$ "empty " t * " in " * cite$ * warning$ }
- 'output.nonnull
- if$
-}
-
-FUNCTION {output.bibitem}
-{ newline$
-
- "\bibitem[" write$
- label write$
- "]{" write$
-
- cite$ write$
- "}" write$
- newline$
- ""
- before.all 'output.state :=
-}
-
-FUNCTION {fin.entry}
-{ add.period$
- write$
- newline$
-}
-
-FUNCTION {new.block}
-{ output.state before.all =
- 'skip$
- { after.block 'output.state := }
- if$
-}
-
-FUNCTION {new.sentence}
-{ output.state after.block =
- 'skip$
- { output.state before.all =
- 'skip$
- { after.sentence 'output.state := }
- if$
- }
- if$
-}
-
-FUNCTION {not}
-{ { #0 }
- { #1 }
- if$
-}
-
-FUNCTION {and}
-{ 'skip$
- { pop$ #0 }
- if$
-}
-
-FUNCTION {or}
-{ { pop$ #1 }
- 'skip$
- if$
-}
-
-FUNCTION {new.block.checka}
-{ empty$
- 'skip$
- 'new.block
- if$
-}
-
-FUNCTION {new.block.checkb}
-{ empty$
- swap$ empty$
- and
- 'skip$
- 'new.block
- if$
-}
-
-FUNCTION {new.sentence.checka}
-{ empty$
- 'skip$
- 'new.sentence
- if$
-}
-
-FUNCTION {new.sentence.checkb}
-{ empty$
- swap$ empty$
- and
- 'skip$
- 'new.sentence
- if$
-}
-
-FUNCTION {field.or.null}
-{ duplicate$ empty$
- { pop$ "" }
- 'skip$
- if$
-}
-
-FUNCTION {emphasize}
-{ duplicate$ empty$
- { pop$ "" }
- { "{\em " swap$ * "}" * }
- if$
-}
-
-INTEGERS { nameptr namesleft numnames }
-
-FUNCTION {format.names}
-{ 's :=
- #1 'nameptr :=
- s num.names$ 'numnames :=
- numnames 'namesleft :=
- { namesleft #0 > }
-
- { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
-
- nameptr #1 >
- { namesleft #1 >
- { ", " * t * }
- { numnames #2 >
- { "," * }
- 'skip$
- if$
- t "others" =
- { " et~al." * }
- { " and " * t * }
- if$
- }
- if$
- }
- 't
- if$
- nameptr #1 + 'nameptr :=
- namesleft #1 - 'namesleft :=
- }
- while$
-}
-
-FUNCTION {format.authors}
-{ author empty$
- { "" }
- { author format.names }
- if$
-}
-
-FUNCTION {format.editors}
-{ editor empty$
- { "" }
- { editor format.names
- editor num.names$ #1 >
- { ", editors" * }
- { ", editor" * }
- if$
- }
- if$
-}
-
-FUNCTION {format.title}
-{ title empty$
- { "" }
-
- { title "t" change.case$ }
-
- if$
-}
-
-FUNCTION {n.dashify}
-{ 't :=
- ""
- { t empty$ not }
- { t #1 #1 substring$ "-" =
- { t #1 #2 substring$ "--" = not
- { "--" *
- t #2 global.max$ substring$ 't :=
- }
- { { t #1 #1 substring$ "-" = }
- { "-" *
- t #2 global.max$ substring$ 't :=
- }
- while$
- }
- if$
- }
- { t #1 #1 substring$ *
- t #2 global.max$ substring$ 't :=
- }
- if$
- }
- while$
-}
-
-FUNCTION {format.date}
-{ year empty$
- { month empty$
- { "" }
- { "there's a month but no year in " cite$ * warning$
- month
- }
- if$
- }
- { month empty$
- { "" }
- { month }
- if$
- }
- if$
-}
-
-FUNCTION {format.btitle}
-{ title emphasize
-}
-
-FUNCTION {tie.or.space.connect}
-{ duplicate$ text.length$ #3 <
- { "~" }
- { " " }
- if$
- swap$ * *
-}
-
-FUNCTION {either.or.check}
-{ empty$
- 'pop$
- { "can't use both " swap$ * " fields in " * cite$ * warning$ }
- if$
-}
-
-FUNCTION {format.bvolume}
-{ volume empty$
- { "" }
- { "volume" volume tie.or.space.connect
- series empty$
- 'skip$
- { " of " * series emphasize * }
- if$
- "volume and number" number either.or.check
- }
- if$
-}
-
-FUNCTION {format.number.series}
-{ volume empty$
- { number empty$
- { series field.or.null }
- { output.state mid.sentence =
- { "number" }
- { "Number" }
- if$
- number tie.or.space.connect
- series empty$
- { "there's a number but no series in " cite$ * warning$ }
- { " in " * series * }
- if$
- }
- if$
- }
- { "" }
- if$
-}
-
-FUNCTION {format.edition}
-{ edition empty$
- { "" }
- { output.state mid.sentence =
- { edition "l" change.case$ " edition" * }
- { edition "t" change.case$ " edition" * }
- if$
- }
- if$
-}
-
-INTEGERS { multiresult }
-
-FUNCTION {multi.page.check}
-{ 't :=
- #0 'multiresult :=
- { multiresult not
- t empty$ not
- and
- }
- { t #1 #1 substring$
- duplicate$ "-" =
- swap$ duplicate$ "," =
- swap$ "+" =
- or or
- { #1 'multiresult := }
- { t #2 global.max$ substring$ 't := }
- if$
- }
- while$
- multiresult
-}
-
-FUNCTION {format.pages}
-{ pages empty$
- { "" }
- { pages multi.page.check
- { "pages" pages n.dashify tie.or.space.connect }
- { "page" pages tie.or.space.connect }
- if$
- }
- if$
-}
-
-FUNCTION {format.year.label}
-{ year extra.label *
-}
-
-FUNCTION {format.vol.num.pages}
-{ volume field.or.null
- number empty$
- 'skip$
- { "(" number * ")" * *
- volume empty$
- { "there's a number but no volume in " cite$ * warning$ }
- 'skip$
- if$
- }
- if$
- pages empty$
- 'skip$
- { duplicate$ empty$
- { pop$ format.pages }
- { ":" * pages n.dashify * }
- if$
- }
- if$
-}
-
-FUNCTION {format.chapter.pages}
-{ chapter empty$
- 'format.pages
- { type empty$
- { "chapter" }
- { type "l" change.case$ }
- if$
- chapter tie.or.space.connect
- pages empty$
- 'skip$
- { ", " * format.pages * }
- if$
- }
- if$
-}
-
-FUNCTION {format.in.ed.booktitle}
-{ booktitle empty$
- { "" }
- { editor empty$
- { "In " booktitle emphasize * }
- { "In " format.editors * ", " * booktitle emphasize * }
- if$
- }
- if$
-}
-
-FUNCTION {empty.misc.check}
-{ author empty$ title empty$ howpublished empty$
- month empty$ year empty$ note empty$
- and and and and and
-
- key empty$ not and
-
- { "all relevant fields are empty in " cite$ * warning$ }
- 'skip$
- if$
-}
-
-FUNCTION {format.thesis.type}
-{ type empty$
- 'skip$
- { pop$
- type "t" change.case$
- }
- if$
-}
-
-FUNCTION {format.tr.number}
-{ type empty$
- { "Technical Report" }
- 'type
- if$
- number empty$
- { "t" change.case$ }
- { number tie.or.space.connect }
- if$
-}
-
-FUNCTION {format.article.crossref}
-{ key empty$
- { journal empty$
- { "need key or journal for " cite$ * " to crossref " * crossref *
- warning$
- ""
- }
- { "In {\em " journal * "\/}" * }
- if$
- }
- { "In " key * }
- if$
- " \cite{" * crossref * "}" *
-}
-
-FUNCTION {format.crossref.editor}
-{ editor #1 "{vv~}{ll}" format.name$
- editor num.names$ duplicate$
- #2 >
- { pop$ " et~al." * }
- { #2 <
- 'skip$
- { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
- { " et~al." * }
- { " and " * editor #2 "{vv~}{ll}" format.name$ * }
- if$
- }
- if$
- }
- if$
-}
-
-FUNCTION {format.book.crossref}
-{ volume empty$
- { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
- "In "
- }
- { "Volume" volume tie.or.space.connect
- " of " *
- }
- if$
- editor empty$
- editor field.or.null author field.or.null =
- or
- { key empty$
- { series empty$
- { "need editor, key, or series for " cite$ * " to crossref " *
- crossref * warning$
- "" *
- }
- { "{\em " * series * "\/}" * }
- if$
- }
- { key * }
- if$
- }
- { format.crossref.editor * }
- if$
- " \cite{" * crossref * "}" *
-}
-
-FUNCTION {format.incoll.inproc.crossref}
-{ editor empty$
- editor field.or.null author field.or.null =
- or
- { key empty$
- { booktitle empty$
- { "need editor, key, or booktitle for " cite$ * " to crossref " *
- crossref * warning$
- ""
- }
- { "In {\em " booktitle * "\/}" * }
- if$
- }
- { "In " key * }
- if$
- }
- { "In " format.crossref.editor * }
- if$
- " \cite{" * crossref * "}" *
-}
-
-FUNCTION {article}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- crossref missing$
- { journal emphasize "journal" output.check
- format.vol.num.pages output
- format.date output
- }
- { format.article.crossref output.nonnull
- format.pages output
- }
- if$
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {book}
-{ output.bibitem
- author empty$
- { format.editors "author and editor" output.check }
- { format.authors output.nonnull
- crossref missing$
- { "author and editor" editor either.or.check }
- 'skip$
- if$
- }
- if$
- new.block
- format.year.label "year" output.check
- new.block
- format.btitle "title" output.check
- crossref missing$
- { format.bvolume output
- new.block
- format.number.series output
- new.sentence
- publisher "publisher" output.check
- address output
- }
- { new.block
- format.book.crossref output.nonnull
- }
- if$
- format.edition output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {booklet}
-{ output.bibitem
- format.authors output
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- howpublished address new.block.checkb
- howpublished output
- address output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {inbook}
-{ output.bibitem
- author empty$
- { format.editors "author and editor" output.check }
- { format.authors output.nonnull
- crossref missing$
- { "author and editor" editor either.or.check }
- 'skip$
- if$
- }
- if$
- format.year.label "year" output.check
- new.block
- new.block
- format.btitle "title" output.check
- crossref missing$
- { format.bvolume output
- format.chapter.pages "chapter and pages" output.check
- new.block
- format.number.series output
- new.sentence
- publisher "publisher" output.check
- address output
- }
- { format.chapter.pages "chapter and pages" output.check
- new.block
- format.book.crossref output.nonnull
- }
- if$
- format.edition output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {incollection}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- crossref missing$
- { format.in.ed.booktitle "booktitle" output.check
- format.bvolume output
- format.number.series output
- format.chapter.pages output
- new.sentence
- publisher "publisher" output.check
- address output
- format.edition output
- format.date output
- }
- { format.incoll.inproc.crossref output.nonnull
- format.chapter.pages output
- }
- if$
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {inproceedings}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- crossref missing$
- { format.in.ed.booktitle "booktitle" output.check
- format.bvolume output
- format.number.series output
- format.pages output
- address empty$
- { organization publisher new.sentence.checkb
- organization output
- publisher output
- format.date output
- }
- { address output.nonnull
- format.date output
- new.sentence
- organization output
- publisher output
- }
- if$
- }
- { format.incoll.inproc.crossref output.nonnull
- format.pages output
- }
- if$
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {conference} { inproceedings }
-
-FUNCTION {manual}
-{ output.bibitem
- author empty$
- { organization empty$
- 'skip$
- { organization output.nonnull
- address output
- }
- if$
- }
- { format.authors output.nonnull }
- if$
- format.year.label "year" output.check
- new.block
- new.block
- format.btitle "title" output.check
- author empty$
- { organization empty$
- { address new.block.checka
- address output
- }
- 'skip$
- if$
- }
- { organization address new.block.checkb
- organization output
- address output
- }
- if$
- format.edition output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {mastersthesis}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- "Master's thesis" format.thesis.type output.nonnull
- school "school" output.check
- address output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {misc}
-{ output.bibitem
- format.authors output
- new.block
- format.year.label output
- new.block
- title howpublished new.block.checkb
- format.title output
- howpublished new.block.checka
- howpublished output
- format.date output
- new.block
- note output
- fin.entry
- empty.misc.check
-}
-
-FUNCTION {phdthesis}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.btitle "title" output.check
- new.block
- "{Ph.D.} thesis" format.thesis.type output.nonnull
- school "school" output.check
- address output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {proceedings}
-{ output.bibitem
- editor empty$
- { organization output }
- { format.editors output.nonnull }
- if$
- new.block
- format.year.label "year" output.check
- new.block
- format.btitle "title" output.check
- format.bvolume output
- format.number.series output
- address empty$
- { editor empty$
- { publisher new.sentence.checka }
- { organization publisher new.sentence.checkb
- organization output
- }
- if$
- publisher output
- format.date output
- }
- { address output.nonnull
- format.date output
- new.sentence
- editor empty$
- 'skip$
- { organization output }
- if$
- publisher output
- }
- if$
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {techreport}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- format.tr.number output.nonnull
- institution "institution" output.check
- address output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {unpublished}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- note "note" output.check
- format.date output
- fin.entry
-}
-
-FUNCTION {default.type} { misc }
-
-MACRO {jan} {"January"}
-
-MACRO {feb} {"February"}
-
-MACRO {mar} {"March"}
-
-MACRO {apr} {"April"}
-
-MACRO {may} {"May"}
-
-MACRO {jun} {"June"}
-
-MACRO {jul} {"July"}
-
-MACRO {aug} {"August"}
-
-MACRO {sep} {"September"}
-
-MACRO {oct} {"October"}
-
-MACRO {nov} {"November"}
-
-MACRO {dec} {"December"}
-
-MACRO {acmcs} {"ACM Computing Surveys"}
-
-MACRO {acta} {"Acta Informatica"}
-
-MACRO {cacm} {"Communications of the ACM"}
-
-MACRO {ibmjrd} {"IBM Journal of Research and Development"}
-
-MACRO {ibmsj} {"IBM Systems Journal"}
-
-MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
-
-MACRO {ieeetc} {"IEEE Transactions on Computers"}
-
-MACRO {ieeetcad}
- {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
-
-MACRO {ipl} {"Information Processing Letters"}
-
-MACRO {jacm} {"Journal of the ACM"}
-
-MACRO {jcss} {"Journal of Computer and System Sciences"}
-
-MACRO {scp} {"Science of Computer Programming"}
-
-MACRO {sicomp} {"SIAM Journal on Computing"}
-
-MACRO {tocs} {"ACM Transactions on Computer Systems"}
-
-MACRO {tods} {"ACM Transactions on Database Systems"}
-
-MACRO {tog} {"ACM Transactions on Graphics"}
-
-MACRO {toms} {"ACM Transactions on Mathematical Software"}
-
-MACRO {toois} {"ACM Transactions on Office Information Systems"}
-
-MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
-
-MACRO {tcs} {"Theoretical Computer Science"}
-
-READ
-
-FUNCTION {sortify}
-{ purify$
- "l" change.case$
-}
-
-INTEGERS { len }
-
-FUNCTION {chop.word}
-{ 's :=
- 'len :=
- s #1 len substring$ =
- { s len #1 + global.max$ substring$ }
- 's
- if$
-}
-
-INTEGERS { et.al.char.used }
-
-FUNCTION {initialize.et.al.char.used}
-{ #0 'et.al.char.used :=
-}
-
-EXECUTE {initialize.et.al.char.used}
-
-FUNCTION {format.lab.names}
-{ 's :=
- s num.names$ 'numnames :=
-
- numnames #1 =
- { s #1 "{vv }{ll}" format.name$ }
- { numnames #2 =
- { s #1 "{vv }{ll }and " format.name$ s #2 "{vv }{ll}" format.name$ *
- }
- { s #1 "{vv }{ll }\bgroup et al.\egroup " format.name$ }
- if$
- }
- if$
-
-}
-
-FUNCTION {author.key.label}
-{ author empty$
- { key empty$
-
- { cite$ #1 #3 substring$ }
-
- { key #3 text.prefix$ }
- if$
- }
- { author format.lab.names }
- if$
-}
-
-FUNCTION {author.editor.key.label}
-{ author empty$
- { editor empty$
- { key empty$
-
- { cite$ #1 #3 substring$ }
-
- { key #3 text.prefix$ }
- if$
- }
- { editor format.lab.names }
- if$
- }
- { author format.lab.names }
- if$
-}
-
-FUNCTION {author.key.organization.label}
-{ author empty$
- { key empty$
- { organization empty$
-
- { cite$ #1 #3 substring$ }
-
- { "The " #4 organization chop.word #3 text.prefix$ }
- if$
- }
- { key #3 text.prefix$ }
- if$
- }
- { author format.lab.names }
- if$
-}
-
-FUNCTION {editor.key.organization.label}
-{ editor empty$
- { key empty$
- { organization empty$
-
- { cite$ #1 #3 substring$ }
-
- { "The " #4 organization chop.word #3 text.prefix$ }
- if$
- }
- { key #3 text.prefix$ }
- if$
- }
- { editor format.lab.names }
- if$
-}
-
-FUNCTION {calc.label}
-{ type$ "book" =
- type$ "inbook" =
- or
- 'author.editor.key.label
- { type$ "proceedings" =
- 'editor.key.organization.label
- { type$ "manual" =
- 'author.key.organization.label
- 'author.key.label
- if$
- }
- if$
- }
- if$
- duplicate$
-
- "\protect\citename{" swap$ * "}" *
- year field.or.null purify$ *
- 'label :=
- year field.or.null purify$ *
-
- sortify 'sort.label :=
-}
-
-FUNCTION {sort.format.names}
-{ 's :=
- #1 'nameptr :=
- ""
- s num.names$ 'numnames :=
- numnames 'namesleft :=
- { namesleft #0 > }
- { nameptr #1 >
- { " " * }
- 'skip$
- if$
-
- s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
-
- nameptr numnames = t "others" = and
- { "et al" * }
- { t sortify * }
- if$
- nameptr #1 + 'nameptr :=
- namesleft #1 - 'namesleft :=
- }
- while$
-}
-
-FUNCTION {sort.format.title}
-{ 't :=
- "A " #2
- "An " #3
- "The " #4 t chop.word
- chop.word
- chop.word
- sortify
- #1 global.max$ substring$
-}
-
-FUNCTION {author.sort}
-{ author empty$
- { key empty$
- { "to sort, need author or key in " cite$ * warning$
- ""
- }
- { key sortify }
- if$
- }
- { author sort.format.names }
- if$
-}
-
-FUNCTION {author.editor.sort}
-{ author empty$
- { editor empty$
- { key empty$
- { "to sort, need author, editor, or key in " cite$ * warning$
- ""
- }
- { key sortify }
- if$
- }
- { editor sort.format.names }
- if$
- }
- { author sort.format.names }
- if$
-}
-
-FUNCTION {author.organization.sort}
-{ author empty$
- { organization empty$
- { key empty$
- { "to sort, need author, organization, or key in " cite$ * warning$
- ""
- }
- { key sortify }
- if$
- }
- { "The " #4 organization chop.word sortify }
- if$
- }
- { author sort.format.names }
- if$
-}
-
-FUNCTION {editor.organization.sort}
-{ editor empty$
- { organization empty$
- { key empty$
- { "to sort, need editor, organization, or key in " cite$ * warning$
- ""
- }
- { key sortify }
- if$
- }
- { "The " #4 organization chop.word sortify }
- if$
- }
- { editor sort.format.names }
- if$
-}
-
-FUNCTION {presort}
-
-{ calc.label
- sort.label
- " "
- *
- type$ "book" =
-
- type$ "inbook" =
- or
- 'author.editor.sort
- { type$ "proceedings" =
- 'editor.organization.sort
- { type$ "manual" =
- 'author.organization.sort
- 'author.sort
- if$
- }
- if$
- }
- if$
-
- *
-
- " "
- *
- year field.or.null sortify
- *
- " "
- *
- title field.or.null
- sort.format.title
- *
- #1 entry.max$ substring$
- 'sort.key$ :=
-}
-
-ITERATE {presort}
-
-SORT
-
-STRINGS { longest.label last.sort.label next.extra }
-
-INTEGERS { longest.label.width last.extra.num }
-
-FUNCTION {initialize.longest.label}
-{ "" 'longest.label :=
- #0 int.to.chr$ 'last.sort.label :=
- "" 'next.extra :=
- #0 'longest.label.width :=
- #0 'last.extra.num :=
-}
-
-FUNCTION {forward.pass}
-{ last.sort.label sort.label =
- { last.extra.num #1 + 'last.extra.num :=
- last.extra.num int.to.chr$ 'extra.label :=
- }
- { "a" chr.to.int$ 'last.extra.num :=
- "" 'extra.label :=
- sort.label 'last.sort.label :=
- }
- if$
-}
-
-FUNCTION {reverse.pass}
-{ next.extra "b" =
- { "a" 'extra.label := }
- 'skip$
- if$
- label extra.label * 'label :=
- label width$ longest.label.width >
- { label 'longest.label :=
- label width$ 'longest.label.width :=
- }
- 'skip$
- if$
- extra.label 'next.extra :=
-}
-
-EXECUTE {initialize.longest.label}
-
-ITERATE {forward.pass}
-
-REVERSE {reverse.pass}
-
-FUNCTION {begin.bib}
-
-{ et.al.char.used
- { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
- 'skip$
- if$
- preamble$ empty$
-
- 'skip$
- { preamble$ write$ newline$ }
- if$
-
- "\begin{thebibliography}{" "}" * write$ newline$
-
-}
-
-EXECUTE {begin.bib}
-
-EXECUTE {init.state.consts}
-
-ITERATE {call.type$}
-
-FUNCTION {end.bib}
-{ newline$
- "\end{thebibliography}" write$ newline$
-}
-
-EXECUTE {end.bib}
-
diff --git a/papers/acl-06/colacl06.sty b/papers/acl-06/colacl06.sty
deleted file mode 100644
index ebc0598..0000000
--- a/papers/acl-06/colacl06.sty
+++ /dev/null
@@ -1,368 +0,0 @@
-% File colacl06.sty
-% This is the LaTeX style file for COLING/ACL 2006. It is identical to the style file for EACL 2006.
-
-% File eacl2006.sty
-% September 19, 2005
-% Contact: e.agirre at ehu.es or Sergi.Balari at uab.es
-
-% This is the LaTeX style file for EACL 2006. It is nearly identical to the
-% style files for ACL2005, ACL 2002, ACL 2001, ACL 2000, EACL 95 and EACL
-% 99.
-%
-% Changes made include: adapt layout to A4 and centimeters, widden abstract
-
-% This is the LaTeX style file for ACL 2000. It is nearly identical to the
-% style files for EACL 95 and EACL 99. Minor changes include editing the
-% instructions to reflect use of \documentclass rather than \documentstyle
-% and removing the white space before the title on the first page
-% -- John Chen, June 29, 2000
-
-% To convert from submissions prepared using the style file aclsub.sty
-% prepared for the ACL 2000 conference, proceed as follows:
-% 1) Remove submission-specific information: \whichsession, \id,
-% \wordcount, \otherconferences, \area, \keywords
-% 2) \summary should be removed. The summary material should come
-% after \maketitle and should be in the ``abstract'' environment
-% 3) Check all citations. This style should handle citations correctly
-% and also allows multiple citations separated by semicolons.
-% 4) Check figures and examples. Because the final format is double-
-% column, some adjustments may have to be made to fit text in the column
-% or to choose full-width (\figure*} figures.
-% 5) Change the style reference from aclsub to acl2000, and be sure
-% this style file is in your TeX search path
-
-
-% This is the LaTeX style file for EACL-95. It is identical to the
-% style file for ANLP '94 except that the margins are adjusted for A4
-% paper. -- abney 13 Dec 94
-
-% The ANLP '94 style file is a slightly modified
-% version of the style used for AAAI and IJCAI, using some changes
-% prepared by Fernando Pereira and others and some minor changes
-% by Paul Jacobs.
-
-% Papers prepared using the aclsub.sty file and acl.bst bibtex style
-% should be easily converted to final format using this style.
-% (1) Submission information (\wordcount, \subject, and \makeidpage)
-% should be removed.
-% (2) \summary should be removed. The summary material should come
-% after \maketitle and should be in the ``abstract'' environment
-% (between \begin{abstract} and \end{abstract}).
-% (3) Check all citations. This style should handle citations correctly
-% and also allows multiple citations separated by semicolons.
-% (4) Check figures and examples. Because the final format is double-
-% column, some adjustments may have to be made to fit text in the column
-% or to choose full-width (\figure*} figures.
-
-% Place this in a file called aclap.sty in the TeX search path.
-% (Placing it in the same directory as the paper should also work.)
-
-% Prepared by Peter F. Patel-Schneider, liberally using the ideas of
-% other style hackers, including Barbara Beeton.
-% This style is NOT guaranteed to work. It is provided in the hope
-% that it will make the preparation of papers easier.
-%
-% There are undoubtably bugs in this style. If you make bug fixes,
-% improvements, etc. please let me know. My e-mail address is:
-% pfps at research.att.com
-
-% Papers are to be prepared using the ``acl'' bibliography style,
-% as follows:
-% \documentclass[11pt]{article}
-% \usepackage{acl2000}
-% \title{Title}
-% \author{Author 1 \and Author 2 \\ Address line \\ Address line \And
-% Author 3 \\ Address line \\ Address line}
-% \begin{document}
-% ...
-% \bibliography{bibliography-file}
-% \bibliographystyle{acl}
-% \end{document}
-
-% Author information can be set in various styles:
-% For several authors from the same institution:
-% \author{Author 1 \and ... \and Author n \\
-% Address line \\ ... \\ Address line}
-% if the names do not fit well on one line use
-% Author 1 \\ {\bf Author 2} \\ ... \\ {\bf Author n} \\
-% For authors from different institutions:
-% \author{Author 1 \\ Address line \\ ... \\ Address line
-% \And ... \And
-% Author n \\ Address line \\ ... \\ Address line}
-% To start a seperate ``row'' of authors use \AND, as in
-% \author{Author 1 \\ Address line \\ ... \\ Address line
-% \AND
-% Author 2 \\ Address line \\ ... \\ Address line \And
-% Author 3 \\ Address line \\ ... \\ Address line}
-
-% If the title and author information does not fit in the area allocated,
-% place \setlength\titlebox{<new height>} right after
-% \usepackage{acl2000}
-% where <new height> can be something larger than 2.25in
-
-% \typeout{Conference Style for ACL 2000 -- released June 20, 2000}
-\typeout{Conference Style for ACL 2005 -- released Octobe 11, 2004}
-
-% NOTE: Some laser printers have a serious problem printing TeX output.
-% These printing devices, commonly known as ``write-white'' laser
-% printers, tend to make characters too light. To get around this
-% problem, a darker set of fonts must be created for these devices.
-%
-
-%% % Physical page layout - slightly modified from IJCAI by pj
-%% \setlength\topmargin{0.0in} \setlength\oddsidemargin{-0.0in}
-%% \setlength\textheight{9.0in} \setlength\textwidth{6.5in}
-%% \setlength\columnsep{0.2in}
-%% \newlength\titlebox
-%% \setlength\titlebox{2.25in}
-%% \setlength\headheight{0pt} \setlength\headsep{0pt}
-%% %\setlength\footheight{0pt}
-%% \setlength\footskip{0pt}
-%% \thispagestyle{empty} \pagestyle{empty}
-%% \flushbottom \twocolumn \sloppy
-
-%% Original A4 version of page layout
-%% \setlength\topmargin{-0.45cm} % changed by Rz -1.4
-%% \setlength\oddsidemargin{.8mm} % was -0cm, changed by Rz
-%% \setlength\textheight{23.5cm}
-%% \setlength\textwidth{15.8cm}
-%% \setlength\columnsep{0.6cm}
-%% \newlength\titlebox
-%% \setlength\titlebox{2.00in}
-%% \setlength\headheight{5pt}
-%% \setlength\headsep{0pt}
-%% \setlength\footheight{0pt}
-%% \setlength\footskip{0pt}
-%% \thispagestyle{empty}
-%% \pagestyle{empty}
-
-% A4 modified by Eneko
-\setlength{\paperwidth}{21cm} % A4
-\setlength{\paperheight}{29.7cm}% A4
-\setlength\topmargin{-0.5cm}
-\setlength\oddsidemargin{0cm}
-\setlength\textheight{24.7cm}
-\setlength\textwidth{16.0cm}
-\setlength\columnsep{0.6cm}
-\newlength\titlebox
-\setlength\titlebox{2.00in}
-\setlength\headheight{5pt}
-\setlength\headsep{0pt}
-\thispagestyle{empty}
-\pagestyle{empty}
-
-
-\flushbottom \twocolumn \sloppy
-
-% We're never going to need a table of contents, so just flush it to
-% save space --- suggested by drstrip at sandia-2
-\def\addcontentsline#1#2#3{}
-
-% Title stuff, taken from deproc.
-\def\maketitle{\par
- \begingroup
- \def\thefootnote{\fnsymbol{footnote}}
- \def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}}
- \twocolumn[\@maketitle] \@thanks
- \endgroup
- \setcounter{footnote}{0}
- \let\maketitle\relax \let\@maketitle\relax
- \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
-\def\@maketitle{\vbox to \titlebox{\hsize\textwidth
- \linewidth\hsize \vskip 0.125in minus 0.125in \centering
- {\Large\bf \@title \par} \vskip 0.2in plus 1fil minus 0.1in
- {\def\and{\unskip\enspace{\rm and}\enspace}%
- \def\And{\end{tabular}\hss \egroup \hskip 1in plus 2fil
- \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf}%
- \def\AND{\end{tabular}\hss\egroup \hfil\hfil\egroup
- \vskip 0.25in plus 1fil minus 0.125in
- \hbox to \linewidth\bgroup\large \hfil\hfil
- \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf}
- \hbox to \linewidth\bgroup\large \hfil\hfil
- \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf\@author
- \end{tabular}\hss\egroup
- \hfil\hfil\egroup}
- \vskip 0.3in plus 2fil minus 0.1in
-}}
-
-% margins for abstract
-\renewenvironment{abstract}%
- {\centerline{\large\bf Abstract}%
- \begin{list}{}%
- {\setlength{\rightmargin}{0.6cm}%
- \setlength{\leftmargin}{0.6cm}}%
- \item[]\ignorespaces}%
- {\unskip\end{list}}
-
-%\renewenvironment{abstract}{\centerline{\large\bf
-% Abstract}\vspace{0.5ex}\begin{quote}}{\par\end{quote}\vskip 1ex}
-
-
-% bibliography
-
-\def\thebibliography#1{\section*{References}
- \global\def\@listi{\leftmargin\leftmargini
- \labelwidth\leftmargini \advance\labelwidth-\labelsep
- \topsep 1pt plus 2pt minus 1pt
- \parsep 0.25ex plus 1pt \itemsep 0.25ex plus 1pt}
- \list {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth
- \advance\leftmargin\labelsep\usecounter{enumi}}
- \def\newblock{\hskip .11em plus .33em minus -.07em}
- \sloppy
- \sfcode`\.=1000\relax}
-
-\def\@up#1{\raise.2ex\hbox{#1}}
-
-% most of cite format is from aclsub.sty by SMS
-
-% don't box citations, separate with ; and a space
-% also, make the penalty between citations negative: a good place to break
-% changed comma back to semicolon pj 2/1/90
-% \def\@citex[#1]#2{\if at filesw\immediate\write\@auxout{\string\citation{#2}}\fi
-% \def\@citea{}\@cite{\@for\@citeb:=#2\do
-% {\@citea\def\@citea{;\penalty\@citeseppen\ }\@ifundefined
-% {b@\@citeb}{{\bf ?}\@warning
-% {Citation `\@citeb' on page \thepage \space undefined}}%
-% {\csname b@\@citeb\endcsname}}}{#1}}
-
-% don't box citations, separate with ; and a space
-% Replaced for multiple citations (pj)
-% don't box citations and also add space, semicolon between multiple citations
-\def\@citex[#1]#2{\if at filesw\immediate\write\@auxout{\string\citation{#2}}\fi
- \def\@citea{}\@cite{\@for\@citeb:=#2\do
- {\@citea\def\@citea{; }\@ifundefined
- {b@\@citeb}{{\bf ?}\@warning
- {Citation `\@citeb' on page \thepage \space undefined}}%
- {\csname b@\@citeb\endcsname}}}{#1}}
-
-% Allow short (name-less) citations, when used in
-% conjunction with a bibliography style that creates labels like
-% \citename{<names>, }<year>
-%
-\let\@internalcite\cite
-\def\cite{\def\citename##1{##1, }\@internalcite}
-\def\shortcite{\def\citename##1{}\@internalcite}
-\def\newcite{\def\citename##1{{\frenchspacing##1} (}\@internalciteb}
-
-% Macros for \newcite, which leaves name in running text, and is
-% otherwise like \shortcite.
-\def\@citexb[#1]#2{\if at filesw\immediate\write\@auxout{\string\citation{#2}}\fi
- \def\@citea{}\@newcite{\@for\@citeb:=#2\do
- {\@citea\def\@citea{;\penalty\@m\ }\@ifundefined
- {b@\@citeb}{{\bf ?}\@warning
- {Citation `\@citeb' on page \thepage \space undefined}}%
-{\csname b@\@citeb\endcsname}}}{#1}}
-\def\@internalciteb{\@ifnextchar [{\@tempswatrue\@citexb}{\@tempswafalse\@citexb[]}}
-
-\def\@newcite#1#2{{#1\if at tempswa, #2\fi)}}
-
-\def\@biblabel#1{\def\citename##1{##1}[#1]\hfill}
-
-%%% More changes made by SMS (originals in latex.tex)
-% Use parentheses instead of square brackets in the text.
-\def\@cite#1#2{({#1\if at tempswa , #2\fi})}
-
-% Don't put a label in the bibliography at all. Just use the unlabeled format
-% instead.
-\def\thebibliography#1{\vskip\parskip%
-\vskip\baselineskip%
-\def\baselinestretch{1}%
-\ifx\@currsize\normalsize\@normalsize\else\@currsize\fi%
-\vskip-\parskip%
-\vskip-\baselineskip%
-\section*{References\@mkboth
- {References}{References}}\list
- {}{\setlength{\labelwidth}{0pt}\setlength{\leftmargin}{\parindent}
- \setlength{\itemindent}{-\parindent}}
- \def\newblock{\hskip .11em plus .33em minus -.07em}
- \sloppy\clubpenalty4000\widowpenalty4000
- \sfcode`\.=1000\relax}
-\let\endthebibliography=\endlist
-
-% Allow for a bibliography of sources of attested examples
-\def\thesourcebibliography#1{\vskip\parskip%
-\vskip\baselineskip%
-\def\baselinestretch{1}%
-\ifx\@currsize\normalsize\@normalsize\else\@currsize\fi%
-\vskip-\parskip%
-\vskip-\baselineskip%
-\section*{Sources of Attested Examples\@mkboth
- {Sources of Attested Examples}{Sources of Attested Examples}}\list
- {}{\setlength{\labelwidth}{0pt}\setlength{\leftmargin}{\parindent}
- \setlength{\itemindent}{-\parindent}}
- \def\newblock{\hskip .11em plus .33em minus -.07em}
- \sloppy\clubpenalty4000\widowpenalty4000
- \sfcode`\.=1000\relax}
-\let\endthesourcebibliography=\endlist
-
-\def\@lbibitem[#1]#2{\item[]\if at filesw
- { \def\protect##1{\string ##1\space}\immediate
- \write\@auxout{\string\bibcite{#2}{#1}}\fi\ignorespaces}}
-
-\def\@bibitem#1{\item\if at filesw \immediate\write\@auxout
- {\string\bibcite{#1}{\the\c at enumi}}\fi\ignorespaces}
-
-% sections with less space
-\def\section{\@startsection {section}{1}{\z@}{-2.0ex plus
- -0.5ex minus -.2ex}{1.5ex plus 0.3ex minus .2ex}{\large\bf\raggedright}}
-\def\subsection{\@startsection{subsection}{2}{\z@}{-1.8ex plus
- -0.5ex minus -.2ex}{0.8ex plus .2ex}{\normalsize\bf\raggedright}}
-\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{1.5ex plus
- 0.5ex minus .2ex}{0.5ex plus .2ex}{\normalsize\bf\raggedright}}
-\def\paragraph{\@startsection{paragraph}{4}{\z@}{1.5ex plus
- 0.5ex minus .2ex}{-1em}{\normalsize\bf}}
-\def\subparagraph{\@startsection{subparagraph}{5}{\parindent}{1.5ex plus
- 0.5ex minus .2ex}{-1em}{\normalsize\bf}}
-
-% Footnotes
-\footnotesep 6.65pt %
-\skip\footins 9pt plus 4pt minus 2pt
-\def\footnoterule{\kern-3pt \hrule width 5pc \kern 2.6pt }
-\setcounter{footnote}{0}
-
-% Lists and paragraphs
-\parindent 1em
-\topsep 4pt plus 1pt minus 2pt
-\partopsep 1pt plus 0.5pt minus 0.5pt
-\itemsep 2pt plus 1pt minus 0.5pt
-\parsep 2pt plus 1pt minus 0.5pt
-
-\leftmargin 2em \leftmargini\leftmargin \leftmarginii 2em
-\leftmarginiii 1.5em \leftmarginiv 1.0em \leftmarginv .5em \leftmarginvi .5em
-\labelwidth\leftmargini\advance\labelwidth-\labelsep \labelsep 5pt
-
-\def\@listi{\leftmargin\leftmargini}
-\def\@listii{\leftmargin\leftmarginii
- \labelwidth\leftmarginii\advance\labelwidth-\labelsep
- \topsep 2pt plus 1pt minus 0.5pt
- \parsep 1pt plus 0.5pt minus 0.5pt
- \itemsep \parsep}
-\def\@listiii{\leftmargin\leftmarginiii
- \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
- \topsep 1pt plus 0.5pt minus 0.5pt
- \parsep \z@ \partopsep 0.5pt plus 0pt minus 0.5pt
- \itemsep \topsep}
-\def\@listiv{\leftmargin\leftmarginiv
- \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
-\def\@listv{\leftmargin\leftmarginv
- \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
-\def\@listvi{\leftmargin\leftmarginvi
- \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
-
-\abovedisplayskip 7pt plus2pt minus5pt%
-\belowdisplayskip \abovedisplayskip
-\abovedisplayshortskip 0pt plus3pt%
-\belowdisplayshortskip 4pt plus3pt minus3pt%
-
-% Less leading in most fonts (due to the narrow columns)
-% The choices were between 1-pt and 1.5-pt leading
-\def\@normalsize{\@setsize\normalsize{11pt}\xpt\@xpt}
-\def\small{\@setsize\small{10pt}\ixpt\@ixpt}
-\def\footnotesize{\@setsize\footnotesize{10pt}\ixpt\@ixpt}
-\def\scriptsize{\@setsize\scriptsize{8pt}\viipt\@viipt}
-\def\tiny{\@setsize\tiny{7pt}\vipt\@vipt}
-\def\large{\@setsize\large{14pt}\xiipt\@xiipt}
-\def\Large{\@setsize\Large{16pt}\xivpt\@xivpt}
-\def\LARGE{\@setsize\LARGE{20pt}\xviipt\@xviipt}
-\def\huge{\@setsize\huge{23pt}\xxpt\@xxpt}
-\def\Huge{\@setsize\Huge{28pt}\xxvpt\@xxvpt}
diff --git a/papers/acl-06/rdparser.eps.gz b/papers/acl-06/rdparser.eps.gz
deleted file mode 100644
index 2da2c80..0000000
Binary files a/papers/acl-06/rdparser.eps.gz and /dev/null differ
diff --git a/papers/acl-06/srparser.eps.gz b/papers/acl-06/srparser.eps.gz
deleted file mode 100644
index 52ae950..0000000
Binary files a/papers/acl-06/srparser.eps.gz and /dev/null differ
diff --git a/papers/acl-08/acl-08.bib b/papers/acl-08/acl-08.bib
deleted file mode 100644
index 7f81b39..0000000
--- a/papers/acl-08/acl-08.bib
+++ /dev/null
@@ -1,204 +0,0 @@
- at InProceedings{BaldridgeErk08,
- author = {Jason Baldridge and Katrin Erk},
- title = {Teaching computational linguistics to a large, diverse student body: courses, tools, and interdepartmental interaction},
- booktitle = {Proceedings of the Third Workshop on Issues in Teaching Computational Linguistics},
- year = {2008},
- publisher = {Association for Computational Linguistics}
-}
-
- at Article{Barker83,
- author = {Ricky Barker and E. A. Unger},
- title = {A predictor for success in an introductory programming class based upon abstract reasoning development},
- journal = {ACM SIGCSE Bulletin},
- volume = {15},
- pages = {154--158},
- year = 1983
-}
-
- at InProceedings{Bird05icon,
- author = {Steven Bird},
- title = {{NLTK-Lite}: Efficient Scripting for Natural Language Processing},
- booktitle = {4th International Conference on Natural Language Processing, Kanpur, India},
- pages = {1--8},
- year = 2005
-}
-
- at InProceedings{Bird06,
- author = {Bird, Steven},
- title = {{NLTK}: The {Natural} {Language} {Toolkit}},
- booktitle = {Proceedings of the COLING/ACL 2006 Interactive Presentation Sessions},
- month = {July},
- year = {2006},
- address = {Sydney, Australia},
- publisher = {Association for Computational Linguistics},
- pages = {69--72}
-}
-
- at InProceedings{Bird06nltk,
- author = {Bird, Steven},
- title = {{NLTK}: The {Natural} {Language} {Toolkit}},
- booktitle = {Proceedings of the COLING/ACL 2006 Interactive Presentation Sessions},
- month = {July},
- year = {2006},
- address = {Sydney, Australia},
- publisher = {Association for Computational Linguistics},
- pages = {69--72}
-}
-
- at InProceedings{Bird08curriculum,
- author = {Bird, Steven},
- title = {Defining a Core Body of Knowledge for the Introductory
- Computational Linguistics Curriculum},
- booktitle = {Proceedings of the Third Workshop on Issues in Teaching Computational Linguistics},
- year = {2008},
- publisher = {Association for Computational Linguistics}
-}
-
- at Misc{BirdKleinLoper08,
- author = {Steven Bird and Ewan Klein and Edward Loper},
- title = {{Natural Language Processing in Python}},
- note = {\url{http://nltk.org/book.html}},
- year = 2008
-}
-
- at inproceedings{BirdLoper04,
- author = {Bird, Steven and Loper, Edward},
- title = {{NLTK: The Natural Language Toolkit}},
- booktitle = {Companion Volume to the Proceedings of 42st Annual Meeting of the Association for Computational Linguistics},
- editor = {},
- year = 2004,
- publisher = {Association for Computational Linguistics},
- pages = {214--217}
-}
-
- at Book{BonwellEison91,
- author = {Charles C.\ Bonwell and James A.\ Eison},
- title = {Active Learning: Creating Excitement in the Classroom},
- booktitle = {AEHE-ERIC Higher Education Report, No.\ 1},
- publisher = {Washington, D.C.: Jossey-Bass},
- pages = {1-6},
- year = 1991
-}
-
- at article{Caspersen07,
- author = {Michael Caspersen and Kasper Larsen and Jens Bennedsen},
- title = {Mental models and programming aptitude},
- journal = {SIGCSE Bulletin},
- volume = {39},
- year = {2007},
- pages = {206--210},
- publisher = {ACM}
-}
-
- at InProceedings{Hearst05,
- author = {Hearst, Marti},
- title = {Teaching Applied Natural Language Processing: Triumphs and Tribulations},
- booktitle = {Proceedings of the Second ACL Workshop on Effective Tools and Methodologies for Teaching NLP and CL},
- month = {June},
- year = {2005},
- address = {Ann Arbor, Michigan},
- publisher = {Association for Computational Linguistics},
- pages = {1--8}
-}
-
- at InProceedings{Klein06altw,
- author = {Ewan Klein},
- title = {Computational semantics in the {Natural Language Toolkit}},
- booktitle = {Proceedings of the Australasian Language Technology Workshop},
- pages = {26--33},
- year = 2006
-}
-
- at InProceedings{Liddy05,
- author = {Liddy, Elizabeth and McCracken, Nancy},
- title = {Hands-On {NLP} for an Interdisciplinary Audience},
- booktitle = {Proceedings of the Second ACL Workshop on Effective Tools and Methodologies for Teaching NLP and CL},
- month = {June},
- year = {2005},
- address = {Ann Arbor, Michigan},
- publisher = {Association for Computational Linguistics},
- pages = {62--68}
-}
-
- at InProceedings{Loper04,
- author = {Edward Loper},
- title = {{NLTK}: Building a Pedagogical Toolkit in {Python}},
- booktitle = {PyCon DC 2004},
- year = 2004,
- publisher = {Python Software Foundation}
-}
-
- at InProceedings{LoperBird02,
- author = {Edward Loper and Steven Bird},
- title = {{NLTK: The Natural Language Toolkit}},
- booktitle = {Proceedings of the ACL Workshop on Effective Tools and
- Methodologies for Teaching Natural Language Processing and Computational
- Linguistics},
- year = 2002,
- publisher={Association for Computational Linguistics},
- pages={62--69}
-}
-
- at Article{Madnani07,
- author = {Nitin Madnani},
- title = {Getting Started on Natural Language Processing with {Python}},
- journal = {ACM Crossroads},
- volume = 13,
- number = 4,
- year = 2007
-}
-
- at InProceedings{MadnaniDorr08,
- author = {Nitin Madnani and Bonnie Dorr},
- title = {Combining Open-Source with Research to Re-engineer a Hands-on Introductory {NLP} Course},
- booktitle = {Proceedings of the Third Workshop on Issues in Teaching Computational Linguistics},
- year = {2008},
- publisher = {Association for Computational Linguistics}
-}
-
- at Misc{McCune08,
- author = {William McCune},
- title = {Prover9: Automated theorem prover for first-order and equational logic},
- year = 2008,
- note = {\url{http://www.cs.unm.edu/~mccune/mace4/manual-examples.html}}
-}
-
- at Article{Robinson07,
- author = {Stuart Robinson and Greg Aumann and Steven Bird},
- title = {Managing fieldwork data with {Toolbox} and the {Natural Language Toolkit}},
- journal = {Language Documentation and Conservation},
- year = 2007,
- volume = 1,
- pages = {44--57}
-}
-
- at InProceedings{Shannon03,
- author = {Christine Shannon},
- title = {Another breadth-first approach to {CS I} using {Python}},
- booktitle = {Proceedings of the 34th SIGCSE Technical Symposium on Computer Science Education},
- pages = {248--251},
- year = 2003,
- publisher = {ACM}
-}
-
- at Book{WittenFrank05,
- author = {Ian H. Witten and Eibe Frank},
- title = {Data Mining: Practical machine learning tools and techniques},
- publisher = {Morgan Kaufmann},
- year = 2005
-}
-
- at Misc{matplotlib,
- author = {Matplotlib},
- year = 2008,
- title = {Matplotlib: Python {2D} Plotting Library},
- note = {\url{http://matplotlib.sourceforge.net/}}
-}
-
-
- at Misc{numpy,
- author = {NumPy},
- year = 2008,
- title = {{NumPy}: Scientific Computing with {Python}},
- note = {\url{http://numpy.scipy.org/}}
-}
diff --git a/papers/acl-08/acl-08.tex b/papers/acl-08/acl-08.tex
deleted file mode 100644
index 3da8d4d..0000000
--- a/papers/acl-08/acl-08.tex
+++ /dev/null
@@ -1,749 +0,0 @@
-% $Rev%
-\documentclass[11pt]{article}
-\usepackage{acl08}
-\usepackage{times}
-\usepackage{latexsym}
-\usepackage{epsfig,url}
-\usepackage{alltt}
-
-\newcommand{\NLP}{\textsc{nlp}}
-\newcommand{\NLTK}{\textsc{nltk}}
-\newcommand{\code}[1]{\texttt{\small #1}}
-
-\pretolerance 250
-\tolerance 500
-\hyphenpenalty 200
-\exhyphenpenalty 100
-\doublehyphendemerits 7500
-\finalhyphendemerits 7500
-\brokenpenalty 10000
-\lefthyphenmin 3
-\righthyphenmin 3
-\looseness 1
-
-\setlength\titlebox{6.5cm} % Expanding the titlebox
-
-\title{Multidisciplinary Instruction with the Natural Language Toolkit}
-
-\author{Steven Bird \\
- Department of Computer Science\\
- University of Melbourne\\
- {\small\tt stevenbird1 at gmail.com} \And
- Ewan Klein\\
- School of Informatics\\
- University of Edinburgh\\
- {\small\tt ewan at inf.ed.ac.uk} \AND
- Edward Loper\\
- Computer and Information Science\\
- University of Pennsylvania\\
- {\small\tt edloper at gmail.com} \And
- Jason Baldridge\\
- Department of Linguistics\\
- University of Texas at Austin\\
- {\small\tt jbaldrid at mail.utexas.edu}
-}
-
-\date{}
-
-\begin{document}
-\maketitle
-
-\begin{abstract}
- The Natural Language Toolkit (\NLTK) is widely used for teaching
- natural language processing to students majoring in linguistics or
- computer science. This paper describes the design of \NLTK, and
- reports on how it has been used effectively in classes that involve
- different mixes of
- linguistics and computer science students. We focus
- on three key issues: getting started with a course, delivering
- interactive demonstrations in the classroom,
- and organizing assignments and projects.
- In each case, we report on practical experience and make
- recommendations on how to use \NLTK\ to maximum effect.
-\end{abstract}
-
-\section{Introduction}
-
-It is relatively easy to teach natural language processing (\NLP) in a
-single-disciplinary mode to a uniform cohort of students. Linguists
-can be taught to program, leading to projects where students
-manipulate their own linguistic data. Computer scientists can be
-taught methods for automatic text processing, leading to projects on
-text mining and chatbots. Yet these approaches have almost nothing in
-common, and it is a stretch to call either of these \NLP: more apt
-titles for such courses might be ``linguistic data management'' and
-``text technologies.''
-
-The Natural Language Toolkit, or \NLTK, was
-developed to give a broad range of students access to the core
-knowledge and skills of \NLP\ \cite{LoperBird02}. In particular, \NLTK\ makes it feasible
-to run a course that covers a substantial amount of theory and
-practice with an audience consisting of both linguists and computer
-scientists. \NLTK\ is a suite of Python modules distributed under the
-GPL open source license via \url{nltk.org}. \NLTK\ comes with a large collection of
-corpora, extensive documentation, and hundreds of exercises, making
-\NLTK\ unique in providing a comprehensive framework for students to
-develop a computational understanding of language. \NLTK's code base
-of 100,000 lines of Python code includes support for corpus access,
-tokenizing, stemming, tagging, chunking, parsing, clustering,
-classification, language modeling, semantic interpretation,
-unification, and much else besides. As a measure of its
-impact, \NLTK\ has been used in over 60 university courses in 20
-countries, listed on the \NLTK\ website.
-
-Since its inception in 2001, \NLTK\ has undergone considerable
-evolution, based on the experience gained by teaching courses at
-several universities, and based on feedback from many teachers and
-students.\footnote{\cite{BirdLoper04,Loper04,Bird05icon,Hearst05,Bird06nltk,Klein06altw,Liddy05,Madnani07,MadnaniDorr08,BaldridgeErk08}}
-Over this period, a series of practical online tutorials
-about \NLTK\ has grown up into a comprehensive online book \cite{BirdKleinLoper08}.
-The book has been designed to stay in lock-step
-with the \NLTK\ library, and is intended to facilitate
-``active learning'' \cite{BonwellEison91}.
-
-This paper describes the main features of \NLTK, and reports on how it has
-been used effectively in classes that involve a combination of
-linguists and computer scientists. First we discuss aspects of the
-design of the toolkit that arose from our need to teach computational
-linguistics to a multidisciplinary audience (\S\ref{sec:design}).
-The following sections cover three distinct challenges:
-getting started with a course (\S\ref{sec:getting-started});
-interactive demonstrations (\S\ref{sec:interactive-demonstrations});
-and organizing assignments and projects (\S\ref{sec:projects}).
-
-\section{Design Decisions Affecting Teaching}
-\label{sec:design}
-
-\subsection{Python}
-
-We chose Python\footnote{\url{http://www.python.org/}} as the
-implementation language for \NLTK\ because it has a shallow learning
-curve, its syntax and semantics are transparent, and it has good
-string-handling functionality. As an interpreted language, Python
-facilitates interactive exploration. As an object-oriented language,
-Python permits data and methods to be encapsulated and re-used easily.
-Python comes with an extensive standard library, including tools for
-graphical programming and numerical processing, which means it can be
-used for a wide range of non-trivial applications. Python is ideal in
-a context serving newcomers and experienced programmers
-\cite{Shannon03}.
-
-We have taken the step of incorporating a detailed introduction to
-Python programming in the \NLTK\ book, taking care to motivate
-programming constructs with linguistic examples. Extensive feedback
-from students has been humbling, and revealed that for students with
-no prior programming experience, it is almost impossible to
-over-explain. Despite the difficulty of providing a
-self-contained introduction to Python for linguists, we nevertheless
-have also had very positive feedback, and in combination with the
-teaching techniques described below, have managed to bring a
-large group of non-programmer students rapidly to a point where they
-could carry out interesting and useful exercises in text processing.
-
-In addition to the \NLTK\ book, the code in the \NLTK\ core is richly
-documented, using Python docstrings and
-Epydoc\footnote{\url{http://epydoc.sourceforge.net/}} support
-for API documentation.\footnote{\url{http://nltk.org/doc/api/}} Access
-to the code documentation is available using the Python \code{help()}
-command at the interactive prompt, and this can be especially useful
-for checking the parameters and return type of functions.
-
-Other Python libraries are useful in the \NLP\ context: NumPy
-provides optimized support for linear algebra and sparse
-arrays \cite{numpy} and PyLab provides
-sophisticated facilities for scientific
-visualization \cite{matplotlib}.
-
-\subsection{Coding Requirements}
-
-As discussed in Loper \& Bird~\shortcite{LoperBird02}, the priorities for \NLTK\ code
-focus on its teaching role. When code is readable, a student who
-doesn't understand the maths of {\sc hmm}s, smoothing, and so on may benefit
-from looking at how an algorithm is implemented. Thus consistency,
-simplicity, modularity are all vital features of \NLTK\ code. A
-similar importance is placed on extensibility, since this helps to
-ensure that the code grows as a coherent whole, rather than by
-unpredictable and haphazard additions.
-
-By contrast, although efficiency cannot be ignored, it has
-always taken second place to simplicity and clarity of coding. In a
-similar vein, we have tried to avoid clever programming tricks,
-since these typically hinder intelligibility of the code. Finally,
-comprehensiveness of coverage has never been an overriding concern of
-\NLTK; this leaves open many possibilities for student projects and
-community involvement.
-
-% comment about restricted scope of NLTK omitted given earlier point
-% about 100,000 lines of code which will certainly overwhelm students
-
-\subsection{Naming}
-
-One issue which has absorbed a considerable amount of attention is the
-naming of user-oriented functions in \NLTK. To a large extent, the
-system of naming \emph{is} the user interface to the toolkit, and it is
-important that users should be able to guess what action might be
-performed by a given function. Consequently, naming conventions need
-to be consistent and semantically transparent. At the same time, there is a
-countervailing pressure for relatively succinct names, since excessive verbosity
-can also hinder comprehension and usability. An additional
-complication is that adopting an object-oriented style of programming
-may be well-motivated for a number of reasons but nevertheless
-baffling to the linguist student. For example, although it is
-perfectly respectable to invoke an instance method
-\code{WordPunctTokenizer().tokenize(text)} (for some input
-string \code{text}), a simpler version is also provided:
-\code{wordpunct\_tokenize(text)}.
-
-\subsection{Corpus Access}
-
-The scope of exercises and projects that students can perform is
-greatly increased by the inclusion of a large collection of corpora,
-along with easy-to-use corpus readers. This collection, which
-currently stands at 45 corpora, includes parsed, POS-tagged, plain
-text, categorized text, and lexicons.\footnote{\url{http://nltk.org/corpora.html}}
-
-\begin{figure*}[t]
-{\small
-\begin{alltt}
-\textbf{>>> nltk.corpus.treebank.tagged_words()}
-[('Pierre', 'NNP'), ('Vinken', 'NNP'), (',', ','), ...]
-\textbf{>>> nltk.corpus.brown.tagged_words()}
-[('The', 'AT'), ('Fulton', 'NP-TL'), ...]
-\textbf{>>> nltk.corpus.floresta.tagged_words()}
-[('Um', '>N+art'), ('revivalismo', 'H+n'), ...]
-\textbf{>>> nltk.corpus.cess_esp.tagged_words()}
-[('El', 'da0ms0'), ('grupo', 'ncms000'), ...]
-\textbf{>>> nltk.corpus.alpino.tagged_words()}
-[('De', 'det'), ('verzekeringsmaatschappijen', 'noun'), ...]
-\end{alltt}}
-\caption{Accessing Different Corpora via a Uniform Interface}
-\label{fig:tagged}
-\vspace*{1ex}\hrule
-\end{figure*}
-
-In designing the corpus readers, we emphasized simplicity,
-consistency, and efficiency. \emph{Corpus objects}, such as
-\code{nltk.corpus.brown} and \code{nltk.corpus.treebank}, define
-common methods for reading the corpus contents, abstracting
-away from idiosyncratic file formats to provide a uniform interface.
-See Figure~\ref{fig:tagged} for an example of accessing POS-tagged
-data from different tagged and parsed corpora.
-
-The corpus objects provide methods for loading corpus contents
-in various ways. Common methods include:
-%
-\code{raw()}, for the raw contents of the corpus;
-\code{words()}, for a list of tokenized words;
-\code{sents()}, for the same list grouped into sentences;
-\code{tagged\_words()}, for a list of (\textit{word}, \textit{tag}) pairs;
-\code{tagged\_sents()}, for the same list grouped into sentences;
-and
-\code{parsed\_sents()}, for a list of parse trees.
-%
-Optional parameters can be used to restrict what portion of the corpus
-is returned, e.g., a particular section, or an individual corpus file.
-
-Most corpus reader methods return a \emph{corpus view} which acts as
-a list of text objects, but maintains responsiveness and memory
-efficiency by only loading items from the file on an as-needed basis.
-Thus, when we print a corpus view we only load the first block of the corpus
-into memory, but when we process this object we load the whole corpus:
-
-{\footnotesize
-\begin{alltt}
-\textbf{>>> nltk.corpus.alpino.words()}
-['De', 'verzekeringsmaatschappijen',
-'verhelen', ...]
-\textbf{>>> len(nltk.corpus.alpino.words())}
-139820
-\end{alltt}}
-
-\subsection{Accessing Shoebox Files}
-
-\NLTK\ provides functionality for working with ``Shoebox'' (or ``Toolbox'') data
-\cite{Robinson07}. Shoebox is a system used by many
-documentary linguists to produce lexicons and interlinear glossed text. The
-ability to work straightforwardly with Shoebox data has created a new
-incentive for linguists to learn how to program.
-
-As an example, in the Linguistics Department at the University of
-Texas at Austin, a course has been offered on Python programming and
-working with
-corpora,\footnote{\url{http://comp.ling.utexas.edu/courses/2007/corpora07/}}
-but so far uptake from the target audience of core linguistics
-students has been low. They usually have practical computational needs
-and many of them are intimidated by the very idea of programming.
-We believe that the appeal of this course can be
-enhanced by designing a significant component
-with the goal of helping documentary linguistics students take control of their
-\emph{own} Shoebox data. This will give them skills that are
-useful for their research and also transferable to other activities.
-Although the \NLTK\ Shoebox functionality was not
-originally designed with instruction in mind, its relevance to
-students of documentary linguistics is highly fortuitous and
-may prove appealing for similar linguistics departments.
-
-\section{Getting Started}
-\label{sec:getting-started}
-
-\NLP\ is usually only available as an elective course, and students
-will vote with their feet after attending one or two classes. This
-initial period is important for attracting and retaining students. In
-particular, students need to get a sense of the richness of language
-in general, and \NLP\ in particular, while gaining a realistic
-impression of what will be accomplished during the course and what
-skills they will have by the end. During this time when rapport needs
-to be rapidly established, it is easy for instructors to alienate
-students through the use of linguistic or computational concepts and
-terminology that are foreign to students, or to bore students by
-getting bogged down in defining terms like ``noun phrase'' or ``function''
-which are basic to one audience and new for the other. Thus, we
-believe it is crucial for instructors to understand and shape the
-student's expectations, and to get off to a good start. The best
-overall strategy that we have found is to use succinct nuggets of
-\NLTK\ code to stimulate students' interest in both data and
-processing techniques.
-
-\subsection{Student Expectations}
-
-Computer science students come to \NLP\ expecting to learn about \NLP\
-algorithms and data structures. They typically have enough
-mathematical preparation to be confident in playing with abstract
-formal systems (including systems of linguistic rules). Moreover,
-they are already proficient in multiple programming languages, and
-have little difficulty in learning \NLP\ algorithms by reading and
-manipulating the implementations provided with \NLTK. At the same
-time, they tend to be unfamiliar with the terminology and concepts
-that linguists take for granted, and may struggle to come up with
-reasonable linguistic analyses of data.
-
-Linguistics students, on the other hand, are interested in
-understanding \NLP\ algorithms and data structures only insofar as it helps them
-to use computational tools to perform analytic tasks from ``core linguistics,''
-e.g.\ writing a set of CFG productions to parse some sentences, or
-plugging together \NLP\ components in order to derive the subcategorization
-requirements of verbs in a corpus.
-They are usually not interested in reading significant chunks of code;
-it isn't what they care about and they
-probably lack the confidence to poke around in source files.
-
-In a nutshell, the computer science students typically want to analyze
-the tools and synthesize new implementations, while the linguists
-typically want to use the tools to analyze language and
-synthesize new theories. There is a risk that the former group
-never really gets to grips with natural language, while the latter
-group never really gets to grips with processing. Instead,
-computer science students need to learn that \NLP\ is not just an
-application of techniques from formal language theory and compiler
-construction, and linguistics students need to understand that \NLP\ is not
-just computer-based housekeeping and a solution to the shortcomings of
-office productivity software for managing their data.
-
-In many courses, linguistics students or computer science students
-will dominate the class numerically, simply because the course is only
-listed in one department. In such cases it is usually enough to
-provide additional support in the form of some extra readings,
-tutorials, and exercises in the opening stages of the course. In
-other cases, e.g.\ courses we have taught at the universities of
-Edinburgh, Melbourne, Pennsylvania, and Texas-Austin or in summer
-intensive programs in several countries, there is more of an even
-split, and the challenge of serving both cohorts of students becomes
-acute. It helps to address this issue head-on, with an early
-discussion of the goals of the course.
-
-\subsection{Articulating the Goals}
-
-Despite an instructor's efforts to add a cross-disciplinary angle, students
-easily ``revert to type.'' The pressure of assessment encourages students to emphasize
-what they do well. Students' desire to understand what is expected of them encourages
-instructors to stick to familiar assessment instruments. As a consequence,
-the path of least resistance is for students to remain firmly
-monolingual in their own discipline, while
-acquiring a smattering of words from a foreign language, at a level we might
-call ``survival linguistics'' or ``survival computer science.''
-If they ever get to work in a multidisciplinary team they are likely
-only to play a type-cast role.
-
-Asking computer science students to write their first essay in years,
-or asking linguistics students to write their first ever program,
-leads to stressed students who complain that they don't know what is
-expected of them. Nevertheless, students need to confront the
-challenge of becoming bilingual, of working hard to learn the basics
-of another discipline. In parallel, instructors need to confront the
-challenge of synthesizing material from linguistics and computer
-science into a coherent whole, and devising effective methods for
-teaching, learning, and assessment.
-
-\subsection{Entry Points}
-
-It is possible to identify several distinct pathways into the field of
-Computational Linguistics. \newcite{Bird08curriculum} identifies four;
-each of these are supported by \NLTK, as detailed below:
-
-\textbf{Text Processing First:} \NLTK\ supports variety of approaches to tokenization,
-tagging, evaluation, and language engineering more generally.
-
-\textbf{Programming First:} \NLTK\ is based on Python and
-the documentation teaches the language and provides many examples and
-exercises to test and reinforce student learning.
-
-\textbf{Linguistics First:} Here, students come with a grounding in
-one or more areas of linguistics, and focus on computational
-approaches to that area by working with the relevant
-chapter of the \NLTK\ book in conjunction with learning how to program.
-
-\textbf{Algorithms First:} Here, students come with a grounding in
-one or more areas of computer science, and can use, test and extend
-\NLTK'S reference implementations of standard NLP algorithms.
-
-\subsection{The First Lecture}
-
-It is important that the first lecture is effective at motivating and
-exemplifying \NLP\ to an audience of computer science and linguistics
-students. They need to get an accurate sense of the interesting
-conceptual and technical challenges awaiting them. Fortunately, the
-task is made easier by the simple fact that language technologies, and
-language itself, are intrinsically interesting and appealing to a wide audience.
-Several opening topics appear to work particularly well:
-
-\textbf{The holy grail:}
-A long term challenge, mythologized in science fiction movies, is to
-build machines that understand human language. Current technologies
-that exhibit some basic level of natural language understanding include
-spoken dialogue systems, question answering systems, summarization
-systems, and machine translation systems. These can be demonstrated
-in class without too much difficulty. The Turing test is a linguistic
-test, easily understood by all students, and which helps the computer science
-students to see \NLP\ in relation to the field of Artificial Intelligence.
-The evolution of programming languages has brought them closer to natural language,
-helping students see the essentially linguistic purpose of this central development
-in computer science. The corresponding holy grail in linguistics is full
-understanding of the human language faculty; writing programs and building machines
-surely informs this quest too.
-
-\textbf{The riches of language:}
-It is easy to find examples of the creative richness of language in
-its myriad uses. However, linguists will understand that language
-contains hidden riches that can only be uncovered by careful analysis
-of large quantities of linguistically annotated data, work that
-benefits from suitable computational tools. Moreover, the
-computational needs for exploratory linguistic research often go
-beyond the capabilities of the current tools. Computer scientists
-will appreciate the cognate problem of extracting information from the
-web, and the economic riches associated with state-of-the-art text
-mining technologies.
-
-\textbf{Formal approaches to language:}
-Computer science and linguistics have a shared history in the area of
-philosophical logic and formal language theory. Whether the language
-is natural or artificial, computer scientists and linguists use
-similar logical formalisms for investigating the formal semantics of
-languages, similar grammar formalisms for modeling the syntax of
-languages, and similar finite-state methods for manipulating text.
-Both rely on the recursive, compositional nature of natural and
-artificial languages.
-
-\subsection{First Assignment}
-
-The first coursework assignment can be a significant step forwards in
-helping students get to grips with the material, and is best given out
-early, perhaps even in week 1. We have found it advisable for this
-assignment to include both programming and linguistics content. One
-example is to ask students to carry out NP chunking of some data
-(e.g.\ a section of the Brown Corpus). The \code{nltk.RegexpParser}
-class is initialized with a set of chunking rules expressed in a
-simple, regular expression-oriented syntax, and the resulting chunk
-parser can be run over POS-tagged input text. Given a Gold Standard
-test set like the CoNLL-2000
-data,\footnote{\url{http://www.cnts.ua.ac.be/conll2000/chunking/}}
-precision and recall of the chunk grammar can be easily determined.
-Thus, if students are given an existing, incomplete set of rules as
-their starting point, they just have to modify and test their rules.
-
-There are distinctive outcomes for each set of students: linguistics students
-learn to write grammar fragments that respect the literal-minded
-needs of the computer, and also come to appreciate the noisiness of
-typical \NLP\ corpora (including automatically annotated corpora like
-CoNLL-2000).
-Computer science students become more familiar with parts of speech
-and with typical syntactic structures in English. Both groups learn
-the importance of formal evaluation using precision and recall.
-
-\section{Interactive Demonstrations}
-\label{sec:interactive-demonstrations}
-
-\subsection{Python Demonstrations}
-
-Python fosters a highly interactive style of teaching. It is quite
-natural to build up moderately complex programs in front of a class,
-with the less confident students transcribing it into a Python session on
-their laptop to satisfy themselves it works (but not necessarily
-understanding everything they enter first time), while the stronger
-students quickly grasp the theoretical concepts and algorithms. While
-both groups can be served by the same presentation, they tend to ask
-quite different questions. However, this is addressed by dividing
-them into smaller clusters and having teaching assistants visit them
-separately to discuss issues arising from the content.
-
-The \NLTK\ book contains many examples, and the instructor
-can present an interactive lecture that includes running these examples
-and experimenting with them in response to student questions. In early
-classes, the focus will probably be on learning Python. In later classes,
-the driver for such interactive lessons can be an externally-motivated
-empirical or theoretical question.
-
-As a practical matter, it is important to consider low-level issues
-that may get in the way of students' ability to capture the material
-covered in interactive Python sessions. These include choice of
-appropriate font size for screen display, avoiding the problem of output scrolling the
-command out of view, and distributing a log of the instructor's interactive session
-for students to study in their own time.
-
-
-\subsection{NLTK Demonstrations}
-
-A significant fraction of any \NLP\ syllabus covers fundamental data
-structures and algorithms. These are usually taught with the help of
-formal notations and complex diagrams. Large trees and charts are
-copied onto the board and edited in tedious slow motion, or
-laboriously prepared for presentation slides. It is more effective to
-use live demonstrations in which those diagrams are generated and
-updated automatically. \NLTK\ provides interactive graphical user
-interfaces, making it possible to view program state and to study
-program execution step-by-step. Most \NLTK\ components have a
-demonstration mode, and will perform an interesting task without
-requiring any special input from the user. It is even possible to make
-minor modifications to programs in response to ``what if'' questions. In
-this way, students learn the mechanics of \NLP\ quickly, gain deeper
-insights into the data structures and algorithms, and acquire new
-problem-solving skills.
-
-An example of a particularly effective set of demonstrations are those for
-shift-reduce and recursive descent parsing. These make the difference
-between the algorithms glaringly obvious. More importantly, students
-get a concrete sense of many issues that affect the design of
-algorithms for tasks like parsing. The partial analysis constructed by
-the recursive descent parser bobs up and down as it steps forward and
-backtracks, and students often go wide-eyed as the parser retraces its
-steps and does ``dumb'' things like expanding N to {\it man} when it
-has already tried the rule unsuccessfully (but is now trying to match
-a bare NP rather than an NP with a PP modifier). Linguistics students
-who are extremely knowledgeable about context-free grammars and thus
-understand the representations gain a new appreciation for just how
-naive an algorithm can be. This helps students grasp
-the need for techniques like dynamic programming and motivates
-them to learn how they can be used to solve such problems
-much more efficiently.
-
-Another highly useful aspect of \NLTK\ is the ability to define a
-context-free grammar using a simple format and to display tree
-structures graphically. This can be used to teach context-free
-grammars interactively, where the instructor and the students develop
-a grammar from scratch and check its coverage against a testbed of
-grammatical and ungrammatical sentences. Because it is so easy to
-modify the grammar and check its behavior, students readily
-participate and suggest various solutions. When the grammar produces
-an analysis for an ungrammatical sentence in the testbed, the tree
-structure can be displayed graphically and inspected to see what went
-wrong. Conversely, the parse chart can be inspected to see where the
-grammar failed on grammatical sentences.
-
-\NLTK's easy access to many corpora greatly facilitates classroom
-instruction. It is straightforward to pull in different sections of
-corpora and build programs in class for many different tasks.
-This not only makes it easier to experiment with ideas on the fly,
-but also allows students to replicate the
-exercises outside of class. Graphical displays that show the
-dispersion of terms throughout a text also give students excellent
-examples of how a few simple statistics collected from a corpus can
-provide useful and interesting views on a text---including seeing the
-frequency with which various characters appear in a novel. This can in
-turn be related to other resources like Google Trends, which shows the
-frequency with which a term has been referenced in news reports or
-been used in search terms over several years.
-
-% \subsection{Small Group Interaction}
-%
-% Even the most engaging interactive Python demonstration may only
-% amount to a demonstration of the instructor's Python prowess ('charming python').
-% Student learning is enhanced when they are encouraged to engage actively
-% with the material, responding to a quiz, discussing ...
-
-% animate this with a quiz, presented as a slide or a handout, giving code samples and asking what they do.
-% could be a competition
-% class exercise, e.g. counting uses of ``must'' in a spoken vs written language corpus
-% (deontic vs epistemic uses).
-% chatroom for online discussion: useful during intensive summer program; otherwise couldn't be staffed adequately
-
-\section{Exercises, Assignments and Projects}
-\label{sec:projects}
-
-\subsection{Exercises}
-
-Copious exercises are provided with the \NLTK\ book; these
-have been graded for difficulty relative to the concepts covered in the
-preceding sections of the book. Exercises have the tremendous advantage of
-building on the \NLTK\ infrastructure, both code and
-documentation. The exercises are intended to be suitable both for
-self-paced learning and in formally assigned coursework.
-
-A mixed class of linguistics and computer science students will have a
-diverse range of programming experience, and students with no
-programming experience will typically have different aptitudes for
-programming \cite{Barker83,Caspersen07}. A course which forces all students to
-progress at the same rate will be too difficult for some, and too dull
-for others, and will risk alienating many students. Thus, course
-materials need to accommodate self-paced learning. An effective way
-to do this is to provide students with contexts in which they can test
-and extend their knowledge at their own rate.
-
-One such context is provided by lecture or laboratory sessions in
-which students have a machine in front of them (or one between two),
-and where there is time to work through a series of exercises to
-consolidate what has just been taught from the front, or read from a
-chapter of the book. When this can be done at regular intervals, it is easier for
-students to know which part of the materials to re-read. It also
-encourages them to get into the habit of checking their understanding of a concept by writing
-code.
-
-When exercises are graded for difficulty, it is easier for students to
-understand how much effort is expected, and whether they even have
-time to attempt an exercise. Graded exercises are also good for
-supporting self-evaluation. If a student takes 20 minutes to write a
-solution, they also need to have some idea of whether this was an
-appropriate amount of time.
-
-% well-motivated questions: needs to be transparently obvious why this
-% is a linguistically meaningful thing to do (esp for inexperienced
-% programmers)
-
-% include open-ended questions for the experienced programmers
-
-% For students who are
-% learning to program as part of a computational linguistics course, the
-% parallels between the examples in the documentation and the
-% requirements of the assignments is very helpful. As a result, they
-% are able use \NLTK\ to carry out far more complex tasks than they could
-% otherwise have hoped to do.
-% The availability of online examples that
-% they could try out in interactive Python were a huge help for them.
-
-
-\begin{figure}
-{\footnotesize
-\begin{verbatim}
-nltk.FreqDist(nltk.corpus.brown.words())
-\end{verbatim}
-\medskip
-
-\begin{verbatim}
-fd = nltk.FreqDist()
-for filename in corpus_files:
- text = open(filename).read()
- for w in nltk.wordpunct_tokenize(text):
- fd.inc(w)
-\end{verbatim}
-\medskip
-
-\begin{verbatim}
-counts = {}
-for w in nltk.corpus.brown.words():
- if w not in counts:
- counts[w] = 0
- counts[w] += 1
-\end{verbatim}
-}
-\caption{Three Ways to Build up a Frequency Distribution of Words in the Brown Corpus}
-\label{fig:freqdist}
-\vspace*{1ex}
-\hrule
-\end{figure}
-
-The exercises are also highly adaptable. It is common for instructors
-to take them as a starting point in building homework assignments that
-are tailored to their own students. Some instructors prefer to
-include exercises that do not allow students to take advantage of
-built-in \NLTK\ functionality, e.g.\ using a Python dictionary to
-count word frequencies in the Brown corpus rather than \NLTK 's
-\code{FreqDist} (see Figure~\ref{fig:freqdist}). This is an important
-part of building facility with general text processing in Python,
-since eventually students will have to work outside of the \NLTK\ sandbox.
-Nonetheless, students often use \NLTK\ functionality as part
-of their solutions, e.g., for managing frequencies and
-distributions. Again, this flexibility is a good thing: students learn
-to work with resources they know how to use, and can branch out to new
-exercises from that basis. When course content includes discussion of
-Unix command line utilities for text processing, students can
-furthermore gain a better appreciation of the pros and cons of writing
-their own scripts versus using an appropriate Unix pipeline.
-
-\subsection{Assignments}
-
-\NLTK\ supports assignments of varying difficulty and scope:
-experimenting with existing components to see what happens for
-different inputs or parameter settings;
-modifying existing components and creating systems using existing components;
-leveraging \NLTK's extensible architecture by developing entirely new components;
-or employing \NLTK's interfaces to other toolkits such as Weka \cite{WittenFrank05}
-and Prover9 \cite{McCune08}.
-
-\subsection{Projects}
-
-Group projects involving a mixture of linguists and computer science
-students have an initial appeal, assuming that each kind of student
-can learn from the other. However, there's a complex social dynamic
-in such groups, one effect of which is that the linguistics students
-may opt out of the programming aspects of the task, perhaps with view
-that their contribution would only hurt the chances of achieving a
-good overall project mark. It is difficult to mandate significant
-collaboration across disciplinary boundaries, with the more likely
-outcome being, for example, that a parser is developed by a computer
-science team member, then thrown over the wall to a linguist who will
-develop an appropriate grammar.
-
-Instead, we believe that it is generally more productive in the
-context of a single-semester introductory course to have students work individually
-on their own projects. Distinct projects can be devised for students
-depending on their background, or students can be given a list of
-project topics,\footnote{\url{http://nltk.org/projects.html}} and offered option of
-self-proposing other projects.
-
-% Peer review (including code review) to improve quality of programming, and
-% emphasize the communicative dimension of programming.
-% (Even grade a student on the quality of his/her peer review of another student.)
-
-\section{Conclusion}
-
-We have argued that the distinctive features of \NLTK\ make it an apt
-vehicle for teaching \NLP\ to mixed audiences of linguistic and
-computer science students. On the one hand, complete novices can
-quickly gain confidence in their ability to do interesting and useful things
-with language processing, while the transparency and consistency of
-the implementation also makes it easy for experienced programmers to
-learn about natural language and to explore more challenging
-tasks. The success of this recipe is borne out by the wide
-uptake of the toolkit, not only within tertiary education but more
-broadly by users who just want try their hand at \NLP. We also have
-encouraging results in presenting \NLTK\ in classrooms at the
-secondary level, thereby trying to inspire the computational linguists of the
-future!
-
-Finally, we believe that \NLTK\ has gained much by participating
-in the Open Source software movement, specifically from
-the infrastructure provided by
-\url{SourceForge.net} and from the
-invaluable contributions of a wide range of people, including many
-students.
-
-\section{Acknowledgments}
-
-We are grateful to the members of the \NLTK\ community for their
-helpful feedback on the toolkit and their many contributions.
-We thank the anonymous reviewers for their feedback on an earlier
-version of this paper.
-
-\clearpage
-\bibliographystyle{acl}
-\bibliography{acl-08}
-
-\end{document}
diff --git a/papers/acl-08/acl08.sty b/papers/acl-08/acl08.sty
deleted file mode 100644
index 86092b5..0000000
--- a/papers/acl-08/acl08.sty
+++ /dev/null
@@ -1,344 +0,0 @@
-% File acl2005.sty
-% October 11, 2004
-% Contact: oflazer at sabanciuniv.edu
-
-% This is the LaTeX style file for ACL 2005. It is nearly identical to the
-% style files for ACL 2002, ACL 2001, ACL 2000, EACL 95 and EACL
-% 99.
-%
-
-% This is the LaTeX style file for ACL 2000. It is nearly identical to the
-% style files for EACL 95 and EACL 99. Minor changes include editing the
-% instructions to reflect use of \documentclass rather than \documentstyle
-% and removing the white space before the title on the first page
-% -- John Chen, June 29, 2000
-
-% To convert from submissions prepared using the style file aclsub.sty
-% prepared for the ACL 2000 conference, proceed as follows:
-% 1) Remove submission-specific information: \whichsession, \id,
-% \wordcount, \otherconferences, \area, \keywords
-% 2) \summary should be removed. The summary material should come
-% after \maketitle and should be in the ``abstract'' environment
-% 3) Check all citations. This style should handle citations correctly
-% and also allows multiple citations separated by semicolons.
-% 4) Check figures and examples. Because the final format is double-
-% column, some adjustments may have to be made to fit text in the column
-% or to choose full-width (\figure*} figures.
-% 5) Change the style reference from aclsub to acl2000, and be sure
-% this style file is in your TeX search path
-
-
-% This is the LaTeX style file for EACL-95. It is identical to the
-% style file for ANLP '94 except that the margins are adjusted for A4
-% paper. -- abney 13 Dec 94
-
-% The ANLP '94 style file is a slightly modified
-% version of the style used for AAAI and IJCAI, using some changes
-% prepared by Fernando Pereira and others and some minor changes
-% by Paul Jacobs.
-
-% Papers prepared using the aclsub.sty file and acl.bst bibtex style
-% should be easily converted to final format using this style.
-% (1) Submission information (\wordcount, \subject, and \makeidpage)
-% should be removed.
-% (2) \summary should be removed. The summary material should come
-% after \maketitle and should be in the ``abstract'' environment
-% (between \begin{abstract} and \end{abstract}).
-% (3) Check all citations. This style should handle citations correctly
-% and also allows multiple citations separated by semicolons.
-% (4) Check figures and examples. Because the final format is double-
-% column, some adjustments may have to be made to fit text in the column
-% or to choose full-width (\figure*} figures.
-
-% Place this in a file called aclap.sty in the TeX search path.
-% (Placing it in the same directory as the paper should also work.)
-
-% Prepared by Peter F. Patel-Schneider, liberally using the ideas of
-% other style hackers, including Barbara Beeton.
-% This style is NOT guaranteed to work. It is provided in the hope
-% that it will make the preparation of papers easier.
-%
-% There are undoubtably bugs in this style. If you make bug fixes,
-% improvements, etc. please let me know. My e-mail address is:
-% pfps at research.att.com
-
-% Papers are to be prepared using the ``acl'' bibliography style,
-% as follows:
-% \documentclass[11pt]{article}
-% \usepackage{acl2000}
-% \title{Title}
-% \author{Author 1 \and Author 2 \\ Address line \\ Address line \And
-% Author 3 \\ Address line \\ Address line}
-% \begin{document}
-% ...
-% \bibliography{bibliography-file}
-% \bibliographystyle{acl}
-% \end{document}
-
-% Author information can be set in various styles:
-% For several authors from the same institution:
-% \author{Author 1 \and ... \and Author n \\
-% Address line \\ ... \\ Address line}
-% if the names do not fit well on one line use
-% Author 1 \\ {\bf Author 2} \\ ... \\ {\bf Author n} \\
-% For authors from different institutions:
-% \author{Author 1 \\ Address line \\ ... \\ Address line
-% \And ... \And
-% Author n \\ Address line \\ ... \\ Address line}
-% To start a seperate ``row'' of authors use \AND, as in
-% \author{Author 1 \\ Address line \\ ... \\ Address line
-% \AND
-% Author 2 \\ Address line \\ ... \\ Address line \And
-% Author 3 \\ Address line \\ ... \\ Address line}
-
-% If the title and author information does not fit in the area allocated,
-% place \setlength\titlebox{<new height>} right after
-% \usepackage{acl2000}
-% where <new height> can be something larger than 2.25in
-
-% \typeout{Conference Style for ACL 2000 -- released June 20, 2000}
-\typeout{Conference Style for ACL 2005 -- released Octobe 11, 2004}
-
-% NOTE: Some laser printers have a serious problem printing TeX output.
-% These printing devices, commonly known as ``write-white'' laser
-% printers, tend to make characters too light. To get around this
-% problem, a darker set of fonts must be created for these devices.
-%
-
-% Physical page layout - slightly modified from IJCAI by pj
-\setlength\topmargin{0.0in} \setlength\oddsidemargin{-0.0in}
-\setlength\textheight{9.0in} \setlength\textwidth{6.5in}
-\setlength\columnsep{0.2in}
-\newlength\titlebox
-\setlength\titlebox{2.25in}
-\setlength\headheight{0pt} \setlength\headsep{0pt}
-%\setlength\footheight{0pt}
-\setlength\footskip{0pt}
-\thispagestyle{empty} \pagestyle{empty}
-\flushbottom \twocolumn \sloppy
-
-%% A4 version of page layout
-%\setlength\topmargin{-0.45cm} % changed by Rz -1.4
-%\setlength\oddsidemargin{.8mm} % was -0cm, changed by Rz
-%\setlength\textheight{23.5cm}
-%\setlength\textwidth{15.8cm}
-%\setlength\columnsep{0.6cm}
-%\newlength\titlebox
-%\setlength\titlebox{2.00in}
-%\setlength\headheight{5pt}
-%\setlength\headsep{0pt}
-%%\setlength\footheight{0pt}
-%\setlength\footskip{0pt}
-%\thispagestyle{empty}
-%\pagestyle{empty}
-
-\flushbottom \twocolumn \sloppy
-
-% We're never going to need a table of contents, so just flush it to
-% save space --- suggested by drstrip at sandia-2
-\def\addcontentsline#1#2#3{}
-
-% Title stuff, taken from deproc.
-\def\maketitle{\par
- \begingroup
- \def\thefootnote{\fnsymbol{footnote}}
- \def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}}
- \twocolumn[\@maketitle] \@thanks
- \endgroup
- \setcounter{footnote}{0}
- \let\maketitle\relax \let\@maketitle\relax
- \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
-\def\@maketitle{\vbox to \titlebox{\hsize\textwidth
- \linewidth\hsize \vskip 0.125in minus 0.125in \centering
- {\Large\bf \@title \par} \vskip 0.2in plus 1fil minus 0.1in
- {\def\and{\unskip\enspace{\rm and}\enspace}%
- \def\And{\end{tabular}\hss \egroup \hskip 1in plus 2fil
- \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf}%
- \def\AND{\end{tabular}\hss\egroup \hfil\hfil\egroup
- \vskip 0.25in plus 1fil minus 0.125in
- \hbox to \linewidth\bgroup\large \hfil\hfil
- \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf}
- \hbox to \linewidth\bgroup\large \hfil\hfil
- \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf\@author
- \end{tabular}\hss\egroup
- \hfil\hfil\egroup}
- \vskip 0.3in plus 2fil minus 0.1in
-}}
-\renewenvironment{abstract}{\centerline{\large\bf
- Abstract}\vspace{0.5ex}\begin{quote} \small}{\par\end{quote}\vskip 1ex}
-
-
-% bibliography
-
-\def\thebibliography#1{\section*{References}
- \global\def\@listi{\leftmargin\leftmargini
- \labelwidth\leftmargini \advance\labelwidth-\labelsep
- \topsep 1pt plus 2pt minus 1pt
- \parsep 0.25ex plus 1pt \itemsep 0.25ex plus 1pt}
- \list {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth
- \advance\leftmargin\labelsep\usecounter{enumi}}
- \def\newblock{\hskip .11em plus .33em minus -.07em}
- \sloppy
- \sfcode`\.=1000\relax}
-
-\def\@up#1{\raise.2ex\hbox{#1}}
-
-% most of cite format is from aclsub.sty by SMS
-
-% don't box citations, separate with ; and a space
-% also, make the penalty between citations negative: a good place to break
-% changed comma back to semicolon pj 2/1/90
-% \def\@citex[#1]#2{\if at filesw\immediate\write\@auxout{\string\citation{#2}}\fi
-% \def\@citea{}\@cite{\@for\@citeb:=#2\do
-% {\@citea\def\@citea{;\penalty\@citeseppen\ }\@ifundefined
-% {b@\@citeb}{{\bf ?}\@warning
-% {Citation `\@citeb' on page \thepage \space undefined}}%
-% {\csname b@\@citeb\endcsname}}}{#1}}
-
-% don't box citations, separate with ; and a space
-% Replaced for multiple citations (pj)
-% don't box citations and also add space, semicolon between multiple citations
-\def\@citex[#1]#2{\if at filesw\immediate\write\@auxout{\string\citation{#2}}\fi
- \def\@citea{}\@cite{\@for\@citeb:=#2\do
- {\@citea\def\@citea{; }\@ifundefined
- {b@\@citeb}{{\bf ?}\@warning
- {Citation `\@citeb' on page \thepage \space undefined}}%
- {\csname b@\@citeb\endcsname}}}{#1}}
-
-% Allow short (name-less) citations, when used in
-% conjunction with a bibliography style that creates labels like
-% \citename{<names>, }<year>
-%
-\let\@internalcite\cite
-\def\cite{\def\citename##1{##1, }\@internalcite}
-\def\shortcite{\def\citename##1{}\@internalcite}
-\def\newcite{\def\citename##1{{\frenchspacing##1} (}\@internalciteb}
-
-% Macros for \newcite, which leaves name in running text, and is
-% otherwise like \shortcite.
-\def\@citexb[#1]#2{\if at filesw\immediate\write\@auxout{\string\citation{#2}}\fi
- \def\@citea{}\@newcite{\@for\@citeb:=#2\do
- {\@citea\def\@citea{;\penalty\@m\ }\@ifundefined
- {b@\@citeb}{{\bf ?}\@warning
- {Citation `\@citeb' on page \thepage \space undefined}}%
-{\csname b@\@citeb\endcsname}}}{#1}}
-\def\@internalciteb{\@ifnextchar [{\@tempswatrue\@citexb}{\@tempswafalse\@citexb[]}}
-
-\def\@newcite#1#2{{#1\if at tempswa, #2\fi)}}
-
-\def\@biblabel#1{\def\citename##1{##1}[#1]\hfill}
-
-%%% More changes made by SMS (originals in latex.tex)
-% Use parentheses instead of square brackets in the text.
-\def\@cite#1#2{({#1\if at tempswa , #2\fi})}
-
-% Don't put a label in the bibliography at all. Just use the unlabeled format
-% instead.
-\def\thebibliography#1{\small\vskip\parskip%
-\vskip\baselineskip%
-\def\baselinestretch{1}%
-\ifx\@currsize\normalsize\@normalsize\else\@currsize\fi%
-\vskip-\parskip%
-\vskip-\baselineskip%
-\section*{References\@mkboth
- {References}{References}}\list
- {}{\setlength{\labelwidth}{0pt}\setlength{\leftmargin}{\parindent}
- \setlength{\itemsep}{-1ex}
- \setlength{\itemindent}{-\parindent}}
- \def\newblock{\hskip .11em plus .33em minus -.07em}
- \sloppy\clubpenalty4000\widowpenalty4000
- \sfcode`\.=1000\relax}
-\let\endthebibliography=\endlist
-
-% Allow for a bibliography of sources of attested examples
-\def\thesourcebibliography#1{\vskip\parskip%
-\vskip\baselineskip%
-\def\baselinestretch{1}%
-\ifx\@currsize\normalsize\@normalsize\else\@currsize\fi%
-\vskip-\parskip%
-\vskip-\baselineskip%
-\section*{Sources of Attested Examples\@mkboth
- {Sources of Attested Examples}{Sources of Attested Examples}}\list
- {}{\setlength{\labelwidth}{0pt}\setlength{\leftmargin}{\parindent}
- \setlength{\itemindent}{-\parindent}}
- \def\newblock{\hskip .11em plus .33em minus -.07em}
- \sloppy\clubpenalty4000\widowpenalty4000
- \sfcode`\.=1000\relax}
-\let\endthesourcebibliography=\endlist
-
-\def\@lbibitem[#1]#2{\item[]\if at filesw
- { \def\protect##1{\string ##1\space}\immediate
- \write\@auxout{\string\bibcite{#2}{#1}}\fi\ignorespaces}}
-
-\def\@bibitem#1{\item\if at filesw \immediate\write\@auxout
- {\string\bibcite{#1}{\the\c at enumi}}\fi\ignorespaces}
-
-% sections with less space
-\def\section{\@startsection {section}{1}{\z@}{-2.0ex plus
- -0.5ex minus -.2ex}{1.5ex plus 0.3ex minus .2ex}{\large\bf\raggedright}}
-\def\subsection{\@startsection{subsection}{2}{\z@}{-1.8ex plus
- -0.5ex minus -.2ex}{0.8ex plus .2ex}{\normalsize\bf\raggedright}}
-\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{1.5ex plus
- 0.5ex minus .2ex}{0.5ex plus .2ex}{\normalsize\bf\raggedright}}
-\def\paragraph{\@startsection{paragraph}{4}{\z@}{1.5ex plus
- 0.5ex minus .2ex}{-1em}{\normalsize\bf}}
-\def\subparagraph{\@startsection{subparagraph}{5}{\parindent}{1.5ex plus
- 0.5ex minus .2ex}{-1em}{\normalsize\bf}}
-
-% Footnotes
-\footnotesep 6.65pt %
-\skip\footins 9pt plus 4pt minus 2pt
-\def\footnoterule{\kern-3pt \hrule width 5pc \kern 2.6pt }
-\setcounter{footnote}{0}
-
-% Lists and paragraphs
-\parindent 1em
-\topsep 4pt plus 1pt minus 2pt
-\partopsep 1pt plus 0.5pt minus 0.5pt
-\itemsep 2pt plus 1pt minus 0.5pt
-\parsep 2pt plus 1pt minus 0.5pt
-
-\leftmargin 2em \leftmargini\leftmargin \leftmarginii 2em
-\leftmarginiii 1.5em \leftmarginiv 1.0em \leftmarginv .5em \leftmarginvi .5em
-\labelwidth\leftmargini\advance\labelwidth-\labelsep \labelsep 5pt
-
-\def\@listi{\leftmargin\leftmargini}
-\def\@listii{\leftmargin\leftmarginii
- \labelwidth\leftmarginii\advance\labelwidth-\labelsep
- \topsep 2pt plus 1pt minus 0.5pt
- \parsep 1pt plus 0.5pt minus 0.5pt
- \itemsep \parsep}
-\def\@listiii{\leftmargin\leftmarginiii
- \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
- \topsep 1pt plus 0.5pt minus 0.5pt
- \parsep \z@ \partopsep 0.5pt plus 0pt minus 0.5pt
- \itemsep \topsep}
-\def\@listiv{\leftmargin\leftmarginiv
- \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
-\def\@listv{\leftmargin\leftmarginv
- \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
-\def\@listvi{\leftmargin\leftmarginvi
- \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
-
-\abovedisplayskip 7pt plus2pt minus5pt%
-\belowdisplayskip \abovedisplayskip
-\abovedisplayshortskip 0pt plus3pt%
-\belowdisplayshortskip 4pt plus3pt minus3pt%
-
-% Less leading in most fonts (due to the narrow columns)
-% The choices were between 1-pt and 1.5-pt leading
-%\def\@normalsize{\@setsize\normalsize{11pt}\xpt\@xpt}
-%\def\small{\@setsize\small{10pt}\ixpt\@ixpt}
-%\def\footnotesize{\@setsize\footnotesize{10pt}\ixpt\@ixpt}
-%\def\scriptsize{\@setsize\scriptsize{8pt}\viipt\@viipt}
-%\def\tiny{\@setsize\tiny{7pt}\vipt\@vipt}
-%\def\large{\@setsize\large{14pt}\xiipt\@xiipt}
-%\def\Large{\@setsize\Large{16pt}\xivpt\@xivpt}
-%\def\LARGE{\@setsize\LARGE{20pt}\xviipt\@xviipt}
-%\def\huge{\@setsize\huge{23pt}\xxpt\@xxpt}
-%\def\Huge{\@setsize\Huge{28pt}\xxvpt\@xxvpt}
-
-\let\@@makecaption\@makecaption
-\renewcommand{\@makecaption}[1]{\@@makecaption{\small #1}}
-
-\newcommand{\Thanks}[1]{\thanks{\ #1}}
\ No newline at end of file
diff --git a/papers/acl-08/grammar1.py b/papers/acl-08/grammar1.py
deleted file mode 100644
index 7d2a08d..0000000
--- a/papers/acl-08/grammar1.py
+++ /dev/null
@@ -1,22 +0,0 @@
-import nltk
-
-def parse(sent, grammar):
- gr = nltk.cfg.parse_cfg(grammar)
- parser = nltk.ChartParser(gr, nltk.parse.TD_STRATEGY)
- trees = parser.nbest_parse(sent.split())
- nltk.draw.draw_trees(*trees)
-
-grammar = """
- S -> NP VP
- VP -> V NP | VP PP
- NP -> Det N | NP PP
- PP -> P NP
- NP -> 'I'
- Det -> 'the' | 'a' | 'my'
- N -> 'elephant' | 'pajamas' | 'man' | 'park' | 'telescope'
- V -> 'shot' | 'saw'
- P -> 'in' | 'on' | 'with'
-"""
-
-sent = 'I shot the elephant in my pajamas'
-parse(sent, grammar)
diff --git a/papers/acl-08/grammar2.py b/papers/acl-08/grammar2.py
deleted file mode 100644
index f537c7c..0000000
--- a/papers/acl-08/grammar2.py
+++ /dev/null
@@ -1,22 +0,0 @@
-import nltk
-
-def parse(sent, grammar):
- gr = nltk.cfg.parse_cfg(grammar)
- parser = nltk.ChartParser(gr, nltk.parse.TD_STRATEGY)
- trees = parser.nbest_parse(sent.split())
- nltk.draw.draw_trees(*trees)
-
-grammar = """
- S -> NP VP
- VP -> V NP | VP PP
- NP -> Det N | NP PP
- PP -> P NP
- NP -> 'I'
- Det -> 'the' | 'a' | 'my'
- N -> 'elephant' | 'pajamas' | 'man' | 'park' | 'telescope'
- V -> 'shot' | 'saw'
- P -> 'in' | 'on' | 'with'
-"""
-
-sent = 'I saw the man in the park with a telescope'
-parse(sent, grammar)
diff --git a/papers/acl-08/police.py b/papers/acl-08/police.py
deleted file mode 100644
index 683a888..0000000
--- a/papers/acl-08/police.py
+++ /dev/null
@@ -1,19 +0,0 @@
-import nltk
-
-def parse(sent, grammar):
- gr = nltk.cfg.parse_cfg(grammar)
- parser = nltk.ChartParser(gr, nltk.parse.TD_STRATEGY)
- trees = parser.nbest_parse(sent.split())
- nltk.draw.draw_trees(*trees)
-
-grammar = """
- S -> NP V NP
- NP -> NP Sbar
- Sbar -> NP V
- NP -> 'fish' | 'police'
- V -> 'fish' | 'police'
-"""
-
-sent = 'police police police police police police police police police'
-parse(sent, grammar)
-
diff --git a/papers/altw-06/acl.bst b/papers/altw-06/acl.bst
deleted file mode 100644
index b95ec04..0000000
--- a/papers/altw-06/acl.bst
+++ /dev/null
@@ -1,1322 +0,0 @@
-
-% BibTeX `acl' style file for BibTeX version 0.99c, LaTeX version 2.09
-% This version was made by modifying `aaai-named' format based on the master
-% file by Oren Patashnik (PATASHNIK at SCORE.STANFORD.EDU)
-
-% Copyright (C) 1985, all rights reserved.
-% Modifications Copyright 1988, Peter F. Patel-Schneider
-% Further modifictions by Stuart Shieber, 1991, and Fernando Pereira, 1992.
-% Copying of this file is authorized only if either
-% (1) you make absolutely no changes to your copy, including name, or
-% (2) if you do make changes, you name it something other than
-% btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
-% This restriction helps ensure that all standard styles are identical.
-
-% There are undoubtably bugs in this style. If you make bug fixes,
-% improvements, etc. please let me know. My e-mail address is:
-% pfps at spar.slb.com
-
-% Citation format: [author-last-name, year]
-% [author-last-name and author-last-name, year]
-% [author-last-name {\em et al.}, year]
-%
-% Reference list ordering: alphabetical by author or whatever passes
-% for author in the absence of one.
-%
-% This BibTeX style has support for short (year only) citations. This
-% is done by having the citations actually look like
-% \citename{name-info, }year
-% The LaTeX style has to have the following
-% \let\@internalcite\cite
-% \def\cite{\def\citename##1{##1}\@internalcite}
-% \def\shortcite{\def\citename##1{}\@internalcite}
-% \def\@biblabel#1{\def\citename##1{##1}[#1]\hfill}
-% which makes \shortcite the macro for short citations.
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Changes made by SMS for thesis style
-% no emphasis on "et al."
-% "Ph.D." includes periods (not "PhD")
-% moved year to immediately after author's name
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-ENTRY
- { address
- author
- booktitle
- chapter
- edition
- editor
- howpublished
- institution
- journal
- key
- month
- note
- number
- organization
- pages
- publisher
- school
- series
- title
- type
- volume
- year
- }
- {}
- { label extra.label sort.label }
-
-INTEGERS { output.state before.all mid.sentence after.sentence after.block }
-
-FUNCTION {init.state.consts}
-{ #0 'before.all :=
- #1 'mid.sentence :=
- #2 'after.sentence :=
- #3 'after.block :=
-}
-
-STRINGS { s t }
-
-FUNCTION {output.nonnull}
-{ 's :=
- output.state mid.sentence =
- { ", " * write$ }
- { output.state after.block =
- { add.period$ write$
- newline$
- "\newblock " write$
- }
- { output.state before.all =
- 'write$
- { add.period$ " " * write$ }
- if$
- }
- if$
- mid.sentence 'output.state :=
- }
- if$
- s
-}
-
-FUNCTION {output}
-{ duplicate$ empty$
- 'pop$
- 'output.nonnull
- if$
-}
-
-FUNCTION {output.check}
-{ 't :=
- duplicate$ empty$
- { pop$ "empty " t * " in " * cite$ * warning$ }
- 'output.nonnull
- if$
-}
-
-FUNCTION {output.bibitem}
-{ newline$
-
- "\bibitem[" write$
- label write$
- "]{" write$
-
- cite$ write$
- "}" write$
- newline$
- ""
- before.all 'output.state :=
-}
-
-FUNCTION {fin.entry}
-{ add.period$
- write$
- newline$
-}
-
-FUNCTION {new.block}
-{ output.state before.all =
- 'skip$
- { after.block 'output.state := }
- if$
-}
-
-FUNCTION {new.sentence}
-{ output.state after.block =
- 'skip$
- { output.state before.all =
- 'skip$
- { after.sentence 'output.state := }
- if$
- }
- if$
-}
-
-FUNCTION {not}
-{ { #0 }
- { #1 }
- if$
-}
-
-FUNCTION {and}
-{ 'skip$
- { pop$ #0 }
- if$
-}
-
-FUNCTION {or}
-{ { pop$ #1 }
- 'skip$
- if$
-}
-
-FUNCTION {new.block.checka}
-{ empty$
- 'skip$
- 'new.block
- if$
-}
-
-FUNCTION {new.block.checkb}
-{ empty$
- swap$ empty$
- and
- 'skip$
- 'new.block
- if$
-}
-
-FUNCTION {new.sentence.checka}
-{ empty$
- 'skip$
- 'new.sentence
- if$
-}
-
-FUNCTION {new.sentence.checkb}
-{ empty$
- swap$ empty$
- and
- 'skip$
- 'new.sentence
- if$
-}
-
-FUNCTION {field.or.null}
-{ duplicate$ empty$
- { pop$ "" }
- 'skip$
- if$
-}
-
-FUNCTION {emphasize}
-{ duplicate$ empty$
- { pop$ "" }
- { "{\em " swap$ * "}" * }
- if$
-}
-
-INTEGERS { nameptr namesleft numnames }
-
-FUNCTION {format.names}
-{ 's :=
- #1 'nameptr :=
- s num.names$ 'numnames :=
- numnames 'namesleft :=
- { namesleft #0 > }
-
- { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
-
- nameptr #1 >
- { namesleft #1 >
- { ", " * t * }
- { numnames #2 >
- { "," * }
- 'skip$
- if$
- t "others" =
- { " et~al." * }
- { " and " * t * }
- if$
- }
- if$
- }
- 't
- if$
- nameptr #1 + 'nameptr :=
- namesleft #1 - 'namesleft :=
- }
- while$
-}
-
-FUNCTION {format.authors}
-{ author empty$
- { "" }
- { author format.names }
- if$
-}
-
-FUNCTION {format.editors}
-{ editor empty$
- { "" }
- { editor format.names
- editor num.names$ #1 >
- { ", editors" * }
- { ", editor" * }
- if$
- }
- if$
-}
-
-FUNCTION {format.title}
-{ title empty$
- { "" }
-
- { title "t" change.case$ }
-
- if$
-}
-
-FUNCTION {n.dashify}
-{ 't :=
- ""
- { t empty$ not }
- { t #1 #1 substring$ "-" =
- { t #1 #2 substring$ "--" = not
- { "--" *
- t #2 global.max$ substring$ 't :=
- }
- { { t #1 #1 substring$ "-" = }
- { "-" *
- t #2 global.max$ substring$ 't :=
- }
- while$
- }
- if$
- }
- { t #1 #1 substring$ *
- t #2 global.max$ substring$ 't :=
- }
- if$
- }
- while$
-}
-
-FUNCTION {format.date}
-{ year empty$
- { month empty$
- { "" }
- { "there's a month but no year in " cite$ * warning$
- month
- }
- if$
- }
- { month empty$
- { "" }
- { month }
- if$
- }
- if$
-}
-
-FUNCTION {format.btitle}
-{ title emphasize
-}
-
-FUNCTION {tie.or.space.connect}
-{ duplicate$ text.length$ #3 <
- { "~" }
- { " " }
- if$
- swap$ * *
-}
-
-FUNCTION {either.or.check}
-{ empty$
- 'pop$
- { "can't use both " swap$ * " fields in " * cite$ * warning$ }
- if$
-}
-
-FUNCTION {format.bvolume}
-{ volume empty$
- { "" }
- { "volume" volume tie.or.space.connect
- series empty$
- 'skip$
- { " of " * series emphasize * }
- if$
- "volume and number" number either.or.check
- }
- if$
-}
-
-FUNCTION {format.number.series}
-{ volume empty$
- { number empty$
- { series field.or.null }
- { output.state mid.sentence =
- { "number" }
- { "Number" }
- if$
- number tie.or.space.connect
- series empty$
- { "there's a number but no series in " cite$ * warning$ }
- { " in " * series * }
- if$
- }
- if$
- }
- { "" }
- if$
-}
-
-FUNCTION {format.edition}
-{ edition empty$
- { "" }
- { output.state mid.sentence =
- { edition "l" change.case$ " edition" * }
- { edition "t" change.case$ " edition" * }
- if$
- }
- if$
-}
-
-INTEGERS { multiresult }
-
-FUNCTION {multi.page.check}
-{ 't :=
- #0 'multiresult :=
- { multiresult not
- t empty$ not
- and
- }
- { t #1 #1 substring$
- duplicate$ "-" =
- swap$ duplicate$ "," =
- swap$ "+" =
- or or
- { #1 'multiresult := }
- { t #2 global.max$ substring$ 't := }
- if$
- }
- while$
- multiresult
-}
-
-FUNCTION {format.pages}
-{ pages empty$
- { "" }
- { pages multi.page.check
- { "pages" pages n.dashify tie.or.space.connect }
- { "page" pages tie.or.space.connect }
- if$
- }
- if$
-}
-
-FUNCTION {format.year.label}
-{ year extra.label *
-}
-
-FUNCTION {format.vol.num.pages}
-{ volume field.or.null
- number empty$
- 'skip$
- { "(" number * ")" * *
- volume empty$
- { "there's a number but no volume in " cite$ * warning$ }
- 'skip$
- if$
- }
- if$
- pages empty$
- 'skip$
- { duplicate$ empty$
- { pop$ format.pages }
- { ":" * pages n.dashify * }
- if$
- }
- if$
-}
-
-FUNCTION {format.chapter.pages}
-{ chapter empty$
- 'format.pages
- { type empty$
- { "chapter" }
- { type "l" change.case$ }
- if$
- chapter tie.or.space.connect
- pages empty$
- 'skip$
- { ", " * format.pages * }
- if$
- }
- if$
-}
-
-FUNCTION {format.in.ed.booktitle}
-{ booktitle empty$
- { "" }
- { editor empty$
- { "In " booktitle emphasize * }
- { "In " format.editors * ", " * booktitle emphasize * }
- if$
- }
- if$
-}
-
-FUNCTION {empty.misc.check}
-{ author empty$ title empty$ howpublished empty$
- month empty$ year empty$ note empty$
- and and and and and
-
- key empty$ not and
-
- { "all relevant fields are empty in " cite$ * warning$ }
- 'skip$
- if$
-}
-
-FUNCTION {format.thesis.type}
-{ type empty$
- 'skip$
- { pop$
- type "t" change.case$
- }
- if$
-}
-
-FUNCTION {format.tr.number}
-{ type empty$
- { "Technical Report" }
- 'type
- if$
- number empty$
- { "t" change.case$ }
- { number tie.or.space.connect }
- if$
-}
-
-FUNCTION {format.article.crossref}
-{ key empty$
- { journal empty$
- { "need key or journal for " cite$ * " to crossref " * crossref *
- warning$
- ""
- }
- { "In {\em " journal * "\/}" * }
- if$
- }
- { "In " key * }
- if$
- " \cite{" * crossref * "}" *
-}
-
-FUNCTION {format.crossref.editor}
-{ editor #1 "{vv~}{ll}" format.name$
- editor num.names$ duplicate$
- #2 >
- { pop$ " et~al." * }
- { #2 <
- 'skip$
- { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
- { " et~al." * }
- { " and " * editor #2 "{vv~}{ll}" format.name$ * }
- if$
- }
- if$
- }
- if$
-}
-
-FUNCTION {format.book.crossref}
-{ volume empty$
- { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
- "In "
- }
- { "Volume" volume tie.or.space.connect
- " of " *
- }
- if$
- editor empty$
- editor field.or.null author field.or.null =
- or
- { key empty$
- { series empty$
- { "need editor, key, or series for " cite$ * " to crossref " *
- crossref * warning$
- "" *
- }
- { "{\em " * series * "\/}" * }
- if$
- }
- { key * }
- if$
- }
- { format.crossref.editor * }
- if$
- " \cite{" * crossref * "}" *
-}
-
-FUNCTION {format.incoll.inproc.crossref}
-{ editor empty$
- editor field.or.null author field.or.null =
- or
- { key empty$
- { booktitle empty$
- { "need editor, key, or booktitle for " cite$ * " to crossref " *
- crossref * warning$
- ""
- }
- { "In {\em " booktitle * "\/}" * }
- if$
- }
- { "In " key * }
- if$
- }
- { "In " format.crossref.editor * }
- if$
- " \cite{" * crossref * "}" *
-}
-
-FUNCTION {article}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- crossref missing$
- { journal emphasize "journal" output.check
- format.vol.num.pages output
- format.date output
- }
- { format.article.crossref output.nonnull
- format.pages output
- }
- if$
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {book}
-{ output.bibitem
- author empty$
- { format.editors "author and editor" output.check }
- { format.authors output.nonnull
- crossref missing$
- { "author and editor" editor either.or.check }
- 'skip$
- if$
- }
- if$
- new.block
- format.year.label "year" output.check
- new.block
- format.btitle "title" output.check
- crossref missing$
- { format.bvolume output
- new.block
- format.number.series output
- new.sentence
- publisher "publisher" output.check
- address output
- }
- { new.block
- format.book.crossref output.nonnull
- }
- if$
- format.edition output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {booklet}
-{ output.bibitem
- format.authors output
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- howpublished address new.block.checkb
- howpublished output
- address output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {inbook}
-{ output.bibitem
- author empty$
- { format.editors "author and editor" output.check }
- { format.authors output.nonnull
- crossref missing$
- { "author and editor" editor either.or.check }
- 'skip$
- if$
- }
- if$
- format.year.label "year" output.check
- new.block
- new.block
- format.btitle "title" output.check
- crossref missing$
- { format.bvolume output
- format.chapter.pages "chapter and pages" output.check
- new.block
- format.number.series output
- new.sentence
- publisher "publisher" output.check
- address output
- }
- { format.chapter.pages "chapter and pages" output.check
- new.block
- format.book.crossref output.nonnull
- }
- if$
- format.edition output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {incollection}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- crossref missing$
- { format.in.ed.booktitle "booktitle" output.check
- format.bvolume output
- format.number.series output
- format.chapter.pages output
- new.sentence
- publisher "publisher" output.check
- address output
- format.edition output
- format.date output
- }
- { format.incoll.inproc.crossref output.nonnull
- format.chapter.pages output
- }
- if$
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {inproceedings}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- crossref missing$
- { format.in.ed.booktitle "booktitle" output.check
- format.bvolume output
- format.number.series output
- format.pages output
- address empty$
- { organization publisher new.sentence.checkb
- organization output
- publisher output
- format.date output
- }
- { address output.nonnull
- format.date output
- new.sentence
- organization output
- publisher output
- }
- if$
- }
- { format.incoll.inproc.crossref output.nonnull
- format.pages output
- }
- if$
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {conference} { inproceedings }
-
-FUNCTION {manual}
-{ output.bibitem
- author empty$
- { organization empty$
- 'skip$
- { organization output.nonnull
- address output
- }
- if$
- }
- { format.authors output.nonnull }
- if$
- format.year.label "year" output.check
- new.block
- new.block
- format.btitle "title" output.check
- author empty$
- { organization empty$
- { address new.block.checka
- address output
- }
- 'skip$
- if$
- }
- { organization address new.block.checkb
- organization output
- address output
- }
- if$
- format.edition output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {mastersthesis}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- "Master's thesis" format.thesis.type output.nonnull
- school "school" output.check
- address output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {misc}
-{ output.bibitem
- format.authors output
- new.block
- format.year.label output
- new.block
- title howpublished new.block.checkb
- format.title output
- howpublished new.block.checka
- howpublished output
- format.date output
- new.block
- note output
- fin.entry
- empty.misc.check
-}
-
-FUNCTION {phdthesis}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.btitle "title" output.check
- new.block
- "{Ph.D.} thesis" format.thesis.type output.nonnull
- school "school" output.check
- address output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {proceedings}
-{ output.bibitem
- editor empty$
- { organization output }
- { format.editors output.nonnull }
- if$
- new.block
- format.year.label "year" output.check
- new.block
- format.btitle "title" output.check
- format.bvolume output
- format.number.series output
- address empty$
- { editor empty$
- { publisher new.sentence.checka }
- { organization publisher new.sentence.checkb
- organization output
- }
- if$
- publisher output
- format.date output
- }
- { address output.nonnull
- format.date output
- new.sentence
- editor empty$
- 'skip$
- { organization output }
- if$
- publisher output
- }
- if$
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {techreport}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- format.tr.number output.nonnull
- institution "institution" output.check
- address output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {unpublished}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- note "note" output.check
- format.date output
- fin.entry
-}
-
-FUNCTION {default.type} { misc }
-
-MACRO {jan} {"January"}
-
-MACRO {feb} {"February"}
-
-MACRO {mar} {"March"}
-
-MACRO {apr} {"April"}
-
-MACRO {may} {"May"}
-
-MACRO {jun} {"June"}
-
-MACRO {jul} {"July"}
-
-MACRO {aug} {"August"}
-
-MACRO {sep} {"September"}
-
-MACRO {oct} {"October"}
-
-MACRO {nov} {"November"}
-
-MACRO {dec} {"December"}
-
-MACRO {acmcs} {"ACM Computing Surveys"}
-
-MACRO {acta} {"Acta Informatica"}
-
-MACRO {cacm} {"Communications of the ACM"}
-
-MACRO {ibmjrd} {"IBM Journal of Research and Development"}
-
-MACRO {ibmsj} {"IBM Systems Journal"}
-
-MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
-
-MACRO {ieeetc} {"IEEE Transactions on Computers"}
-
-MACRO {ieeetcad}
- {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
-
-MACRO {ipl} {"Information Processing Letters"}
-
-MACRO {jacm} {"Journal of the ACM"}
-
-MACRO {jcss} {"Journal of Computer and System Sciences"}
-
-MACRO {scp} {"Science of Computer Programming"}
-
-MACRO {sicomp} {"SIAM Journal on Computing"}
-
-MACRO {tocs} {"ACM Transactions on Computer Systems"}
-
-MACRO {tods} {"ACM Transactions on Database Systems"}
-
-MACRO {tog} {"ACM Transactions on Graphics"}
-
-MACRO {toms} {"ACM Transactions on Mathematical Software"}
-
-MACRO {toois} {"ACM Transactions on Office Information Systems"}
-
-MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
-
-MACRO {tcs} {"Theoretical Computer Science"}
-
-READ
-
-FUNCTION {sortify}
-{ purify$
- "l" change.case$
-}
-
-INTEGERS { len }
-
-FUNCTION {chop.word}
-{ 's :=
- 'len :=
- s #1 len substring$ =
- { s len #1 + global.max$ substring$ }
- 's
- if$
-}
-
-INTEGERS { et.al.char.used }
-
-FUNCTION {initialize.et.al.char.used}
-{ #0 'et.al.char.used :=
-}
-
-EXECUTE {initialize.et.al.char.used}
-
-FUNCTION {format.lab.names}
-{ 's :=
- s num.names$ 'numnames :=
-
- numnames #1 =
- { s #1 "{vv }{ll}" format.name$ }
- { numnames #2 =
- { s #1 "{vv }{ll }and " format.name$ s #2 "{vv }{ll}" format.name$ *
- }
- { s #1 "{vv }{ll }\bgroup et al.\egroup " format.name$ }
- if$
- }
- if$
-
-}
-
-FUNCTION {author.key.label}
-{ author empty$
- { key empty$
-
- { cite$ #1 #3 substring$ }
-
- { key #3 text.prefix$ }
- if$
- }
- { author format.lab.names }
- if$
-}
-
-FUNCTION {author.editor.key.label}
-{ author empty$
- { editor empty$
- { key empty$
-
- { cite$ #1 #3 substring$ }
-
- { key #3 text.prefix$ }
- if$
- }
- { editor format.lab.names }
- if$
- }
- { author format.lab.names }
- if$
-}
-
-FUNCTION {author.key.organization.label}
-{ author empty$
- { key empty$
- { organization empty$
-
- { cite$ #1 #3 substring$ }
-
- { "The " #4 organization chop.word #3 text.prefix$ }
- if$
- }
- { key #3 text.prefix$ }
- if$
- }
- { author format.lab.names }
- if$
-}
-
-FUNCTION {editor.key.organization.label}
-{ editor empty$
- { key empty$
- { organization empty$
-
- { cite$ #1 #3 substring$ }
-
- { "The " #4 organization chop.word #3 text.prefix$ }
- if$
- }
- { key #3 text.prefix$ }
- if$
- }
- { editor format.lab.names }
- if$
-}
-
-FUNCTION {calc.label}
-{ type$ "book" =
- type$ "inbook" =
- or
- 'author.editor.key.label
- { type$ "proceedings" =
- 'editor.key.organization.label
- { type$ "manual" =
- 'author.key.organization.label
- 'author.key.label
- if$
- }
- if$
- }
- if$
- duplicate$
-
- "\protect\citename{" swap$ * "}" *
- year field.or.null purify$ *
- 'label :=
- year field.or.null purify$ *
-
- sortify 'sort.label :=
-}
-
-FUNCTION {sort.format.names}
-{ 's :=
- #1 'nameptr :=
- ""
- s num.names$ 'numnames :=
- numnames 'namesleft :=
- { namesleft #0 > }
- { nameptr #1 >
- { " " * }
- 'skip$
- if$
-
- s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
-
- nameptr numnames = t "others" = and
- { "et al" * }
- { t sortify * }
- if$
- nameptr #1 + 'nameptr :=
- namesleft #1 - 'namesleft :=
- }
- while$
-}
-
-FUNCTION {sort.format.title}
-{ 't :=
- "A " #2
- "An " #3
- "The " #4 t chop.word
- chop.word
- chop.word
- sortify
- #1 global.max$ substring$
-}
-
-FUNCTION {author.sort}
-{ author empty$
- { key empty$
- { "to sort, need author or key in " cite$ * warning$
- ""
- }
- { key sortify }
- if$
- }
- { author sort.format.names }
- if$
-}
-
-FUNCTION {author.editor.sort}
-{ author empty$
- { editor empty$
- { key empty$
- { "to sort, need author, editor, or key in " cite$ * warning$
- ""
- }
- { key sortify }
- if$
- }
- { editor sort.format.names }
- if$
- }
- { author sort.format.names }
- if$
-}
-
-FUNCTION {author.organization.sort}
-{ author empty$
- { organization empty$
- { key empty$
- { "to sort, need author, organization, or key in " cite$ * warning$
- ""
- }
- { key sortify }
- if$
- }
- { "The " #4 organization chop.word sortify }
- if$
- }
- { author sort.format.names }
- if$
-}
-
-FUNCTION {editor.organization.sort}
-{ editor empty$
- { organization empty$
- { key empty$
- { "to sort, need editor, organization, or key in " cite$ * warning$
- ""
- }
- { key sortify }
- if$
- }
- { "The " #4 organization chop.word sortify }
- if$
- }
- { editor sort.format.names }
- if$
-}
-
-FUNCTION {presort}
-
-{ calc.label
- sort.label
- " "
- *
- type$ "book" =
-
- type$ "inbook" =
- or
- 'author.editor.sort
- { type$ "proceedings" =
- 'editor.organization.sort
- { type$ "manual" =
- 'author.organization.sort
- 'author.sort
- if$
- }
- if$
- }
- if$
-
- *
-
- " "
- *
- year field.or.null sortify
- *
- " "
- *
- title field.or.null
- sort.format.title
- *
- #1 entry.max$ substring$
- 'sort.key$ :=
-}
-
-ITERATE {presort}
-
-SORT
-
-STRINGS { longest.label last.sort.label next.extra }
-
-INTEGERS { longest.label.width last.extra.num }
-
-FUNCTION {initialize.longest.label}
-{ "" 'longest.label :=
- #0 int.to.chr$ 'last.sort.label :=
- "" 'next.extra :=
- #0 'longest.label.width :=
- #0 'last.extra.num :=
-}
-
-FUNCTION {forward.pass}
-{ last.sort.label sort.label =
- { last.extra.num #1 + 'last.extra.num :=
- last.extra.num int.to.chr$ 'extra.label :=
- }
- { "a" chr.to.int$ 'last.extra.num :=
- "" 'extra.label :=
- sort.label 'last.sort.label :=
- }
- if$
-}
-
-FUNCTION {reverse.pass}
-{ next.extra "b" =
- { "a" 'extra.label := }
- 'skip$
- if$
- label extra.label * 'label :=
- label width$ longest.label.width >
- { label 'longest.label :=
- label width$ 'longest.label.width :=
- }
- 'skip$
- if$
- extra.label 'next.extra :=
-}
-
-EXECUTE {initialize.longest.label}
-
-ITERATE {forward.pass}
-
-REVERSE {reverse.pass}
-
-FUNCTION {begin.bib}
-
-{ et.al.char.used
- { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
- 'skip$
- if$
- preamble$ empty$
-
- 'skip$
- { preamble$ write$ newline$ }
- if$
-
- "\begin{thebibliography}{" "}" * write$ newline$
-
-}
-
-EXECUTE {begin.bib}
-
-EXECUTE {init.state.consts}
-
-ITERATE {call.type$}
-
-FUNCTION {end.bib}
-{ newline$
- "\end{thebibliography}" write$ newline$
-}
-
-EXECUTE {end.bib}
-
diff --git a/papers/altw-06/altw-06.bib b/papers/altw-06/altw-06.bib
deleted file mode 100644
index 7e2fa7b..0000000
--- a/papers/altw-06/altw-06.bib
+++ /dev/null
@@ -1,53 +0,0 @@
- at Book{Blackburn:2005:RINL,
- author = {Patrick Blackburn and Johan Bos},
- title = {Representation and Inference for Natural Language: A First Course in Computational Semantics},
- publisher = {CSLI Publications},
- year = 2005}
-
-
- at InCollection{Montague:1974:PTQ,
- author = {Richard Montague},
- title = {The Proper Treatment of Quantification in Ordinary {E}nglish},
- booktitle = {Formal Philosphy: Selected Papers of Richard Montague},
- pages = {247--270},
- publisher = {Yale University Press},
- year = 1974,
- editor = {R. H. Thomason},
- address = {New Haven}}
-
- @Book{Dowty:1981:IMS,
- author = {D. R. Dowty and R. E. Wall and S. Peters},
- title = {Introduction to {M}ontague {S}emantics},
- publisher = {Reidel},
- year = 1981,
- series = {Studies in Linguistics and Philosophy},
- address = {Dordrecht}}
-
- at InProceedings{Bird:2005:NES,
- author = {Steven Bird},
- title = {{NLTK-Lite}: Efficient Scripting for Natural Language Processing},
- booktitle = {Proceedings of the 4th International Conference on Natural Language Processing (ICON)},
- pages = {11--18},
- year = 2005,
- address = {New Delhi},
- month = {December},
- publisher = {Allied Publishers}}
-
-
- at Book{vanRossum:2006:PT,
- author = {Guido van Rossum},
- title = {Python Tutorial},
- year = 2006,
- month = {March},
- note = {Release 2.4.3},
- url = {http://docs.python.org/tut/tut.html}
-}
-
-
- at Book{Russell:2003:AIMA,
- author = {Stuart Russell and Peter Norvig},
- title = {Artifical Intelligence: A Modern Approach},
- publisher = {Prentice Hall},
- year = 2003,
- note = {2nd edition}}
-
diff --git a/papers/altw-06/altw-06.tex b/papers/altw-06/altw-06.tex
deleted file mode 100644
index fa806b3..0000000
--- a/papers/altw-06/altw-06.tex
+++ /dev/null
@@ -1,864 +0,0 @@
-\documentclass[11pt]{article}
-\usepackage{colacl06}
-\usepackage{times}
-\usepackage{latexsym}
-
-\usepackage{url}
-\usepackage{fancyvrb}
-\usepackage{relsize}
-%\usepackage{float}
-% \restylefloat{table*}
-% \usepackage{placeins}
-
-\usepackage{examples}
-\exampleindent=\leftmargini
-
-\usepackage{fixltx2e}
-
-\newcommand{\code}[1]{\texttt{#1}}
-\newcommand{\ling}[1]{\textit{#1}}
-\newcommand{\prog}[1]{\textsf{#1}}
-\newcommand{\scare}[1]{`#1'}
-
-\newcommand{\bnb}{B\&B}
-\newcommand{\nltk}{\textsc{nltk}}
-\newcommand{\NLP}{\textsc{nlp}}
-
-\RecustomVerbatimEnvironment
-{Verbatim}{Verbatim}
-{frame=lines,fontfamily=courier}
-
-\DefineVerbatimEnvironment%
-{SmVerbatim}{Verbatim}
-{fontsize=\relsize{-2}, frame=lines}
-
-\DefineVerbatimEnvironment%
-{SVerbatim}{Verbatim}
-{fontsize=\relsize{-2}}
-
-\setlength\titlebox{6.5cm} % Expanding the titlebox
-
-\title{Computational Semantics in the \textit{Natural Language Toolkit}}
-
-\author{Ewan Klein\\
- School of Informatics\\
- University of Edinburgh\\
- Scotland, UK\\
- {\tt ewan at inf.ed.ac.uk} }
-
-\date{\today}
-
-\begin{document}
-\maketitle
-\begin{abstract}
- \nltk, the Natural Language Toolkit, is an open source project whose
- goals include providing students with software and language
- resources that will help them to learn basic \NLP. Until now, the
- program modules in \nltk\ have covered such topics as tagging,
- chunking, and parsing, but have not incorporated any aspect of
- semantic interpretation. This paper describes recent work on
- building a new semantics package for \nltk. This currently allows
- semantic representations to be built compositionally as a part of
- sentence parsing, and for the representations to be evaluated by a
- model checker. We present the main components of this work, and
- consider comparisons between the Python implementation and the
- Prolog approach developed by Blackburn and Bos
- \shortcite{Blackburn:2005:RINL}.
-\end{abstract}
-
-%\section{Credits}
-
-
-
-\section{Introduction}
-
-\nltk, the Natural Language
-Toolkit,\footnote{\url{http://nltk.sourceforge.net/}} is an open
-source project whose goals include providing students with software
-and language resources that will help them to learn basic \NLP. \nltk\
-is implemented in Python, and provides a set of modules (grouped into
-packages) which can be imported into the user's Python programs.
-
-Up till now, the modules in \nltk\ have covered such topics as
-tagging, chunking, and parsing, but have not incorporated any aspect
-of semantic interpretation. Over the last year, I have been working
-on remedying this lack, and in this paper I will describe progress to
-date. In combination with the \nltk\ \prog{parse} package, \nltk 's
-\prog{semantics} package currently allow semantic representations to
-be built compositionally within a feature-based chart parser, and
-allows the representations to be evaluated by a model checker.
-
-One source of inspiration for this work came from
-Blackburn and Bos's \shortcite{Blackburn:2005:RINL} landmark book
-\textit{Representation and Inference for Natural Language} (henceforth
-referred to as \bnb). The two primary goals set forth by \bnb\ are (i)
-automating the association of semantic representations with
-expressions of natural language, and (ii) using logical
-representations of natural language to automate the process of drawing
-inferences. I will be focussing on (i), and the related issue of
-defining satisfaction in a model for the semantic representations. By
-contrast, the important topic of (ii) will not be covered---as yet,
-there are no theorem provers in \nltk. That said, as pointed out by
-\bnb, for many inference problems in \NLP\ it is desirable to call
-external and highly sophisticated first-order theorem provers.
-
-One notable feature of \bnb\ is the use of Prolog as the language of
-implementation. It is not hard to defend the use of Prolog in defining
-logical representations, given the presence of first-order clauses in
-Prolog and the fundamental role of resolution in Prolog's model of
-computation. Nevertheless, in some circumstances it may be helpful to
-offer students access to an alternative framework, such as the Python
-implementation presented here. I also hope that the existence of work
-in both programming paradigms will turn out to be mutually beneficial,
-and will lead to a broader community of upcoming researchers becoming
-involved in the area of computational semantics.
-
-% In this paper, I review my experience of attempting to implement
-% something similar to the \cite{Blackburn:2005:RINL} first-order model
-% checker within Python as part of the broader \nltk\ initiative.%
-% \footnote{\url{http://nltk.sourceforge.net/}. See also
-% \cite{Bird:2005:NES}.}
-% One motivation for integrating some formal
-% semantics into \nltk\ is that the latter already provides a wealth of
-% tools for computational linguistics, including a variety of parsers,
-% and this makes it extremely easy for students to anchor their
-% understanding of computational semantics within a broader framework of
-% language processing activities.
-
-
-% Since my primary interest is in the contrast between Prolog and
-% Python, I shall not attempt to consider respects in which Python
-% differs from other procedural languages such as Perl or
-% Java.\footnote{However, see
-% \url{http://nltk.sourceforge.net/lite/doc/en/preface.html} for an
-% illustration of how Python compares with a number of other
-% languages, including Prolog, in performing a simple \NLP\ task.} It
-% should also be noted, of course, that both Python and Prolog offer a
-% wide variety of techniques for implementing concepts from
-% computational semantics, so that a specific approach may say more
-% about the programmer than the language \textit{per se}.
-
-
-\section{Building Semantic Representations}
-
-The initial question that we faced in \nltk\ was how to induce
-semantic representations for English sentences. Earlier efforts by
-Edward Loper and Rob Speer had led to the construction of a chart
-parser for (untyped) feature-based grammars, and we therefore decided
-to introduce a \code{sem} feature to hold the semantics in a parse
-tree node. However, rather than representing the value of \code{sem}
-as a feature structure, we opted for a more traditional (and more
-succinct) logical formalism. Since the $\lambda$ calculus was the
-pedagogically obvious choice of \scare{glue} language for combining
-the semantic representations of subconstituents in a sentence, we
-opted to build on \prog{church.py},%
-\footnote{\url{http://www.alcyone.com/pyos/church/}.} an independent
-implementation of the untyped $\lambda$ calculus due to Erik Max
-Francis. The \nltk\ module \prog{semantics.logic} extends
-\prog{church.py} to bring it closer to first-order logic, though the
-resulting language is still untyped. (\ref{ex:logic1}) illustrates a
-representative formula, translating \ling{A dog barks}. From a Python
-point of view, (\ref{ex:logic1}) is just a string, and has to be
-parsed into an instance of the
-\code{Expression} class from \prog{semantics.logic}.
-\begin{examples}
- \item \verb!some x.(and (dog x) (bark x))! \label{ex:logic1}
-\end{examples}
-The string \code{(dog x)} is analyzed as a function application. A
-statement such as \ling{Suzie chases Fido}, involving a binary
-relation $\mathit{chase}$, will be translated as another function
-application: \code{((chase fido) suzie)}, or equivalently \code{(chase
- fido suzie)}. So in this case, \code{chase} is taken to denote a
-function which, when applied to an argument yields the second function
-denoted by \code{(chase fido)}. Boolean connectives are also parsed
-as functors, as indicated by \code{and} in (\ref{ex:logic1}). However, infix
-notation for Boolean connectives is accepted as input and can also be
-displayed.
-
-
-For comparison, the Prolog counterpart of (\ref{ex:logic1}) on \bnb 's
-approach is shown in (\ref{ex:logic2}).
-\begin{examples}
- \item \verb!some(X,(and(dog(X),bark(X))! \label{ex:logic2}
-\end{examples}
-(\ref{ex:logic2}) is a Prolog term and does not require any
-additional parsing machinery; first-order variables are treated as
-Prolog variables.
-
-(\ref{ex:logic3}) illustrates a $\lambda$ term from
-\prog{semantics.logic} that represents the determiner \ling{a}.
-\begin{examples}
-\item \verb!\Q P.some x.(and (Q x) (P x))! \label{ex:logic3}
-\end{examples}
-\verb!\Q! is
-the ascii rendering of $\lambda Q$, and \verb!\Q P! is
-shorthand for $\lambda Q \lambda P$.
-
-For comparison, (\ref{ex:logic4})
-illustrates the Prolog counterpart of (\ref{ex:logic3}) in \bnb.
-\begin{examples}
-\item \label{ex:logic4}
-\verb!lam(Q,lam(P,some(X,!
-\verb! and(app(Q,X),app(P,X)))))!
-\end{examples}
-Note that \verb!app! is used in \bnb\ to signal the application of a
-$\lambda$ term to an argument. The right-branching structure for
-$\lambda$ terms shown in the Prolog rendering can become fairly
-unreadable when there are multiple bindings. Given that readability is
-a design goal in \nltk, the additional overhead of invoking a
-specialized parser for logical representations is arguable a cost
-worth paying.
-
-
-Figure~\ref{fig:gram} presents a minimal grammar exhibiting the most
-important aspects of the grammar formalism extended with the
-\code{sem} feature.
-\begin{figure*}[tb]
- \centering
-\begin{Verbatim}
-S[sem = <app(?subj,?vp)>] -> NP[sem=?subj] VP[sem=?vp]
-VP[sem=?v] -> IV[sem=?v]
-NP[sem=<app(?det,?n)>] -> Det[sem=?det] N[sem=?n]
-
-Det[sem=<\Q P. some x. ((Q x) and (P x))>] -> 'a'
-N[sem=<dog>] -> 'dog'
-IV[sem=<\x.(bark x)>] -> 'barks'
-\end{Verbatim}
- \caption{Minimal Grammar with Semantics}
- \label{fig:gram}
-\end{figure*}
-Since the values of the \code{sem} feature have to handed off to a
-separate processor, we have adopted the convention of enclosing the values
-in angle brackets, except in the case of variables (e.g., \code{?subj}
-and \code{?vp}), which undergo unification in the usual way. The
-\code{app} relation corresponds to function application;
-
-% Figure~\ref{fig:tree} gives a parse tree produced by the \nltk\ module
-% \prog{parse.featurechart}.
-% \begin{figure*}
-% \begin{tabular}{p{5in}}
-% \begin{Verbatim}
-% ([INIT][]:
-% (S[ sem = ApplicationExpression('(\Q P.some x.(and (Q x) (P x)) dog)', 'bark') ]:
-% (NP[ sem = ApplicationExpression('\Q P.some x.(and (Q x) (P x))', 'dog') ]:
-% (Det[ sem = LambdaExpression('Q', '\P.some x.(and (Q x) (P x))') ]: 'a')
-% (N[ sem = VariableExpression('dog') ]: 'dog'))
-% (VP[ sem = VariableExpression('bark') ]:
-% (IV[ sem = VariableExpression('bark') ]: 'barks'))))
-% \end{Verbatim}
-% \end{tabular}
-% \caption{Parse tree for \ling{a dog barks}}
-% \label{fig:tree}
-% \end{figure*}
-
-In Figure~\ref{fig:tree}, we show a trace produced by the \nltk\ module
-\prog{parse.featurechart}.
-\begin{figure*}[tb]
-{\small
-\begin{Verbatim}
-Predictor |> . . .| S[sem='(?subj ?vp)'] -> * NP[sem=?subj] VP[sem=?vp]
-Predictor |> . . .| NP[sem='(?det ?n)'] -> * Det[sem=?det] N[sem=?n]
-Scanner |[-] . .| [0:1] 'a'
-Completer |[-> . .| NP[sem='(\\Q P.some x.(and (Q x) (P x)) ?n)']
- -> Det[sem='\\Q P.some x.(and (Q x) (P x))'] * N[sem=?n]
-Scanner |. [-] .| [1:2] 'dog'
-Completer |[---] .| NP[sem='(\\Q P.some x.(and (Q x) (P x)) dog)']
- -> Det[sem='\\Q P.some x.(and (Q x) (P x))'] N[sem='dog'] *
-Completer |[---> .| S[sem='(\\Q P.some x.(and (Q x) (P x)) dog ?vp)']
- -> NP[sem='(\\Q P.some x.(and (Q x) (P x)) dog)'] * VP[sem=?vp]
-Predictor |. . > .| VP[sem=?v] -> * V[sem=?v]
-Scanner |. . [-]| [2:3] 'barks'
-Completer |. . [-]| VP[sem='bark'] -> V[sem='bark'] *
-Completer |[=====]| S[sem='(\\Q P.some x.(and (Q x) (P x)) dog bark)']
- -> NP[sem='(\\Q P.some x.(and (Q x) (P x)) dog)'] VP[sem='bark'] *
-Completer |[=====]| [INIT] -> S *
-\end{Verbatim}
-}
- \caption{Parse tree for \ling{a dog barks}}
- \label{fig:tree}
-\end{figure*}
-This illustrates how variable values of the \code{sem} feature are
-instantiated when completed edges are added to the chart. At present,
-$\beta$ reduction is not carried out as the \code{sem} values are
-constructed, but has to be invoked after the parse has completed.
-
-The following example of a session with the Python interactive
-interpreter illustrates how a grammar and a sentence are processed by
-a parser to produce an object \code{tree}; the semantics is extracted
-from the root node of the latter and bound to the variable \code{e},
-which can then be displayed in various ways.
-\begin{SVerbatim}
->>> gram = GrammarFile.read_file('sem1.cfg')
->>> s = 'a dog barks'
->>> tokens = list(tokenize.whitespace(s))
->>> parser = gram.earley_parser()
->>> tree = parser.parse(tokens)
->>> e = root_semrep(tree)
->>> print e
-(\Q P.some x.(and (Q x) (P x)) dog \x.(bark x))
->>> print e.simplify()
-some x.(and (dog x) (bark x))
->>> print e.simplify().infixify()
-some x.((dog x) and (bark x))
-\end{SVerbatim}
-
-
-
-% Although Blackburn and Bos \shortcite{Blackburn:2005:RINL} commence
-% their presentation by a discussion of how to represent first-order
-% formulas in Prolog, I shall defer this discussion, and instead start
-% out by looking at Python data structures which seem to lend themselves
-% to use in building first-order models.
-
-Apart from the pragmatic reasons for choosing a functional language as
-our starting point, there are also theoretical attractions. It helps
-introduce students to the tradition of Montague Grammar
-\cite{Montague:1974:PTQ,Dowty:1981:IMS}, which in turn provides an
-elegant correspondence between binary syntax trees and semantic
-composition rules, in the style celebrated by categorial grammar. In
-the next part of the paper, I will turn to the issue of how to
-represent models for the logical representations.
-
-\section{Representing Models in Python}
-
-Although our logical language is untyped, we will interpret it as
-though it were typed. In particular, expressions which are
-intended to translate unary predicates will be interpreted as
-functions of type $e \rightarrow \{0, 1\}$ (from individuals to truth
-values) and expressions corresponding to binary predicates will be
-interpreted as though they were of
-type $e \rightarrow (e \rightarrow \{0, 1\})$. We will start
-out by looking at data structures which can be used to
-provide denotations for such expressions.
-
-\subsection{Dictionaries and Boolean Types}
-
-The standard mapping type in Python is the dictionary, which
-associates keys with arbitrary values. Dictionaries are the obvious
-choice for representing various kinds of functions, and can be
-specialized by user-defined classes. This means that it is possible to
-benefit from the standard Python operations on dictionaries, while
-adding additional features and constraints, or in some cases
-overriding the standard operations. Since we are assuming that our
-logical language is based on function application, we can readily
-construct the interpretation of $n$-ary relations in terms of
-dictionaries-as-functions.
-
-Characteristic functions (i.e., functions that correspond to sets)
-are dictionaries with Boolean values:
-\begin{Verbatim}
-cf = {'d1': True,
- 'd2': True,
- 'd3': False}
-\end{Verbatim}
-\code{cf} corresponds to the set $\{d_1, d_2\}$. Since functions are
-being implemented as dictionaries, function application is implemented
-as indexing (e.g., \code{cf['d1']} applies \code{cf} to argument
-\code{'d1'}). Note that \code{True} and \code{False} are
-instances of the Python built-in \code{bool} type, and can be used
-in any Boolean context. Since Python also includes \code{and} and
-\code{not}, we can make statements (here, using the Python interactive
-interpreter) such as the following:
-\begin{Verbatim}
->>> cf['d1'] and not cf['d3']
-True
-\end{Verbatim}
-As mentioned earlier, relations of higher arity are also modeled as
-functions. For example, a binary relation will be a function from
-entities to a characteristic function; we can call these `curryed
-characteristic functions'.
-\begin{Verbatim}
-cf2 = {'d2': {'d1': True},
- 'd3': {'d2': True}}
-\end{Verbatim}
-\code{cf2} corresponds to the relation $\{(d_1, d_2), (d_2, d_3)\}$,
-on two assumptions. First, we are allowed to omit values terminating
-in \code{False}, since arguments that are missing the function will
-be taken to yield \code{False}. Second, as in Montague Grammar, the
-`object' argument of a binary relation is consumed before the
-`subject' argument. Thus we write $((\mathit{love}\; m)\; j)$ in place
-of $\mathit{love}(j, m)$. Recall that we also allow the abbreviated form
-$(\mathit{love}\; m\; j)$
-
-Once we have curryed characteristic functions in place, it is
-straightforward to implement the valuation of non-logical constants as a
-another dictionary-based class \code{Valuation}, where constants are
-the keys and the values are functions (or entities in the case of
-individual constants).
-
-While variable assignments could be treated as a list of
-variable-value pairs, as in \bnb, an alternative
-is again to use a dictionary-based class. This approach makes it
-relatively easy to impose further restrictions on assignments, such as
-only assigning values to strings of the form \code{x}, \code{y},
-\code{z}, \code{x0}, \code{x1}, \ldots.
-
-
-\subsection{Sets}
-
-Python provides support for sets, including standard operations such as
-intersection and subset relationships. Sets are useful in a wide
-variety of contexts. For example, instances of the class
-\code{Valuation} can be given a property \code{domain}, consisting
-of the \code{set} of entities that act as keys in curryed
-characteristic functions; then a condition on objects in the
-\code{Model} class is that the \code{domain} of some model
-\code{m} is a superset
-of \code{m}'s \code{valuation.domain}:
-\begin{Verbatim}
-m.domain.issuperset
- (m.valuation.domain)
-\end{Verbatim}
-
-For convenience, \code{Valuation} objects
-have a \code{read} method which allows $n$-ary predicates to be
-specified as relations (i.e., sets of tuples) rather than functions.
-In the following example, \verb!rel! is a set consisting of the
-pairs \code{('d1', 'd2')} and \code{('d2', 'd3')}.
-\begin{Verbatim}
-val = Valuation()
-rel = set([('d1', 'd2'),('d2', 'd3')])
-val.read([('love', rel)])
-\end{Verbatim}
-\code{read} converts \code{rel} internally to the curryed
-characteristic function \code{cf2} defined earlier.
-
-\section{Key Concepts}
-
-\subsection{Satisfaction}
-
-
-The definition of satisfaction presupposes that we have defined a
-first-order language, and that we have a way of parsing that language
-so that satisfaction can be stated recursively. In the interests of
-modularity, it seems desirable to make the relationship between
-language and interpretation less tightly coupled than it is on the
-approach of \bnb; for example, we would like to be able apply similar
-evaluation techniques to different logical representations.
-In the current \nltk\ implementation, the
-\verb!nltk_lite.semantics.evaluate! module imports a second module
-\code{logic}, and calls a \code{parse} method from this module to
-determine whether a given Python string can be analysed as first-order
-formula. However, \code{evaluate} tries to make relatively weak
-assumptions about the resulting parse structure. Specifically, given a
-parsed expression, it tries to match the structure with one of the
-following three kinds of pattern:
-\begin{Verbatim}
-(binder, body)
-(op, arg_list)
-(fun, arg)
-\end{Verbatim}
-Any string which cannot be decomposed is taken to be a
-primitive (that is, a non-logical constant or individual variable).
-
-A \code{binder} can be a $\lambda$ or a quantifier (existential or
-universal); an \code{op} can be a Boolean connective or the equality
-symbol. Any other paired expression is assumed to be a function
-application. In principle, it should be possible to interface the
-\code{evaluate} module with any parser for first-order formulas which
-can deliver these structures. Although the model checker expects
-predicate-argument structure as function applications, it would be
-straightforward to accept atomic clauses that have been parsed into a
-predicate and a list of arguments.
-
-Following the functional style of interpretation, Boolean connectives
-in \code{evaluate} are interpreted as truth functions; for example,
-the connective \code{and} can be interpreted as the function
-\code{AND}:
-\begin{Verbatim}
-AND = {True: {True: True,
- False: False},
- False: {True: False,
- False: False}}
-\end{Verbatim}
-We define \code{OPS} as a mapping between the Boolean connectives
-and their associated truth functions. Then the simplified clause for
-the satisfaction of Boolean formulas looks as follows:%
-\footnote{In order to simplify presentation, tracing and some error
- handling code has been omitted from definitions. Object-oriented
- uses of \code{self} have also been suppressed.}
-\begin{SmVerbatim}
-def satisfy(expr, g):
- if parsed(expr) == (op, args)
- if args == (phi, psi):
- val1 = satisfy(phi, g)
- val2 = satisfy(psi, g)
- return OPS[op][val1][val2]
-\end{SmVerbatim}
-% Although Boolean connectives are treated as functions, we also allow
-% infix notation; both of the following formulas are interpretable.
-% \begin{Verbatim}
-% (or (and p q) r)
-% ((p and q) or r)
-% \end{Verbatim}
-% However, since negation is also parsed as an application, we have to
-% be careful to insert brackets properly:
-% \begin{Verbatim}
-% (p or (not p))
-% (not (not p))
-% \end{Verbatim}
-
-% The \code{satisfy} function is defined as a method of the
-% \code{Model} class, and this requires us to use
-% \code{self.satisfy} in recursive calls.
-In this and subsequent clauses for \code{satisfy}, the return value
-is intended to be one of Python's Boolean values, \code{True} or
-\code{False}. (The exceptional case, where the result is undefined,
-is discussed in Section~\ref{sec:partial}.)
-
-An equally viable (and probably more efficient) alternative to logical
-connnectives would be to use the native Python Boolean operators. The
-approach adopted here was chosen on the grounds that it conforms to
-the functional framework adopted elsewhere in the semantic
-representations, and can be expressed succinctly in the satisfaction
-clauses. By contrast, in the \bnb\ Prolog implementation, \code{and}
-and \code{or} each require five clauses in the satisfaction definition
-(one for each combination of Boolean-valued arguments, and a fifth for
-the `undefined' case).
-
-We will defer discussion of the quantifiers to the next section.
-The \code{satisfy} clause for function application is similar to
-that for the connectives. In
-order to handle type errors, application is delegated to a wrapper
-function \code{app} rather than by directly indexing the curryed
-characteristic function as described earlier.
-\begin{SmVerbatim}
- ...
- elif parsed(expr) == (fun, arg):
- funval = satisfy(fun, g)
- argval = satisfy(psi, g)
- return app(funval, argval)
-\end{SmVerbatim}
-
-
-\subsection{Quantifers}
-Examples of quantified formulas accepted by the \code{evaluate} module
-are pretty unexceptional. \ling{Some boy loves every girl} is rendered as:
-\begin{Verbatim}
-'some x.((boy x) and
- all y.((girl y) implies
- (love y x)))'
-\end{Verbatim}
-
-The first step in interpreting quantified formulas is to define the
-\textit{satisfiers} of a formula that is open in some
-variable. Formally, given an open formula $\phi[x]$ dependent on $x$
-and a model with domain $D$, we define the set $sat(\phi [x], g)$ of
-satisfiers of $\phi[x]$ to be:
-\[
- \{u \in D: \mathit{satisfy}(\phi [x], g[u/x]) = \mathit{True} \}
-\]
-We use `$g[u/x]$' to mean that assignment which is just like $g$
-except that $g(x) = u$. In Python, we can build the
-set $sat(\phi [x], g)$ with a \code{for} loop.%
-\footnote{The function \code{satisfiers} is an instance method of the
- \code{Models} class, and \code{domain} is an attribute of that class.}
-\begin{SmVerbatim}
-def satisfiers(expr, var, g):
- candidates = []
- if freevar(var, expr):
- for u in domain:
- g.add(u, var)
- if satisfy(expr, g):
- candidates.append(u)
- return set(candidates)
-\end{SmVerbatim}
-An existentially quantified formula $\exists x.\phi[x]$ is held to be
-true if and only if $sat(\phi [x], g)$ is nonempty. In Python,
-\code{len} can be used to return the cardinality of a set.
-\begin{SmVerbatim}
- ...
- elif parsed(expr) == (binder, body):
- if binder == ('some', var):
- sat = satisfiers(body, var, g)
- return len(sat) > 0
-
-\end{SmVerbatim}
-In other words, a formula $\exists x.\phi[x]$ has the same value in
-model $M$ as the statement that the number of satisfiers in $M$ of
-$\phi[x]$ is greater than $0$.
-
-For comparison, Figure~\ref{fig:bb} shows the two Prolog clauses (one
-for truth and one for falsity) used to evaluate existentially
-quantified formulas in the \bnb\ code \code{modelChecker2.pl}.
-\begin{figure*}[tb]
- \centering
-{\small
-\begin{Verbatim}
-satisfy(Formula,model(D,F),G,pos):-
- nonvar(Formula),
- Formula = some(X,SubFormula),
- var(X),
- memberList(V,D),
- satisfy(SubFormula,model(D,F),[g(X,V)|G],pos).
-
-satisfy(Formula,model(D,F),G,neg):-
- nonvar(Formula),
- Formula = some(X,SubFormula),
- var(X),
- setof(V,memberList(V,D),All),
- setof(V,
- (
- memberList(V,D),
- satisfy(SubFormula,model(D,F),[g(X,V)|G],neg)
- ),
- All).
-\end{Verbatim}
-}
- \caption{Prolog Clauses for Existential Quantification}
- \label{fig:bb}
-\end{figure*}
-One reason why these clauses look more complex than their Python
-counterparts is that they include code for building the list of
-satisfiers by recursion.
-However, in Python we gain bivalency from
-the use of Boolean types as return values, and do not need to
-explicitly mark the polarity of the satisfaction clause. In addition,
-processing of sets and lists is supplied by a built-in Python library
-which avoids the use of predicates such as \code{memberList} and the
-\code{[Head|Tail]} notation.
-
-A universally quantified formula $\forall x.\phi[x]$ is held to be
-true if and only if every $u$ in the model's domain $D$ belongs to
-$sat(\phi [x], g)$. The \code{satisfy} clause above for
-existentials can therefore be extended with the clause:
-\begin{SmVerbatim}
- ...
- elif parsed(expr) == (binder, body):
- ...
- elif binder == ('all', var):
- sat = self.satisfiers(body,var,g)
- return domain.issubset(sat)
-\end{SmVerbatim}
-In other words, a formula $\forall x. \phi[x]$ has the same value
-in model $M$ as the statement that the domain of $M$ is a subset of the
-set of satisfiers in $M$ of $\phi[x]$.
-
-
-\subsection{Partiality}
-\label{sec:partial}
-
-
-As pointed out by \bnb, there are at least two
-cases where we might want the model checker to yield an `Undefined'
-value. The first is when we try to assign a semantic value to an
-unknown vocabulary item (i.e., to an unknown non-logical
-constant). The second arises through the use of partial variable
-assignments, when we try to evaluate $g(x)$ for some variable $x$ that
-is outside $g$'s domain. We adopt the assumption that if any sub-part
-of a complex expression is undefined, then the whole expression is
-undefined.%
-\footnote{This is not the only approach, since one could adopt the
- position that a tautology such as $p \vee \neg p$ should be true
- even if $p$ is undefined.}
-This means that an `undefined' value needs to propagate through all
-the recursive clauses of the \code{satisfy} function. This is
-potentially quite tedious to implement, since it means that instead of
-the clauses being able to expect return values to be Boolean, we also
-need to allow some alternative return type, such as a
-string. Fortunately, Python offers a nice solution through its
-exception handling mechanism.
-
-It is possible to create a new class of exceptions, derived from
-Python's \code{Exception} class. The \code{evaluate} module defines
-the class \code{Undefined}, and any function called by
-\code{satisfy} which attempts to interpret unknown vocabulary or
-assign a value to an out-of-domain variable will raise an
-\code{Undefined} exception. A recursive call within \code{satisfy}
-will automatically raise an \code{Undefined} exception to the
-calling function, and this means that an `undefined' value is
-automatically propagated up the stack without any additional
-machinery. At the top level, we wrap \code{satisfy} with a function
-\code{evaluate} which handles the exception by returning the string
-\code{'Undefined'} as value, rather than allowing the exception to
-raise any higher.
-
-
-\textsc{eafp} stands for `Easier to ask for forgiveness than
-permission'. According to van Rossum \shortcite{vanRossum:2006:PT},
-``this common Python coding style assumes the existence of valid keys
-or attributes and catches exceptions if the assumption proves false.''
-It contrasts with \textsc{lbyl} (`Look before you leap'), which explicitly
-tests for pre-conditions (such as type checks) before making calls or
-lookups. To continue with the discussion of partiality, we can see an
-example of \textsc{eafp} in the definition of the \code{i} function, which
-handles the interpretion of non-logical constants and individual
-variables.
-\begin{Verbatim}
-try:
- return self.valuation[expr]
-except Undefined:
- return g[expr]
-\end{Verbatim}
-We first try to evaluate \code{expr} as a non-logical constant; if
-\code{valuation} throws an \code{Undefined} exception, we check
-whether \code{g} can assign a value. If the latter also throws an
-\code{Undefined} exception, this will automatically be raised to the
-calling function.
-
-To sum up, an attractive consequence of this approach in Python is
-that no additional stipulations need to be added to the recursive
-clauses for interpreting Boolean connectives. By contrast, in the \bnb\
-\code{modelChecker2.pl} code, the clauses for existential
-quantification shown in Figure~\ref{fig:bb} need to be supplemented
-with a separate clause for the `undefined' case. In addition, as
-remarked earlier, each Boolean connective receives an additional
-clause when undefined.
-
-
-
-\section{Specifying Models}
-
-Models are specified by instantiating the \code{Model} class. At
-initialization, two parameters are called, determining the model's
-domain and valuation function. In Table~\ref{fig:folmodel}, we start
-by creating a \code{Valuation} object \code{val} (line 1), we then
-specify the valuation as a list \code{v} of \textit{constant-value}
-pairs (lines 2--9), using relational notation. For example, the value
-for \code{'adam'} is the individual \code{'d1'} (i.e., a Python
-string); the value for \code{'girl'} is the set consisting of
-individuals \code{'g1'} and \code{'g1'}; and the value for
-\code{'love'} is a set of pairs, as described above. We use the
-\code{parse} method to update \code{val} with this information
-(line 10). As mentioned earlier, a \code{Valuation} object has a
-\code{domain} property (line 11), and in this case \code{dom} will
-evaluate to the set \code{set(['b1', 'b2', 'g1', 'g2', 'd1'])}. It
-is convenient to use this set as the value for the model's domain when
-it is initialized (line 12). We also declare an \code{Assignment}
-object (line 13), specifying that its domain is the same as the model's
-domain.
-\begin{figure*}[tb]
- \centering
-{\small
-\begin{Verbatim}[numbers=right]
-val = Valuation()
-v = [('adam', 'b1'), ('betty', 'g1'), ('fido', 'd1'),\
- ('girl', set(['g1', 'g2'])),\
- ('boy', set(['b1', 'b2'])),\
- ('dog', set(['d1'])),\
- ('love', set([('b1', 'g1'),\
- ('b2', 'g2'),\
- ('g1', 'b1'),\
- ('g2', 'b1')]))]
-val.parse(v)
-dom = val.domain
-m = Model(dom, val)
-g = Assignment(dom, {'x': 'b1', 'y': 'g2'})
-\end{Verbatim}
-}
- \caption{First-order model \code{m}}
- \label{fig:folmodel}
-\end{figure*}
-
-Given model \code{m} and assignment \code{g}, we can evaluate
-\code{m.satisfiers(formula, g)}, for various values of
-\code{formulas}. This is quite a handy way of getting a feel for how
-connectives and quantifiers interact. A range of cases is illustrated
-in Table~\ref{fig:satisfiers}. As pointed out earlier, all formulas
-are represented as Python strings, and therefore need to be parsed
-before being evaluated.
-\begin{figure*}[htb]
- \centering
-{\small
- \begin{tabular}{ll}
- Formula open in $x$ & Satisfiers \\ \hline
-\code{'(boy x)'} & \code{set(['b1', 'b2'])}\\
-\code{'(x = x)'} & \code{set(['b1', 'b2', 'g2', 'g1', 'd1'])}\\
-\code{'((boy x) or (girl x))'} & \code{set(['b2', 'g2', 'g1', 'b1'])}\\
-\code{'((boy x) and (girl x))'} & \code{set([])}\\
-\code{'(love x adam)'} & \code{set(['g1'])}\\
-\code{'(love adam x)'} & \code{set(['g2', 'g1'])}\\
-\code{'(not (x = adam))'} & \code{set(['b2', 'g2', 'g1', 'd1'])}\\
-\code{'some y.(love x y)'} & \code{set(['g2', 'g1', 'b1'])}\\
-\code{'all y.((girl y) implies (love y x))'} & \code{set([])}\\
-\code{'all y.((girl y) implies (love x y))'} & \code{set(['b1'])}\\
-\code{'((girl x) implies (dog x))'} & \code{set(['b1', 'b2', 'd1'])}\\
-\code{'all y.((dog y) implies (x = y))'} & \code{set(['d1'])}\\
-\code{'(not some y.(love x y))'} & \code{set(['b2', 'd1'])}\\
-\code{'some y.((love y adam) and (love x y))'} & \code{set(['b1'])}\\
- \end{tabular}
-}
- \caption{Satisfiers in model \code{m}}
- \label{fig:satisfiers}
-\end{figure*}
-
-% Tracing of the evaluation process in the \code{evaluate} module is
-% still fairly rudimentary. Table~\ref{tab:trace} illustrates a trace of
-% the model checking carried out on
-% \code{'all x.((boy x) or (girl x))}. Although the final line of the trace
-% specifies a specific assigment, in fact variable assignments are
-% always set to be empty before evaluation commences; in other words,
-% closed formulas are true or false under arbitrary assignments.
-% \begin{table*}
-% \centering
-% \begin{tabular}{p{5in}}
-% \begin{Verbatim}
-% Open formula is '(or (boy x) (girl x))' with assignment g
-% ...trying assignment g[g2/x]
-% value of '(or (boy x) (girl x))' under g[g2/x] is True
-% ...trying assignment g[g1/x]
-% value of '(or (boy x) (girl x))' under g[g1/x] is True
-% ...trying assignment g[d1/x]
-% value of '(or (boy x) (girl x))' under g[d1/x] is False
-% ...trying assignment g[b2/x]
-% value of '(or (boy x) (girl x))' under g[b2/x] is True
-% ...trying assignment g[b1/x]
-% value of '(or (boy x) (girl x))' under g[b1/x] is True
-% '(boy x)' evaluates to False under M, g[d1/x]
-% '(girl x)' evaluates to False under M, g[d1/x]
-% '(or (boy x) (girl x))' evaluates to False under M, g[d1/x]
-% 'all x.((boy x) or (girl x))' evaluates to False under M, g[d1/x]
-% \end{Verbatim}
-% \end{tabular}
-% \caption{Sample Evaluation Trace}
-% \label{tab:trace}
-% \end{table*}
-
-%\FloatBarrier
-\section{Conclusion}
-
-In this paper, I have tried to show how various aspects of Python lend
-themselves well to the task of interpreting first-order formulas,
-following closely in the footsteps of Blackburn and Bos. I argue that
-at least in some cases, the Python implementation compares quite
-favourably to a Prolog-based approach. It will be observed that I have
-not considered efficiency issues. Although these cannot be ignored
-(and are certainly worth exploring), they are not a priority at this
-stage of development. As discussed at the outset, our main goal is
-develop a framework that can be used to communicate key ideas of
-formal semantics to students, rather than to build systems which can
-scale easily to tackle large problems.
-
-Clearly, there are many design choices to be made in any
-implementation, and an alternative framework which overlaps in part
-with what I have presented can be found in the Python code
-supplement to \cite{Russell:2003:AIMA}.%
-\footnote{\url{http://aima.cs.berkeley.edu/python}}
-One important distinction is that the approach adopted here is
-explicitly targeted at students learning computational linguistics,
-rather than being intended for a more general artificial intelligence
-audience.
-
-While I have restricted attention to rather basic topics in semantic
-interpretation, there is no obstacle to addressing more sophisticated
-topics in computational semantics. For example, I have not tried to
-address the crucial issue of quantifier scope ambiguity. However, work
-by Peter Wang (author of the \nltk\ module
-\verb!nltk_lite.contrib.hole!) implements the Hole Semantics of
-\bnb. This module contains a `plugging' algorithm which converts
-underspecified representations into fully-specified first-order logic
-formulas that can be displayed textually or graphically. In future
-work, we plan to extend the \prog{semantics} package in various
-directions, in particular by adding some basic inferencing mechanisms
-to \nltk.
-
-\subsection*{Acknowledgements}
-I am very grateful to Steven Bird, Patrick Blackburn, Alex Lascarides and
-three anonymous reviewers for helpful feedback and comments.
-
-\bibliographystyle{acl}
-\bibliography{altw-06}
-
-
-
-\end{document}
diff --git a/papers/altw-06/colacl06.sty b/papers/altw-06/colacl06.sty
deleted file mode 100644
index ebc0598..0000000
--- a/papers/altw-06/colacl06.sty
+++ /dev/null
@@ -1,368 +0,0 @@
-% File colacl06.sty
-% This is the LaTeX style file for COLING/ACL 2006. It is identical to the style file for EACL 2006.
-
-% File eacl2006.sty
-% September 19, 2005
-% Contact: e.agirre at ehu.es or Sergi.Balari at uab.es
-
-% This is the LaTeX style file for EACL 2006. It is nearly identical to the
-% style files for ACL2005, ACL 2002, ACL 2001, ACL 2000, EACL 95 and EACL
-% 99.
-%
-% Changes made include: adapt layout to A4 and centimeters, widden abstract
-
-% This is the LaTeX style file for ACL 2000. It is nearly identical to the
-% style files for EACL 95 and EACL 99. Minor changes include editing the
-% instructions to reflect use of \documentclass rather than \documentstyle
-% and removing the white space before the title on the first page
-% -- John Chen, June 29, 2000
-
-% To convert from submissions prepared using the style file aclsub.sty
-% prepared for the ACL 2000 conference, proceed as follows:
-% 1) Remove submission-specific information: \whichsession, \id,
-% \wordcount, \otherconferences, \area, \keywords
-% 2) \summary should be removed. The summary material should come
-% after \maketitle and should be in the ``abstract'' environment
-% 3) Check all citations. This style should handle citations correctly
-% and also allows multiple citations separated by semicolons.
-% 4) Check figures and examples. Because the final format is double-
-% column, some adjustments may have to be made to fit text in the column
-% or to choose full-width (\figure*} figures.
-% 5) Change the style reference from aclsub to acl2000, and be sure
-% this style file is in your TeX search path
-
-
-% This is the LaTeX style file for EACL-95. It is identical to the
-% style file for ANLP '94 except that the margins are adjusted for A4
-% paper. -- abney 13 Dec 94
-
-% The ANLP '94 style file is a slightly modified
-% version of the style used for AAAI and IJCAI, using some changes
-% prepared by Fernando Pereira and others and some minor changes
-% by Paul Jacobs.
-
-% Papers prepared using the aclsub.sty file and acl.bst bibtex style
-% should be easily converted to final format using this style.
-% (1) Submission information (\wordcount, \subject, and \makeidpage)
-% should be removed.
-% (2) \summary should be removed. The summary material should come
-% after \maketitle and should be in the ``abstract'' environment
-% (between \begin{abstract} and \end{abstract}).
-% (3) Check all citations. This style should handle citations correctly
-% and also allows multiple citations separated by semicolons.
-% (4) Check figures and examples. Because the final format is double-
-% column, some adjustments may have to be made to fit text in the column
-% or to choose full-width (\figure*} figures.
-
-% Place this in a file called aclap.sty in the TeX search path.
-% (Placing it in the same directory as the paper should also work.)
-
-% Prepared by Peter F. Patel-Schneider, liberally using the ideas of
-% other style hackers, including Barbara Beeton.
-% This style is NOT guaranteed to work. It is provided in the hope
-% that it will make the preparation of papers easier.
-%
-% There are undoubtably bugs in this style. If you make bug fixes,
-% improvements, etc. please let me know. My e-mail address is:
-% pfps at research.att.com
-
-% Papers are to be prepared using the ``acl'' bibliography style,
-% as follows:
-% \documentclass[11pt]{article}
-% \usepackage{acl2000}
-% \title{Title}
-% \author{Author 1 \and Author 2 \\ Address line \\ Address line \And
-% Author 3 \\ Address line \\ Address line}
-% \begin{document}
-% ...
-% \bibliography{bibliography-file}
-% \bibliographystyle{acl}
-% \end{document}
-
-% Author information can be set in various styles:
-% For several authors from the same institution:
-% \author{Author 1 \and ... \and Author n \\
-% Address line \\ ... \\ Address line}
-% if the names do not fit well on one line use
-% Author 1 \\ {\bf Author 2} \\ ... \\ {\bf Author n} \\
-% For authors from different institutions:
-% \author{Author 1 \\ Address line \\ ... \\ Address line
-% \And ... \And
-% Author n \\ Address line \\ ... \\ Address line}
-% To start a seperate ``row'' of authors use \AND, as in
-% \author{Author 1 \\ Address line \\ ... \\ Address line
-% \AND
-% Author 2 \\ Address line \\ ... \\ Address line \And
-% Author 3 \\ Address line \\ ... \\ Address line}
-
-% If the title and author information does not fit in the area allocated,
-% place \setlength\titlebox{<new height>} right after
-% \usepackage{acl2000}
-% where <new height> can be something larger than 2.25in
-
-% \typeout{Conference Style for ACL 2000 -- released June 20, 2000}
-\typeout{Conference Style for ACL 2005 -- released Octobe 11, 2004}
-
-% NOTE: Some laser printers have a serious problem printing TeX output.
-% These printing devices, commonly known as ``write-white'' laser
-% printers, tend to make characters too light. To get around this
-% problem, a darker set of fonts must be created for these devices.
-%
-
-%% % Physical page layout - slightly modified from IJCAI by pj
-%% \setlength\topmargin{0.0in} \setlength\oddsidemargin{-0.0in}
-%% \setlength\textheight{9.0in} \setlength\textwidth{6.5in}
-%% \setlength\columnsep{0.2in}
-%% \newlength\titlebox
-%% \setlength\titlebox{2.25in}
-%% \setlength\headheight{0pt} \setlength\headsep{0pt}
-%% %\setlength\footheight{0pt}
-%% \setlength\footskip{0pt}
-%% \thispagestyle{empty} \pagestyle{empty}
-%% \flushbottom \twocolumn \sloppy
-
-%% Original A4 version of page layout
-%% \setlength\topmargin{-0.45cm} % changed by Rz -1.4
-%% \setlength\oddsidemargin{.8mm} % was -0cm, changed by Rz
-%% \setlength\textheight{23.5cm}
-%% \setlength\textwidth{15.8cm}
-%% \setlength\columnsep{0.6cm}
-%% \newlength\titlebox
-%% \setlength\titlebox{2.00in}
-%% \setlength\headheight{5pt}
-%% \setlength\headsep{0pt}
-%% \setlength\footheight{0pt}
-%% \setlength\footskip{0pt}
-%% \thispagestyle{empty}
-%% \pagestyle{empty}
-
-% A4 modified by Eneko
-\setlength{\paperwidth}{21cm} % A4
-\setlength{\paperheight}{29.7cm}% A4
-\setlength\topmargin{-0.5cm}
-\setlength\oddsidemargin{0cm}
-\setlength\textheight{24.7cm}
-\setlength\textwidth{16.0cm}
-\setlength\columnsep{0.6cm}
-\newlength\titlebox
-\setlength\titlebox{2.00in}
-\setlength\headheight{5pt}
-\setlength\headsep{0pt}
-\thispagestyle{empty}
-\pagestyle{empty}
-
-
-\flushbottom \twocolumn \sloppy
-
-% We're never going to need a table of contents, so just flush it to
-% save space --- suggested by drstrip at sandia-2
-\def\addcontentsline#1#2#3{}
-
-% Title stuff, taken from deproc.
-\def\maketitle{\par
- \begingroup
- \def\thefootnote{\fnsymbol{footnote}}
- \def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}}
- \twocolumn[\@maketitle] \@thanks
- \endgroup
- \setcounter{footnote}{0}
- \let\maketitle\relax \let\@maketitle\relax
- \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
-\def\@maketitle{\vbox to \titlebox{\hsize\textwidth
- \linewidth\hsize \vskip 0.125in minus 0.125in \centering
- {\Large\bf \@title \par} \vskip 0.2in plus 1fil minus 0.1in
- {\def\and{\unskip\enspace{\rm and}\enspace}%
- \def\And{\end{tabular}\hss \egroup \hskip 1in plus 2fil
- \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf}%
- \def\AND{\end{tabular}\hss\egroup \hfil\hfil\egroup
- \vskip 0.25in plus 1fil minus 0.125in
- \hbox to \linewidth\bgroup\large \hfil\hfil
- \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf}
- \hbox to \linewidth\bgroup\large \hfil\hfil
- \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf\@author
- \end{tabular}\hss\egroup
- \hfil\hfil\egroup}
- \vskip 0.3in plus 2fil minus 0.1in
-}}
-
-% margins for abstract
-\renewenvironment{abstract}%
- {\centerline{\large\bf Abstract}%
- \begin{list}{}%
- {\setlength{\rightmargin}{0.6cm}%
- \setlength{\leftmargin}{0.6cm}}%
- \item[]\ignorespaces}%
- {\unskip\end{list}}
-
-%\renewenvironment{abstract}{\centerline{\large\bf
-% Abstract}\vspace{0.5ex}\begin{quote}}{\par\end{quote}\vskip 1ex}
-
-
-% bibliography
-
-\def\thebibliography#1{\section*{References}
- \global\def\@listi{\leftmargin\leftmargini
- \labelwidth\leftmargini \advance\labelwidth-\labelsep
- \topsep 1pt plus 2pt minus 1pt
- \parsep 0.25ex plus 1pt \itemsep 0.25ex plus 1pt}
- \list {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth
- \advance\leftmargin\labelsep\usecounter{enumi}}
- \def\newblock{\hskip .11em plus .33em minus -.07em}
- \sloppy
- \sfcode`\.=1000\relax}
-
-\def\@up#1{\raise.2ex\hbox{#1}}
-
-% most of cite format is from aclsub.sty by SMS
-
-% don't box citations, separate with ; and a space
-% also, make the penalty between citations negative: a good place to break
-% changed comma back to semicolon pj 2/1/90
-% \def\@citex[#1]#2{\if at filesw\immediate\write\@auxout{\string\citation{#2}}\fi
-% \def\@citea{}\@cite{\@for\@citeb:=#2\do
-% {\@citea\def\@citea{;\penalty\@citeseppen\ }\@ifundefined
-% {b@\@citeb}{{\bf ?}\@warning
-% {Citation `\@citeb' on page \thepage \space undefined}}%
-% {\csname b@\@citeb\endcsname}}}{#1}}
-
-% don't box citations, separate with ; and a space
-% Replaced for multiple citations (pj)
-% don't box citations and also add space, semicolon between multiple citations
-\def\@citex[#1]#2{\if at filesw\immediate\write\@auxout{\string\citation{#2}}\fi
- \def\@citea{}\@cite{\@for\@citeb:=#2\do
- {\@citea\def\@citea{; }\@ifundefined
- {b@\@citeb}{{\bf ?}\@warning
- {Citation `\@citeb' on page \thepage \space undefined}}%
- {\csname b@\@citeb\endcsname}}}{#1}}
-
-% Allow short (name-less) citations, when used in
-% conjunction with a bibliography style that creates labels like
-% \citename{<names>, }<year>
-%
-\let\@internalcite\cite
-\def\cite{\def\citename##1{##1, }\@internalcite}
-\def\shortcite{\def\citename##1{}\@internalcite}
-\def\newcite{\def\citename##1{{\frenchspacing##1} (}\@internalciteb}
-
-% Macros for \newcite, which leaves name in running text, and is
-% otherwise like \shortcite.
-\def\@citexb[#1]#2{\if at filesw\immediate\write\@auxout{\string\citation{#2}}\fi
- \def\@citea{}\@newcite{\@for\@citeb:=#2\do
- {\@citea\def\@citea{;\penalty\@m\ }\@ifundefined
- {b@\@citeb}{{\bf ?}\@warning
- {Citation `\@citeb' on page \thepage \space undefined}}%
-{\csname b@\@citeb\endcsname}}}{#1}}
-\def\@internalciteb{\@ifnextchar [{\@tempswatrue\@citexb}{\@tempswafalse\@citexb[]}}
-
-\def\@newcite#1#2{{#1\if at tempswa, #2\fi)}}
-
-\def\@biblabel#1{\def\citename##1{##1}[#1]\hfill}
-
-%%% More changes made by SMS (originals in latex.tex)
-% Use parentheses instead of square brackets in the text.
-\def\@cite#1#2{({#1\if at tempswa , #2\fi})}
-
-% Don't put a label in the bibliography at all. Just use the unlabeled format
-% instead.
-\def\thebibliography#1{\vskip\parskip%
-\vskip\baselineskip%
-\def\baselinestretch{1}%
-\ifx\@currsize\normalsize\@normalsize\else\@currsize\fi%
-\vskip-\parskip%
-\vskip-\baselineskip%
-\section*{References\@mkboth
- {References}{References}}\list
- {}{\setlength{\labelwidth}{0pt}\setlength{\leftmargin}{\parindent}
- \setlength{\itemindent}{-\parindent}}
- \def\newblock{\hskip .11em plus .33em minus -.07em}
- \sloppy\clubpenalty4000\widowpenalty4000
- \sfcode`\.=1000\relax}
-\let\endthebibliography=\endlist
-
-% Allow for a bibliography of sources of attested examples
-\def\thesourcebibliography#1{\vskip\parskip%
-\vskip\baselineskip%
-\def\baselinestretch{1}%
-\ifx\@currsize\normalsize\@normalsize\else\@currsize\fi%
-\vskip-\parskip%
-\vskip-\baselineskip%
-\section*{Sources of Attested Examples\@mkboth
- {Sources of Attested Examples}{Sources of Attested Examples}}\list
- {}{\setlength{\labelwidth}{0pt}\setlength{\leftmargin}{\parindent}
- \setlength{\itemindent}{-\parindent}}
- \def\newblock{\hskip .11em plus .33em minus -.07em}
- \sloppy\clubpenalty4000\widowpenalty4000
- \sfcode`\.=1000\relax}
-\let\endthesourcebibliography=\endlist
-
-\def\@lbibitem[#1]#2{\item[]\if at filesw
- { \def\protect##1{\string ##1\space}\immediate
- \write\@auxout{\string\bibcite{#2}{#1}}\fi\ignorespaces}}
-
-\def\@bibitem#1{\item\if at filesw \immediate\write\@auxout
- {\string\bibcite{#1}{\the\c at enumi}}\fi\ignorespaces}
-
-% sections with less space
-\def\section{\@startsection {section}{1}{\z@}{-2.0ex plus
- -0.5ex minus -.2ex}{1.5ex plus 0.3ex minus .2ex}{\large\bf\raggedright}}
-\def\subsection{\@startsection{subsection}{2}{\z@}{-1.8ex plus
- -0.5ex minus -.2ex}{0.8ex plus .2ex}{\normalsize\bf\raggedright}}
-\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{1.5ex plus
- 0.5ex minus .2ex}{0.5ex plus .2ex}{\normalsize\bf\raggedright}}
-\def\paragraph{\@startsection{paragraph}{4}{\z@}{1.5ex plus
- 0.5ex minus .2ex}{-1em}{\normalsize\bf}}
-\def\subparagraph{\@startsection{subparagraph}{5}{\parindent}{1.5ex plus
- 0.5ex minus .2ex}{-1em}{\normalsize\bf}}
-
-% Footnotes
-\footnotesep 6.65pt %
-\skip\footins 9pt plus 4pt minus 2pt
-\def\footnoterule{\kern-3pt \hrule width 5pc \kern 2.6pt }
-\setcounter{footnote}{0}
-
-% Lists and paragraphs
-\parindent 1em
-\topsep 4pt plus 1pt minus 2pt
-\partopsep 1pt plus 0.5pt minus 0.5pt
-\itemsep 2pt plus 1pt minus 0.5pt
-\parsep 2pt plus 1pt minus 0.5pt
-
-\leftmargin 2em \leftmargini\leftmargin \leftmarginii 2em
-\leftmarginiii 1.5em \leftmarginiv 1.0em \leftmarginv .5em \leftmarginvi .5em
-\labelwidth\leftmargini\advance\labelwidth-\labelsep \labelsep 5pt
-
-\def\@listi{\leftmargin\leftmargini}
-\def\@listii{\leftmargin\leftmarginii
- \labelwidth\leftmarginii\advance\labelwidth-\labelsep
- \topsep 2pt plus 1pt minus 0.5pt
- \parsep 1pt plus 0.5pt minus 0.5pt
- \itemsep \parsep}
-\def\@listiii{\leftmargin\leftmarginiii
- \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
- \topsep 1pt plus 0.5pt minus 0.5pt
- \parsep \z@ \partopsep 0.5pt plus 0pt minus 0.5pt
- \itemsep \topsep}
-\def\@listiv{\leftmargin\leftmarginiv
- \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
-\def\@listv{\leftmargin\leftmarginv
- \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
-\def\@listvi{\leftmargin\leftmarginvi
- \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
-
-\abovedisplayskip 7pt plus2pt minus5pt%
-\belowdisplayskip \abovedisplayskip
-\abovedisplayshortskip 0pt plus3pt%
-\belowdisplayshortskip 4pt plus3pt minus3pt%
-
-% Less leading in most fonts (due to the narrow columns)
-% The choices were between 1-pt and 1.5-pt leading
-\def\@normalsize{\@setsize\normalsize{11pt}\xpt\@xpt}
-\def\small{\@setsize\small{10pt}\ixpt\@ixpt}
-\def\footnotesize{\@setsize\footnotesize{10pt}\ixpt\@ixpt}
-\def\scriptsize{\@setsize\scriptsize{8pt}\viipt\@viipt}
-\def\tiny{\@setsize\tiny{7pt}\vipt\@vipt}
-\def\large{\@setsize\large{14pt}\xiipt\@xiipt}
-\def\Large{\@setsize\Large{16pt}\xivpt\@xivpt}
-\def\LARGE{\@setsize\LARGE{20pt}\xviipt\@xviipt}
-\def\huge{\@setsize\huge{23pt}\xxpt\@xxpt}
-\def\Huge{\@setsize\Huge{28pt}\xxvpt\@xxvpt}
diff --git a/papers/icon-05/acl.bst b/papers/icon-05/acl.bst
deleted file mode 100644
index b95ec04..0000000
--- a/papers/icon-05/acl.bst
+++ /dev/null
@@ -1,1322 +0,0 @@
-
-% BibTeX `acl' style file for BibTeX version 0.99c, LaTeX version 2.09
-% This version was made by modifying `aaai-named' format based on the master
-% file by Oren Patashnik (PATASHNIK at SCORE.STANFORD.EDU)
-
-% Copyright (C) 1985, all rights reserved.
-% Modifications Copyright 1988, Peter F. Patel-Schneider
-% Further modifictions by Stuart Shieber, 1991, and Fernando Pereira, 1992.
-% Copying of this file is authorized only if either
-% (1) you make absolutely no changes to your copy, including name, or
-% (2) if you do make changes, you name it something other than
-% btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
-% This restriction helps ensure that all standard styles are identical.
-
-% There are undoubtably bugs in this style. If you make bug fixes,
-% improvements, etc. please let me know. My e-mail address is:
-% pfps at spar.slb.com
-
-% Citation format: [author-last-name, year]
-% [author-last-name and author-last-name, year]
-% [author-last-name {\em et al.}, year]
-%
-% Reference list ordering: alphabetical by author or whatever passes
-% for author in the absence of one.
-%
-% This BibTeX style has support for short (year only) citations. This
-% is done by having the citations actually look like
-% \citename{name-info, }year
-% The LaTeX style has to have the following
-% \let\@internalcite\cite
-% \def\cite{\def\citename##1{##1}\@internalcite}
-% \def\shortcite{\def\citename##1{}\@internalcite}
-% \def\@biblabel#1{\def\citename##1{##1}[#1]\hfill}
-% which makes \shortcite the macro for short citations.
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Changes made by SMS for thesis style
-% no emphasis on "et al."
-% "Ph.D." includes periods (not "PhD")
-% moved year to immediately after author's name
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-ENTRY
- { address
- author
- booktitle
- chapter
- edition
- editor
- howpublished
- institution
- journal
- key
- month
- note
- number
- organization
- pages
- publisher
- school
- series
- title
- type
- volume
- year
- }
- {}
- { label extra.label sort.label }
-
-INTEGERS { output.state before.all mid.sentence after.sentence after.block }
-
-FUNCTION {init.state.consts}
-{ #0 'before.all :=
- #1 'mid.sentence :=
- #2 'after.sentence :=
- #3 'after.block :=
-}
-
-STRINGS { s t }
-
-FUNCTION {output.nonnull}
-{ 's :=
- output.state mid.sentence =
- { ", " * write$ }
- { output.state after.block =
- { add.period$ write$
- newline$
- "\newblock " write$
- }
- { output.state before.all =
- 'write$
- { add.period$ " " * write$ }
- if$
- }
- if$
- mid.sentence 'output.state :=
- }
- if$
- s
-}
-
-FUNCTION {output}
-{ duplicate$ empty$
- 'pop$
- 'output.nonnull
- if$
-}
-
-FUNCTION {output.check}
-{ 't :=
- duplicate$ empty$
- { pop$ "empty " t * " in " * cite$ * warning$ }
- 'output.nonnull
- if$
-}
-
-FUNCTION {output.bibitem}
-{ newline$
-
- "\bibitem[" write$
- label write$
- "]{" write$
-
- cite$ write$
- "}" write$
- newline$
- ""
- before.all 'output.state :=
-}
-
-FUNCTION {fin.entry}
-{ add.period$
- write$
- newline$
-}
-
-FUNCTION {new.block}
-{ output.state before.all =
- 'skip$
- { after.block 'output.state := }
- if$
-}
-
-FUNCTION {new.sentence}
-{ output.state after.block =
- 'skip$
- { output.state before.all =
- 'skip$
- { after.sentence 'output.state := }
- if$
- }
- if$
-}
-
-FUNCTION {not}
-{ { #0 }
- { #1 }
- if$
-}
-
-FUNCTION {and}
-{ 'skip$
- { pop$ #0 }
- if$
-}
-
-FUNCTION {or}
-{ { pop$ #1 }
- 'skip$
- if$
-}
-
-FUNCTION {new.block.checka}
-{ empty$
- 'skip$
- 'new.block
- if$
-}
-
-FUNCTION {new.block.checkb}
-{ empty$
- swap$ empty$
- and
- 'skip$
- 'new.block
- if$
-}
-
-FUNCTION {new.sentence.checka}
-{ empty$
- 'skip$
- 'new.sentence
- if$
-}
-
-FUNCTION {new.sentence.checkb}
-{ empty$
- swap$ empty$
- and
- 'skip$
- 'new.sentence
- if$
-}
-
-FUNCTION {field.or.null}
-{ duplicate$ empty$
- { pop$ "" }
- 'skip$
- if$
-}
-
-FUNCTION {emphasize}
-{ duplicate$ empty$
- { pop$ "" }
- { "{\em " swap$ * "}" * }
- if$
-}
-
-INTEGERS { nameptr namesleft numnames }
-
-FUNCTION {format.names}
-{ 's :=
- #1 'nameptr :=
- s num.names$ 'numnames :=
- numnames 'namesleft :=
- { namesleft #0 > }
-
- { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
-
- nameptr #1 >
- { namesleft #1 >
- { ", " * t * }
- { numnames #2 >
- { "," * }
- 'skip$
- if$
- t "others" =
- { " et~al." * }
- { " and " * t * }
- if$
- }
- if$
- }
- 't
- if$
- nameptr #1 + 'nameptr :=
- namesleft #1 - 'namesleft :=
- }
- while$
-}
-
-FUNCTION {format.authors}
-{ author empty$
- { "" }
- { author format.names }
- if$
-}
-
-FUNCTION {format.editors}
-{ editor empty$
- { "" }
- { editor format.names
- editor num.names$ #1 >
- { ", editors" * }
- { ", editor" * }
- if$
- }
- if$
-}
-
-FUNCTION {format.title}
-{ title empty$
- { "" }
-
- { title "t" change.case$ }
-
- if$
-}
-
-FUNCTION {n.dashify}
-{ 't :=
- ""
- { t empty$ not }
- { t #1 #1 substring$ "-" =
- { t #1 #2 substring$ "--" = not
- { "--" *
- t #2 global.max$ substring$ 't :=
- }
- { { t #1 #1 substring$ "-" = }
- { "-" *
- t #2 global.max$ substring$ 't :=
- }
- while$
- }
- if$
- }
- { t #1 #1 substring$ *
- t #2 global.max$ substring$ 't :=
- }
- if$
- }
- while$
-}
-
-FUNCTION {format.date}
-{ year empty$
- { month empty$
- { "" }
- { "there's a month but no year in " cite$ * warning$
- month
- }
- if$
- }
- { month empty$
- { "" }
- { month }
- if$
- }
- if$
-}
-
-FUNCTION {format.btitle}
-{ title emphasize
-}
-
-FUNCTION {tie.or.space.connect}
-{ duplicate$ text.length$ #3 <
- { "~" }
- { " " }
- if$
- swap$ * *
-}
-
-FUNCTION {either.or.check}
-{ empty$
- 'pop$
- { "can't use both " swap$ * " fields in " * cite$ * warning$ }
- if$
-}
-
-FUNCTION {format.bvolume}
-{ volume empty$
- { "" }
- { "volume" volume tie.or.space.connect
- series empty$
- 'skip$
- { " of " * series emphasize * }
- if$
- "volume and number" number either.or.check
- }
- if$
-}
-
-FUNCTION {format.number.series}
-{ volume empty$
- { number empty$
- { series field.or.null }
- { output.state mid.sentence =
- { "number" }
- { "Number" }
- if$
- number tie.or.space.connect
- series empty$
- { "there's a number but no series in " cite$ * warning$ }
- { " in " * series * }
- if$
- }
- if$
- }
- { "" }
- if$
-}
-
-FUNCTION {format.edition}
-{ edition empty$
- { "" }
- { output.state mid.sentence =
- { edition "l" change.case$ " edition" * }
- { edition "t" change.case$ " edition" * }
- if$
- }
- if$
-}
-
-INTEGERS { multiresult }
-
-FUNCTION {multi.page.check}
-{ 't :=
- #0 'multiresult :=
- { multiresult not
- t empty$ not
- and
- }
- { t #1 #1 substring$
- duplicate$ "-" =
- swap$ duplicate$ "," =
- swap$ "+" =
- or or
- { #1 'multiresult := }
- { t #2 global.max$ substring$ 't := }
- if$
- }
- while$
- multiresult
-}
-
-FUNCTION {format.pages}
-{ pages empty$
- { "" }
- { pages multi.page.check
- { "pages" pages n.dashify tie.or.space.connect }
- { "page" pages tie.or.space.connect }
- if$
- }
- if$
-}
-
-FUNCTION {format.year.label}
-{ year extra.label *
-}
-
-FUNCTION {format.vol.num.pages}
-{ volume field.or.null
- number empty$
- 'skip$
- { "(" number * ")" * *
- volume empty$
- { "there's a number but no volume in " cite$ * warning$ }
- 'skip$
- if$
- }
- if$
- pages empty$
- 'skip$
- { duplicate$ empty$
- { pop$ format.pages }
- { ":" * pages n.dashify * }
- if$
- }
- if$
-}
-
-FUNCTION {format.chapter.pages}
-{ chapter empty$
- 'format.pages
- { type empty$
- { "chapter" }
- { type "l" change.case$ }
- if$
- chapter tie.or.space.connect
- pages empty$
- 'skip$
- { ", " * format.pages * }
- if$
- }
- if$
-}
-
-FUNCTION {format.in.ed.booktitle}
-{ booktitle empty$
- { "" }
- { editor empty$
- { "In " booktitle emphasize * }
- { "In " format.editors * ", " * booktitle emphasize * }
- if$
- }
- if$
-}
-
-FUNCTION {empty.misc.check}
-{ author empty$ title empty$ howpublished empty$
- month empty$ year empty$ note empty$
- and and and and and
-
- key empty$ not and
-
- { "all relevant fields are empty in " cite$ * warning$ }
- 'skip$
- if$
-}
-
-FUNCTION {format.thesis.type}
-{ type empty$
- 'skip$
- { pop$
- type "t" change.case$
- }
- if$
-}
-
-FUNCTION {format.tr.number}
-{ type empty$
- { "Technical Report" }
- 'type
- if$
- number empty$
- { "t" change.case$ }
- { number tie.or.space.connect }
- if$
-}
-
-FUNCTION {format.article.crossref}
-{ key empty$
- { journal empty$
- { "need key or journal for " cite$ * " to crossref " * crossref *
- warning$
- ""
- }
- { "In {\em " journal * "\/}" * }
- if$
- }
- { "In " key * }
- if$
- " \cite{" * crossref * "}" *
-}
-
-FUNCTION {format.crossref.editor}
-{ editor #1 "{vv~}{ll}" format.name$
- editor num.names$ duplicate$
- #2 >
- { pop$ " et~al." * }
- { #2 <
- 'skip$
- { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
- { " et~al." * }
- { " and " * editor #2 "{vv~}{ll}" format.name$ * }
- if$
- }
- if$
- }
- if$
-}
-
-FUNCTION {format.book.crossref}
-{ volume empty$
- { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
- "In "
- }
- { "Volume" volume tie.or.space.connect
- " of " *
- }
- if$
- editor empty$
- editor field.or.null author field.or.null =
- or
- { key empty$
- { series empty$
- { "need editor, key, or series for " cite$ * " to crossref " *
- crossref * warning$
- "" *
- }
- { "{\em " * series * "\/}" * }
- if$
- }
- { key * }
- if$
- }
- { format.crossref.editor * }
- if$
- " \cite{" * crossref * "}" *
-}
-
-FUNCTION {format.incoll.inproc.crossref}
-{ editor empty$
- editor field.or.null author field.or.null =
- or
- { key empty$
- { booktitle empty$
- { "need editor, key, or booktitle for " cite$ * " to crossref " *
- crossref * warning$
- ""
- }
- { "In {\em " booktitle * "\/}" * }
- if$
- }
- { "In " key * }
- if$
- }
- { "In " format.crossref.editor * }
- if$
- " \cite{" * crossref * "}" *
-}
-
-FUNCTION {article}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- crossref missing$
- { journal emphasize "journal" output.check
- format.vol.num.pages output
- format.date output
- }
- { format.article.crossref output.nonnull
- format.pages output
- }
- if$
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {book}
-{ output.bibitem
- author empty$
- { format.editors "author and editor" output.check }
- { format.authors output.nonnull
- crossref missing$
- { "author and editor" editor either.or.check }
- 'skip$
- if$
- }
- if$
- new.block
- format.year.label "year" output.check
- new.block
- format.btitle "title" output.check
- crossref missing$
- { format.bvolume output
- new.block
- format.number.series output
- new.sentence
- publisher "publisher" output.check
- address output
- }
- { new.block
- format.book.crossref output.nonnull
- }
- if$
- format.edition output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {booklet}
-{ output.bibitem
- format.authors output
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- howpublished address new.block.checkb
- howpublished output
- address output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {inbook}
-{ output.bibitem
- author empty$
- { format.editors "author and editor" output.check }
- { format.authors output.nonnull
- crossref missing$
- { "author and editor" editor either.or.check }
- 'skip$
- if$
- }
- if$
- format.year.label "year" output.check
- new.block
- new.block
- format.btitle "title" output.check
- crossref missing$
- { format.bvolume output
- format.chapter.pages "chapter and pages" output.check
- new.block
- format.number.series output
- new.sentence
- publisher "publisher" output.check
- address output
- }
- { format.chapter.pages "chapter and pages" output.check
- new.block
- format.book.crossref output.nonnull
- }
- if$
- format.edition output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {incollection}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- crossref missing$
- { format.in.ed.booktitle "booktitle" output.check
- format.bvolume output
- format.number.series output
- format.chapter.pages output
- new.sentence
- publisher "publisher" output.check
- address output
- format.edition output
- format.date output
- }
- { format.incoll.inproc.crossref output.nonnull
- format.chapter.pages output
- }
- if$
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {inproceedings}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- crossref missing$
- { format.in.ed.booktitle "booktitle" output.check
- format.bvolume output
- format.number.series output
- format.pages output
- address empty$
- { organization publisher new.sentence.checkb
- organization output
- publisher output
- format.date output
- }
- { address output.nonnull
- format.date output
- new.sentence
- organization output
- publisher output
- }
- if$
- }
- { format.incoll.inproc.crossref output.nonnull
- format.pages output
- }
- if$
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {conference} { inproceedings }
-
-FUNCTION {manual}
-{ output.bibitem
- author empty$
- { organization empty$
- 'skip$
- { organization output.nonnull
- address output
- }
- if$
- }
- { format.authors output.nonnull }
- if$
- format.year.label "year" output.check
- new.block
- new.block
- format.btitle "title" output.check
- author empty$
- { organization empty$
- { address new.block.checka
- address output
- }
- 'skip$
- if$
- }
- { organization address new.block.checkb
- organization output
- address output
- }
- if$
- format.edition output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {mastersthesis}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- "Master's thesis" format.thesis.type output.nonnull
- school "school" output.check
- address output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {misc}
-{ output.bibitem
- format.authors output
- new.block
- format.year.label output
- new.block
- title howpublished new.block.checkb
- format.title output
- howpublished new.block.checka
- howpublished output
- format.date output
- new.block
- note output
- fin.entry
- empty.misc.check
-}
-
-FUNCTION {phdthesis}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.btitle "title" output.check
- new.block
- "{Ph.D.} thesis" format.thesis.type output.nonnull
- school "school" output.check
- address output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {proceedings}
-{ output.bibitem
- editor empty$
- { organization output }
- { format.editors output.nonnull }
- if$
- new.block
- format.year.label "year" output.check
- new.block
- format.btitle "title" output.check
- format.bvolume output
- format.number.series output
- address empty$
- { editor empty$
- { publisher new.sentence.checka }
- { organization publisher new.sentence.checkb
- organization output
- }
- if$
- publisher output
- format.date output
- }
- { address output.nonnull
- format.date output
- new.sentence
- editor empty$
- 'skip$
- { organization output }
- if$
- publisher output
- }
- if$
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {techreport}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- format.tr.number output.nonnull
- institution "institution" output.check
- address output
- format.date output
- new.block
- note output
- fin.entry
-}
-
-FUNCTION {unpublished}
-{ output.bibitem
- format.authors "author" output.check
- new.block
- format.year.label "year" output.check
- new.block
- format.title "title" output.check
- new.block
- note "note" output.check
- format.date output
- fin.entry
-}
-
-FUNCTION {default.type} { misc }
-
-MACRO {jan} {"January"}
-
-MACRO {feb} {"February"}
-
-MACRO {mar} {"March"}
-
-MACRO {apr} {"April"}
-
-MACRO {may} {"May"}
-
-MACRO {jun} {"June"}
-
-MACRO {jul} {"July"}
-
-MACRO {aug} {"August"}
-
-MACRO {sep} {"September"}
-
-MACRO {oct} {"October"}
-
-MACRO {nov} {"November"}
-
-MACRO {dec} {"December"}
-
-MACRO {acmcs} {"ACM Computing Surveys"}
-
-MACRO {acta} {"Acta Informatica"}
-
-MACRO {cacm} {"Communications of the ACM"}
-
-MACRO {ibmjrd} {"IBM Journal of Research and Development"}
-
-MACRO {ibmsj} {"IBM Systems Journal"}
-
-MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
-
-MACRO {ieeetc} {"IEEE Transactions on Computers"}
-
-MACRO {ieeetcad}
- {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
-
-MACRO {ipl} {"Information Processing Letters"}
-
-MACRO {jacm} {"Journal of the ACM"}
-
-MACRO {jcss} {"Journal of Computer and System Sciences"}
-
-MACRO {scp} {"Science of Computer Programming"}
-
-MACRO {sicomp} {"SIAM Journal on Computing"}
-
-MACRO {tocs} {"ACM Transactions on Computer Systems"}
-
-MACRO {tods} {"ACM Transactions on Database Systems"}
-
-MACRO {tog} {"ACM Transactions on Graphics"}
-
-MACRO {toms} {"ACM Transactions on Mathematical Software"}
-
-MACRO {toois} {"ACM Transactions on Office Information Systems"}
-
-MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
-
-MACRO {tcs} {"Theoretical Computer Science"}
-
-READ
-
-FUNCTION {sortify}
-{ purify$
- "l" change.case$
-}
-
-INTEGERS { len }
-
-FUNCTION {chop.word}
-{ 's :=
- 'len :=
- s #1 len substring$ =
- { s len #1 + global.max$ substring$ }
- 's
- if$
-}
-
-INTEGERS { et.al.char.used }
-
-FUNCTION {initialize.et.al.char.used}
-{ #0 'et.al.char.used :=
-}
-
-EXECUTE {initialize.et.al.char.used}
-
-FUNCTION {format.lab.names}
-{ 's :=
- s num.names$ 'numnames :=
-
- numnames #1 =
- { s #1 "{vv }{ll}" format.name$ }
- { numnames #2 =
- { s #1 "{vv }{ll }and " format.name$ s #2 "{vv }{ll}" format.name$ *
- }
- { s #1 "{vv }{ll }\bgroup et al.\egroup " format.name$ }
- if$
- }
- if$
-
-}
-
-FUNCTION {author.key.label}
-{ author empty$
- { key empty$
-
- { cite$ #1 #3 substring$ }
-
- { key #3 text.prefix$ }
- if$
- }
- { author format.lab.names }
- if$
-}
-
-FUNCTION {author.editor.key.label}
-{ author empty$
- { editor empty$
- { key empty$
-
- { cite$ #1 #3 substring$ }
-
- { key #3 text.prefix$ }
- if$
- }
- { editor format.lab.names }
- if$
- }
- { author format.lab.names }
- if$
-}
-
-FUNCTION {author.key.organization.label}
-{ author empty$
- { key empty$
- { organization empty$
-
- { cite$ #1 #3 substring$ }
-
- { "The " #4 organization chop.word #3 text.prefix$ }
- if$
- }
- { key #3 text.prefix$ }
- if$
- }
- { author format.lab.names }
- if$
-}
-
-FUNCTION {editor.key.organization.label}
-{ editor empty$
- { key empty$
- { organization empty$
-
- { cite$ #1 #3 substring$ }
-
- { "The " #4 organization chop.word #3 text.prefix$ }
- if$
- }
- { key #3 text.prefix$ }
- if$
- }
- { editor format.lab.names }
- if$
-}
-
-FUNCTION {calc.label}
-{ type$ "book" =
- type$ "inbook" =
- or
- 'author.editor.key.label
- { type$ "proceedings" =
- 'editor.key.organization.label
- { type$ "manual" =
- 'author.key.organization.label
- 'author.key.label
- if$
- }
- if$
- }
- if$
- duplicate$
-
- "\protect\citename{" swap$ * "}" *
- year field.or.null purify$ *
- 'label :=
- year field.or.null purify$ *
-
- sortify 'sort.label :=
-}
-
-FUNCTION {sort.format.names}
-{ 's :=
- #1 'nameptr :=
- ""
- s num.names$ 'numnames :=
- numnames 'namesleft :=
- { namesleft #0 > }
- { nameptr #1 >
- { " " * }
- 'skip$
- if$
-
- s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
-
- nameptr numnames = t "others" = and
- { "et al" * }
- { t sortify * }
- if$
- nameptr #1 + 'nameptr :=
- namesleft #1 - 'namesleft :=
- }
- while$
-}
-
-FUNCTION {sort.format.title}
-{ 't :=
- "A " #2
- "An " #3
- "The " #4 t chop.word
- chop.word
- chop.word
- sortify
- #1 global.max$ substring$
-}
-
-FUNCTION {author.sort}
-{ author empty$
- { key empty$
- { "to sort, need author or key in " cite$ * warning$
- ""
- }
- { key sortify }
- if$
- }
- { author sort.format.names }
- if$
-}
-
-FUNCTION {author.editor.sort}
-{ author empty$
- { editor empty$
- { key empty$
- { "to sort, need author, editor, or key in " cite$ * warning$
- ""
- }
- { key sortify }
- if$
- }
- { editor sort.format.names }
- if$
- }
- { author sort.format.names }
- if$
-}
-
-FUNCTION {author.organization.sort}
-{ author empty$
- { organization empty$
- { key empty$
- { "to sort, need author, organization, or key in " cite$ * warning$
- ""
- }
- { key sortify }
- if$
- }
- { "The " #4 organization chop.word sortify }
- if$
- }
- { author sort.format.names }
- if$
-}
-
-FUNCTION {editor.organization.sort}
-{ editor empty$
- { organization empty$
- { key empty$
- { "to sort, need editor, organization, or key in " cite$ * warning$
- ""
- }
- { key sortify }
- if$
- }
- { "The " #4 organization chop.word sortify }
- if$
- }
- { editor sort.format.names }
- if$
-}
-
-FUNCTION {presort}
-
-{ calc.label
- sort.label
- " "
- *
- type$ "book" =
-
- type$ "inbook" =
- or
- 'author.editor.sort
- { type$ "proceedings" =
- 'editor.organization.sort
- { type$ "manual" =
- 'author.organization.sort
- 'author.sort
- if$
- }
- if$
- }
- if$
-
- *
-
- " "
- *
- year field.or.null sortify
- *
- " "
- *
- title field.or.null
- sort.format.title
- *
- #1 entry.max$ substring$
- 'sort.key$ :=
-}
-
-ITERATE {presort}
-
-SORT
-
-STRINGS { longest.label last.sort.label next.extra }
-
-INTEGERS { longest.label.width last.extra.num }
-
-FUNCTION {initialize.longest.label}
-{ "" 'longest.label :=
- #0 int.to.chr$ 'last.sort.label :=
- "" 'next.extra :=
- #0 'longest.label.width :=
- #0 'last.extra.num :=
-}
-
-FUNCTION {forward.pass}
-{ last.sort.label sort.label =
- { last.extra.num #1 + 'last.extra.num :=
- last.extra.num int.to.chr$ 'extra.label :=
- }
- { "a" chr.to.int$ 'last.extra.num :=
- "" 'extra.label :=
- sort.label 'last.sort.label :=
- }
- if$
-}
-
-FUNCTION {reverse.pass}
-{ next.extra "b" =
- { "a" 'extra.label := }
- 'skip$
- if$
- label extra.label * 'label :=
- label width$ longest.label.width >
- { label 'longest.label :=
- label width$ 'longest.label.width :=
- }
- 'skip$
- if$
- extra.label 'next.extra :=
-}
-
-EXECUTE {initialize.longest.label}
-
-ITERATE {forward.pass}
-
-REVERSE {reverse.pass}
-
-FUNCTION {begin.bib}
-
-{ et.al.char.used
- { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
- 'skip$
- if$
- preamble$ empty$
-
- 'skip$
- { preamble$ write$ newline$ }
- if$
-
- "\begin{thebibliography}{" "}" * write$ newline$
-
-}
-
-EXECUTE {begin.bib}
-
-EXECUTE {init.state.consts}
-
-ITERATE {call.type$}
-
-FUNCTION {end.bib}
-{ newline$
- "\end{thebibliography}" write$ newline$
-}
-
-EXECUTE {end.bib}
-
diff --git a/papers/icon-05/acl2005.sty b/papers/icon-05/acl2005.sty
deleted file mode 100644
index bc91c6c..0000000
--- a/papers/icon-05/acl2005.sty
+++ /dev/null
@@ -1,338 +0,0 @@
-% File acl2005.sty
-% October 11, 2004
-% Contact: oflazer at sabanciuniv.edu
-
-% This is the LaTeX style file for ACL 2005. It is nearly identical to the
-% style files for ACL 2002, ACL 2001, ACL 2000, EACL 95 and EACL
-% 99.
-%
-
-% This is the LaTeX style file for ACL 2000. It is nearly identical to the
-% style files for EACL 95 and EACL 99. Minor changes include editing the
-% instructions to reflect use of \documentclass rather than \documentstyle
-% and removing the white space before the title on the first page
-% -- John Chen, June 29, 2000
-
-% To convert from submissions prepared using the style file aclsub.sty
-% prepared for the ACL 2000 conference, proceed as follows:
-% 1) Remove submission-specific information: \whichsession, \id,
-% \wordcount, \otherconferences, \area, \keywords
-% 2) \summary should be removed. The summary material should come
-% after \maketitle and should be in the ``abstract'' environment
-% 3) Check all citations. This style should handle citations correctly
-% and also allows multiple citations separated by semicolons.
-% 4) Check figures and examples. Because the final format is double-
-% column, some adjustments may have to be made to fit text in the column
-% or to choose full-width (\figure*} figures.
-% 5) Change the style reference from aclsub to acl2000, and be sure
-% this style file is in your TeX search path
-
-
-% This is the LaTeX style file for EACL-95. It is identical to the
-% style file for ANLP '94 except that the margins are adjusted for A4
-% paper. -- abney 13 Dec 94
-
-% The ANLP '94 style file is a slightly modified
-% version of the style used for AAAI and IJCAI, using some changes
-% prepared by Fernando Pereira and others and some minor changes
-% by Paul Jacobs.
-
-% Papers prepared using the aclsub.sty file and acl.bst bibtex style
-% should be easily converted to final format using this style.
-% (1) Submission information (\wordcount, \subject, and \makeidpage)
-% should be removed.
-% (2) \summary should be removed. The summary material should come
-% after \maketitle and should be in the ``abstract'' environment
-% (between \begin{abstract} and \end{abstract}).
-% (3) Check all citations. This style should handle citations correctly
-% and also allows multiple citations separated by semicolons.
-% (4) Check figures and examples. Because the final format is double-
-% column, some adjustments may have to be made to fit text in the column
-% or to choose full-width (\figure*} figures.
-
-% Place this in a file called aclap.sty in the TeX search path.
-% (Placing it in the same directory as the paper should also work.)
-
-% Prepared by Peter F. Patel-Schneider, liberally using the ideas of
-% other style hackers, including Barbara Beeton.
-% This style is NOT guaranteed to work. It is provided in the hope
-% that it will make the preparation of papers easier.
-%
-% There are undoubtably bugs in this style. If you make bug fixes,
-% improvements, etc. please let me know. My e-mail address is:
-% pfps at research.att.com
-
-% Papers are to be prepared using the ``acl'' bibliography style,
-% as follows:
-% \documentclass[11pt]{article}
-% \usepackage{acl2000}
-% \title{Title}
-% \author{Author 1 \and Author 2 \\ Address line \\ Address line \And
-% Author 3 \\ Address line \\ Address line}
-% \begin{document}
-% ...
-% \bibliography{bibliography-file}
-% \bibliographystyle{acl}
-% \end{document}
-
-% Author information can be set in various styles:
-% For several authors from the same institution:
-% \author{Author 1 \and ... \and Author n \\
-% Address line \\ ... \\ Address line}
-% if the names do not fit well on one line use
-% Author 1 \\ {\bf Author 2} \\ ... \\ {\bf Author n} \\
-% For authors from different institutions:
-% \author{Author 1 \\ Address line \\ ... \\ Address line
-% \And ... \And
-% Author n \\ Address line \\ ... \\ Address line}
-% To start a seperate ``row'' of authors use \AND, as in
-% \author{Author 1 \\ Address line \\ ... \\ Address line
-% \AND
-% Author 2 \\ Address line \\ ... \\ Address line \And
-% Author 3 \\ Address line \\ ... \\ Address line}
-
-% If the title and author information does not fit in the area allocated,
-% place \setlength\titlebox{<new height>} right after
-% \usepackage{acl2000}
-% where <new height> can be something larger than 2.25in
-
-% \typeout{Conference Style for ACL 2000 -- released June 20, 2000}
-\typeout{Conference Style for ACL 2005 -- released Octobe 11, 2004}
-
-% NOTE: Some laser printers have a serious problem printing TeX output.
-% These printing devices, commonly known as ``write-white'' laser
-% printers, tend to make characters too light. To get around this
-% problem, a darker set of fonts must be created for these devices.
-%
-
-% Physical page layout - slightly modified from IJCAI by pj
-\setlength\topmargin{0.0in} \setlength\oddsidemargin{-0.0in}
-\setlength\textheight{9.0in} \setlength\textwidth{6.5in}
-\setlength\columnsep{0.2in}
-\newlength\titlebox
-\setlength\titlebox{2.25in}
-\setlength\headheight{0pt} \setlength\headsep{0pt}
-%\setlength\footheight{0pt}
-\setlength\footskip{0pt}
-\thispagestyle{empty} \pagestyle{empty}
-\flushbottom \twocolumn \sloppy
-
-%% A4 version of page layout
-%\setlength\topmargin{-0.45cm} % changed by Rz -1.4
-%\setlength\oddsidemargin{.8mm} % was -0cm, changed by Rz
-%\setlength\textheight{23.5cm}
-%\setlength\textwidth{15.8cm}
-%\setlength\columnsep{0.6cm}
-%\newlength\titlebox
-%\setlength\titlebox{2.00in}
-%\setlength\headheight{5pt}
-%\setlength\headsep{0pt}
-%%\setlength\footheight{0pt}
-%\setlength\footskip{0pt}
-%\thispagestyle{empty}
-%\pagestyle{empty}
-
-\flushbottom \twocolumn \sloppy
-
-% We're never going to need a table of contents, so just flush it to
-% save space --- suggested by drstrip at sandia-2
-\def\addcontentsline#1#2#3{}
-
-% Title stuff, taken from deproc.
-\def\maketitle{\par
- \begingroup
- \def\thefootnote{\fnsymbol{footnote}}
- \def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}}
- \twocolumn[\@maketitle] \@thanks
- \endgroup
- \setcounter{footnote}{0}
- \let\maketitle\relax \let\@maketitle\relax
- \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
-\def\@maketitle{\vbox to \titlebox{\hsize\textwidth
- \linewidth\hsize \vskip 0.125in minus 0.125in \centering
- {\Large\bf \@title \par} \vskip 0.2in plus 1fil minus 0.1in
- {\def\and{\unskip\enspace{\rm and}\enspace}%
- \def\And{\end{tabular}\hss \egroup \hskip 1in plus 2fil
- \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf}%
- \def\AND{\end{tabular}\hss\egroup \hfil\hfil\egroup
- \vskip 0.25in plus 1fil minus 0.125in
- \hbox to \linewidth\bgroup\large \hfil\hfil
- \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf}
- \hbox to \linewidth\bgroup\large \hfil\hfil
- \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf\@author
- \end{tabular}\hss\egroup
- \hfil\hfil\egroup}
- \vskip 0.3in plus 2fil minus 0.1in
-}}
-\renewenvironment{abstract}{\centerline{\large\bf
- Abstract}\vspace{0.5ex}\begin{quote}}{\par\end{quote}\vskip 1ex}
-
-
-% bibliography
-
-\def\thebibliography#1{\section*{References}
- \global\def\@listi{\leftmargin\leftmargini
- \labelwidth\leftmargini \advance\labelwidth-\labelsep
- \topsep 1pt plus 2pt minus 1pt
- \parsep 0.25ex plus 1pt \itemsep 0.25ex plus 1pt}
- \list {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth
- \advance\leftmargin\labelsep\usecounter{enumi}}
- \def\newblock{\hskip .11em plus .33em minus -.07em}
- \sloppy
- \sfcode`\.=1000\relax}
-
-\def\@up#1{\raise.2ex\hbox{#1}}
-
-% most of cite format is from aclsub.sty by SMS
-
-% don't box citations, separate with ; and a space
-% also, make the penalty between citations negative: a good place to break
-% changed comma back to semicolon pj 2/1/90
-% \def\@citex[#1]#2{\if at filesw\immediate\write\@auxout{\string\citation{#2}}\fi
-% \def\@citea{}\@cite{\@for\@citeb:=#2\do
-% {\@citea\def\@citea{;\penalty\@citeseppen\ }\@ifundefined
-% {b@\@citeb}{{\bf ?}\@warning
-% {Citation `\@citeb' on page \thepage \space undefined}}%
-% {\csname b@\@citeb\endcsname}}}{#1}}
-
-% don't box citations, separate with ; and a space
-% Replaced for multiple citations (pj)
-% don't box citations and also add space, semicolon between multiple citations
-\def\@citex[#1]#2{\if at filesw\immediate\write\@auxout{\string\citation{#2}}\fi
- \def\@citea{}\@cite{\@for\@citeb:=#2\do
- {\@citea\def\@citea{; }\@ifundefined
- {b@\@citeb}{{\bf ?}\@warning
- {Citation `\@citeb' on page \thepage \space undefined}}%
- {\csname b@\@citeb\endcsname}}}{#1}}
-
-% Allow short (name-less) citations, when used in
-% conjunction with a bibliography style that creates labels like
-% \citename{<names>, }<year>
-%
-\let\@internalcite\cite
-\def\cite{\def\citename##1{##1, }\@internalcite}
-\def\shortcite{\def\citename##1{}\@internalcite}
-\def\newcite{\def\citename##1{{\frenchspacing##1} (}\@internalciteb}
-
-% Macros for \newcite, which leaves name in running text, and is
-% otherwise like \shortcite.
-\def\@citexb[#1]#2{\if at filesw\immediate\write\@auxout{\string\citation{#2}}\fi
- \def\@citea{}\@newcite{\@for\@citeb:=#2\do
- {\@citea\def\@citea{;\penalty\@m\ }\@ifundefined
- {b@\@citeb}{{\bf ?}\@warning
- {Citation `\@citeb' on page \thepage \space undefined}}%
-{\csname b@\@citeb\endcsname}}}{#1}}
-\def\@internalciteb{\@ifnextchar [{\@tempswatrue\@citexb}{\@tempswafalse\@citexb[]}}
-
-\def\@newcite#1#2{{#1\if at tempswa, #2\fi)}}
-
-\def\@biblabel#1{\def\citename##1{##1}[#1]\hfill}
-
-%%% More changes made by SMS (originals in latex.tex)
-% Use parentheses instead of square brackets in the text.
-\def\@cite#1#2{({#1\if at tempswa , #2\fi})}
-
-% Don't put a label in the bibliography at all. Just use the unlabeled format
-% instead.
-\def\thebibliography#1{\vskip\parskip%
-\vskip\baselineskip%
-\def\baselinestretch{1}%
-\ifx\@currsize\normalsize\@normalsize\else\@currsize\fi%
-\vskip-\parskip%
-\vskip-\baselineskip%
-\section*{References\@mkboth
- {References}{References}}\list
- {}{\setlength{\labelwidth}{0pt}\setlength{\leftmargin}{\parindent}
- \setlength{\itemindent}{-\parindent}}
- \def\newblock{\hskip .11em plus .33em minus -.07em}
- \sloppy\clubpenalty4000\widowpenalty4000
- \sfcode`\.=1000\relax}
-\let\endthebibliography=\endlist
-
-% Allow for a bibliography of sources of attested examples
-\def\thesourcebibliography#1{\vskip\parskip%
-\vskip\baselineskip%
-\def\baselinestretch{1}%
-\ifx\@currsize\normalsize\@normalsize\else\@currsize\fi%
-\vskip-\parskip%
-\vskip-\baselineskip%
-\section*{Sources of Attested Examples\@mkboth
- {Sources of Attested Examples}{Sources of Attested Examples}}\list
- {}{\setlength{\labelwidth}{0pt}\setlength{\leftmargin}{\parindent}
- \setlength{\itemindent}{-\parindent}}
- \def\newblock{\hskip .11em plus .33em minus -.07em}
- \sloppy\clubpenalty4000\widowpenalty4000
- \sfcode`\.=1000\relax}
-\let\endthesourcebibliography=\endlist
-
-\def\@lbibitem[#1]#2{\item[]\if at filesw
- { \def\protect##1{\string ##1\space}\immediate
- \write\@auxout{\string\bibcite{#2}{#1}}\fi\ignorespaces}}
-
-\def\@bibitem#1{\item\if at filesw \immediate\write\@auxout
- {\string\bibcite{#1}{\the\c at enumi}}\fi\ignorespaces}
-
-% sections with less space
-\def\section{\@startsection {section}{1}{\z@}{-2.0ex plus
- -0.5ex minus -.2ex}{1.5ex plus 0.3ex minus .2ex}{\large\bf\raggedright}}
-\def\subsection{\@startsection{subsection}{2}{\z@}{-1.8ex plus
- -0.5ex minus -.2ex}{0.8ex plus .2ex}{\normalsize\bf\raggedright}}
-\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{1.5ex plus
- 0.5ex minus .2ex}{0.5ex plus .2ex}{\normalsize\bf\raggedright}}
-\def\paragraph{\@startsection{paragraph}{4}{\z@}{1.5ex plus
- 0.5ex minus .2ex}{-1em}{\normalsize\bf}}
-\def\subparagraph{\@startsection{subparagraph}{5}{\parindent}{1.5ex plus
- 0.5ex minus .2ex}{-1em}{\normalsize\bf}}
-
-% Footnotes
-\footnotesep 6.65pt %
-\skip\footins 9pt plus 4pt minus 2pt
-\def\footnoterule{\kern-3pt \hrule width 5pc \kern 2.6pt }
-\setcounter{footnote}{0}
-
-% Lists and paragraphs
-\parindent 1em
-\topsep 4pt plus 1pt minus 2pt
-\partopsep 1pt plus 0.5pt minus 0.5pt
-\itemsep 2pt plus 1pt minus 0.5pt
-\parsep 2pt plus 1pt minus 0.5pt
-
-\leftmargin 2em \leftmargini\leftmargin \leftmarginii 2em
-\leftmarginiii 1.5em \leftmarginiv 1.0em \leftmarginv .5em \leftmarginvi .5em
-\labelwidth\leftmargini\advance\labelwidth-\labelsep \labelsep 5pt
-
-\def\@listi{\leftmargin\leftmargini}
-\def\@listii{\leftmargin\leftmarginii
- \labelwidth\leftmarginii\advance\labelwidth-\labelsep
- \topsep 2pt plus 1pt minus 0.5pt
- \parsep 1pt plus 0.5pt minus 0.5pt
- \itemsep \parsep}
-\def\@listiii{\leftmargin\leftmarginiii
- \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
- \topsep 1pt plus 0.5pt minus 0.5pt
- \parsep \z@ \partopsep 0.5pt plus 0pt minus 0.5pt
- \itemsep \topsep}
-\def\@listiv{\leftmargin\leftmarginiv
- \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
-\def\@listv{\leftmargin\leftmarginv
- \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
-\def\@listvi{\leftmargin\leftmarginvi
- \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
-
-\abovedisplayskip 7pt plus2pt minus5pt%
-\belowdisplayskip \abovedisplayskip
-\abovedisplayshortskip 0pt plus3pt%
-\belowdisplayshortskip 4pt plus3pt minus3pt%
-
-% Less leading in most fonts (due to the narrow columns)
-% The choices were between 1-pt and 1.5-pt leading
-\def\@normalsize{\@setsize\normalsize{11pt}\xpt\@xpt}
-\def\small{\@setsize\small{10pt}\ixpt\@ixpt}
-\def\footnotesize{\@setsize\footnotesize{10pt}\ixpt\@ixpt}
-\def\scriptsize{\@setsize\scriptsize{8pt}\viipt\@viipt}
-\def\tiny{\@setsize\tiny{7pt}\vipt\@vipt}
-\def\large{\@setsize\large{14pt}\xiipt\@xiipt}
-\def\Large{\@setsize\Large{16pt}\xivpt\@xivpt}
-\def\LARGE{\@setsize\LARGE{20pt}\xviipt\@xviipt}
-\def\huge{\@setsize\huge{23pt}\xxpt\@xxpt}
-\def\Huge{\@setsize\Huge{28pt}\xxvpt\@xxvpt}
diff --git a/papers/icon-05/icon-05.tex b/papers/icon-05/icon-05.tex
deleted file mode 100644
index 64ee22c..0000000
--- a/papers/icon-05/icon-05.tex
+++ /dev/null
@@ -1,657 +0,0 @@
-\documentclass[11pt]{article}
-\usepackage{acl2005}
-\usepackage{times,url}
-\usepackage{latexsym}
-\usepackage{hyphen}
-\setlength\titlebox{6.5cm} % Expanding the titlebox
-
-\title{NLTK-Lite: Efficient Scripting for Natural Language Processing}
-
-\author{Steven Bird\\[.5ex]
- Department of Computer Science and Software Engineering\\
- University of Melbourne, Victoria 3010, AUSTRALIA\\[.5ex]
- Linguistic Data Consortium, University of Pennsylvania,\\
- Philadelphia PA 19104-2653, USA}
-\date{}
-
-\begin{document}
-\maketitle
-\begin{abstract}
- The Natural Language Toolkit is a suite of program modules, data
- sets, tutorials and exercises covering symbolic and statistical
- natural language processing. NLTK is popular in teaching and
- research, and has been adopted in dozens of NLP courses. NLTK is
- written in Python and distributed under the GPL open source license.
- Over the past year the toolkit has been completely rewritten,
- simplifying many linguistic data structures and taking advantage of
- recent enhancements in the Python language. This paper reports on
- the resulting, simplified toolkit, NLTK-Lite, and shows how it is
- used to support efficient scripting for natural language processing.
-\end{abstract}
-
-\section{Introduction}
-
-NLTK, the Natural Language Toolkit, is a suite of Python libraries and
-programs for symbolic and statistical natural language processing
-\cite{LoperBird02,Loper04}.
-NLTK includes graphical demonstrations and sample data. It is
-accompanied by extensive documentation, including tutorials that
-explain the underlying concepts behind the language processing tasks
-supported by the toolkit.
-
-NLTK is ideally suited to students who are learning NLP (natural
-language processing) or conducting research in NLP or closely related
-areas, including empirical linguistics, cognitive science, artificial
-intelligence, information retrieval, and machine learning. NLTK has
-been used successfully as a teaching tool, as an individual study
-tool, and as a platform for prototyping and building research systems
-\cite{Liddy05,Satre05}.
-
-We chose Python because it has a shallow learning curve, its syntax
-and semantics are transparent, and it has good string-handling
-functionality. As an interpreted language, Python facilitates
-interactive exploration. As an object-oriented language, Python
-permits data and methods to be encapsulated and re-used easily.
-Python comes with an extensive standard library, including tools for
-graphical programming and numerical processing
-\cite{Rossum03intro,Rossum03ref}.
-
-Over the past four years the toolkit grew rapidly and the data
-structures became significantly more complex. Each new processing
-task brought with it new requirements on input and output
-representations. It was not clear how to generalize tasks so they
-could be applied independently of each other. As a simple example,
-consider the independent tasks of tagging and stemming, which both
-operate on sequences of tokens. If stemming is done first, we lose
-information required for tagging. If tagging is done first, the
-stemming must be able to skip over the tags. If both are done independently,
-we need to be able to align the results. As task combinations multiply,
-managing the data becomes extremely difficult.
-
-To address this problem, NLTK 1.4 introduced a new architecture for
-tokens based on Python's native dictionary data type. Tokens could have
-an arbitrary number of named properties, like \texttt{TAG}, and \texttt{STEM}.
-Whole sentences, and even whole documents, were represented as single tokens
-having a \texttt{SUBTOKENS} attribute to hold sequences of smaller tokens.
-Parse trees were likewise tokens, with a special \texttt{CHILDREN} property.
-The advantage of this token architecture was that it unified many different
-data types, and permitted distinct tasks to be run independently.
-Unfortunately this architecture also came with a significant overhead for
-programmers, who had to keep track of a growing set of property names,
-and who were often forced to use ``rather awkward code structures'' \cite{Hearst05}.
-It was clear that the re-engineering done in NLTK 1.4 mainly got in the way of
-efficient authoring of NLP scripts.
-
-This paper presents a new, simplified toolkit called NLTK-Lite. This paper
-presents a brief overview and tutorial on NLTK-Lite, and identifies
-some areas where more contributions would be welcome.
-
-\section{Overview of NLTK-Lite}
-
-NLTK-Lite is a suite of Python packages providing a range of standard
-NLP data types, interface definitions and processing tasks, corpus
-samples and readers, together with animated algorithms, extensive
-tutorials, and problem sets. Data types include: tokens, tags,
-chunks, trees, and feature structures. Interface definitions and
-reference implementations are provided for tokenizers, stemmers,
-taggers (regexp, ngram, Brill), chunkers, parsers (recursive-descent,
-shift-reduce, chart, probabilistic). Corpus samples and readers
-include: Brown Corpus, CoNLL-2000 Chunking Corpus, CMU pronunciation
-dictionary, NIST Information Extraction and Entity Recognition Corpus,
-Ratnaparkhi's Prepositional Phrase Attachment Corpus, Penn Treebank,
-and the SIL Shoebox corpus format.
-
-NLTK-Lite differs from NLTK in the following key respects: fundamental
-representations are kept as simple as possible (e.g.\ strings, tuples,
-trees); all streaming tasks are implemented as iterators instead of
-lists in order to limit memory usage and to ensure that
-data-intensive tasks produce output as early as possible; the default
-pipeline processing paradigm leads to more transparent code; taggers
-incorporate backoff leading to much smaller models and faster
-operation; method names are shorter (e.g.\
-\texttt{tokenizer.RegexpTokenizer} becomes \texttt{tokenize.regexp},
-and the barrier to entry for contributed software is removed now that
-there is no requirement to support the special NLTK token
-architecture.
-
-\section{Simple Processing Tasks}
-
-In this section we review some simple NLP processing tasks, and show how
-they are performed in NLTK-Lite.
-
-\subsection{Tokenization and Stemming}
-
-The following three-line program imports the \texttt{tokenize}
-package, defines a text string, and then tokenizes the string on
-whitespace to create a list of tokens. (Note that "\url{>>>}" is
-Python's interactive prompt; "\url{...}" is the second-level prompt.)
-
-{\small\begin{verbatim}
->>> from nltk_lite import tokenize
->>> text = 'Hello world. This is a test.'
->>> list(tokenize.whitespace(text))
-['Hello', 'world.', 'This', 'is', 'a', 'test']
-\end{verbatim}}
-
-\noindent
-Several other useful tokenizers are provided. We can stem the output of tokenization
-using the Porter Stemmer as follows:
-
-{\small\begin{verbatim}
->>> text = 'stemming can be fun and exciting'
->>> tokens = tokenize.whitespace(text)
->>> porter = tokenize.PorterStemmer()
->>> for token in tokens:
-... print porter.stem(token),
-stem can be fun and excit
-\end{verbatim}}
-
-The corpora included with NLTK-Lite come supplied with corpus readers that understand
-the file structure of the corpus, and load the data into Python data structures.
-For example, the following code reads the first sentence of part a of the Brown Corpus.
-It prints a list of tuples, where each tuple consists of a word and its tag.
-
-{\small\begin{verbatim}
->>> from nltk_lite.corpora\
-... import brown, extract
->>> print extract(0, brown.tagged('a'))
-[('The', 'at'), ('Fulton', 'np-tl'),
-('County', 'nn-tl'), ('Grand', 'jj-tl'),
-('Jury', 'nn-tl'), ('said', 'vbd'), ...]
-\end{verbatim}}
-
-\begin{figure*}[t]
-{\small\begin{verbatim}
->>> cfdist = ConditionalFreqDist()
->>> for genre in brown.items: # each genre
-... for sent in brown.tagged(genre): # each sentence
-... for (word,tag) in sent: # each tagged token
-... if tag == 'md': # found a modal
-... cfdist[genre].inc(word.lower())
->>> modals = ['can', 'could', 'may', 'might', 'must', 'will']
->>> print "%-40s" % 'Genre', ' '.join([("%6s" % m) for m in modals])
->>> for genre in cfdist.conditions(): # generate rows
-... print "%-40s" % brown.item_name[genre],
-... for modal in modals:
-... print "%6d" % cfdist[genre].count(modal),
-... print
-Genre can could may might must will
-press: reportage 94 86 66 36 50 387
-press: reviews 44 40 45 26 18 56
-press: editorial 122 56 74 37 53 225
-skill and hobbies 273 59 130 22 83 259
-religion 84 59 79 12 54 64
-belles-lettres 249 216 213 113 169 222
-popular lore 168 142 165 45 95 163
-miscellaneous: government & house organs 115 37 152 13 99 237
-fiction: general 39 168 8 42 55 50
-learned 366 159 325 126 202 330
-fiction: science 16 49 4 12 8 16
-fiction: mystery 44 145 13 57 31 17
-fiction: adventure 48 154 6 58 27 48
-fiction: romance 79 195 11 51 46 43
-humor 17 33 8 8 9 13
-\end{verbatim}}
-\caption{Program to Generate a Table of Modals and their Frequency of Use in Different Genres\label{fig:genre}}
-\vspace{1ex}\hrule
-\end{figure*}
-
-NLTK-Lite provides support for conditional frequency distributions, making it easy
-to count up items of interest in specified contexts. The code sample and output in
-Figure~\ref{fig:genre} counts the usage of modal verbs in the Brown Corpus, displaying
-them by genre. Such information may be useful for studies in stylistics, and also in
-text categorization.
-
-\subsection{Tagging}
-
-The simplest possible tagger assigns the same tag to each token
-regardless of the token's text. The DefaultTagger class implements
-this kind of tagger. In the following program, we create a tagger
-called \url{my_tagger} which tags everything as a noun.
-
-{\small\begin{verbatim}
->>> from nltk_lite import tag
->>> my_tagger = tag.Default('nn')
->>> list(my_tagger.tag(tokens))
-[('John', 'nn'), ('saw', 'nn'),
- ('3', 'nn'), ('polar', 'nn'),
- ('bears', 'nn'), ('.', 'nn')]
-\end{verbatim}}
-
-This is a simple algorithm, and it performs poorly when used on its own.
-On a typical corpus, it will tag only 20--30\% of the tokens correctly.
-However, it is a very reasonable tagger to use as a default, if a more
-advanced tagger fails to determine a token's tag.
-
-The regular expression tagger assigns tags to tokens on the basis of
-matching patterns in the token's text. For instance, the following
-tagger assigns \texttt{cd} to cardinal numbers, and \texttt{nn} to
-everything else:
-
-{\small\begin{verbatim}
->>> patterns = [
-... (r'^[0-9]+(.[0-9]+)?$', 'cd'),
-... (r'.*', 'nn')]
->>> nn_cd_tagger = tag.Regexp(patterns)
->>> list(nn_cd_tagger.tag(tokens))
-[('John', 'nn'), ('saw', 'nn'),
- ('3', 'cd'), ('polar', 'nn'),
- ('bears', 'nn'), ('.', 'nn')]
-\end{verbatim}}
-
-The \texttt{UnigramTagger} class implements a simple statistical tagging
-algorithm: for each token, it assigns the tag that is most likely
-for that token's text. For example, it will assign the tag \texttt{jj} to
-any occurrence of the word \textit{frequent}, since \textit{frequent} is used as an
-adjective (e.g.\ \textit{a frequent word}) more often than it is used as a
-verb (e.g.\ \textit{I frequent this cafe}).
-Before a unigram tagger can be used, it must be trained on
-a corpus, as shown below for the first section of the Brown Corpus.
-
-{\small\begin{verbatim}
->>> from nltk_lite.corpora import brown
->>> unigram_tagger = tag.Unigram()
->>> unigram_tagger.train(brown('a'))
-\end{verbatim}}
-
-\noindent
-Once a unigram tagger has been trained, it can be used to tag new text.
-Note that it assigns the default tag \texttt{None} to any token that was not
-encountered during training.
-
-{\small\begin{verbatim}
->>> text = "John saw the book on the table"
->>> tokens = list(tokenize.whitespace(text))
->>> list(unigram_tagger.tag(tokens))
-[('John', 'np'), ('saw', 'vbd'),
- ('the', 'at'), ('book', None),
- ('on', 'in'), ('the', 'at'),
- ('table', None)]
-\end{verbatim}}
-
-\noindent
-We can instruct the unigram tagger to back off to our default
-\url{nn_cd_tagger} when it cannot assign a tag itself. Now all
-the words are guaranteed to be tagged:
-
-{\small\begin{verbatim}
->>> unigram_tagger =
-... tag.Unigram(backoff=nn_cd_tagger)
->>> unigram_tagger.train(train_sents)
->>> list(unigram_tagger.tag(tokens))
-[('John', 'np'), ('saw', 'vbd'),
- ('the', 'at'), ('book', 'nn'),
- ('on', 'in'), ('the', 'at'),
- ('table', 'nn')]
-\end{verbatim}}
-
-\noindent
-We can go on to define and train a bigram tagger, as shown below:
-
-{\small\begin{verbatim}
->>> bigram_tagger =\
-... tag.Bigram(backoff=unigram_tagger)
->>> bigram_tagger.train(brown.tagged('a'))
-\end{verbatim}}
-
-\noindent
-We can easily evaluate this tagger against some gold-standard tagged
-text, using the \url{tag.accuracy()} function.
-
-NLTK-Lite also includes a Brill tagger (contributed by Christopher
-Maloof) and an HMM tagger (contributed by Trevor Cohn).
-
-\section{Chunking and Parsing}
-
-\subsection{Chunking}
-
-Chunking is a technique for shallow syntactic analysis of (tagged)
-text. Chunk data can be loaded from files that use the bracket notation
-(e.g.\ Penn Treebank) or the IOB (INSIDE/OUTSIDE/BEGIN) notation
-(e.g.\ CoNLL-2000).
-
-{\small\begin{verbatim}
->>> from nltk_lite import parse
->>> text = """
-... he PRP B-NP
-... accepted VBD B-VP
-... the DT B-NP
-... position NN I-NP
-... of IN B-PP
-... vice NN B-NP
-... chairman NN I-NP
-... of IN B-PP
-... Carlyle NNP B-NP
-... Group NNP I-NP
-... , , O
-... a DT B-NP
-... merchant NN I-NP
-... banking NN I-NP
-... concern NN I-NP
-... . . O
-... """
->>> sent = parse.conll_chunk(text)
-\end{verbatim}}
-
-\noindent
-Internally, the data is stored in a tree structure. We can
-print this as a nested bracketting, and we can conveniently access
-its children using indexes:
-
-{\small\begin{verbatim}
->>> print sent
-(S:
- (NP: ('he', 'PRP'))
- ('accepted', 'VBD')
- (NP: ('the', 'DT') ('position', 'NN'))
- ('of', 'IN')
- (NP: ('vice', 'NN') ('chairman', 'NN'))
- ('of', 'IN')
- (NP: ('Carlyle', 'NNP') ('Group', 'NNP'))
- (',', ',')
- (NP:
- ('a', 'DT')
- ('merchant', 'NN')
- ('banking', 'NN')
- ('concern', 'NN'))
- ('.', '.'))
->>> print sent[2]
-(NP: ('the', 'DT') ('position', 'NN'))
->>> print sent[2][1]
-('position', 'NN')
-\end{verbatim}}
-
-We can define a regular-expression based chunk parser for use in chunking tagged
-text, as shown in Figure~\ref{fig:chunking}. NLTK-Lite also supports several other
-operations on chunks, such as merging, splitting, and chinking. Corpus readers
-for chunked data in Penn Treebank and CoNLL-2000 are provided, along with comprehensive
-support for evaluation and error analysis.
-
-\begin{figure*}[t]
-{\small\begin{verbatim}
->>> sent = tag.string2tags("the/DT little/JJ cat/NN sat/VBD on/IN the/DT mat/NN")
->>> rule1 = parse.ChunkRule('<DT><JJ><NN>', 'Chunk det+adj+noun')
->>> rule2 = parse.ChunkRule('<DT|NN>+', 'Chunk sequences of NN and DT')
->>> chunkparser = parse.RegexpChunk([rule1, rule2], chunk_node='NP', top_node='S')
->>> chunk_tree = chunkparser.parse(sent, trace=1)
-Input:
- <DT> <JJ> <NN> <VBD> <IN> <DT> <NN>
-Chunk det+adj+noun:
- {<DT> <JJ> <NN>} <VBD> <IN> <DT> <NN>
-Chunk sequences of NN and DT:
- {<DT> <JJ> <NN>} <VBD> <IN> {<DT> <NN>}
->>> print chunk_tree
-(S:
- (NP: ('the', 'DT') ('little', 'JJ') ('cat', 'NN'))
- ('sat', 'VBD')
- ('on', 'IN')
- (NP: ('the', 'DT') ('mat', 'NN')))
-\end{verbatim}}
-\caption{Regular-Expression based Chunk Parser\label{fig:chunking}}
-\vspace{1ex}\hrule
-\end{figure*}
-
-\subsection{Simple Parsers}
-
-NLTK-Lite provides several parsers for context-free phrase-structure
-grammars. Grammars can be defined using a series of productions as follows:
-
-{\small\begin{verbatim}
->>> from nltk_lite.parse import cfg
->>> grammar = cfg.parse_grammar('''
-... S -> NP VP
-... VP -> V NP | V NP PP
-... V -> "saw" | "ate"
-... NP -> "John" | Det N | Det N PP
-... Det -> "a" | "an" | "the" | "my"
-... N -> "dog" | "cat" | "ball"
-... PP -> P NP
-... P -> "on" | "by" | "with"
-... ''')
-\end{verbatim}}
-
-\noindent
-Now we can tokenize and parse a sentence. Here we use a recursive
-descent parser. Note that we have had to avoid using left-recursive
-productions in the above grammar, so that this parser does not end up
-in an infinite loop.
-
-{\small\begin{verbatim}
->>> text = "John saw a cat with my ball"
->>> sent = list(tokenize.whitespace(text))
->>> rd = parse.RecursiveDescent(grammar)
-\end{verbatim}}
-
-The recursive descent parser \texttt{rd} can be used many times over.
-Here we apply it to our sentence, and iterate over all the parses that
-it generates. Observe that two parses are possible, thanks to
-prepositional phrase attachment ambiguity.
-
-{\small\begin{verbatim}
->>> for p in rd.get_parse_list(sent):
-... print p
-(S:
- (NP: 'John')
- (VP:
- (V: 'saw')
- (NP:
- (Det: 'a')
- (N: 'cat')
- (PP: (P: 'with')
- (NP: (Det: 'my') (N: 'ball'))))))
-(S:
- (NP: 'John')
- (VP:
- (V: 'saw')
- (NP: (Det: 'a') (N: 'cat'))
- (PP: (P: 'with')
- (NP: (Det: 'my') (N: 'ball')))))
-\end{verbatim}}
-
-\noindent
-The same sentence can be parsed using a grammar with left-recursive
-productions, so long as we use a chart parser. Here we use the
-bottom-up rule-invocation strategy \url{BU_STRATEGY}.
-
-{\small\begin{verbatim}
->>> from nltk_lite.parse import cfg, chart
->>> grammar = cfg.parse_grammar('''
-... S -> NP VP
-... VP -> V NP | VP PP
-... V -> "saw" | "ate"
-... NP -> "John" | Det N | NP PP
-... Det -> "a" | "an" | "the" | "my"
-... N -> "dog" | "cat" | "ball"
-... PP -> P NP
-... P -> "on" | "by" | "with"
-... ''')
->>> parser = chart.ChartParse(grammar,
-... chart.BU_STRATEGY)
->>> for tree in parser.get_parse_list(sent):
-... print tree
-(S:
- (NP: 'John')
- (VP:
- (VP: (V: 'saw')
- (NP: (Det: 'a') (N: 'cat')))
- (PP: (P: 'with')
- (NP: (Det: 'my') (N: 'ball')))))
-(S:
- (NP: 'John')
- (VP:
- (V: 'saw')
- (NP:
- (NP: (Det: 'a') (N: 'cat'))
- (PP: (P: 'with')
- (NP: (Det: 'my') (N: 'ball'))))))
-\end{verbatim}}
-
-Tracing can be turned on, to display each step of the parsing process,
-as shown in Figure~\ref{fig:chart}. Each row represents an edge
-of the chart, with a specified span, together with a (possibly
-incomplete) dotted grammar production.
-
-\begin{figure*}[p]
-{\small\begin{verbatim}
->>> parser = ChartParse(grammar, BU_STRATEGY, trace=2)
->>> parser.get_parse(sent)
-|. John. saw . a . cat . with. my .ball .|
-Bottom Up Init Rule:
-|[-----] . . . . . .| [0:1] 'John'
-|. [-----] . . . . .| [1:2] 'saw'
-|. . [-----] . . . .| [2:3] 'a'
-|. . . [-----] . . .| [3:4] 'cat'
-|. . . . [-----] . .| [4:5] 'with'
-|. . . . . [-----] .| [5:6] 'my'
-|. . . . . . [-----]| [6:7] 'ball'
-Bottom Up Predict Rule:
-|> . . . . . . .| [0:0] NP -> * 'John'
-|. > . . . . . .| [1:1] V -> * 'saw'
-|. . > . . . . .| [2:2] Det -> * 'a'
-|. . . > . . . .| [3:3] N -> * 'cat'
-|. . . . > . . .| [4:4] P -> * 'with'
-|. . . . . > . .| [5:5] Det -> * 'my'
-|. . . . . . > .| [6:6] N -> * 'ball'
-Fundamental Rule:
-|[-----] . . . . . .| [0:1] NP -> 'John' *
-|. [-----] . . . . .| [1:2] V -> 'saw' *
-|. . [-----] . . . .| [2:3] Det -> 'a' *
-|. . . [-----] . . .| [3:4] N -> 'cat' *
-|. . . . [-----] . .| [4:5] P -> 'with' *
-|. . . . . [-----] .| [5:6] Det -> 'my' *
-|. . . . . . [-----]| [6:7] N -> 'ball' *
-Bottom Up Predict Rule:
-|> . . . . . . .| [0:0] S -> * NP VP
-|> . . . . . . .| [0:0] NP -> * NP PP
-|. > . . . . . .| [1:1] VP -> * V NP
-|. . > . . . . .| [2:2] NP -> * Det N
-|. . . . > . . .| [4:4] PP -> * P NP
-|. . . . . > . .| [5:5] NP -> * Det N
-Fundamental Rule:
-|[-----> . . . . . .| [0:1] S -> NP * VP
-|[-----> . . . . . .| [0:1] NP -> NP * PP
-|. [-----> . . . . .| [1:2] VP -> V * NP
-|. . [-----> . . . .| [2:3] NP -> Det * N
-|. . [-----------] . . .| [2:4] NP -> Det N *
-|. . . . [-----> . .| [4:5] PP -> P * NP
-|. . . . . [-----> .| [5:6] NP -> Det * N
-|. . . . . [-----------]| [5:7] NP -> Det N *
-|. [-----------------] . . .| [1:4] VP -> V NP *
-|. . . . [-----------------]| [4:7] PP -> P NP *
-|[-----------------------] . . .| [0:4] S -> NP VP *
-Bottom Up Predict Rule:
-|. . > . . . . .| [2:2] S -> * NP VP
-|. . > . . . . .| [2:2] NP -> * NP PP
-|. . . . . > . .| [5:5] S -> * NP VP
-|. . . . . > . .| [5:5] NP -> * NP PP
-|. > . . . . . .| [1:1] VP -> * VP PP
-Fundamental Rule:
-|. . [-----------> . . .| [2:4] S -> NP * VP
-|. . [-----------> . . .| [2:4] NP -> NP * PP
-|. . . . . [----------->| [5:7] S -> NP * VP
-|. . . . . [----------->| [5:7] NP -> NP * PP
-|. [-----------------> . . .| [1:4] VP -> VP * PP
-|. . [-----------------------------]| [2:7] NP -> NP PP *
-|. [-----------------------------------]| [1:7] VP -> VP PP *
-|. . [----------------------------->| [2:7] S -> NP * VP
-|. . [----------------------------->| [2:7] NP -> NP * PP
-|. [----------------------------------->| [1:7] VP -> VP * PP
-|. [-----------------------------------]| [1:7] VP -> V NP *
-|[=========================================]| [0:7] S -> NP VP *
-|[=========================================]| [0:7] S -> NP VP *
-|. [----------------------------------->| [1:7] VP -> VP * PP
-(S: (NP: 'John') (VP: (VP: (V: 'saw') (NP: (Det: 'a') (N: 'cat')))
-(PP: (P: 'with') (NP: (Det: 'my') (N: 'ball')))))
-\end{verbatim}}
-\caption{Trace of Edges Created by the Bottom-Up Chart Parser\label{fig:chart}}
-\end{figure*}
-
-Other rule-invocation strategies are top-down, alternating
-top-down/bottom-up, and Earley (contributed by Jean Mark Gawron).
-
-\subsection{Probabilistic Parsing}
-
-A probabilistic context free grammar (or PCFG) is a context free
-grammar that associates a probability with each production. It
-generates the same set of parses for a text that the corresponding
-context free grammar does, and it assigns a probability to each parse.
-The probability of a parse generated by a PCFG is simply the product
-of the probabilities of the productions used to generate it.
-NLTK-Lite provides a Viterbi-style PCFG parser, together with a suite
-of bottom-up probabilistic chart parsers.
-
-\section{Contributing to NLTK-Lite}
-
-NLTK-Lite includes a variety of other modules supporting natural
-language processing tasks. Many more are in the planning stages,
-including fieldwork analysis tools, a concordancer, feature-based
-grammars, a cascaded chunk parser, semantic interpretation via the
-lambda-calculus, and several others.
-
-NLTK-Lite is an open source project, being developed by a community of
-NLP researchers and teachers. It is continually being expanded and
-improved, with the help of interested members of the community.
-
-There are several ways to contribute. Many users have suggested new
-features, reported bugs, or contributed patches via the Sourceforge
-site \url{nltk.sourceforge.net}. Several teachers and students have
-submitted NLTK-based projects for inclusion in the contrib directory,
-and in some cases these have made it into the core toolkit. The
-tutorials are continually being expanded and refined, with the help of
-input from users. The tutorials are being translated into Portuguese
-(by Tiago Tresoldi), and we hope to find translators for other
-languages.
-
-\section{Teaching with NLTK-Lite}
-
-NLTK-Lite provides ready-to-use courseware and a flexible framework
-for project work. Students augment and replace existing components,
-learn structured programming by example, and manipulate sophisticated
-models from the outset. Tutorials describe each component of the
-toolkit, and include a wide variety of student exercises and project
-ideas.
-
-NLTK-Lite can be used to create student assignments of varying
-difficulty and scope. In the simplest assignments, students experiment
-with an existing module. The wide variety of existing modules provide
-many opportunities for creating these simple assignments. Once
-students become more familiar with the toolkit, they can be asked to
-make minor changes or extensions to an existing module. A more
-challenging task is to develop a new module. Here, NLTK-Lite provides some
-useful starting points: predefined interfaces and data structures, and
-existing modules that implement the same interface.
-
-NLTK-Lite provides animated algorithms that can be used in class
-demonstrations. These interactive tools can be used to display
-relevant data structures and to show the step-by-step execution of
-algorithms. Both data structures and control flow can be easily
-modified during the demonstration, in response to questions from the
-class. Since these graphical tools are included with the toolkit, they
-can also be used by students. This allows students to experiment at
-home with the algorithms that they have seen presented in class.
-
-\section{Conclusion}
-
-Python is a particularly convenient language to use for writing
-scripts to perform natural language processing tasks. NLTK-Lite
-provides ready access to standard corpora, along with representations
-for common linguistic data structures, reference implementations for
-many NLP tasks, and extensive documentation including tutorials and
-library reference.
-
-\section*{Acknowledgements}
-
-The work reported here has been supported by the US National Science
-Foundation, the Australian Research Council, and NICTA Victoria
-Laboratory. Much of the original NLTK implementation and
-documentation work was done in close collaboration with Edward Loper.
-Ewan Klein has provided substantial input to several of the tutorials.
-I am grateful to James Curran for persuading me of the need to develop
-this lightweight version of NLTK. Dozens of others have provided
-valuable contributions and feedback; they are named on the NLTK
-contributors page, linked from \url{nltk.sourceforge.net}.
-
-\bibliographystyle{acl}
-\bibliography{general}
-
-\end{document}
diff --git a/papers/iwcs-08/drs.png b/papers/iwcs-08/drs.png
deleted file mode 100644
index bfc309f..0000000
Binary files a/papers/iwcs-08/drs.png and /dev/null differ
diff --git a/papers/iwcs-08/garrette-klein.tar.gz b/papers/iwcs-08/garrette-klein.tar.gz
deleted file mode 100644
index 34e039b..0000000
Binary files a/papers/iwcs-08/garrette-klein.tar.gz and /dev/null differ
diff --git a/papers/iwcs-08/iwcs.doctest b/papers/iwcs-08/iwcs.doctest
deleted file mode 100644
index a27aa5d..0000000
--- a/papers/iwcs-08/iwcs.doctest
+++ /dev/null
@@ -1,169 +0,0 @@
-Done
- >>> from nltk.sem import logic
- >>> lp = logic.LogicParser()
- >>> e = lp.parse('all x.(girl(x) -> exists y.(dog(y) & chase(x,y)))')
- >>> e
- <AllExpression all x.(girl(x) -> exists y.(dog(y) & chase(x,y)))>
-
-Done
- >>> from nltk.sem import Variable
- >>> e1 = lp.parse(r'\x.P(x)(y)')
- >>> print e1.simplify()
- P(y)
- >>> e2 = lp.parse('all x.P(x,a,b)')
- >>> print e2
- all x.P(x,a,b)
- >>> print e2.free()
- set([Variable('a'), Variable('b')])
- >>> print e2.alpha_convert(Variable('z'))
- all z.P(z,a,b)
- >>> e3 = lp.parse('x')
- >>> print e2.replace(Variable('b'), e3)
- all z1.P(z1,a,x)
-
-Done
- >>> from nltk.sem import parse_valuation, Model, Assignment
- >>> v = """
- ... suzie => s
- ... fido => f
- ... rover => r
- ... girl => {s}
- ... chase => {(f, s), (r, s), (s, f)}
- ... """
- >>> val = parse_valuation(v) #create a Valuation
- >>> m = Model(val.domain, val) #initialize a Model
- >>> g = Assignment(val.domain) #initialize an Assignment
- >>> e4 = lp.parse('exists y. (girl(y) & chase(x, y))')
- >>> m.satisfiers(e4, 'x', g) #check satisfiers of e4 wrt to x
- set(['r', 'f'])
-
-Typed Logic
- >>> tlp = logic.LogicParser(type_check=True)
- >>> a = tlp.parse(r'\x y.see(x,y)')
- >>> b = tlp.parse(r'\x.man(x)')
- >>> a.type, b.type
- (<e,<e,t>>, <e,t>)
- >>> tlp.parse(r'\x y.see(x,y)(\x.man(x))')
- Traceback (most recent call last):
- . . .
- TypeException: The function '\x y.see(x,y)' is of type '<e,<e,t>>' and cannot be applied to '\x.man(x)' of type '<e,t>'. Its argument must be of type 'e'.
-
-Done
- >>> from nltk.sem import drt
- >>> dp = drt.DrtParser()
- >>> d1 = dp.parse('([x][walk(x)]) + ([y][run(y)])')
- >>> print d1
- (([x],[walk(x)]) + ([y],[run(y)]))
- >>> print d1.simplify()
- ([x,y],[walk(x), run(y)])
- >>> d2 = dp.parse('([x,y][Bill(x), Fred(y)])')
- >>> d3 = dp.parse("""([][([u][Porsche(u), own(x,u)])
- ... -> ([v][Ferrari(v),own(y,u)])])""")
- >>> d4 = d2 + d3
- >>> print d4.simplify()
- ([x,y],[Bill(x), Fred(y), (([u],[Porsche(u), own(x,u)]) -> ([v],[Ferrari(v), own(y,u)]))])
-
-Done
- >>> print d1.toFol()
- (exists x.walk(x) & exists y.run(y))
- >>> #d4.simplify().draw()
-
-Done
- >>> from nltk.parse import load_earley
- >>> parser = load_earley('grammars/sem1.fcfg', trace=0)
- >>> tokens = 'a dog barks'.split()
- >>> trees = parser.nbest_parse(tokens)
- >>> print trees[0].node['sem'].simplify()
- exists x.(dog(x) & bark(x))
-
-Done
- >>> from nltk.sem import hole
- >>> readings = hole.hole_readings('every girl chases a dog')
- >>> for r in readings: print r
- exists z3.(dog(z3) & all z8.(girl(z8) -> chase(z3,z8)))
- all z8.(girl(z8) -> exists z3.(dog(z3) & chase(z3,z8)))
-
-Done
- >>> from nltk.sem.glue import GlueFormula
- >>> john = GlueFormula(r'john', 'g')
- >>> walks = GlueFormula(r'\x.walk(x)', '(g -o f)')
- >>> john_walks = walks.applyto(john)
- >>> print john_walks.meaning.simplify()
- walk(john)
-
-Done
- >>> from nltk.sem.glue import GlueFormula, Glue
- >>> a = GlueFormula(r'\Q.all x.(girl(x) -> Q(x))', '((g -o G) -o G)')
- >>> b = GlueFormula(r'\x y.chase(x,y)', '(g -o (h -o f))')
- >>> c = GlueFormula(r'\Q.exists x.(dog(x)&Q(x))', '((h -o H) -o H)')
- >>> glue = Glue()
- >>> for reading in glue.get_readings(glue.gfl_to_compiled([a,b,c])):
- ... print reading.simplify()
- exists x.(dog(x) & all z13.(girl(z13) -> chase(z13,x)))
- all x.(girl(x) -> exists z14.(dog(z14) & chase(x,z14)))
-
-Done
- >>> from nltk import inference
- >>> a = lp.parse('all x.(dog(x) -> bark(x))')
- >>> b = lp.parse('dog(rover)')
- >>> c = lp.parse('bark(rover)')
- >>> prover = inference.get_prover(c, [a,b])
- >>> prover.prove()
- True
-
-Done
- >>> a = lp.parse('all x.walk(x)')
- >>> b = lp.parse('all y.walk(y)')
- >>> a == b
- True
- >>> c = lp.parse('-(P(x) & Q(x))')
- >>> d = lp.parse('-P(x) | -Q(x)')
- >>> c == d
- False
- >>> c.tp_equals(d)
- True
-
- >>> from nltk.inference.discourse import DiscourseTester as DT
- >>> dt = DT(['A student dances', 'Every student is a person'])
- >>> dt.readings()
- <BLANKLINE>
- s0 readings:
- ------------------------------
- s0-r0: exists x.(student(x) & dance(x))
- <BLANKLINE>
- s1 readings:
- ------------------------------
- s1-r0: all x.(student(x) -> person(x))
- >>> dt.add_sentence('No person dances', consistchk=True)
- Inconsistent discourse d0 ['s0-r0', 's1-r0', 's2-r0']:
- s0-r0: exists x.(student(x) & dance(x))
- s1-r0: all x.(student(x) -> person(x))
- s2-r0: -exists x.(person(x) & dance(x))
- <BLANKLINE>
- >>> dt.retract_sentence('No person dances', quiet=False)
- Current sentences are
- s0: A student dances
- s1: Every student is a person
- >>> dt.add_sentence('A person dances', informchk=True)
- Sentence 'A person dances' under reading 'exists x.(person(x) & dance(x))':
- Not informative relative to thread 'd0'
-
-
-Discourse in DRT
- >>> from nltk.inference.discourse import DrtGlueReadingCommand as RC
- >>> dt = DT(['Every dog chases a boy', 'He runs'], RC())
- >>> dt.readings()
- <BLANKLINE>
- s0 readings:
- ------------------------------
- s0-r0: ([],[(([x],[dog(x)]) -> ([z15],[boy(z15), chase(x,z15)]))])
- s0-r1: ([z16],[boy(z16), (([x],[dog(x)]) -> ([],[chase(x,z16)]))])
- <BLANKLINE>
- s1 readings:
- ------------------------------
- s1-r0: ([x],[PRO(x), run(x)])
- >>> dt.readings(show_thread_readings=True)
- d0: ['s0-r0', 's1-r0'] : INVALID: AnaphoraResolutionException
- d1: ['s0-r1', 's1-r0'] : ([z20,z24],[boy(z20), (([x],[dog(x)]) -> ([],[chase(x,z20)])), (z24 = z20), run(z24)])
- >>> dt.readings(filter=True, show_thread_readings=True)
- d1: ['s0-r1', 's1-r0'] : ([z26,z29],[boy(z26), (([x],[dog(x)]) -> ([],[chase(x,z26)])), (z29 = z26), run(z29)])
diff --git a/papers/iwcs-08/lingmacros.sty b/papers/iwcs-08/lingmacros.sty
deleted file mode 100755
index 4bba509..0000000
--- a/papers/iwcs-08/lingmacros.sty
+++ /dev/null
@@ -1,262 +0,0 @@
-% Lingmacros
-% include
-% \enumsentence, \eenumsentence, \ex
-% \smalltree
-% \shortex, \shortexnt (\shortexdt no longer needed)
-% \clap, \ollap, \orlap, \oclap on analogy with \rlap and \llap
-% \outerfs
-
-% this file created 1/23/89 by Emma Pease, CSLI
-% modified 4/1/91 by Emma Pease
-
-%Note (for those who use jbmacros):
-% (a) the enumsentence macro is very similar to the \example command
-% in jbmacros; however, it does not have the annoying habit of leaving
-% the example number on one page and the example on the next (some
-% jbmacros don't have this problem). The eenumsentence macro is very
-% similar to the \examples macro.
-% (b) \ex may be different
-
-% the enumsentence macro.
-%
-% \enumsentence{This is an example}
-% produces
-% (1) This is an example
-% while
-% \enumsentence[(a)]{This is another example}
-% produces
-% (a) This is another example
-%
-% A related macros is
-% \eenumsentence{\item[a.] A third example
-% \item[b.] A fourth example}
-% which produces
-% (2) a. A third example
-% b. A fourth example
-%
-% other macro is \ex{1} which produces the number of the following
-% enumsentence (\ex{0} produces number of preceeding enumsentence and
-% so on.)
-%
-% The standard \label command also works within \enumsentence and
-% \eenumsentence.
-%
-% the \enumsentence counter. Add [chapter] if using report style
-\newcounter{enums}
-
-% \widelabel is defined for use when the width of the enumsentence or
-% eenumsentence number is wider than 20pt (default labelwidth). As a
-% rule of thumb if your enumerated sentences are only 1 or 2 digit
-% you don't need to worry. At 3 digits, set \widelabel to 2.78pt at 4
-% digits set to 7.78pt.
-
-\newdimen\widelabel
-\widelabel=0pt
-
-
-\def\enumsentence{\@ifnextchar[{\@enumsentence}% %]
-{\refstepcounter{enums}\@enumsentence[(\theenums)]}}
-
-\long\def\@enumsentence[#1]#2{\begin{list}{}{%
-\advance\leftmargin by\widelabel \advance\labelwidth by \widelabel}
-\item[#1] #2
-\end{list}}
-
-% The \ex definition
-\newcounter{tempcnt}
-
-\newcommand{\ex}[1]{\setcounter{tempcnt}{\value{enums}}%
-\addtocounter{tempcnt}{#1}%
-\arabic{tempcnt}}
-
-% modified \@item command \unhbox\@tempboxa replaces \makelabel{#1}
-% Used to get \eenumsentence to work correctly
-\def\@item[#1]{\if at noparitem \@donoparitem
- \else \if at inlabel \indent \par \fi
- \ifhmode \unskip\unskip \par \fi
- \if at newlist \if at nobreak \@nbitem \else
- \addpenalty\@beginparpenalty
- \addvspace\@topsep \addvspace{-\parskip}\fi
- \else \addpenalty\@itempenalty \addvspace\itemsep
- \fi
- \global\@inlabeltrue
-\fi
-\everypar{\global\@minipagefalse\global\@newlistfalse
- \if at inlabel\global\@inlabelfalse \hskip -\parindent \box\@labels
- \penalty\z@ \fi
- \everypar{}}\global\@nobreakfalse
-\if at noitemarg \@noitemargfalse \if at nmbrlist \refstepcounter{\@listctr}\fi \fi
-\setbox\@tempboxa\hbox{\makelabel{#1}}%
-\global\setbox\@labels
- \hbox{\unhbox\@labels \hskip \itemindent
- \hskip -\labelwidth \hskip -\labelsep
- \ifdim \wd\@tempboxa >\labelwidth
- \box\@tempboxa
- \else \hbox to\labelwidth {\unhbox\@tempboxa}\fi
- \hskip \labelsep}\ignorespaces}
-
-% for enumerated enumsentences. Internal enumeration is alpha if not
-% otherwise defined.
-
-% counter for items within \eenumsentence. (might use enumi instead?)
-\newcounter{enumsi}
-
-% \eenumsentence{\item[a.] A third \label{bar}example \toplabel{foo}
-% \item[b.] A fourth \label{baz}example}
-% Testing references \ref{foo}, \ref{bar}, and \ref{baz}.
-% which produces
-% (3) a. A third example
-% b. A fourth example
-% Testing references 3, 3a, and 3b.
-
-% To ensure that labels in \eenumsentence come out right.
-%
-\def\theenumsi{\theenums\alph{enumsi}}
-\newdimen\eeindent
-\eeindent=15pt
-% changes \leftmargin increased by \eeindent
-% \labelwidth increased by \eeindent
-% .. .. .leftmargin.. .. .. .. ..
-% oldlabelwidth eeindent labelsep actual entry
-% 20pt 15pt 5pt
-% (enumlabel) eelabel
-% eelabel
-
-\def\@mklab#1{\hfil#1}
-\def\enummklab#1{\hfil(\eelabel)\hbox to \eeindent{\hfil#1}}
-\def\enummakelabel#1{\enummklab{#1}\global\let\makelabel=\@mklab}
-\def\toplabel#1{{\edef\@currentlabel{\p at enums\theenums}\label{#1}}}
-
-\def\eenumsentence{\@ifnextchar[{\@eenumsentence}% %]
-{\refstepcounter{enums}\@eenumsentence[\theenums]}}
-
-\long\def\@eenumsentence[#1]#2{\def\eelabel{#1}\let\holdlabel\makelabel%
-\begin{list}{\alph{enumsi}.}{\usecounter{enumsi}%
-\advance\leftmargin by \eeindent \advance\leftmargin by \widelabel%
-\advance\labelwidth by \eeindent \advance\labelwidth by \widelabel%
-\let\makelabel=\enummakelabel}
-#2
-\end{list}\let\makelabel\holdlabel}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% smalltree
-% use
-% \smalltree{& &a\\
-% &b& &c\\
-% d& &e& &f}
-% produces
-% a
-% b c
-% d e f
-
-
-\long\def\smalltree#1{\leavevmode{\def\\{\cr\noalign{\vskip12pt}}%
-\def\mc##1##2{\multispan{##1}{\hfil##2\hfil}}%
-\tabskip=1em%
-\hbox{\vtop{\halign{&\hfil##\hfil\cr
-#1\crcr}}}}}
-
-% modsmalltree
-% use
-% \modsmalltree{3}{&&a\\ &b&&c\\ d&&e&&f}
-% and produces the same output
-% \mc{n}{item} within either will produce item centered across n
-% number of columns
-% \modsmalltree[arraystretch]{num of cols}{argument}
-%
-\def\modsmalltree{\@ifnextchar[{\@modsmalltree}{\@modsmalltree[2]}}
-
-\long\def\@modsmalltree[#1]#2#3{{\def\mc##1##2{%
-\multicolumn{##1}{c}{\def\arraystretch{1}##2}}%
-\def\arraystretch{#1}%
-\def\ns{\def\arraystretch{1}}%
-\setbox0=\hbox{\begin{tabular}[t]{@{}*{#2}{c}@{}}
-#3
-\end{tabular}}%
-\dimen0=\ht0
-\advance\dimen0 by -\arraystretch \ht\strutbox
-\advance\dimen0 by \ht\strutbox
-\ht0=\dimen0
-\dimen0=\dp0
-\advance\dimen0 by -\arraystretch \dp\strutbox
-\advance\dimen0 by \dp\strutbox
-\dp0=\dimen0
-\leavevmode\box0}}
-
-% center lap creates a box of 0 width centered on the point
-\def\clap#1{\hbox to 0pt{\hss#1\hss}}
-%The first argument in both of these commands is the distance above the
-%baseline desired. The second is what is the actual text.
-% over right lap
-\def\orlap#1#2{\vbox to0pt{\vss\hbox to 0pt{#2\hss}\hbox{\vrule height#1
-width0pt depth0pt}}}
-% over left lap
-\def\ollap#1#2{\vbox to0pt{\vss\hbox to 0pt{\hss#2}\hbox{\vrule height#1
-width0pt depth0pt}}}
-% over center lap
-\def\oclap#1#2{\vbox to0pt{\vss\hbox to 0pt{\hss#2\hss}\hbox{\vrule height#1
-width0pt depth0pt}}}
-
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% need to be modified?
-
-% Format
-% \shortex{4}{a & b & c & d}
-% {z & y & x & w}
-% {mnop}
-% produces
-% a b c d
-% z y x w
-% mnop
-%
-% \shortexdt takes two gloss lines
-% \shortexnt takes no gloss lines
-
-\def\shortex#1#2#3#4{\begin{tabular}[t]{@{}*{#1}{l@{\ }}}
-#2\\ #3\\ \multicolumn{#1}{@{}l@{}}{\parbox{\linewidth}{#4}}
-\end{tabular}}
-
-%\def\shortexdt#1#2#3#4#5{\begin{tabular}[t]{@{}*{#1}{l@{\ }}}
-%#2\\ #3\\ \multicolumn{#1}{@{}l@{}}{#4}\\
-%\multicolumn{#1}{@{}l@{}}{#5}
-%\end{tabular}}
-
-\def\shortexnt#1#2#3{\begin{tabular}[t]{@{}*{#1}{l@{\ }}}
-#2\\ #3
-\end{tabular}}
-
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% need to create equivalent of AVM structures.
-
-% Structure is
-% \outerfs{alpha & beta\\ gamma & delta}
-% produces
-% __ __
-% | alpha beta |
-% | gamma delta |
-% -- --
-%
-% \outerfs can be nested.
-% inside of enumsentence use with \evnup[2pt]{\outerfs{. . .}}
-% to ensure that top of fs structure lines up with the number
-%
-% Note that you can use \\[1ex] to increase the space between
-% individual lines
-
-\def\outerfs#1{$\left[\begin{tabular}{ll}#1\end{tabular}\right]$}
-
-% \evnup is used to line up the enumsentence number and an entry along
-% the top. It can take an argument to improve lining up.
-\def\evnup{\@ifnextchar[{\@evnup}{\@evnup[0pt]}}
-
-\def\@evnup[#1]#2{\setbox1=\hbox{#2}%
-\dimen1=\ht1 \advance\dimen1 by -.5\baselineskip%
-\advance\dimen1 by -#1%
-\leavevmode\lower\dimen1\box1}
-
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% End of main lingmacros
-%
\ No newline at end of file
diff --git a/papers/iwcs-08/modules.graffle b/papers/iwcs-08/modules.graffle
deleted file mode 100644
index b41d0fa..0000000
Binary files a/papers/iwcs-08/modules.graffle and /dev/null differ
diff --git a/papers/iwcs-08/modules.pdf b/papers/iwcs-08/modules.pdf
deleted file mode 100644
index ff7c556..0000000
Binary files a/papers/iwcs-08/modules.pdf and /dev/null differ
diff --git a/papers/iwcs-08/nltk_iwcs_09.bib b/papers/iwcs-08/nltk_iwcs_09.bib
deleted file mode 100644
index d78d86d..0000000
--- a/papers/iwcs-08/nltk_iwcs_09.bib
+++ /dev/null
@@ -1,72 +0,0 @@
- at book{Dalrymple2001,
- author = {Mary Dalrymple},
- title = {Lexical Functional Grammar},
- series = {Syntax and Semantics},
- volume = {34},
- publisher = {Academic Press},
- address = {New York},
- year = {2001}
-}
-
-
- at InCollection{Dalrymple:1999:RRB,
- author = {Mary Dalrymple and V. Gupta and John Lamping and V. Saraswat},
- title = {Relating resource-based
-semantics to categorial semantics},
- booktitle = {Semantics and syntax in {Lexical Functional Grammar}: the resource
-logic approach},
- pages = { 261--280},
- publisher = {MIT Press},
- year = 1999,
- editor = {Mary Dalrymple},
- address = {Cambridge, MA}}
-
-
-
-
- at book{BB,
- author = {Patrick Blackburn and Johan Bos},
- title = {Representation and Inference for Natural Language: A First Course in Computational Semantics},
- publisher = {CSLI Publications},
- address = {New York},
- year = {2005}
-}
-
- at book{KampReyle,
- author = {Hans Kamp and Uwe Reyle},
- title = {From Discourse to the Lexicon: Introduction to Modeltheoretic Semantics of Natural Language, Formal Logic and Discourse Representation Theory},
- publisher = {Kluwer Academic Publishers},
- year = {1993}
-}
-
- at inproceedings{Multidisciplinary,
- author = {Steven Bird and Ewan Klein and Edward Loper and Jason Baldridge},
- title = {Multidisciplinary instruction with the {Natural Language Toolkit}},
- booktitle = {Proceedings of the Third Workshop on Issues in Teaching Computational Linguistics},
- address = {Columbus, Ohio, USA},
- month = {June},
- year = {2008}
-}
-
- at Misc{McCune,
- author = {William McCune},
- title = {Prover9: Automated theorem prover for first-order and equational logic},
- year = 2008,
- note = {\url{http://www.cs.unm.edu/~mccune/mace4/manual-examples.html}}
-}
-
- at inproceedings{BosRTE,
- author = {Johan Bos and Katja Markert},
- title = {Recognising textual entailment with logical inference},
- booktitle = {Proceedings of the conference on Human Language Technology and Empirical Methods in Natural Language Processing},
- address = {Vancouver, British Columbia, Canada},
- year = {2005}
-}
-
- at InProceedings{Klein06altw,
- author = {Ewan Klein},
- title = {Computational semantics in the {Natural Language Toolkit}},
- booktitle = {Proceedings of the Australasian Language Technology Workshop},
- pages = {26--33},
- year = 2006
-}
diff --git a/papers/iwcs-08/nltk_iwcs_09.tex b/papers/iwcs-08/nltk_iwcs_09.tex
deleted file mode 100755
index 6daa0d0..0000000
--- a/papers/iwcs-08/nltk_iwcs_09.tex
+++ /dev/null
@@ -1,708 +0,0 @@
-\documentclass[11pt, a4paper]{article}
-
-\usepackage[pdftex,colorlinks=true,
- pdfstartview=FitV,
- linkcolor=blue,
- citecolor=blue,
- urlcolor=blue
- ]{hyperref}
-
-\usepackage{amssymb}
-\usepackage{amsmath}
-\usepackage{graphicx}
-\usepackage{url}
-\usepackage{wrapfig}
-\usepackage{fancyvrb}
-\fvset{fontsize=\small, frame=lines}
-
-\newcommand{\BB}{\textsc{B{\small\&}B}}
-\newcommand{\DRS}{\textsc{drs}}
-\newcommand{\DRT}{\textsc{drt}}
-\newcommand{\FOL}{\textsc{fol}}
-\newcommand{\LF}{\textsc{lf}}
-\newcommand{\NLP}{\textsc{nlp}}
-\newcommand{\NLTK}{\textsc{nltk}}
-\newcommand{\RTE}{\textsc{rte}}
-
-
-\pdfinfo{
- /Author (Dan Garrette and Ewan Klein)
- /Title (An Extensible Toolkit for Computational Semantics)
- /Subject (Computational Semantics)
- /Keywords (Natural Language Processing;Computational Semantics;Natural Language Toolkit;NLTK)
-}
-
-\usepackage[round]{natbib}
-% \bibpunct{[}{]}{;}{a}{,}{,}
-\bibliographystyle{plainnat}
-
-\usepackage{lingmacros}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Copied from covington.sty by Michael A. Covington
-%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand{\dhgdrs}[2]
-{
- {
- \it
- \begin{tabular}{|l|}
- \hline
- ~ \vspace{-2ex} \\
- #1
- \\
- ~ \vspace{-2ex} \\
- \hline
- ~ \vspace{-2ex} \\
- #2
- \\
- ~ \\ % can't vspace here or the line will come out wrong
- \hline
- \end{tabular}
- }
-}
-\newcommand{\dhgsdrs}[3]
-{\begin{tabular}{l}
-\mbox{\it #1} \\
-~ \\
-\dhgdrs{#2}{#3}
-\end{tabular}}\newcommand{\dhgifdrs}[4]
-{
- \mbox{\dhgdrs{#1}{#2}~~{\large $\Rightarrow$}~\dhgdrs{#3}{#4}}
-}
-\newcommand{\dhgalifdrs}[4]
-{
- \mbox{$\!\!\!$\dhgdrs{#1}{#2}~~{\large $\Rightarrow$}~\dhgdrs{#3}{#4}}
-}
-\newcommand{\dhgnegdrs}[2]
-{
- \mbox{{\large $\neg$}\dhgdrs{#1}{#2}}
-}
-%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% END covington.sty
-%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-
-\begin{document}
-
-
-\title{An Extensible Toolkit for Computational Semantics}
-\author{Dan Garrette \and Ewan Klein}
-\date{\today}
-
-\maketitle
-
-\section{Introduction}
-
-In this paper we focus on the software for computational semantics provided
-by the Python-based Natural Language Toolkit (\NLTK). The semantics
-modules in \NLTK\ are
-inspired in large part by the approach developed in \citet{BB}
-(henceforth referred to as \BB).
-Since Blackburn and Bos have also provided a software suite to
-accompany their excellent textbook, one might ask what the
-justification is for the \NLTK\ offering, which is similarly slanted
-towards teaching computational semantics.
-
-This question can be answered in a number of ways. First, we believe
-there is intrinsic merit in the availability of different software
-tools for semantic analysis, even when there is some duplication of
-coverage; and this will become more true as computational semantics
-starts to be as widely studied as computational syntax. For example,
-one rarely hears the objection that too many implementations of
-syntactic parsers are available. Moreover, the \NLTK\ software
-significantly goes beyond \BB\ in providing an implementation of
-Glue Semantics.
-
-Second, whatever the relative merits of Prolog vs.\ Python as
-programming languages, there is surely an advantage in offering
-students and instructors a choice in this respect. Given that many
-students have either already been exposed to Java, or else have had no
-programming experience at all, Python offers them the option of
-accomplishing interesting results with only a shallow
-learning curve.
-
-Third, \NLTK\ is a rapidly developing, open source
-project\footnote{See \url{http://nltk.org}} with a broad coverage of
-natural language processing (\NLP) tools; see \citet{Multidisciplinary} for
-a recent overview. This wide functionality has a number of benefits,
-most notably that lexical, syntactic and semantic processing can be
-carried out within a uniform computational framework. As a result,
-\NLTK\ makes it much easier to include some computational semantics
-subject matter in
-a broad course on natural language analysis, rather than having to
-devote a whole course exclusively to the topic.
-
-Fourth, \NLTK\ is accompanied by a substantial collection of corpora,
-plus easy-to-use corpus readers. This collection, which currently
-stands at over 50 corpora and trained models, includes parsed, POS-tagged, plain text,
-categorized text, and
-lexicons. The
-availability of corpora can help encourage students to go beyond
-writing toy grammars, and instead to start grappling with the
-complexities of semantically analysing realistic bodies of text.
-
-Fifth, \NLTK\ is not just for students. Although Python is slower than
-languages like Java and C++, its suitability for rapid prototyping
-makes it an attractive addition to the researcher's inventory of
-resources. Building an experimental set-up in \NLTK\ to test a
-hypothesis or explore some data is straightforward and quick, and the
-rich variety of existing \NLP\ components in the toolkit allows rapid
-assembly of quite sophisticated processing pipelines.
-
-
-\section{Overview}
-\label{sec:overview}
-
-
-\begin{wrapfigure}{r}{3in}
-%\label{modules}
- \centering
-\includegraphics[scale=.6]{modules}
-% \caption{Overview of semantic processing in NLTK}
-\end{wrapfigure}
-
-Like \BB, we assume that one of the most important tasks for
-the teacher is to ground students in the basic concepts of first order
-logic and the lambda calculus, model-theoretic interpretation and
-inference. This provides a basis for exploring more modern approaches
-like Discourse Representation Theory (\DRT; \citet{KampReyle}) and
-underspecification.
-
-In the accompanying figure, we give a diagrammatic overview of the
-main semantics-related functionality that is currently available in
-\NLTK. Logical forms (\LF s) can be induced as result of syntactic
-parsing, using either feature-based grammars that are processed with
-an Earley chart parser, or else by associating \LF s with the output
-of a broad-coverage dependency parser. Our basic \LF s are expressions
-of first order logic, supplemented with the lambda operator. However,
-we also admit Discourse Representation Structures (\DRS s) as \LF s,
-and underspecified \LF s can be built using either Hole Semantics
-\citep{BB} or Glue Semantics
-\citep{Dalrymple:1999:RRB}.
-%\citep{Dalrymple:1999:RRB,Dalrymple2001}.
-Once we have constructed \LF
-s, they can be evaluated in a first order model \citep{Klein06altw},
-tested for equivalence and validity in a variety of theorem provers,
-or tested for consistency in a model builder. The latter two tasks are
-aided by \NLTK\
- interfaces to third-party inference tools, currently Prover9
-and Mace4 \citep{McCune}.
-
-We do not have space in this paper to discuss all of these components,
-but will try to present some of the key aspects, and along the way
-noting certain points of difference \textit{vis-\`a-vis} \BB.
-
-
-\section{Logical Form}
-
-\subsection{First Order Predicate Logic with Lambda Calculus}
-From a pedagogical point of view, it is usually important to ensure
-that students have some grasp of the language of first order predicate
-logic (\FOL), and can also manipulate $\lambda$-abstraction. The
-\texttt{nltk.sem.logic} module contains an object-oriented approach
-to representing \FOL\ plus
-$\lambda$-abstraction. Logical formulas are typically fed to the
-\texttt{logic} parser as strings, and then represented as instances of
-various subclasses of \texttt{Expression}, as we will see shortly.
-
-An attractive feature of Python is its interactive interpreter,
-which allows the user to enter Python expressions and statements for
-evaluation. In the example below and subsequently, \verb!>>>! is the
-Python interpreter's prompt.
-\begin{Verbatim}[numbers=left]
->>> from nltk.sem import LogicParser
->>> lp = LogicParser()
->>> e = lp.parse('all x.(girl(x) -> exists y.(dog(y) & chase(x,y)))')
->>> e
-<AllExpression all x.(girl(x) -> exists y.(dog(y) & chase(x,y)))>
-\end{Verbatim}
-As illustrated, the result of parsing the formula at line~3 is an object
-\texttt{e} belonging to the class \texttt{AllExpression}, itself a
-subclass of \texttt{Expression}. All such subclasses have numerous
-methods that implement standard logical operations. For
-example, the \texttt{simplify()} method carries out
-$\beta$-conversion; the \texttt{free()} method finds
-all the free variables in an expression; and for quantified expressions
-(such as \texttt{AllExpression}s), there is an \texttt{alpha\_convert()}
-method. The \texttt{logic}
-module will $\alpha$-convert automatically when appropriate to
-avoid name-clashes in the \texttt{replace()} method. Let's illustrate
-these methods
-with a formula involving $\lambda$-abstraction, namely
-\verb!\x.P(x)(y)!; we use \protect{\verb!\!} to represent
-$\lambda$. (Since \verb!\! is a special character in Python,
-we add the \texttt{r} prefix to strings containing it to preclude
-additional escape characters.)
-\begin{Verbatim}
->>> from nltk.sem import Variable
->>> e1 = lp.parse(r'\x.P(x)(y)')
->>> print e1.simplify()
-P(y)
->>> e2 = lp.parse('all x.P(x,a,b)')
->>> print e2.free()
-set([<Variable('a'), Variable('b')])
->>> print e2.alpha_convert(Variable('z'))
-all z.P(z,a,b)
->>> e3 = lp.parse('x')
->>> print e2.replace(Variable('b'), e3)
-all z1.P(z1,a,x)
-\end{Verbatim}
-Allowing students to build simple first order models, and evaluate
-expressions in those models, can be useful for helping them clarify
-their intuitions about quantification. In the next example, we show
-one of the available methods in \NLTK\ for specifying a model and
-using it to determine the set of satisfiers of the open formula
-$\exists x.(\mathit{girl}(y) \wedge
-\mathit{chase}(x,y))$.\footnote{The triple quotes \texttt{"""} in
- Python allow us to break a logical line across several physical
- lines.},
-\footnote{Given a valuation \texttt{val}, the property
- \texttt{val.domain} returns the set of all domain individuals
- specified in the valuation.}
-\begin{Verbatim}
->>> from nltk.sem import parse_valuation, Model, Assignment
->>> v = """
-... suzie => s
-... fido => f
-... rover => r
-... girl => {s}
-... chase => {(f, s), (r, s), (s, f)}
-... """
->>> val = parse_valuation(v) #create a Valuation
->>> m = Model(val.domain, val) #initialize a Model
->>> g = Assignment(val.domain) #initialize an Assignment
->>> e4 = lp.parse('exists y. (girl(y) & chase(x, y))')
->>> m.satisfiers(e4, 'x', g) #check satisfiers of e4 wrt to x
-set(['r', 'f'])
-\end{Verbatim}
-
-In \BB, $\lambda$-abstracts are second-class citizens, used
-exclusively as a `glue' mechanism for composing meaning
-representations. Although we use $\lambda$-abstracts as glue too,
-abstracts over individual variables are semantically interpreted in \NLTK, namely as
-characteristic functions.
-
-\texttt{Expression}s in \NLTK\ are typed (using Montague-style
-types). The type can be accessed with the \texttt{type}
-property. A type checking procedure can be invoked with the
-\texttt{typecheck()} method. \texttt{typecheck()} will return
-a dictionary of all variables and their types if the expression
-is well typed; for non-well typed expressions, an exception will
-be raised. Additionally, type checking will be automatically
-invoked by the \texttt{LogicParser} if the parameter
-\texttt{type\_check=True} is set.
-\begin{Verbatim}
->>> a = lp.parse(r'\x.(man(x) & tall(x))')
->>> a.type
-<e,t>
->>> a.typecheck()
-{'x': e, 'man': <e,t>, 'tall': <e,t>}
->>> tlp = LogicParser(type_check=True)
->>> tlp.parse(r'\x y.-see(x,y)(\x.(man(x) & tall(x)))')
-Traceback (most recent call last):
- . . .
-TypeException: The function '\x y.-see(x,y)' is of type '<e,<e,t>>'
-and cannot be applied to '\x.(man(x) & tall(x))' of type '<e,t>'.
-Its argument must match type 'e'.
-\end{Verbatim}
-% Fix for code colorization: >>>>
-
-\subsection{Discourse Representation Theory}
-As mentioned earlier, \NLTK\ contains an extension to the
-\texttt{logic} module for working with Discourse Representation Theory
-(\DRT) \citep{KampReyle}. The \texttt{nltk.sem.drt} module introduces
-a classes for working with Discourse Representation Structures (\DRS s).
-In \NLTK , a \DRS\ is represented as a pair consisting of a list of
-discourse of referents and a list of \DRS\ conditions:
-
-\enumsentence{\label{drt3} \texttt{([j,d],[John(j), dog(d),
- sees(j,d)])}}
-
-On top of the functionality available for \FOL\
-expressions, \DRT\ expressions have a `\DRS-concatenation' operator,
-represented as the \texttt{+} symbol. The concatenation of two \DRS s
-is a single \DRS\ containing the merged discourse referents and the
-conditions from both arguments. \DRS-concatenation automatically
-$\alpha$-converts bound variables to avoid name-clashes. The
-\texttt{+} symbol is overloaded so that \DRT\ expressions can be added
-together easily. The \texttt{DrtParser} allows \DRS s to be
-specified succinctly as strings.
-\begin{Verbatim}
->>> from nltk.sem.drt import DrtParser
->>> dp = DrtParser()
->>> d1 = dp.parse('([x],[walk(x)]) + ([y],[run(y)])')
->>> print d1
-(([x],[walk(x)]) + ([y],[run(y)]))
->>> print d1.simplify()
-([x,y],[walk(x), run(y)])
->>> d2 = dp.parse('([x,y],[Bill(x), Fred(y)])')
->>> d3 = dp.parse("""([],[([u],[Porsche(u), own(x,u)])
-... -> ([v],[Ferrari(v), own(y,u)])])""")
->>> d4 = d2 + d3
->>> print d4.simplify()
-([x,y],[Bill(x), Fred(y),
-(([u],[Porsche(u), own(x,u)]) -> ([v],[Ferrari(v), own(y,u)]))])
-\end{Verbatim}
-
-\noindent
-\DRT\ expressions can be converted to their first order predicate
-logic equivalents using the \texttt{fol()} method and can be
-graphically rendered on screen with the \texttt{draw()} method.
-
-\begin{wrapfigure}{r}{0.2\textheight}
-\vspace{-16ex}
-\begin{center}
- \includegraphics[scale=.5]{drs.png}
- \end{center}
-\vspace{-4ex}
-\caption{\small DRS Screenshot}
-\vspace{-10ex}
-\end{wrapfigure}
-
-\begin{Verbatim}[frame=none]
->>> print d1.fol()
-(exists x.walk(x) & exists y.run(y))
->>> d4.simplify().draw()
-\end{Verbatim}
-
-Since the $\lambda$ operator can be combined with \DRT\ expressions,
-the \texttt{nltk.sem.drt} module can be used as a plug-in replacement for
-\texttt{nltk.sem.logic} in building compositional semantics.
-
-
-\section{Scope Ambiguity and Underspecification}
-
-Two key questions in introducing students to computational semantics are:
-\begin{enumerate}
-\item[Q1:] How are semantic representations constructed from input
- sentences?
-\vspace{-2ex}
-\item[Q2:] What is scope ambiguity and how is it captured?
-\end{enumerate}
-A standard pedagogical approach is to address (Q1) with a simple
-syntax-driven induction of logical forms which fails to deal with
-scope ambiguity, while (Q2) is addressed by introducing underspecified
-representations which are resolved to produce different readings of
-ambiguous sentences.
-
-\NLTK\ includes a suite of parsing tools, amongst which is a chart
-parser for context free grammars augmented with feature structures. A
-`semantics' feature \texttt{sem} allows us to compose the
-contributions of constituents to build a logical form for a complete
-sentence. To illustrate, the following minimal grammar
-\texttt{sem1.fcfg} handles quantification and intransitive verbs
-(where values such as \texttt{?subj} and \texttt{?vp} are unification
-variables, while \texttt{P} and \texttt{Q} are $\lambda$-bound object
-language variables):
-\begin{Verbatim}
-S[sem = <?subj(?vp)>] -> NP[sem=?subj] VP[sem=?vp]
-VP[sem=?v] -> IV[sem=?v]
-NP[sem=<?det(?n)>] -> Det[sem=?det] N[sem=?n]
-Det[sem=<\P.\Q.exists x.(P(x) & Q(x))>] -> 'a'
-N[sem=<\x.dog(x)>] -> 'dog'
-IV[sem=<\x.bark(x)>] -> 'barks'
-\end{Verbatim}
-Using \texttt{sem1.fcfg}, we can parse \textit{A dog barks} and view
-its semantics.
-The \texttt{load\_earley()} method
-takes an optional parameter \texttt{logic\_parser} which specifies the
-logic-parser for processing the value of the \texttt{sem} feature, thus
-allowing different kinds of logical forms to be constructed.
-\begin{Verbatim}
->>> from nltk.parse import load_earley
->>> parser = load_earley('grammars/sem1.fcfg', trace=0)
->>> trees = parser.nbest_parse('a dog barks'.split())
->>> print trees[0].node['sem'].simplify()
-exists x.(dog(x) & bark(x))
-\end{Verbatim}
-
-Underspecified logical forms allow us to loosen the relation between
-syntactic and semantic representations. We consider two approaches to
-underspecification, namely Hole
-Semantics and Glue Semantics. Since the former will be familiar from
-\BB, we devote most of our attention to presenting Glue
-Semantics.
-
-\subsection{Hole Semantics}
-
-Hole Semantics in \NLTK\ is handled by the
-\texttt{nltk.sem.hole} module, which uses a context free grammar to
-generate an underspecified logical form. Since the latter is itself a
-formula of first order logic, we can continue to use the \texttt{sem} feature
-in the context free grammar:
-\begin{Verbatim}[frame=none,fontsize=\small]
-N[sem=<\x h l.(PRED(l,dog,x) & LEQ(l,h) & HOLE(h) & LABEL(l))>] -> 'dog'
-\end{Verbatim}
-The Hole Semantics module uses a standard plugging algorithm to derive the
-sentence's readings from the underspecified \LF.
-\begin{Verbatim}
->>> from nltk.sem.hole import hole_readings
->>> readings = hole_readings('every girl chases a dog')
->>> for r in readings: print r
-exists z1.(dog(z1) & all z2.(girl(z2) -> chase(z1,z2)))
-all z2.(girl(z2) -> exists z1.(dog(z1) & chase(z1,z2)))
-\end{Verbatim}
-
-
-\subsection{Glue Semantics}
-Glue Semantics
- \citep{Dalrymple:1999:RRB}, or Glue for
-short, is an approach to compositionality that tries to handle
-semantic ambiguity by using resource-sensitive logic to assemble
-meaning expressions.
-The approach builds proofs over `meaning constructors'; these are of the
-form $\cal{M}: \cal{G}$, where $\cal{M}$ is a meaning representation and
-$\cal{G}$ is a term of linear logic. The linear logic term $\cal{G}$
-dictates how the meaning expression $\cal{M}$ can be combined. Each
-distinct proof that can be derived reflects a different semantic
-reading of the entire sentence.
-
-The variant of linear logic that we use has \emph{(linear)
- implication} (i.e., $\multimap$) as its
-only operator, so the primary operation during the proof is Modus
-Ponens. Linear logic is an appropriate logic to serve as `glue'
-because it is resource-sensitive. This means that when Modus Ponens
-combines two terms to create a new one, the two original
-terms are `consumed', and cannot be used again in the proof;
-cf.\ (\ref{glue1}) vs.\ (\ref{glue2}).
-Additionally, every premise must be used for the proof to be valid;
-cf.\ (\ref{glue3}).
-This resource-sensitivity dictates that each word contributes its
-meaning exactly once to the meaning of the whole.
-\enumsentence{\label{glue1} $A, (A \multimap B) \vdash B$}
-\enumsentence{\label{glue2} $A, (A \multimap B) \nvdash A, B$}
-\enumsentence{\label{glue3} $A, A, (A \multimap B) \nvdash B$}
-\NLTK's \texttt{nltk.sem.linearlogic} module
-contains an implementation of linear logic.
-
-The primary rule for composing Glue formulas is (\ref{glue4}).
-Function-argument application of meaning expressions is reflected (\textit{via}
-the Curry-Howard isomorphism) by the application of Modus Ponens in a
-linear logic proof. Note that $A$ and $B$ are meta-variables over
-constants of linear logic; these constants represent `attachment
-points' for meaning expressions in some kind of syntactically-derived
-representation (such as an LFG \textit{f}-structure). It is
-(\ref{glue4}) which allows Glue to guide the construction of complex
-meaning expressions.
-\vspace{-3ex}
-\enumsentence{\label{glue4} $\alpha : A,\;
- \gamma : (A \multimap B) \vdash \gamma(\alpha) : B$}
-
-The \NLTK\ module \texttt{sem.glue} implements Glue for
-\FOL\ and \DRT\ meaning expressions.%
-\footnote{See
- \url{http://nltk.googlecode.com/svn/trunk/doc/contrib/sem/index.html}
-for more details.}
-The following example shows how Glue formulas are
-created and combined to derive a logical form for \textit{John walks}:
-
-\begin{Verbatim}
->>> from nltk.sem.glue import GlueFormula
->>> john = GlueFormula('john', 'g')
->>> walks = GlueFormula(r'\x.walk(x)', '(g -o f)')
->>> john_walks = walks.applyto(john)
->>> print john_walks.meaning.simplify()
-walk(john)
-\end{Verbatim}
-Thus, the non-logical constant \textit{john} is associated with the
-Glue term $g$, while the meaning expression $\lambda x.walk(x)$ is
-associated with $(g \multimap f)$ since it is a function that
-takes $g$ as input and returns the meaning expression $f$,
-corresponding to the whole
-sentence. Consequently, a proof of $f$ from the premises is a derivation
-of a meaning representation for the sentence.
-
-Scope ambiguity, resulting, for example, from quantifiers, requires the
-use of \textit{variables} in the Glue terms. Such variables may be
-instantiated to any linear logic constant, so long as this is carried
-out uniformly. Let's assume that the quantified noun phrase
-\textit{every girl} has the meaning constructor (\ref{glue5}) (where
-$G$ is a linear logic variable):
-
-\enumsentence{\label{glue5} $\lambda Q.\forall x.(girl(x) \rightarrow
- Q(x)) : ((g \multimap G) \multimap G)$}
-Then the Glue derivation shown below correctly
-generates two readings for the sentence \textit{Every girl chases a dog}:
-\begin{Verbatim}
->>> from nltk.sem.glue import GlueFormula, Glue
->>> a = GlueFormula(r'\Q.all x.(girl(x) -> Q(x))', '((g -o G) -o G)')
->>> b = GlueFormula(r'\x y.chase(x,y)', '(g -o (h -o f))')
->>> c = GlueFormula(r'\Q.exists x.(dog(x)&Q(x))', '((h -o H) -o H)')
->>> glue = Glue()
->>> for reading in glue.get_readings(glue.gfl_to_compiled([a,b,c])):
-... print reading.simplify()
-exists x.(dog(x) & all z13.(girl(z13) -> chase(z13,x)))
-all x.(girl(x) -> exists z14.(dog(z14) & chase(x,z14)))
-\end{Verbatim}
-
-
-\section{Inference tools}
-In order to perform inference over semantic representations, \NLTK\
-can call both theorem provers and model builders.
-The library includes a pure Python tableau-based first order theorem prover;
-this is intended to allow students to study
-tableau methods for theorem proving, and provides an
-opportunity for experimentation. In addition, \NLTK\ provides
-interfaces to two off-the-shelf tools, namely the theorem prover Prover9,
-and the model builder Mace4 \citep{McCune}. % Both of these are
-% powerful enough for research.
-
-The \verb!Prover9! class represents the interface to Prover9. It has a
-method \verb!prove(G, A)! and takes as parameters a proof goal
-\texttt{G} and a list \texttt{A} of assumptions.
-Here, we verify that if every dog barks, and Rover is a dog,
-then it is true that Rover barks:
-\begin{Verbatim}
->>> from nltk.inference import Prover9
->>> a = lp.parse('all x.(dog(x) -> bark(x))')
->>> b = lp.parse('dog(rover)')
->>> c = lp.parse('bark(rover)')
->>> prover = Prover9()
->>> prover.prove(c, [a,b])
-True
-\end{Verbatim}
-
-A theorem prover can also be used to check the logical equivalence of
-expressions. For two expressions $A$ and $B$, we can pass $(A\iff B)$
-into a theorem prover and know that the theorem will be proved if and
-only if the expressions are logically equivalent. \NLTK's standard
-equality operator for \texttt{Expression}s (\texttt{==}) is able to
-handle situations where two expressions are identical up to
-$\alpha$-conversion. However, it would be impractical for \NLTK\ to
-invoke a wider range of logic rules every time we checked for equality
-of two expressions. Consequently, both the \texttt{logic} and
-\texttt{drt} modules in \NLTK\
-have a separate method, \texttt{tp\_equals}, for checking `equality'
-up to logical equivalence.
-\begin{Verbatim}
->>> a = lp.parse('all x.walk(x)')
->>> b = lp.parse('all y.walk(y)')
->>> a == b
-True
->>> c = lp.parse('-(P(x) & Q(x))')
->>> d = lp.parse('-P(x) | -Q(x)')
->>> c == d
-False
->>> c.tp_equals(d)
-True
-\end{Verbatim}
-
-\section{Discourse Processing}
-
-\NLTK\ contains a discourse processing module,
-\texttt{nltk.inference.discourse}, similar to the \textsc{curt} program
-presented in \BB. This module processes sentences incrementally,
-keeping track of all possible threads when there is ambiguity. For
-simplicity, the following example ignores scope ambiguity.
-\begin{Verbatim}[baselinestretch=.5]
-
->>> from nltk.inference.discourse import DiscourseTester as DT
->>> dt = DT(['A student dances', 'Every student is a person'])
->>> dt.readings()
-
-s0 readings:
-
-s0-r0: exists x.(student(x) & dance(x))
-
-s1 readings:
-
-s1-r0: all x.(student(x) -> person(x))
-\end{Verbatim}
-When a new sentence is added to the current discourse, setting the
-parameter \texttt{consistchk=True} causes consistency to be checked
-by invoking the model checker for each `thread', i.e., discourse sequence of
-admissible readings. In this case, the user has the option
-of retracting the sentence in question.
-\newpage
-\begin{Verbatim}
->>> dt.add_sentence('No person dances', consistchk=True)
-Inconsistent discourse d0 ['s0-r0', 's1-r0', 's2-r0']:
- s0-r0: exists x.(student(x) & dance(x))
- s1-r0: all x.(student(x) -> person(x))
- s2-r0: -exists x.(person(x) & dance(x))
->>> dt.retract_sentence('No person dances')
-Current sentences are
-s0: A student dances
-s1: Every student is a person
-\end{Verbatim}
-In a similar manner, we use \texttt{informchk=True} to check whether
-the new sentence is informative relative to the current discourse (by
-asking the theorem prover to derive it from the discourse).
-\begin{Verbatim}
->>> dt.add_sentence('A person dances', informchk=True)
-Sentence 'A person dances' under reading 'exists x.(person(x) & dance(x))':
-Not informative relative to thread 'd0'
-\end{Verbatim}
-It is also possible to pass in an additional set of assumptions as
-background knowledge and use these to filter out inconsistent readings.
-
-The \texttt{discourse} module can accommodate semantic
-ambiguity and filter out readings that are not admissable.
-By invoking both Glue Semantics and \DRT, the following example processes the
-two-sentence discourse \textit{Every dog chases a boy. He runs}. As
-shown, the first sentence has two possible readings, while
-the second sentence contains an anaphoric pronoun, indicated as \texttt{PRO(x)}.
-\begin{Verbatim}[baselinestretch=.5]
-
->>> from nltk.inference.discourse import DrtGlueReadingCommand as RC
->>> dt = DT(['Every dog chases a boy', 'He runs'], RC())
->>> dt.readings()
-
-s0 readings:
-
-s0-r0: ([],[(([x],[dog(x)]) -> ([z15],[boy(z15), chase(x,z15)]))])
-s0-r1: ([z16],[boy(z16), (([x],[dog(x)]) -> ([],[chase(x,z16)]))])
-
-s1 readings:
-
-s1-r0: ([x],[PRO(x), run(x)])
-\end{Verbatim}
-When we examine the two threads \texttt{d0} and \texttt{d1}, we see
-that that reading \texttt{s0-r0}, where \textit{every dog} out-scopes
-\texttt{a boy}, is deemed inadmissable because the pronoun in the
-second sentence cannot be resolved. By contrast, in thread \texttt{d1} the
-pronoun (relettered to \texttt{z24}) has been bound \textit{via} the
-equation \texttt{(z24 = z20)}. % Inadmissable readings are filtered out
-\begin{Verbatim}
->>> dt.readings(show_thread_readings=True)
-d0: ['s0-r0', 's1-r0'] : INVALID: AnaphoraResolutionException
-d1: ['s0-r1', 's1-r0'] : ([z20,z24],[boy(z20), (([x],[dog(x)]) ->
-([],[chase(x,z20)])), (z24 = z20), run(z24)])
-\end{Verbatim}
-
-\section{Conclusions and Future Work}
-\NLTK's semantics functionality has been written with extensibility in
-mind. The \texttt{logic} module's \texttt{LogicParser}
-employs a basic parsing template and contains hooks that an extending
-module can use to supplement or substitute functionality. Moreover, the
-base \texttt{Expression} class in \texttt{logic}, as well as any
-derived classes, can be extended, allowing variants to reuse the
-existing functionality. For example, the \DRT\ and linear logic modules
-are implemented as extensions to \texttt{logic.py}.
-
-The theorem prover and model builder code has also been carefully
-archi\-tected to allow extensions and the \texttt{nltk.inference.api}
-library exposes the framework for the inference architecture. The
-library therefore provides a good starting point for creating
-interfaces with other theorem provers and model builders in addition
-to Prover9, Mace4, and the tableau prover.
-
-\NLTK\ already includes the beginnings of a framework for `recognizing
-textual entailment'; access to the \RTE\ data sets is provided and we
-are in the course of developing a few simple modules to demonstrate
-\RTE\ techniques. For example, a Logical Entailment \RTE\ tagger
-based on \cite{BosRTE} begins by building a semantic
-representation of both the text and the hypothesis in \DRT. It then
-runs a theorem prover with the text as the assumption and the
-hypothesis as the goal in order to check whether the text entails the
-hypothesis.The tagger is also capable of adding background knowledge
-\textit{via} an interface to the WordNet dictionary in
-\texttt{nltk.wordnet} as a first step in making the entailment
-checking more robust.
-
-
-{\small
-\bibliography{nltk_iwcs_09}
-}
-
-\end{document}
diff --git a/pip-req.txt b/pip-req.txt
deleted file mode 100644
index 0e634a6..0000000
--- a/pip-req.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-nose>=1.3.0
-tox>=1.6.1
-coverage>=3.7.1
-pylint>=1.1.0
-numpy>=1.8.0
-scipy>=0.13.2
-matplotlib>=1.3.1
-scikit-learn>=0.14.1
diff --git a/setup.cfg b/setup.cfg
index e69de29..a669c45 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -0,0 +1,5 @@
+[egg_info]
+tag_svn_revision = 0
+tag_build =
+tag_date = 0
+
diff --git a/tools/find_deprecated.py b/tools/find_deprecated.py
deleted file mode 100755
index 43cd2a3..0000000
--- a/tools/find_deprecated.py
+++ /dev/null
@@ -1,226 +0,0 @@
-#!/usr/bin/env python
-#
-## Natural Language Toolkit: Deprecated Function & Class Finder
-#
-# Copyright (C) 2001-2014 NLTK Project
-# Author: Edward Loper <edloper at gmail.com>
-# URL: <http://nltk.org/>
-# For license information, see LICENSE.TXT
-
-from __future__ import print_function
-
-"""
-This command-line tool takes a list of python files or directories,
-and searches them for calls to deprecated NLTK functions, or uses of
-deprecated NLTK classes. For each use of a deprecated object it
-finds, it will print out a warning containing the offending line, as
-well as its line number and containing file name. If the terminal has
-color support (and if epydoc is installed), then the offending
-identifier will be highlighted in red.
-"""
-
-######################################################################
-# Imports
-######################################################################
-
-import os, re, sys, tokenize, textwrap
-import nltk, nltk.corpus
-from doctest import DocTestParser, register_optionflag
-from cStringIO import StringIO
-from nltk import defaultdict
-
-######################################################################
-# Regexps
-######################################################################
-
-#: A little over-simplified, but it'll do.
-STRING_PAT = (r'\s*[ur]{0,2}(?:'
- '"""[\s\S]*?"""|' '"[^"\n]+?"|'
- "'''[\s\S]*?'''|" "'[^'\n]+?'" ")\s*")
-STRING_RE = re.compile(STRING_PAT)
-
-STRINGS_PAT = '%s(?:[+]?%s)*' % (STRING_PAT, STRING_PAT)
-STRINGS_RE = re.compile(STRINGS_PAT)
-
-# Define a regexp to search for deprecated definitions.
-DEPRECATED_DEF_PAT = (
- r'^\s*@deprecated\s*\(\s*(%s)\s*\)\s*\n+' % STRINGS_PAT +
- r'\s*def\s*(\w+).*' +
- r'|' +
- r'^\s*class\s+(\w+)\s*\(.*Deprecated.*\):\s*')
-DEPRECATED_DEF_RE = re.compile(DEPRECATED_DEF_PAT, re.MULTILINE)
-
-CORPUS_READ_METHOD_RE = re.compile(
- '(%s)\.read\(' % ('|'.join(re.escape(n) for n in dir(nltk.corpus))))
-
-CLASS_DEF_RE = re.compile('^\s*class\s+(\w+)\s*[:\(]')
-
-######################################################################
-# Globals
-######################################################################
-# Yes, it's bad programming practice, but this is a little hack
-# script. :) These get initialized by find_deprecated_defs.
-
-deprecated_funcs = defaultdict(set)
-deprecated_classes = defaultdict(set)
-deprecated_methods = defaultdict(set)
-
-try:
- from epydoc.cli import TerminalController
-except ImportError:
- class TerminalController:
- def __getattr__(self, attr): return ''
-
-term = TerminalController()
-
-######################################################################
-# Code
-######################################################################
-
-# If we're using py24, then ignore the +SKIP directive.
-if sys.version_info[:2] < (2,5): register_optionflag('SKIP')
-
-def strip_quotes(s):
- s = s.strip()
- while (s and (s[0] in "ur") and (s[-1] in "'\"")):
- s = s[1:]
- while (s and (s[0] in "'\"" and (s[0] == s[-1]))):
- s = s[1:-1]
- s = s.strip()
- return s
-
-def find_class(s, index):
- lines = s[:index].split('\n')
- while lines:
- m = CLASS_DEF_RE.match(lines[-1])
- if m: return m.group(1)+'.'
- lines.pop()
- return '?.'
-
-def find_deprecated_defs(pkg_dir):
- """
- Return a list of all functions marked with the @deprecated
- decorator, and classes with an immediate Deprecated base class, in
- all Python files in the given directory.
- """
- # Walk through the directory, finding python files.
- for root, dirs, files in os.walk(pkg_dir):
- for filename in files:
- if filename.endswith('.py'):
- # Search the file for any deprecated definitions.
- s = open(os.path.join(root, filename)).read()
- for m in DEPRECATED_DEF_RE.finditer(s):
- if m.group(2):
- name = m.group(2)
- msg = ' '.join(strip_quotes(s) for s in
- STRING_RE.findall(m.group(1)))
- msg = ' '.join(msg.split())
- if m.group()[0] in ' \t':
- cls = find_class(s, m.start())
- deprecated_methods[name].add( (msg, cls, '()') )
- else:
- deprecated_funcs[name].add( (msg, '', '()') )
- else:
- name = m.group(3)
- m2 = STRING_RE.match(s, m.end())
- if m2: msg = strip_quotes(m2.group())
- else: msg = ''
- msg = ' '.join(msg.split())
- deprecated_classes[name].add( (msg, '', ''))
-
-def print_deprecated_uses(paths):
- dep_names = set()
- dep_files = set()
- for path in sorted(paths):
- if os.path.isdir(path):
- dep_names.update(print_deprecated_uses(
- [os.path.join(path,f) for f in os.listdir(path)]))
- elif path.endswith('.py'):
- print_deprecated_uses_in(open(path).readline, path,
- dep_files, dep_names, 0)
- elif path.endswith('.doctest') or path.endswith('.txt'):
- for example in DocTestParser().get_examples(open(path).read()):
- ex = StringIO(example.source)
- try:
- print_deprecated_uses_in(ex.readline, path, dep_files,
- dep_names, example.lineno)
- except tokenize.TokenError:
- print(term.RED + 'Caught TokenError -- '
- 'malformatted doctest?' + term.NORMAL)
- return dep_names
-
-def print_deprecated_uses_in(readline, path, dep_files, dep_names,
- lineno_offset):
- tokiter = tokenize.generate_tokens(readline)
- context = ['']
- for (typ, tok, start, end, line) in tokiter:
- # Remember the previous line -- it might contain
- # the @deprecated decorator.
- if line is not context[-1]:
- context.append(line)
- if len(context) > 10: del context[0]
- esctok = re.escape(tok)
- # Ignore all tokens except deprecated names.
- if not (tok in deprecated_classes or
- (tok in deprecated_funcs and
- re.search(r'\b%s\s*\(' % esctok, line)) or
- (tok in deprecated_methods and
- re.search(r'(?!<\bself)[.]\s*%s\s*\(' % esctok, line))):
- continue
- # Hack: only complain about read if it's used after a corpus.
- if tok == 'read' and not CORPUS_READ_METHOD_RE.search(line):
- continue
- # Ignore deprecated definitions:
- if DEPRECATED_DEF_RE.search(''.join(context)):
- continue
- # Print a header for the first use in a file:
- if path not in dep_files:
- print('\n'+term.BOLD + path + term.NORMAL)
- print(' %slinenum%s' % (term.YELLOW, term.NORMAL))
- dep_files.add(path)
- # Mark the offending token.
- dep_names.add(tok)
- if term.RED: sub = term.RED+tok+term.NORMAL
- elif term.BOLD: sub = term.BOLD+tok+term.NORMAL
- else: sub = '<<'+tok+'>>'
- line = re.sub(r'\b%s\b' % esctok, sub, line)
- # Print the offending line.
- print(' %s[%5d]%s %s' % (term.YELLOW, start[0]+lineno_offset,
- term.NORMAL, line.rstrip()))
-
-
-def main():
- paths = sys.argv[1:] or ['.']
-
- print('Importing nltk...')
- try:
- import nltk
- except ImportError:
- print('Unable to import nltk -- check your PYTHONPATH.')
- sys.exit(-1)
-
- print('Finding definitions of deprecated funtions & classes in nltk...')
- find_deprecated_defs(nltk.__path__[0])
-
- print('Looking for possible uses of deprecated funcs & classes...')
- dep_names = print_deprecated_uses(paths)
-
- if not dep_names:
- print('No deprecated funcs or classes found!')
- else:
- print("\n"+term.BOLD+"What you should use instead:"+term.NORMAL)
- for name in sorted(dep_names):
- msgs = deprecated_funcs[name].union(
- deprecated_classes[name]).union(
- deprecated_methods[name])
- for msg, prefix, suffix in msgs:
- print(textwrap.fill(term.RED+prefix+name+suffix+
- term.NORMAL+': '+msg,
- width=75, initial_indent=' '*2,
- subsequent_indent=' '*6))
-
-
-
-if __name__ == '__main__':
- main()
-
diff --git a/tools/global_replace.py b/tools/global_replace.py
deleted file mode 100755
index ff60782..0000000
--- a/tools/global_replace.py
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/usr/bin/env python
-#
-## Natural Language Toolkit: substitute a pattern with a replacement in every file
-#
-# Copyright (C) 2001-2014 NLTK Project
-# Author: Edward Loper <edloper at gmail.com>
-# Steven Bird <stevenbird1 at gmail.com>
-# URL: <http://nltk.org/>
-# For license information, see LICENSE.TXT
-
-# NB Should work on all platforms, http://www.python.org/doc/2.5.2/lib/os-file-dir.html
-
-import os, stat, sys
-
-def update(file, pattern, replacement, verbose=False):
- if verbose:
- print("Updating:", file)
-
- # make sure we can write the file
- old_perm = os.stat(file)[0]
- if not os.access(file, os.W_OK):
- os.chmod(file, old_perm | stat.S_IWRITE)
-
- # write the file
- s = open(file, 'rb').read()
- t = s.replace(pattern, replacement)
- out = open(file, 'wb')
- out.write(t)
- out.close()
-
- # restore permissions
- os.chmod(file, old_perm)
-
- return s != t
-
-if __name__ == '__main__':
-
- if len(sys.argv) != 3:
- exit("Usage: %s <pattern> <replacement>" % sys.argv[0])
-
- pattern = sys.argv[1]
- replacement = sys.argv[2]
- count = 0
-
- for root, dirs, files in os.walk('.'):
- if not ('/.git' in root or '/.tox' in root):
- for file in files:
- path = os.path.join(root, file)
- if update(path, pattern, replacement):
- print("Updated:", path)
- count += 1
-
- print("Updated %d files" % count)
diff --git a/tools/nltk_term_index.py b/tools/nltk_term_index.py
deleted file mode 100755
index 6255c3b..0000000
--- a/tools/nltk_term_index.py
+++ /dev/null
@@ -1,102 +0,0 @@
-from __future__ import print_function
-
-import re, sys
-import nltk
-import epydoc.docbuilder, epydoc.cli
-from epydoc import log
-
-STOPLIST = '../../tools/nltk_term_index.stoplist'
-FILENAMES = ['ch%02d.xml' % n for n in range(13)]
-TARGET_DIR = 'nlp/'
-#FILENAMES = ['../doc/book/ll.xml']
-
-logger = epydoc.cli.ConsoleLogger(0)
-logger._verbosity = 5
-log.register_logger(logger)
-
-def find_all_names(stoplist):
- ROOT = ['nltk']
- logger._verbosity = 0
- docindex = epydoc.docbuilder.build_doc_index(ROOT, add_submodules=True)
- valdocs = sorted(docindex.reachable_valdocs(
- imports=False,
- #packages=False, bases=False, submodules=False,
- #subclasses=False,
- private=False))
- logger._verbosity = 5
- names = nltk.defaultdict(list)
- n = 0
- for valdoc in valdocs:
- name = valdoc.canonical_name
- if (name is not epydoc.apidoc.UNKNOWN and
- name is not None and name[0] == 'nltk'):
- n += 1
- for i in range(len(name)):
- key = str(name[i:])
- if len(key) == 1: continue
- if key in stoplist: continue
- names[key].append(valdoc)
-
- log.info('Found %s names from %s objects' % (len(names), n))
-
- return names
-
-SCAN_RE1 = "<programlisting>[\s\S]*?</programlisting>"
-SCAN_RE2 = "<literal>[\s\S]*?</literal>"
-SCAN_RE = re.compile("(%s)|(%s)" % (SCAN_RE1, SCAN_RE2))
-
-TOKEN_RE = re.compile('[\w\.]+')
-
-LINE_RE = re.compile('.*')
-
-INDEXTERM = '<indexterm type="nltk"><primary>%s</primary></indexterm>'
-
-def scan_xml(filenames, names):
- fdist = nltk.FreqDist()
-
- def linesub(match):
- line = match.group()
- for token in TOKEN_RE.findall(line):
- if token in names:
- targets = names[token]
- fdist.inc(token)
- if len(targets) > 1:
- log.warning('%s is ambiguous: %s' % (
- token, ', '.join(str(v.canonical_name)
- for v in names[token])))
- line += INDEXTERM % token
- #line += INDEXTERM % names[token][0].canonical_name
- return line
-
- def scansub(match):
- return LINE_RE.sub(linesub, match.group())
-
- for filename in filenames:
- log.info(' %s' % filename)
- src = open(filename, 'rb').read()
- src = SCAN_RE.sub(scansub, src)
-# out = open(filename[:-4]+'.li.xml', 'wb')
- out = open(TARGET_DIR + filename, 'wb')
- out.write(src)
- out.close()
-
- for word in fdist:
- namestr = ('\n'+38*' ').join([str(v.canonical_name[:-1])
- for v in names[word][:1]])
- print('[%3d] %-30s %s' % (fdist[word], word, namestr))
- sys.stdout.flush()
-
-
-def main():
- log.info('Loading stoplist...')
- stoplist = open(STOPLIST).read().split()
- log.info(' Stoplist contains %d words' % len(stoplist))
-
- log.info('Running epydoc to build a name index...')
- names = find_all_names(stoplist)
-
- log.info('Scanning xml files...')
- scan_xml(FILENAMES, names)
-
-main()
-
diff --git a/tools/nltk_term_index.stoplist b/tools/nltk_term_index.stoplist
deleted file mode 100644
index c17d653..0000000
--- a/tools/nltk_term_index.stoplist
+++ /dev/null
@@ -1,106 +0,0 @@
-__init__
-Comment
-Plot
-about
-add
-all
-analysis
-args
-book
-bubble
-categories
-close
-concatenate
-contains
-copy
-coverage
-defaultdict
-demo
-describe
-dict
-discourse
-doctype
-documents
-dump
-end
-ends
-fileids
-files
-find
-first
-free
-goal
-groups
-help
-incorrect
-insert
-instances
-items
-join
-key
-labels
-lhs
-line
-lines
-list
-lookup
-matches
-max
-means
-min
-missed
-name
-next
-nltk
-nltk.book
-open
-pairs
-play
-plot
-pop
-pos
-pp
-pprint
-prev
-process
-purge
-put
-quick
-raw
-read
-reader
-readings
-readme
-repr
-rhs
-root
-run
-second
-see
-select
-sentences
-sents
-set
-simple
-size
-sorted
-span
-start
-step
-stop
-str
-table
-test
-text
-texts
-trace
-type
-update
-verbs
-view
-vocab
-walk
-wav
-width
-words
-write
diff --git a/tools/run_doctests.py b/tools/run_doctests.py
deleted file mode 100755
index b47ad69..0000000
--- a/tools/run_doctests.py
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/python3
-# -*- coding: utf-8 -*-
-"""
-run doctests
-"""
-
-from __future__ import print_function
-import sys, subprocess, os
-
-for root, dirs, filenames in os.walk('.'):
- for filename in filenames:
- if filename.endswith('.py'):
- path = os.path.join(root, filename)
- for pyver in ["python2.6", "python2.7", "python3.2"]:
- print(pyver, filename, file=sys.stderr)
- subprocess.call([pyver, "-m", "doctest", path])
diff --git a/tools/svnmime.py b/tools/svnmime.py
deleted file mode 100755
index ea7133b..0000000
--- a/tools/svnmime.py
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/usr/bin/env python
-
-# NB, this wouldn't be needed if everyone had .subversion/config
-# configured to automatically set mime types
-# http://code.google.com/p/support/wiki/FAQ
-
-from __future__ import print_function
-
-import os
-import sys
-
-types_map = {
- 'ai': 'application/postscript',
- 'coverage': 'text/plain',
- 'css': 'text/css',
- 'eps': 'application/postscript',
- 'exe': 'application/octet-stream',
- 'errs': 'text/plain',
- 'gif': 'image/gif',
- 'htm': 'text/html',
- 'html': 'text/html',
- 'jpeg': 'image/jpeg',
- 'jpg': 'image/jpeg',
- 'js': 'application/x-javascript',
- 'pbm': 'image/x-portable-bitmap',
- 'pdf': 'application/pdf',
- 'pgm': 'image/x-portable-graymap',
- 'pnm': 'image/x-portable-anymap',
- 'png': 'image/png',
- 'ppm': 'image/x-portable-pixmap',
- 'py': 'text/x-python',
- 'ps': 'application/postscript',
- 'rst': 'text/plain',
- 'tex': 'application/x-tex',
- 'txt': 'text/plain',
- 'xml': 'text/xml',
- 'xsl': 'text/plain',
- 'zip': 'application/zip',
- }
-
-def usage():
- exit("Usage: svnmime files")
-
-for file in sys.argv[1:]:
- if "." in file:
- extension = file.rsplit('.', 1)[1]
- if extension in types_map:
- os.system("svn propset svn:mime-type %s %s" % (types_map[extension], file))
- else:
- print("Unrecognized extension", extension)
diff --git a/tox.ini b/tox.ini
deleted file mode 100644
index c4a87b0..0000000
--- a/tox.ini
+++ /dev/null
@@ -1,101 +0,0 @@
-[tox]
-envlist = py26,py27,py32,py33,pypy,py26-nodeps,py27-nodeps,py32-nodeps,py33-nodeps,py26-jenkins,py32-jenkins
-
-[testenv]
-
-; simplify numpy installation
-setenv =
- LAPACK=
- ATLAS=None
-
-deps =
- numpy
- nose >= 1.2.1
- coverage
- text-unidecode
-
-changedir = nltk/test
-commands =
- ; scipy and scikit-learn requires numpy even to run setup.py so
- ; they can't be installed in one command
-
- pip install --download-cache={toxworkdir}/_download scipy scikit-learn
- ; python runtests.py --with-coverage --cover-inclusive --cover-package=nltk --cover-html --cover-html-dir={envdir}/docs []
- python runtests.py []
-
-[testenv:pypy]
-; numpy is bundled with pypy; coverage is extra slow and
-; the coverage results are not that different from CPython.
-deps =
- nose >= 1.2.1
-
-commands =
- python runtests.py []
-
-[testenv:py32]
-deps =
- numpy
- nose >= 1.2.1
- coverage
-
-commands =
- ; scipy and scikit-learn requires numpy even to run setup.py so
- ; they can't be installed in one command
-
- ; scikit-learn installation fails so scipy & scikit-learn are temporary disabled
- ; pip install --download-cache={toxworkdir}/_download scipy scikit-learn
-
- ; python runtests.py --with-coverage --cover-inclusive --cover-package=nltk --cover-html --cover-html-dir={envdir}/docs []
- python runtests.py []
-
-[testenv:py33]
-deps =
- numpy
- nose >= 1.2.1
- coverage
- text-unidecode
-
-commands =
- ; scipy and scikit-learn requires numpy even to run setup.py so
- ; they can't be installed in one command
- pip install --download-cache={toxworkdir}/_download scipy scikit-learn
-
- ; python runtests.py --with-coverage --cover-inclusive --cover-package=nltk --cover-html --cover-html-dir={envdir}/docs []
- python runtests.py []
-
-
-[testenv:py26-nodeps]
-basepython = python2.6
-deps = nose >= 1.2.1
-commands = python runtests.py []
-
-[testenv:py27-nodeps]
-basepython = python2.7
-deps = nose >= 1.2.1
-commands = python runtests.py []
-
-[testenv:py32-nodeps]
-basepython = python3.2
-deps = nose >= 1.2.1
-commands = python runtests.py []
-
-[testenv:py33-nodeps]
-basepython = python3.3
-deps = nose >= 1.2.1
-commands = python runtests.py []
-
-[testenv:py26-jenkins]
-basepython = python2.6
-commands = {toxinidir}/jenkins.sh
-setenv =
- STANFORD_MODELS = {homedir}/third/stanford-parser/
- STANFORD_PARSER = {homedir}/third/stanford-parser/
- STANFORD_POSTAGGER = {homedir}/third/stanford-postagger/
-
-[testenv:py32-jenkins]
-basepython = python3.2
-commands = {toxinidir}/jenkins.sh
-setenv =
- STANFORD_MODELS = {homedir}/third/stanford-parser/
- STANFORD_PARSER = {homedir}/third/stanford-parser/
- STANFORD_POSTAGGER = {homedir}/third/stanford-postagger/
diff --git a/web/Makefile b/web/Makefile
deleted file mode 100644
index 972cb37..0000000
--- a/web/Makefile
+++ /dev/null
@@ -1,161 +0,0 @@
-# Makefile for Sphinx documentation
-#
-
-# You can set these variables from the command line.
-SPHINXOPTS =
-SPHINXBUILD = sphinx-build
-PAPER =
-BUILDDIR = _build
-WEB = ../../nltk.github.com
-
-# Internal variables.
-PAPEROPT_a4 = -D latex_paper_size=a4
-PAPEROPT_letter = -D latex_paper_size=letter
-ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
-# the i18n builder cannot share the environment and doctrees with the others
-I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
-
-.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
-
-web: clean_api
- sphinx-apidoc -o api ../nltk
- $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(WEB)
- @echo
- @echo "Build finished. The HTML pages are in $(WEB)."
-
-without_api: clean_api
- $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(WEB)
-
-clean_api:
- rm -f api/modules.rst api/nltk.*.rst
-
-help:
- @echo "Please use \`make <target>' where <target> is one of"
- @echo " html to make standalone HTML files"
- @echo " dirhtml to make HTML files named index.html in directories"
- @echo " singlehtml to make a single large HTML file"
- @echo " pickle to make pickle files"
- @echo " json to make JSON files"
- @echo " htmlhelp to make HTML files and a HTML help project"
- @echo " qthelp to make HTML files and a qthelp project"
- @echo " devhelp to make HTML files and a Devhelp project"
- @echo " epub to make an epub"
- @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
- @echo " latexpdf to make LaTeX files and run them through pdflatex"
- @echo " text to make text files"
- @echo " man to make manual pages"
- @echo " texinfo to make Texinfo files"
- @echo " info to make Texinfo files and run them through makeinfo"
- @echo " gettext to make PO message catalogs"
- @echo " changes to make an overview of all changed/added/deprecated items"
- @echo " linkcheck to check all external links for integrity"
- @echo " doctest to run all doctests embedded in the documentation (if enabled)"
-
-clean:
- -rm -rf $(BUILDDIR)/* # $(WEB)/*
-
-dirhtml:
- $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
- @echo
- @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
-
-singlehtml:
- $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
- @echo
- @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
-
-pickle:
- $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
- @echo
- @echo "Build finished; now you can process the pickle files."
-
-json:
- $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
- @echo
- @echo "Build finished; now you can process the JSON files."
-
-htmlhelp:
- $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
- @echo
- @echo "Build finished; now you can run HTML Help Workshop with the" \
- ".hhp project file in $(BUILDDIR)/htmlhelp."
-
-qthelp:
- $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
- @echo
- @echo "Build finished; now you can run "qcollectiongenerator" with the" \
- ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
- @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/NLTK.qhcp"
- @echo "To view the help file:"
- @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/NLTK.qhc"
-
-devhelp:
- $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
- @echo
- @echo "Build finished."
- @echo "To view the help file:"
- @echo "# mkdir -p $$HOME/.local/share/devhelp/NLTK"
- @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/NLTK"
- @echo "# devhelp"
-
-epub:
- $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
- @echo
- @echo "Build finished. The epub file is in $(BUILDDIR)/epub."
-
-latex:
- $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
- @echo
- @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
- @echo "Run \`make' in that directory to run these through (pdf)latex" \
- "(use \`make latexpdf' here to do that automatically)."
-
-latexpdf:
- $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
- @echo "Running LaTeX files through pdflatex..."
- $(MAKE) -C $(BUILDDIR)/latex all-pdf
- @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
-
-text:
- $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
- @echo
- @echo "Build finished. The text files are in $(BUILDDIR)/text."
-
-man:
- $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
- @echo
- @echo "Build finished. The manual pages are in $(BUILDDIR)/man."
-
-texinfo:
- $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
- @echo
- @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
- @echo "Run \`make' in that directory to run these through makeinfo" \
- "(use \`make info' here to do that automatically)."
-
-info:
- $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
- @echo "Running Texinfo files through makeinfo..."
- make -C $(BUILDDIR)/texinfo info
- @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
-
-gettext:
- $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
- @echo
- @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
-
-changes:
- $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
- @echo
- @echo "The overview file is in $(BUILDDIR)/changes."
-
-linkcheck:
- $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
- @echo
- @echo "Link check complete; look for any errors in the above output " \
- "or in $(BUILDDIR)/linkcheck/output.txt."
-
-doctest:
- $(SPHINXBUILD) -b nltk-doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
- @echo "Testing of doctests in the sources finished, look at the " \
- "results in $(BUILDDIR)/doctest/output.txt."
diff --git a/web/api/nltk.rst b/web/api/nltk.rst
deleted file mode 100644
index 9c485f7..0000000
--- a/web/api/nltk.rst
+++ /dev/null
@@ -1,142 +0,0 @@
-.. manually constructed -- removed several low-level packages
-
-nltk Package
-============
-
-:mod:`nltk` Package
--------------------
-
-.. automodule:: nltk.__init__
- :members:
- :undoc-members:
- :show-inheritance:
-
-:mod:`align` Module
--------------------
-
-.. automodule:: nltk.align
- :members:
- :undoc-members:
- :show-inheritance:
-
-:mod:`collocations` Module
---------------------------
-
-.. automodule:: nltk.collocations
- :members:
- :undoc-members:
- :show-inheritance:
-
-:mod:`data` Module
-------------------
-
-.. automodule:: nltk.data
- :members:
- :undoc-members:
- :show-inheritance:
-
-:mod:`downloader` Module
-------------------------
-
-.. automodule:: nltk.downloader
- :members:
- :undoc-members:
- :show-inheritance:
-
-:mod:`featstruct` Module
-------------------------
-
-.. automodule:: nltk.featstruct
- :members:
- :undoc-members:
- :show-inheritance:
-
-:mod:`grammar` Module
----------------------
-
-.. automodule:: nltk.grammar
- :members:
- :undoc-members:
- :show-inheritance:
-
-:mod:`help` Module
-------------------
-
-.. automodule:: nltk.help
- :members:
- :undoc-members:
- :show-inheritance:
-
-:mod:`probability` Module
--------------------------
-
-.. automodule:: nltk.probability
- :members:
- :undoc-members:
- :show-inheritance:
-
-:mod:`text` Module
-------------------
-
-.. automodule:: nltk.text
- :members:
- :undoc-members:
- :show-inheritance:
-
-:mod:`toolbox` Module
----------------------
-
-.. automodule:: nltk.toolbox
- :members:
- :undoc-members:
- :show-inheritance:
-
-:mod:`tree` Module
-------------------
-
-.. automodule:: nltk.tree
- :members:
- :undoc-members:
- :show-inheritance:
-
-:mod:`treetransforms` Module
-----------------------------
-
-.. automodule:: nltk.treetransforms
- :members:
- :undoc-members:
- :show-inheritance:
-
-:mod:`util` Module
-------------------
-
-.. automodule:: nltk.util
- :members:
- :undoc-members:
- :show-inheritance:
-
-Subpackages
------------
-
-.. toctree::
-
- nltk.app
- nltk.ccg
- nltk.chat
- nltk.chunk
- nltk.classify
- nltk.cluster
- nltk.corpus
- nltk.draw
- nltk.examples
- nltk.inference
- nltk.metrics
- nltk.misc
- nltk.model
- nltk.parse
- nltk.sem
- nltk.stem
- nltk.tag
- nltk.test
- nltk.tokenize
-
diff --git a/web/conf.py b/web/conf.py
deleted file mode 100644
index f0967f0..0000000
--- a/web/conf.py
+++ /dev/null
@@ -1,246 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# NLTK documentation build configuration file, created by
-# sphinx-quickstart on Wed Nov 2 17:02:59 2011.
-#
-# This file is execfile()d with the current directory set to its containing dir.
-#
-# Note that not all possible configuration values are present in this
-# autogenerated file.
-#
-# All configuration values have a default; values that are commented out
-# serve to show the default.
-
-import sys, os
-
-# If extensions (or modules to document with autodoc) are in another directory,
-# add these directories to sys.path here. If the directory is relative to the
-# documentation root, use os.path.abspath to make it absolute, like shown here.
-
-# build docs using nltk from the upper dir, not the installed version
-sys.path.insert(0, os.path.abspath('..'))
-
-# -- General configuration -----------------------------------------------------
-
-# If your documentation needs a minimal Sphinx version, state it here.
-#needs_sphinx = '1.0'
-
-# Add any Sphinx extension module names here, as strings. They can be extensions
-# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.coverage', 'sphinx.ext.pngmath',
- 'sphinx.ext.viewcode',]
-
-# Add any paths that contain templates here, relative to this directory.
-templates_path = ['_templates']
-
-# The suffix of source filenames.
-source_suffix = '.rst'
-
-# The encoding of source files.
-#source_encoding = 'utf-8-sig'
-
-# The master toctree document.
-master_doc = 'index'
-
-# General information about the project.
-project = 'NLTK'
-copyright = '2013, NLTK Project'
-
-# The version info for the project you're documenting, acts as replacement for
-# |version| and |release|, also used in various other places throughout the
-# built documents.
-#
-# The short X.Y version.
-version = '3.0'
-# The full version, including alpha/beta/rc tags.
-release = '3.0'
-
-# The language for content autogenerated by Sphinx. Refer to documentation
-# for a list of supported languages.
-#language = None
-
-# There are two options for replacing |today|: either, you set today to some
-# non-false value, then it is used:
-#today = ''
-# Else, today_fmt is used as the format for a strftime call.
-#today_fmt = '%B %d, %Y'
-
-# List of patterns, relative to source directory, that match files and
-# directories to ignore when looking for source files.
-exclude_patterns = ['_build', 'api/modules.rst', 'dev/*.rst']
-
-# The reST default role (used for this markup: `text`) to use for all documents.
-#default_role = None
-
-# If true, '()' will be appended to :func: etc. cross-reference text.
-#add_function_parentheses = True
-
-# If true, the current module name will be prepended to all description
-# unit titles (such as .. function::).
-#add_module_names = True
-
-# If true, sectionauthor and moduleauthor directives will be shown in the
-# output. They are ignored by default.
-#show_authors = False
-
-# The name of the Pygments (syntax highlighting) style to use.
-pygments_style = 'sphinx'
-
-# A list of ignored prefixes for module index sorting.
-modindex_common_prefix = ['nltk.']
-
-
-# -- Options for HTML output ---------------------------------------------------
-
-# The theme to use for HTML and HTML Help pages. See the documentation for
-# a list of builtin themes.
-html_theme = 'agogo'
-
-# Theme options are theme-specific and customize the look and feel of a theme
-# further. For a list of options available for each theme, see the
-# documentation.
-html_theme_options = {
- 'textalign': 'left'
-}
-
-# Add any paths that contain custom themes here, relative to this directory.
-#html_theme_path = []
-
-# The name for this set of Sphinx documents. If None, it defaults to
-# "<project> v<release> documentation".
-#html_title = None
-
-# A shorter title for the navigation bar. Default is the same as html_title.
-#html_short_title = None
-
-# The name of an image file (relative to this directory) to place at the top
-# of the sidebar.
-#html_logo = None
-
-# The name of an image file (within the static path) to use as favicon of the
-# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
-# pixels large.
-#html_favicon = None
-
-# Add any paths that contain custom static files (such as style sheets) here,
-# relative to this directory. They are copied after the builtin static files,
-# so a file named "default.css" will overwrite the builtin "default.css".
-html_static_path = ['_static']
-
-# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
-# using the given strftime format.
-html_last_updated_fmt = '%b %d, %Y'
-
-# If true, SmartyPants will be used to convert quotes and dashes to
-# typographically correct entities.
-html_use_smartypants = True
-
-# Custom sidebar templates, maps document names to template names.
-#html_sidebars = {}
-
-# Additional templates that should be rendered to pages, maps page names to
-# template names.
-#html_additional_pages = {}
-
-# If false, no module index is generated.
-#html_domain_indices = True
-
-# If false, no index is generated.
-#html_use_index = True
-
-# If true, the index is split into individual pages for each letter.
-#html_split_index = False
-
-# If true, links to the reST sources are added to the pages.
-#html_show_sourcelink = True
-
-# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
-#html_show_sphinx = True
-
-# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
-#html_show_copyright = True
-
-# If true, an OpenSearch description file will be output, and all pages will
-# contain a <link> tag referring to it. The value of this option must be the
-# base URL from which the finished HTML is served.
-#html_use_opensearch = ''
-
-# This is the file name suffix for HTML files (e.g. ".xhtml").
-#html_file_suffix = None
-
-# Output file base name for HTML help builder.
-htmlhelp_basename = 'NLTKdoc'
-
-
-# -- Options for LaTeX output --------------------------------------------------
-
-latex_elements = {
-# The paper size ('letterpaper' or 'a4paper').
-#'papersize': 'letterpaper',
-
-# The font size ('10pt', '11pt' or '12pt').
-#'pointsize': '10pt',
-
-# Additional stuff for the LaTeX preamble.
-#'preamble': '',
-}
-
-# Grouping the document tree into LaTeX files. List of tuples
-# (source start file, target name, title, author, documentclass [howto/manual]).
-latex_documents = [
- ('index', 'NLTK.tex', 'NLTK Documentation',
- 'Steven Bird', 'manual'),
-]
-
-# The name of an image file (relative to this directory) to place at the top of
-# the title page.
-#latex_logo = None
-
-# For "manual" documents, if this is true, then toplevel headings are parts,
-# not chapters.
-#latex_use_parts = False
-
-# If true, show page references after internal links.
-#latex_show_pagerefs = False
-
-# If true, show URL addresses after external links.
-#latex_show_urls = False
-
-# Documents to append as an appendix to all manuals.
-#latex_appendices = []
-
-# If false, no module index is generated.
-#latex_domain_indices = True
-
-
-# -- Options for manual page output --------------------------------------------
-
-# One entry per manual page. List of tuples
-# (source start file, name, description, authors, manual section).
-man_pages = [
- ('index', 'nltk', 'NLTK Documentation',
- ['Steven Bird'], 1)
-]
-
-# If true, show URL addresses after external links.
-#man_show_urls = False
-
-
-# -- Options for Texinfo output ------------------------------------------------
-
-# Grouping the document tree into Texinfo files. List of tuples
-# (source start file, target name, title, author,
-# dir menu entry, description, category)
-texinfo_documents = [
- ('index', 'NLTK', 'NLTK Documentation', 'Steven Bird',
- 'NLTK', 'One line description of project.', 'Miscellaneous'),
-]
-
-# Documents to append as an appendix to all manuals.
-#texinfo_appendices = []
-
-# If false, no module index is generated.
-#texinfo_domain_indices = True
-
-# How to display URL addresses: 'footnote', 'no', or 'inline'.
-#texinfo_show_urls = 'footnote'
diff --git a/web/contribute.rst b/web/contribute.rst
deleted file mode 100644
index 43d45a8..0000000
--- a/web/contribute.rst
+++ /dev/null
@@ -1,37 +0,0 @@
-Contribute to NLTK
-==================
-
-The Natural Language Toolkit exists thanks to the efforts of dozens
-of voluntary developers who have contributed functionality and
-bugfixes since the project began in 2000 (`contributors <https://github.com/nltk/nltk#contributing>`_).
-
-In 2014 we are especially keen to improve NLTK coverage for:
-`dependency parsing <https://github.com/nltk/nltk/wiki/Dependency-Parsing>`_,
-`machine translation <https://github.com/nltk/nltk/wiki/Machine-Translation>`_,
-`sentiment analysis <https://github.com/nltk/nltk/wiki/Sentiment-Analysis>`_,
-`twitter processing <https://github.com/nltk/nltk/wiki/Twitter-Processing>`_.
-
-New material in these areas will be covered in the second edition of
-the NLTK book, anticipated in 2015.
-
-* `desired enhancements <https://github.com/nltk/nltk/issues?labels=enhancement&page=1&state=open>`_
-* `contribute a corpus <https://github.com/nltk/nltk/wiki/Adding-a-Corpus>`_
-* `nltk-dev mailing list <http://groups.google.com/group/nltk-dev>`_
-* `GitHub Project <https://github.com/nltk/nltk>`_
-
-NLTK Core Developers
---------------------
-
-The NLTK project is led by `Steven Bird, Ewan Klein, and Edward Loper <mailto:stevenbird1 at gmail.com,ewan.klein at gmail.com,edloper at gmail.com>`_.
-Individual packages are maintained by the following people:
-
-:Semantics: `Dan Garrette <http://www.cs.utexas.edu/~dhg/>`_, Austin, USA (``nltk.sem, nltk.inference``)
-:Parsing: `Peter Ljunglöf <http://www.cse.chalmers.se/~peb/>`_, Gothenburg, Sweden (``nltk.parse, nltk.featstruct``)
-:Metrics: `Joel Nothman <http://joelnothman.com/>`_, Sydney, Australia (``nltk.metrics, nltk.tokenize.punkt``)
-:Python 3: `Mikhail Korobov <http://kmike.ru/>`_, Ekaterinburg, Russia
-:Integration: `Morten Minde Neergaard <http://8d.no/>`_, Oslo, Norway
-:Releases: `Steven Bird <http://estive.net>`_, Melbourne, Australia
-
-
-
-
diff --git a/web/data.rst b/web/data.rst
deleted file mode 100644
index 5b1d0ff..0000000
--- a/web/data.rst
+++ /dev/null
@@ -1,49 +0,0 @@
-Installing NLTK Data
-====================
-
-NLTK comes with many corpora, toy grammars, trained models, etc. A complete list is posted at: http://nltk.org/nltk_data/
-
-To install the data, first install NLTK (see http://nltk.org/install.html), then use NLTK's data downloader as described below.
-
-Apart from individual data packages, you can download the entire collection (using "all"), or just the data required for the examples and exercises in the book (using "book"), or just the corpora and no grammars or trained models (using "all-corpora").
-
-Interactive installer
----------------------
-
-*For central installation on a multi-user machine, do the following from an administrator account.*
-
-Run the Python interpreter and type the commands:
-
- >>> import nltk
- >>> nltk.download()
-
-A new window should open, showing the NLTK Downloader. Click on the File menu and select Change Download Directory. For central installation, set this to ``C:\nltk_data`` (Windows), or ``/usr/share/nltk_data`` (Mac, Unix). Next, select the packages or collections you want to download.
-
-If you did not install the data to one of the above central locations, you will need to set the ``NLTK_DATA`` environment variable to specify the location of the data. (On a Windows machine, right click on "My Computer" then select ``Properties > Advanced > Environment Variables > User Variables > New...``)
-
-Test that the data has been installed as follows. (This assumes you downloaded the Brown Corpus):
-
- >>> from nltk.corpus import brown
- >>> brown.words()
- ['The', 'Fulton', 'County', 'Grand', 'Jury', 'said', ...]
-
-Installing via a proxy web server
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-If your web connection uses a proxy server, you should specify the proxy address as follows. In the case of an authenticating proxy, specify a username and password. If the proxy is set to None then this function will attempt to detect the system proxy.
-
- >>> nltk.set_proxy('http://proxy.example.com:3128', ('USERNAME', 'PASSWORD'))
- >>> nltk.download()
-
-Command line installation
--------------------------
-
-The downloader will search for an existing ``nltk_data`` directory to install NLTK data. If one does not exist it will attempt to create one in a central location (when using an administrator account) or otherwise in the user's filespace. If necessary, run the download command from an administrator account, or using sudo. The default system location on Windows is ``C:\nltk_data``; and on Mac and Unix is ``/usr/share/nltk_data``. You can use the ``-d`` flag to specify a different loca [...]
-
-Python 2.5-2.7: Run the command ``python -m nltk.downloader all``. To ensure central installation, run the command ``sudo python -m nltk.downloader -d /usr/share/nltk_data all``.
-
-Windows: Use the "Run..." option on the Start menu. Windows Vista users need to first turn on this option, using ``Start -> Properties -> Customize`` to check the box to activate the "Run..." option.
-
-Test the installation: Check that the user environment and privileges are set correctly by logging in to a user account,
-starting the Python interpreter, and accessing the Brown Corpus (see the previous section).
-
diff --git a/web/dev/jenkins.rst b/web/dev/jenkins.rst
deleted file mode 100644
index e5b3025..0000000
--- a/web/dev/jenkins.rst
+++ /dev/null
@@ -1,113 +0,0 @@
-NLTK c-i setup
-==============
-
-This is an overview of how our `continuous integration`_ setup works. It
-includes a quick introduction to the tasks it runs, and the later sections
-detail the process of setting up these tasks.
-
-Our continuous integration is currently hosted at `Shining Panda`_, free thanks
-to their FLOSS program. The setup is not specific to their solutions, it could
-be moved to any `Jenkins`_ instance. The URL of our current instance is
-https://jenkins.shiningpanda.com/nltk/
-
-.. _`continuous integration`: http://en.wikipedia.org/wiki/Continuous_integration
-.. _`Shining Panda`: http://shiningpanda.com
-.. _`Jenkins`: http://jenkins-ci.org
-
-
-Base tasks
-----------
-
-The base tasks of the c-i instance is as follows:
-
-* Check out the NLTK project when VCS changes occur
-* Build the project using setup.py
-* Run our test suite
-* Make packages for all platforms
-* Build these web pages
-
-Because the NLTK build environment is highly customized, we only run tests on
-one configuration - the lowest version supported. NLTK 2 supports python down
-to version 2.5, so all tests are run using a python2.5 virtualenv. The
-virtualenv configuration is slightly simplified on ShiningPanda machines by
-their having compiled all relevant python versions and making virtualenv use
-these versions in their custom virtualenv builders.
-
-
-VCS setup/integration
----------------------
-
-All operations are done against the `NLTK repos on Github`_. The Jenkins
-instance on ShiningPanda has a limit to the build time it can use each day.
-Because of this, it only polls the main NLTK repo once a day, using the `Poll
-SCM` option in Jenkins. Against the main code repo it uses public access only,
-and for pushing to the nltk.github.com repo it uses the key of the user
-nltk-webdeploy.
-
-.. _`NLTK repos on Github`: https://github.com/nltk/
-
-
-The base build
---------------
-
-To build the project, the following tasks are run:
-
-1. Create a VERSION file
- A VERSION file is created using
- ``git describe --tags --match '*.*.*' > nltk/VERSION``.
- This makes the most recent VCS tag available in nltk.__version__ etc.
-2. ``python setup.py build``
- This essentially copies the files that are required to run NLTK into build/
-
-
-The test suite
---------------
-
-The tests require that all dependencies be installed. These have all been
-installed beforehand, and to make them run a series of extra environment
-variables are initialized. These dependencies will not be detailed until the
-last section.
-
-The test suite itself consists of doctests. These are found in each module as
-docstrings, and in all the .doctest files under the test folder in the nltk
-repo. We run these tests using nose_, find code coverage using `coverage.py`_
-and check for `PEP-8`_ etc. standard violations using `pylint`_.
-
-All these tools are easily installable through pip your favourite OS' software
-packaging system. For testing, only nose_ is really needed. This is also the
-only software that does not work properly out of the box. To use the options
-+ELLIPSIS and +NORMALIZE_WHITESPACE in our doctests, we have installed nose
-from source with `a patch that allows this`_ applied.
-
-The results of these programs are parsed and published by the jenkins instance,
-giving us pretty graphs :)
-
-.. _nose: http://readthedocs.org/docs/nose/
-.. _`coverage.py`: http://nedbatchelder.com/code/coverage/
-.. _`PEP-8`: http://www.python.org/dev/peps/pep-0008/
-.. _`pylint`: http://www.logilab.org/project/pylint
-.. _`a patch that allows this`: https://github.com/nose-devs/nose/issues/7
-
-
-The builds
-----------
-
-The packages are built using ``make dist``. The outputted builds are all placed
-`in our jenkins workspace`_ and should be safe to distribute. Builds
-specifically for mac are not available. File names are made based on the
-``__version__`` string, so they change every build.
-
-.. _`in our jenkins workspace`: http://example.com/
-
-
-Web page builder
-----------------
-
-The web page is built using Sphinx_. It fetches all code documentation directly
-from the code's docstrings. After building the page using ``make web`` it
-pushes it to the `nltk.github.com repo on github`_. To push it, it needs access
-to the repo – because this cannot be done using a deploy key, it has the ssh
-key of the ``nltk-webdeploy`` user.
-
-.. _Sphinx: http://sphinx.pocoo.org
-.. _`nltk.github.com repo on github`: https://github.com/nltk/nltk.github.com
diff --git a/web/dev/local_testing.rst b/web/dev/local_testing.rst
deleted file mode 100644
index 3088679..0000000
--- a/web/dev/local_testing.rst
+++ /dev/null
@@ -1,167 +0,0 @@
-NLTK testing
-============
-
-1. Obtain nltk source code;
-2. install virtualenv and tox::
-
- pip install virtualenv
- pip install tox
-
-3. make sure python2.6, python2.7, python3.2, python3.3
- and pypy executables are in system PATH. It is OK not to have all the
- executables, tests will be executed for available interpreters.
-
-4. Make sure all NLTK data is downloaded (see ``nltk.download()``);
-
-5. run 'tox' command from the root nltk folder. It will install dependencies
- and run ``nltk/test/runtests.py`` script for all available interpreters.
- You may pass any options to runtests.py script separating them by '--'.
-
-It may take a long time at first run, but the subsequent runs will
-be much faster.
-
-Please consult http://tox.testrun.org/ for more info about the tox tool.
-
-Examples
---------
-
-Run tests for python 2.7 in verbose mode; executing only tests
-that failed in the last test run::
-
- tox -e py27 -- -v --failed
-
-
-Run tree doctests for all available interpreters::
-
- tox -- tree.doctest
-
-Run a selected unit test for the Python 3.2::
-
- tox -e py32 -- -v nltk.test.unit.test_seekable_unicode_stream_reader
-
-By default, numpy, scipy and scikit-learn are installed in tox virtualenvs.
-This is slow, requires working build toolchain and is not always feasible.
-In order to skip numpy & friends, use ``..-nodeps`` environments::
-
- tox -e py26-nodeps,py27-nodeps,py32-nodeps,py33-nodeps,pypy
-
-It is also possible to run tests without tox. This way NLTK would be tested
-only under single interpreter, but it may be easier to have numpy and other
-libraries installed this way. In order to run tests without tox, make sure
-``nose >= 1.2.1`` is installed and execute runtests.py script::
-
- nltk/test/runtests.py
-
-
-Writing tests
--------------
-
-Unlike most open-source projects, NLTK test suite is doctest-based.
-This format is very expressive, and doctests are usually read
-as documentation. We don't want to rewrite them to unittests;
-if you're contributing code to NLTK please prefer doctests
-for testing.
-
-Doctests are located at ``nltk/test/*.doctest`` text files and
-in docstrings for modules, classes, methods and functions.
-
-That said, doctests have their limitations and sometimes it is better to use
-unittests. Test should be written as unittest if some of the following apply:
-
-* test deals with non-ascii unicode and Python 2.x support is required;
-* test is a regression test that is not necessary for documentational purposes.
-
-Unittests currently reside in ``nltk/test/unit/test_*.py`` files; nose
-is used for test running.
-
-If a test should be written as unittest but also has a documentational value
-then it should be duplicated as doctest, but with a "# doctest: +SKIP" option.
-
-There are some gotchas with NLTK doctests (and with doctests in general):
-
-* Use ``print("foo")``, not ``print "foo"``: NLTK doctests act
- like ``from __future__ import print_functions`` is in use.
-
-* Don't write ``+ELLIPSIS``, ``+NORMALIZE_WHITESPACE``,
- ``+IGNORE_EXCEPTION_DETAIL`` flags (they are already ON by default in NLTK).
-
-* Do not write doctests that has non-ascii output (they are not supported in
- Python 2.x). Incorrect::
-
- >>> greeting
- u'Привет'
-
- The proper way is to rewrite such doctest as unittest.
-
-* For better Python 2.x - 3.x compatibility, for NLTK the following
- tests are the same::
-
- >>> x
- [u'foo', u'bar']
-
- >>> x
- ['foo', 'bar']
-
- Feel free to write or omit 'u' letters in output unicode constants.
-
-* In order to conditionally skip a doctest in a separate
- ``nltk/test/foo.doctest`` file, create ``nltk.test/foo_fixt.py``
- file from the following template::
-
- # <a comment describing why should the test be skipped>
-
- def setup_module(module):
- from nose import SkipTest
-
- if some_condition:
- raise SkipTest("foo.doctest is skipped because <...>")
-
-* In order to conditionally skip all doctests from the module/class/function
- docstrings, put the following function in a top-level module namespace::
-
- # <a comment describing why should the tests from this module be skipped>
-
- def setup_module(module):
- from nose import SkipTest
-
- if some_condition:
- raise SkipTest("doctests from nltk.<foo>.<bar> are skipped because <...>")
-
- A good idea is to define ``__all__`` in such module and omit
- ``setup_module`` from ``__all__``.
-
- It is not possible to conditionally skip only some doctests from a module.
-
-* Do not expect the exact float output; this may fail on some machines::
-
- >>> some_float_constant
- 0.867
-
- Use ellipsis in this case to make the test robust (or compare the values)::
-
- >>> some_float_constant
- 0.867...
-
- >>> abs(some_float_constant - 0.867) < 1e-6
- True
-
-* Do not rely on dictionary or set item order. Incorrect::
-
- >>> some_dict
- {"x": 10, "y": 20}
-
- The proper way is to sort the items and print them::
-
- >>> for key, value in sorted(some_dict.items()):
- ... print(key, value)
- x 10
- y 20
-
-If the code requires some external dependencies, then
-
-* tests for this code should be skipped if the dependencies are not available:
- use ``setup_module`` for doctests (as described above) and
- ``nltk.test.unit.utils.skip / skipIf`` decorators or ``nose.SkipTest``
- exception for unittests;
-* if the dependency is a Python package, it should be added to tox.ini
- (but not to ..-nodeps environments).
diff --git a/web/dev/python3porting.rst b/web/dev/python3porting.rst
deleted file mode 100644
index 3e1676a..0000000
--- a/web/dev/python3porting.rst
+++ /dev/null
@@ -1,269 +0,0 @@
-NLTK Python 3 support
-=====================
-
-The following text is not a general comprehensive Python 3.x porting guide;
-it provides some information about the approach using for NLTK Python 3 port.
-
-Porting Strategy
-----------------
-
-NLTK is being ported to Python 3 using single codebase strategy:
-NLTK should work from a single codebase in Python 2.x and 3.x.
-
-Python 2.5 compatibility is dropped in order to take advantage of
-new ``__future__`` imports, ``b`` bytestring marker, new
-``except Exception as e`` syntax and better standard library compatibility.
-
-General notes
-^^^^^^^^^^^^^
-
-There are good existing guides for writing Python 2.x - 3.x compatible
-code, e.g.
-
-* http://docs.python.org/dev/howto/pyporting.html
-* http://python3porting.com/
-* https://docs.djangoproject.com/en/dev/topics/python3/
-
-Take a look at them to have an idea how the approach works and what
-is changed in Python 3.
-
-nltk.compat
-^^^^^^^^^^^
-
-``nltk.compat`` module is loosely based on a great `six`_ library.
-It provides simple utilities for wrapping over differences
-between Python 2 and Python 3. Moved imports, removed/renamed builtins,
-type names differences and support functions are there.
-
-.. note::
-
- We don't use `six`_ directly because it didn't work well
- bundled at the time the port was started (this was a bug in six that
- is fixed now), and NLTK needs extra custom 2+3 helpers anyway.
-
-.. _six: http://packages.python.org/six/
-
-
-map vs imap, items vs iteritems, ...
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-A number of Python builtins and builtin methods returns lists under
-Python 2.x and iterators under Python 3.x. There are 3 possible ways
-to workaround this:
-
-1) use non-iterator versions of functions and methods under Python 3.x
- (e.g. cast ``zip`` result to list);
-2) convert Python 2.x code to iterator versions (e.g. replace ``zip``
- with ``itertools.izip`` when possible);
-3) let the code behave different under Python 2.x and Python 3.x.
-
-In this NLTK port (1) and (3) methods are used; (3) is preferred.
-This way there are no breaking interface changes for Python 2.x code
-and Python 3.x code remains idiomatic (it is surprising for a dict
-subclass ``items`` method to return a list under Python 3.x).
-
-Existing code that uses NLTK will have to be ported from
-Python 2.x to 3.x anyway so I think such interface changes are acceptable.
-
-Unicode support
----------------
-
-Fixing corpora readers
-^^^^^^^^^^^^^^^^^^^^^^
-
-Previously, many corpora readers returned byte strings. In a Python 3.x
-branch the correct encodings are provided for all corpora and all corpora
-readers are now returning unicode.
-
-``__repr__`` and ``__str__``
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Under Python 2.x ``obj.__repr__`` and ``obj.__str__`` must return
-byte strings, while under Python 3.x they must return unicode strings.
-
-To make things worse, terminals are tricky, and under Python 2.x
-there is no hassle-free encoding that ``obj.__repr__`` and ``obj.__str__``
-may use except for plain 7 bit ASCII.
-
-..
-
- Should I link a blog post
- (http://kmike.ru/python-with-strings-attached/) or extract
- some text from it to make the statement about encodings more reasoned?
-
-In NLTK most classes with custom ``__repr__`` and/or ``__str__`` should use
-``nltk.compat.python_2_unicode_compatible`` decorator. It works this way:
-
-1) Class should be defined with ``__repr__`` and ``__str__`` methods
- returning unicode (that's Python 3.x semantics);
-2) under Python 2.x the decorator fixes ``__repr__`` and ``__str__``
- to return bytestrings;
-3) under both Python 2.x and 3.x the decorator creates
- ``__unicode__`` method (which is an original ``__str__``)
- and ``unicode_repr`` method (which is an original ``__repr__``).
-
-Under Python 2.x ``__repr__`` method returns an escaped version
-of the unicode value and ``__str__`` returns a transliterated version.
-For transliteration `Unidecode <http://pypi.python.org/pypi/Unidecode>`_,
-`text-unidecode <http://pypi.python.org/pypi/text-unidecode/0.1>`_
-or a basic "accent remover" may be used, depending on what
-packages are installed.
-
-In order to write unicode-aware ``__str__`` and ``__repr__``, the following
-approach may be used:
-
-1) ``from __future__ import unicode_literals`` is added to a top of file;
-2) ``str(something)`` should be replaced with ``"%s" % something``
- when used (maybe indirectly) inside ``__str__`` or ``__repr__``;
-3) ``repr(something)`` and ``"%r" % something`` should be replaced with
- ``unicode_repr(something)`` and ``"%s" % unicode_repr(something)``
- when used (maybe indirectly) inside ``__str__`` or ``__repr__``.
-
-Doctests porting notes
-----------------------
-
-NLTK test suite is mostly doctest-based. Most usual rules apply to
-porting doctests code. But ther are some issues that make the
-process harder, so in order to make doctests work under
-Python 2.x and Python 3.x extra tricks are needed.
-
-``__future__`` imports
-^^^^^^^^^^^^^^^^^^^^^^
-
-Python's doctest runner doesn't support ``__future__`` imports.
-They are executed but has no effect in doctests' code.
-These imports are quite useful for making code Python 2.x + 3.x
-compatible so there are some methods to overcome the limitation.
-
-* ``from __future__ import print_function``: it may seem the import works
- because ``print(foo)`` works under python 2.x; but it works only because
- (foo) == foo; ``print(foo, bar)`` prints tuple; ``print(foo, sep=' ')``
- raises an exception. In order to make print() work this future import
- is injected to all doctests' globals within NLTK test suite
- (implementation: ``nltk.test.doctest_nose_plugin.DoctestPluginHelper``).
- So NLTK's doctests shouldn't import print_function but they should
- assume this import is in effect.
-
-* ``from __future__ import unicode_literals``: there is no sane way to
- use non-ascii constants in doctests under python 2.x
- (see http://bugs.python.org/issue1293741 ); doctests with non-ascii
- constants should be better rewritten as unittests or as doctests
- without non-ascii constants.
-
- Tests may use variables with unicode values though. In order to print
- such values and have the same output under python 2 and python 3 the
- following trick may be used::
-
- >>> print(unicode_value.encode('unicode-escape').decode('ascii'))
-
- But it may be a better idea to avoid this trick and rewrite the test to
- unittest format instead.
-
-* ``from __future__ import division``: it is usually not hard to cast
- results to int or float to have the same semantics under python 2 and 3.
-
-
-Unicode strings __repr__
-^^^^^^^^^^^^^^^^^^^^^^^^
-
-Representation of unicode strings is different in Python 2.x and Python 3.x
-even if they contain only ascii characters.
-
-Python 2.x::
-
- >>> x = b'foo'.decode('ascii')
- >>> x
- u'foo'
-
-Python 3.x::
-
- >>> x = b'foo'.decode('ascii')
- >>> x
- 'foo'
-
-(Note the missing 'u' in Python 3 example).
-
-In order to simplify things NLTK's custom doctest runner
-(see ``nltk.test.doctest_nose_plugin.DoctestPluginHelper``) doesn't
-take 'u''s into account; it considers u'foo' and 'foo' equal;
-developer is free to write u'foo' or 'foo'.
-
-This is not absolutely correct but if this distinction is important
-then doctest should be converted to unittest.
-
-There are other possible fixes for this issue but they
-all make doctests less readable. For example, for single variables
-``print`` may be used. Python 2.x::
-
- >>> print(x)
- foo
-
-Python 3.x::
-
- >>> print(x)
- foo
-
-This won't help with container types. Python 2.x::
-
- >>> print([x, x])
- [u'foo', u'foo']
-
-Possible fixes for lists are::
-
- >>> for txt in [x, x]:
- ... print(x)
- foo
- foo
-
-or::
-
- >>> print(", ".join([x, x]))
- foo, foo
-
-
-Float values representation
-^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-The exact representation of float values may vary across Python interpreters
-(this is not only a Python 3.x - specific issue). So instead of this::
-
- >>> recall
- 0.8888888888889
-
-write this::
-
- >>> print(recall)
- 0.88888888888...
-
-Porting tools
--------------
-
-python-modernize
-^^^^^^^^^^^^^^^^
-
-`python-modernize <https://github.com/mitsuhiko/python-modernize>`_ script
-was used for tedious parts of python3 porting. Take a look at the docs for
-more information. The process was:
-
-* Run NLTK test suite under Python 2.x;
-* fix one specific aspect of NLTK by running one of python-modernize fixers
- on NLTK source code;
-* take a look at changes python-modernize proposes, fix stupid things;
-* run NLTK test suite again under Python 2.x and make sure there are no
- regressions.
-
-After python-modernize code wouldn't be necessary Python 3.x compatible but
-further porting would be easier and there shouldn't be 2.x regressions.
-
-2to3
-^^^^
-
-Doctest porting may be tedious, there is a lot of search/replace work
-(e.g. ``print foo`` -> ``print(foo)`` or
-``raise Exception, e`` -> ``raise Exception as e``). In order to overcome
-this 2to3 utility was used, e.g.::
-
- $ 2to3 -d -f print nltk/test/*.doctest
-
-Fixers were applied one-by-one, test suite was executed before and after
-fixing.
diff --git a/web/images/book.gif b/web/images/book.gif
deleted file mode 100644
index 76ab487..0000000
Binary files a/web/images/book.gif and /dev/null differ
diff --git a/web/images/tree.gif b/web/images/tree.gif
deleted file mode 100644
index d7d1c5f..0000000
Binary files a/web/images/tree.gif and /dev/null differ
diff --git a/web/index.rst b/web/index.rst
deleted file mode 100644
index ac325c8..0000000
--- a/web/index.rst
+++ /dev/null
@@ -1,88 +0,0 @@
-Natural Language Toolkit
-========================
-
-NLTK is a leading platform for building Python programs to work with human language data.
-It provides easy-to-use interfaces to `over 50 corpora and lexical
-resources <http://nltk.org/nltk_data/>`_ such as WordNet,
-along with a suite of text processing libraries for classification, tokenization, stemming, tagging, parsing, and semantic reasoning,
-and an active `discussion forum <http://groups.google.com/group/nltk-users>`_.
-
-Thanks to a hands-on guide introducing programming fundamentals alongside topics in computational linguistics,
-NLTK is suitable for linguists, engineers, students, educators, researchers, and industry users alike.
-NLTK is available for Windows, Mac OS X, and Linux. Best of all, NLTK is a free, open source, community-driven project.
-
-NLTK has been called "a wonderful tool for teaching, and working in, computational linguistics using Python,"
-and "an amazing library to play with natural language."
-
-`Natural Language Processing with Python <http://nltk.org/book>`_ provides a practical
-introduction to programming for language processing.
-Written by the creators of NLTK, it guides the reader through the fundamentals
-of writing Python programs, working with corpora, categorizing text, analyzing linguistic structure,
-and more.
-A `new version <http://nltk.org/book3>`_ with updates for Python 3 and NLTK 3 is in preparation.
-
-Some simple things you can do with NLTK
----------------------------------------
-
-Tokenize and tag some text:
-
- >>> import nltk
- >>> sentence = """At eight o'clock on Thursday morning
- ... Arthur didn't feel very good."""
- >>> tokens = nltk.word_tokenize(sentence)
- >>> tokens
- ['At', 'eight', "o'clock", 'on', 'Thursday', 'morning',
- 'Arthur', 'did', "n't", 'feel', 'very', 'good', '.']
- >>> tagged = nltk.pos_tag(tokens)
- >>> tagged[0:6]
- [('At', 'IN'), ('eight', 'CD'), ("o'clock", 'JJ'), ('on', 'IN'),
- ('Thursday', 'NNP'), ('morning', 'NN')]
-
-Identify named entities:
-
- >>> entities = nltk.chunk.ne_chunk(tagged)
- >>> entities
- Tree('S', [('At', 'IN'), ('eight', 'CD'), ("o'clock", 'JJ'),
- ('on', 'IN'), ('Thursday', 'NNP'), ('morning', 'NN'),
- Tree('PERSON', [('Arthur', 'NNP')]),
- ('did', 'VBD'), ("n't", 'RB'), ('feel', 'VB'),
- ('very', 'RB'), ('good', 'JJ'), ('.', '.')])
-
-Display a parse tree:
-
- >>> from nltk.corpus import treebank
- >>> t = treebank.parsed_sents('wsj_0001.mrg')[0]
- >>> t.draw()
-
-.. image:: images/tree.gif
-
-NB. If you publish work that uses NLTK, please cite the NLTK book as
-follows:
-
- Bird, Steven, Edward Loper and Ewan Klein (2009), *Natural Language Processing with Python*. O'Reilly Media Inc.
-
-Next Steps
-----------
-
-* `sign up for release announcements <http://groups.google.com/group/nltk>`_
-* `join in the discussion <http://groups.google.com/group/nltk-users>`_
-
-Contents
-========
-
-
-.. toctree::
- :maxdepth: 1
-
- news
- install
- data
- contribute
- FAQ <https://github.com/nltk/nltk/wiki/FAQ>
- Wiki <https://github.com/nltk/nltk/wiki>
- API <api/nltk>
- HOWTO <http://www.nltk.org/howto>
-
-* :ref:`genindex`
-* :ref:`modindex`
-* :ref:`search`
diff --git a/web/install.rst b/web/install.rst
deleted file mode 100644
index c85286c..0000000
--- a/web/install.rst
+++ /dev/null
@@ -1,27 +0,0 @@
-Installing NLTK
-===============
-
-NLTK requires Python versions 2.6-2.7 or 3.2+
-
-Mac/Unix
---------
-
-#. Install Setuptools: http://pypi.python.org/pypi/setuptools
-#. Install Pip: run ``sudo easy_install pip``
-#. Install Numpy (optional): run ``sudo pip install -U numpy``
-#. Install NLTK: run ``sudo pip install -U nltk``
-#. Test installation: run ``python`` then type ``import nltk``
-
-Windows
--------
-
-These instructions assume that you do not already have Python installed on your machine.
-
-32-bit binary installation
-~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-#. Install Python: http://www.python.org/download/releases/3.4.1/ (avoid the 64-bit versions)
-#. Install Numpy (optional): http://sourceforge.net/projects/numpy/files/NumPy/1.8.1/numpy-1.8.1-win32-superpack-python3.4.exe
-#. Install NLTK: http://pypi.python.org/pypi/nltk
-#. Test installation: ``Start>Python34``, then type ``import nltk``
-
diff --git a/web/news.rst b/web/news.rst
deleted file mode 100644
index 310817f..0000000
--- a/web/news.rst
+++ /dev/null
@@ -1,236 +0,0 @@
-NLTK News
-=========
-
-NLTK 3.0b1 released : July 2014
- FrameNet, SentiWordNet, universal tagset, misc efficiency improvements and bugfixes
- Several API changes, see https://github.com/nltk/nltk/wiki/Porting-your-code-to-NLTK-3.0
- For full details see:
- https://raw.github.com/nltk/nltk/master/ChangeLog
-
-NLTK 3.0a4 released : June 2014
- FrameNet, universal tagset, misc efficiency improvements and bugfixes
- Several API changes, see https://github.com/nltk/nltk/wiki/Porting-your-code-to-NLTK-3.0
- For full details see:
- https://raw.github.com/nltk/nltk/master/ChangeLog
- http://nltk.org/nltk3-alpha/
-
-NLTK Book Updates : October 2013
- We are updating the NLTK book for Python 3 and NLTK 3; please see
- http://nltk.org/book3/
-
-NLTK 3.0a2 released : July 2013
- Misc efficiency improvements and bugfixes; for details see
- https://raw.github.com/nltk/nltk/master/ChangeLog
- http://nltk.org/nltk3-alpha/
-
-NLTK 3.0a1 released : February 2013
- This version adds support for NLTK's graphical user interfaces.
- http://nltk.org/nltk3-alpha/
-
-NLTK 3.0a0 released : January 2013
- The first alpha release of NLTK 3.0 is now available for testing. This version of NLTK works with Python 2.6, 2.7, and Python 3.
- http://nltk.org/nltk3-alpha/
-
-2012
-----
-
-Python Grant : November 2012
- The Python Software Foundation is sponsoring Mikhail Korborov's work on porting NLTK to Python 3.
- http://pyfound.blogspot.hu/2012/11/grants-to-assist-kivy-nltk-in-porting.html
-
-NLTK 2.0.4 released : November 2012
- Minor fix to remove numpy dependency.
-
-NLTK 2.0.3 released : September 2012
- This release contains minor improvements and bugfixes. This is the final release compatible with Python 2.5. For details see https://raw.github.com/nltk/nltk/master/ChangeLog
-
-NLTK 2.0.2 released : July 2012
- This release contains minor improvements and bugfixes. For details see https://raw.github.com/nltk/nltk/master/ChangeLog
-
-NLTK 2.0.1 released : May 2012
- The final release of NLTK 2. For details see https://raw.github.com/nltk/nltk/master/ChangeLog
-
-NLTK 2.0.1rc4 released : February 2012
- The fourth release candidate for NLTK 2.
-
-NLTK 2.0.1rc3 released : January 2012
- The third release candidate for NLTK 2.
-
-2011
-----
-
-NLTK 2.0.1rc2 released : December 2011
- The second release candidate for NLTK 2. For full details see the ChangeLog.
-
-NLTK development moved to GitHub : October 2011
- The development site for NLTK has moved from GoogleCode to GitHub: http://github.com/nltk
-
-NLTK 2.0.1rc1 released : April 2011
- The first release candidate for NLTK 2. For full details see the ChangeLog.
-
-2010
-----
-
-Python Text Processing with NLTK 2.0 Cookbook : December 2010
- Jacob Perkins has written a 250-page cookbook full of great recipes for text processing using Python and NLTK, published by Packt Publishing. Some of the royalties are being donated to the NLTK project.
-
-Japanese translation of NLTK book : November 2010
- Masato Hagiwara has translated the NLTK book into Japanese, along with an extra chapter on particular issues with Japanese language process. See http://www.oreilly.co.jp/books/9784873114705/.
-
-NLTK 2.0b9 released : July 2010
- The last beta release before 2.0 final. For full details see the ChangeLog.
-
-NLTK in Ubuntu 10.4 (Lucid Lynx) : February 2010
- NLTK is now in the latest LTS version of Ubuntu, thanks to the efforts of Robin Munn. See http://packages.ubuntu.com/lucid/python/python-nltk
-
-NLTK 2.0b? released : June 2009 - February 2010
- Bugfix releases in preparation for 2.0 final. For full details see the ChangeLog.
-
-2009
-----
-
-NLTK Book in second printing : December 2009
- The second print run of Natural Language Processing with Python will go on sale in January. We've taken the opportunity to make about 40 minor corrections. The online version has been updated.
-
-NLTK Book published : June 2009
- Natural Language Processing with Python, by Steven Bird, Ewan Klein and Edward Loper, has been published by O'Reilly Media Inc. It can be purchased in hardcopy, ebook, PDF or for online access, at http://oreilly.com/catalog/9780596516499/. For information about sellers and prices, see https://isbndb.com/d/book/natural_language_processing_with_python/prices.html.
-
-Version 0.9.9 released : May 2009
- This version finalizes NLTK's API ahead of the 2.0 release and the publication of the NLTK book. There have been dozens of minor enhancements and bugfixes. Many names of the form nltk.foo.Bar are now available as nltk.Bar. There is expanded functionality in the decision tree, collocations, and Toolbox modules. A new translation toy nltk.misc.babelfish has been added. A new module nltk.help gives access to tagset documentation. Fixed imports so NLTK will build and install withou [...]
-
-Version 0.9.8 released : February 2009
- This version contains a new off-the-shelf tokenizer, POS tagger, and named-entity tagger. A new metrics package includes inter-annotator agreement scores and various distance and word association measures (Tom Lippincott and Joel Nothman). There's a new collocations package (Joel Nothman). There are many improvements to the WordNet package and browser (Steven Bethard, Jordan Boyd-Graber, Paul Bone), and to the semantics and inference packages (Dan Garrette). The NLTK corpus colle [...]
-
-2008
-----
-
-Version 0.9.7 released : December 2008
- This version contains fixes to the corpus downloader (see instructions) enabling NLTK corpora to be released independently of the software, and to be stored in compressed format. There are improvements in the grammars, chart parsers, probability distributions, sentence segmenter, text classifiers and RTE classifier. There are many further improvements to the book. For full details see the ChangeLog.
-
-Version 0.9.6 released : December 2008
- This version has an incremental corpus downloader (see instructions) enabling NLTK corpora to be released independently of the software. A new WordNet interface has been developed by Steven Bethard (details). NLTK now has support for dependency parsing, developed by Jason Narad (sponsored by Google Summer of Code). There are many enhancements to the semantics and inference packages, contributed by Dan Garrette. The frequency distribution classes have new support for tabulation a [...]
-
-The NLTK Project has moved : November 2008
- The NLTK project has moved to Google Sites, Google Code and Google Groups. Content for users and the nltk.org domain is hosted on Google Sites. The home of NLTK development is now Google Code. All discussion lists are at Google Groups. Our old site at nltk.sourceforge.net will continue to be available while we complete this transition. Old releases are still available via our SourceForge release page. We're grateful to SourceForge for hosting our project since its inception in 2001.
-
-Version 0.9.5 released : August 2008
- This version contains several low-level changes to facilitate installation, plus updates to several NLTK-Contrib projects. A new text module gives easy access to text corpora for newcomers to NLP. For full details see the ChangeLog.
-
-Version 0.9.4 released : August 2008
- This version contains a substantially expanded semantics package contributed by Dan Garrette, improvements to the chunk, tag, wordnet, tree and feature-structure modules, Mallet interface, ngram language modeling, new GUI tools (WordNet? browser, chunking, POS-concordance). The data distribution includes the new NPS Chat Corpus. NLTK-Contrib includes the following new packages (still undergoing active development) NLG package (Petro Verkhogliad), dependency parsers (Jason Narad), cor [...]
-NLTK presented at ACL conference : June 2008
- A paper on teaching courses using NLTK will be presented at the ACL conference: Multidisciplinary Instruction with the Natural Language Toolkit
-
-Version 0.9.3 released : June 2008
- This version contains an improved WordNet? similarity module using pre-built information content files (included in the corpus distribution), new/improved interfaces to Weka, MEGAM and Prover9/Mace4 toolkits, improved Unicode support for corpus readers, a BNC corpus reader, and a rewrite of the Punkt sentence segmenter contributed by Joel Nothman. NLTK-Contrib includes an implementation of incremental algorithm for generating referring expression contributed by Margaret Mitchell. For [...]
-
-NLTK presented at LinuxFest Northwest : April 2008
- Sean Boisen presented NLTK at LinuxFest Northwest, which took place in Bellingham, Washington. His presentation slides are available at: http://semanticbible.com/other/talks/2008/nltk/main.html
-
-NLTK in Google Summer of Code : April 2008
- Google Summer of Code will sponsor two NLTK projects. Jason Narad won funding for a project on dependency parsers in NLTK (mentored by Sebastian Riedel and Jason Baldridge). Petro Verkhogliad won funding for a project on natural language generation in NLTK (mentored by Robert Dale and Edward Loper).
-
-Python Software Foundation adopts NLTK for Google Summer of Code application : March 2008
- The Python Software Foundation has listed NLTK projects for sponsorship from the 2008 Google Summer of Code program. For details please see http://wiki.python.org/moin/SummerOfCode.
-
-Version 0.9.2 released : March 2008
- This version contains a new inference module linked to the Prover9/Mace4 theorem-prover and model checker (Dan Garrette, Ewan Klein). It also includes the VerbNet? and PropBank? corpora along with corpus readers. A bug in the Reuters corpus reader has been fixed. NLTK-Contrib includes new work on the WordNet? browser (Jussi Salmela). For full details see the ChangeLog
-
-Youtube video about NLTK : January 2008
- The video from of the NLTK talk at the Bay Area Python Interest Group last July has been posted at http://www.youtube.com/watch?v=keXW_5-llD0 (1h15m)
-
-Version 0.9.1 released : January 2008
- This version contains new support for accessing text categorization corpora, along with several corpora categorized for topic, genre, question type, or sentiment. It includes several new corpora: Question classification data (Li & Roth), Reuters 21578 Corpus, Movie Reviews corpus (Pang & Lee), Recognising Textual Entailment (RTE) Challenges. NLTK-Contrib includes expanded support for semantics (Dan Garrette), readability scoring (Thomas Jakobsen, Thomas Skardal), and SIL Toolbox (Gre [...]
-
-2007
-----
-
-NLTK-Lite 0.9 released : October 2007
- This version is substantially revised and expanded from version 0.8. The entire toolkit can be accessed via a single import statement "import nltk", and there is a more convenient naming scheme. Calling deprecated functions generates messages that help programmers update their code. The corpus, tagger, and classifier modules have been redesigned. All functionality of the old NLTK 1.4.3 is now covered by NLTK-Lite 0.9. The book has been revised and expanded. A new data package incorpo [...]
-
-NLTK-Lite 0.9b2 released : September 2007
- This version is substantially revised and expanded from version 0.8. The entire toolkit can be accessed via a single import statement "import nltk", and many common NLP functions accessed directly, e.g. nltk.PorterStemmer?, nltk.ShiftReduceParser?. The corpus, tagger, and classifier modules have been redesigned. The book has been revised and expanded, and the chapters have been reordered. NLTK has a new data package incorporating the existing corpus collection and adding new sections [...]
-
-NLTK-Lite 0.9b1 released : August 2007
- This version is substantially revised and expanded from version 0.8. The entire toolkit can be accessed via a single import statement "import nltk", and many common NLP functions accessed directly, e.g. nltk.PorterStemmer?, nltk.ShiftReduceParser?. The corpus, tagger, and classifier modules have been redesigned. The book has been revised and expanded, and the chapters have been reordered. NLTK has a new data package incorporating the existing corpus collection and adding new sections [...]
-
-NLTK talks in São Paulo : August 2007
- Steven Bird will present NLTK in a series of talks at the First Brazilian School on Computational Linguistics, at the University of São Paulo in the first week of September.
-
-NLTK talk in Bay Area : July 2007
- Steven Bird, Ewan Klein, and Edward Loper will present NLTK at the Bay Area Python Interest Group, at Google on Thursday 12 July.
-
-NLTK-Lite 0.8 released : July 2007
- This version is substantially revised and expanded from version 0.7. The code now includes improved interfaces to corpora, chunkers, grammars, frequency distributions, full integration with WordNet? 3.0 and WordNet? similarity measures. The book contains substantial revision of Part I (tokenization, tagging, chunking) and Part II (grammars and parsing). NLTK has several new corpora including the Switchboard Telephone Speech Corpus transcript sample (Talkbank Project), CMU Problem Rep [...]
-
-NLTK features in Language Documentation and Conservation article : July 2007
- An article Managing Fieldwork Data with Toolbox and the Natural Language Toolkit by Stuart Robinson, Greg Aumann, and Steven Bird appears in the inaugural issue of ''Language Documentation and Conservation''. It discusses several small Python programs for manipulating field data.
-
-NLTK features in ACM Crossroads article : May 2007
- An article Getting Started on Natural Language Processing with Python by Nitin Madnani will appear in ''ACM Crossroads'', the ACM Student Journal. It discusses NLTK in detail, and provides several helpful examples including an entertaining free word association program.
-
-NLTK-Lite 0.7.5 released : May 2007
- This version contains improved interfaces for WordNet 3.0 and WordNet-Similarity, the Lancaster Stemmer (contributed by Steven Tomcavage), and several new corpora including the Switchboard Telephone Speech Corpus transcript sample (Talkbank Project), CMU Problem Reports Corpus sample, CONLL2002 POS+NER data, Patient Information Leaflet corpus sample and WordNet 3.0 data files. With this distribution WordNet no longer needs to be separately installed.
-
-NLTK-Lite 0.7.4 released : May 2007
- This release contains new corpora and corpus readers for Indian POS-Tagged data (Bangla, Hindi, Marathi, Telugu), and the Sinica Treebank, and substantial revision of Part II of the book on structured programming, grammars and parsing.
-
-NLTK-Lite 0.7.3 released : April 2007
- This release contains improved chunker and PCFG interfaces, the Shakespeare XML corpus sample and corpus reader, improved tutorials and improved formatting of code samples, and categorization of problem sets by difficulty.
-
-NLTK-Lite 0.7.2 released : March 2007
- This release contains new text classifiers (Cosine, NaiveBayes?, Spearman), contributed by Sam Huston, simple feature detectors, the UDHR corpus with text samples in 300+ languages and a corpus interface; improved tutorials (340 pages in total); additions to contrib area including Kimmo finite-state morphology system, Lambek calculus system, and a demonstration of text classifiers for language identification.
-
-NLTK-Lite 0.7.1 released : January 2007
- This release contains bugfixes in the WordNet? and HMM modules.
-
-2006
-----
-
-NLTK-Lite 0.7 released : December 2006
- This release contains: new semantic interpretation package (Ewan Klein), new support for SIL Toolbox format (Greg Aumann), new chunking package including cascaded chunking (Steven Bird), new interface to WordNet? 2.1 and Wordnet similarity measures (David Ormiston Smith), new support for Penn Treebank format (Yoav Goldberg), bringing the codebase to 48,000 lines; substantial new chapters on semantic interpretation and chunking, and substantial revisions to several other chapters, bri [...]
-
-NLTK-Lite 0.7b1 released : December 2006
- This release contains: new semantic interpretation package (Ewan Klein), new support for SIL Toolbox format (Greg Aumann), new chunking package including cascaded chunking, wordnet package updated for version 2.1 of Wordnet, and prototype wordnet similarity measures (David Ormiston Smith), bringing the codebase to 48,000 lines; substantial new chapters on semantic interpretation and chunking, and substantial revisions to several other chapters, bringing the textbook documentation to [...]
-
-NLTK-Lite 0.6.6 released : October 2006
- This release contains bugfixes, improvements to Shoebox file format support, and expanded tutorial discussions of programming and feature-based grammars.
-
-NLTK-Lite 0.6.5 released : July 2006
- This release contains improvements to Shoebox file format support (by Stuart Robinson and Greg Aumann); an implementation of hole semantics (by Peter Wang); improvements to lambda calculus and semantic interpretation modules (by Ewan Klein); a new corpus (Sinica Treebank sample); and expanded tutorial discussions of trees, feature-based grammar, unification, PCFGs, and more exercises.
-
-NLTK-Lite passes 10k download milestone : May 2006
- We have now had 10,000 downloads of NLTK-Lite in the nine months since it was first released.
-
-NLTK-Lite 0.6.4 released : April 2006
- This release contains new corpora (Senseval 2, TIMIT sample), a clusterer, cascaded chunker, and several substantially revised tutorials.
-
-2005
-----
-
-NLTK 1.4 no longer supported : December 2005
- The main development has switched to NLTK-Lite. The latest version of NLTK can still be downloaded; see the installation page for instructions.
-
-NLTK-Lite 0.6 released : November 2005
- contains bug-fixes, PDF versions of tutorials, expanded fieldwork tutorial, PCFG grammar induction (by Nathan Bodenstab), and prototype concordance and paradigm display tools (by Peter Spiller and Will Hardy).
-
-NLTK-Lite 0.5 released : September 2005
- contains bug-fixes, improved tutorials, more project suggestions, and a pronunciation dictionary.
-
-NLTK-Lite 0.4 released : September 2005
- contains bug-fixes, improved tutorials, more project suggestions, and probabilistic parsers.
-
-NLTK-Lite 0.3 released : August 2005
- contains bug-fixes, documentation clean-up, project suggestions, and the chart parser demos including one for Earley parsing by Jean Mark Gawron.
-
-NLTK-Lite 0.2 released : July 2005
- contains bug-fixes, documentation clean-up, and some translations of tutorials into Brazilian Portuguese by Tiago Tresoldi.
-
-NLTK-Lite 0.1 released : July 2005
- substantially simplified and streamlined version of NLTK has been released
-
-Brazilian Portuguese Translation : April 2005
- top-level pages of this website have been translated into Brazilian Portuguese by Tiago Tresoldi; translations of the tutorials are in preparation http://hermes.sourceforge.net/nltk-br/
-
-1.4.3 Release : February 2005
- NLTK 1.4.3 has been released; this is the first version which is compatible with Python 2.4.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/nltk.git
More information about the debian-science-commits
mailing list