forked from filipg/aitech-eks-pub
257 KiB
257 KiB
Podejście softmax z embeddingami na przykładzie NER
import numpy as np
import gensim
import torch
import pandas as pd
import seaborn as sns
from sklearn.model_selection import train_test_split
from datasets import load_dataset
from torchtext.vocab import Vocab
from collections import Counter
from sklearn.datasets import fetch_20newsgroups
# https://scikit-learn.org/0.19/datasets/twenty_newsgroups.html
from sklearn.feature_extraction.text import TfidfVectorizer
from sklearn.metrics import accuracy_score
from tqdm.notebook import tqdm
import torch
from torchcrf import CRF
/media/kuba/ssdsam/anaconda3/lib/python3.8/site-packages/gensim/similarities/__init__.py:15: UserWarning: The gensim.similarities.levenshtein submodule is disabled, because the optional Levenshtein package <https://pypi.org/project/python-Levenshtein/> is unavailable. Install Levenhstein (e.g. `pip install python-Levenshtein`) to suppress this warning. warnings.warn(msg)
dataset = load_dataset("conll2003")
Reusing dataset conll2003 (/home/kuba/.cache/huggingface/datasets/conll2003/conll2003/1.0.0/40e7cb6bcc374f7c349c83acd1e9352a4f09474eb691f64f364ee62eb65d0ca6)
def build_vocab(dataset):
counter = Counter()
for document in dataset:
counter.update(document)
return Vocab(counter, specials=['<unk>', '<pad>', '<bos>', '<eos>'])
vocab = build_vocab(dataset['train']['tokens'])
dataset['train']['tokens']
[['EU', 'rejects', 'German', 'call', 'to', 'boycott', 'British', 'lamb', '.'], ['Peter', 'Blackburn'], ['BRUSSELS', '1996-08-22'], ['The', 'European', 'Commission', 'said', 'on', 'Thursday', 'it', 'disagreed', 'with', 'German', 'advice', 'to', 'consumers', 'to', 'shun', 'British', 'lamb', 'until', 'scientists', 'determine', 'whether', 'mad', 'cow', 'disease', 'can', 'be', 'transmitted', 'to', 'sheep', '.'], ['Germany', "'s", 'representative', 'to', 'the', 'European', 'Union', "'s", 'veterinary', 'committee', 'Werner', 'Zwingmann', 'said', 'on', 'Wednesday', 'consumers', 'should', 'buy', 'sheepmeat', 'from', 'countries', 'other', 'than', 'Britain', 'until', 'the', 'scientific', 'advice', 'was', 'clearer', '.'], ['"', 'We', 'do', "n't", 'support', 'any', 'such', 'recommendation', 'because', 'we', 'do', "n't", 'see', 'any', 'grounds', 'for', 'it', ',', '"', 'the', 'Commission', "'s", 'chief', 'spokesman', 'Nikolaus', 'van', 'der', 'Pas', 'told', 'a', 'news', 'briefing', '.'], ['He', 'said', 'further', 'scientific', 'study', 'was', 'required', 'and', 'if', 'it', 'was', 'found', 'that', 'action', 'was', 'needed', 'it', 'should', 'be', 'taken', 'by', 'the', 'European', 'Union', '.'], ['He', 'said', 'a', 'proposal', 'last', 'month', 'by', 'EU', 'Farm', 'Commissioner', 'Franz', 'Fischler', 'to', 'ban', 'sheep', 'brains', ',', 'spleens', 'and', 'spinal', 'cords', 'from', 'the', 'human', 'and', 'animal', 'food', 'chains', 'was', 'a', 'highly', 'specific', 'and', 'precautionary', 'move', 'to', 'protect', 'human', 'health', '.'], ['Fischler', 'proposed', 'EU-wide', 'measures', 'after', 'reports', 'from', 'Britain', 'and', 'France', 'that', 'under', 'laboratory', 'conditions', 'sheep', 'could', 'contract', 'Bovine', 'Spongiform', 'Encephalopathy', '(', 'BSE', ')', '--', 'mad', 'cow', 'disease', '.'], ['But', 'Fischler', 'agreed', 'to', 'review', 'his', 'proposal', 'after', 'the', 'EU', "'s", 'standing', 'veterinary', 'committee', ',', 'mational', 'animal', 'health', 'officials', ',', 'questioned', 'if', 'such', 'action', 'was', 'justified', 'as', 'there', 'was', 'only', 'a', 'slight', 'risk', 'to', 'human', 'health', '.'], ['Spanish', 'Farm', 'Minister', 'Loyola', 'de', 'Palacio', 'had', 'earlier', 'accused', 'Fischler', 'at', 'an', 'EU', 'farm', 'ministers', "'", 'meeting', 'of', 'causing', 'unjustified', 'alarm', 'through', '"', 'dangerous', 'generalisation', '.', '"'], ['.'], ['Only', 'France', 'and', 'Britain', 'backed', 'Fischler', "'s", 'proposal', '.'], ['The', 'EU', "'s", 'scientific', 'veterinary', 'and', 'multidisciplinary', 'committees', 'are', 'due', 'to', 're-examine', 'the', 'issue', 'early', 'next', 'month', 'and', 'make', 'recommendations', 'to', 'the', 'senior', 'veterinary', 'officials', '.'], ['Sheep', 'have', 'long', 'been', 'known', 'to', 'contract', 'scrapie', ',', 'a', 'brain-wasting', 'disease', 'similar', 'to', 'BSE', 'which', 'is', 'believed', 'to', 'have', 'been', 'transferred', 'to', 'cattle', 'through', 'feed', 'containing', 'animal', 'waste', '.'], ['British', 'farmers', 'denied', 'on', 'Thursday', 'there', 'was', 'any', 'danger', 'to', 'human', 'health', 'from', 'their', 'sheep', ',', 'but', 'expressed', 'concern', 'that', 'German', 'government', 'advice', 'to', 'consumers', 'to', 'avoid', 'British', 'lamb', 'might', 'influence', 'consumers', 'across', 'Europe', '.'], ['"', 'What', 'we', 'have', 'to', 'be', 'extremely', 'careful', 'of', 'is', 'how', 'other', 'countries', 'are', 'going', 'to', 'take', 'Germany', "'s", 'lead', ',', '"', 'Welsh', 'National', 'Farmers', "'", 'Union', '(', 'NFU', ')', 'chairman', 'John', 'Lloyd', 'Jones', 'said', 'on', 'BBC', 'radio', '.'], ['Bonn', 'has', 'led', 'efforts', 'to', 'protect', 'public', 'health', 'after', 'consumer', 'confidence', 'collapsed', 'in', 'March', 'after', 'a', 'British', 'report', 'suggested', 'humans', 'could', 'contract', 'an', 'illness', 'similar', 'to', 'mad', 'cow', 'disease', 'by', 'eating', 'contaminated', 'beef', '.'], ['Germany', 'imported', '47,600', 'sheep', 'from', 'Britain', 'last', 'year', ',', 'nearly', 'half', 'of', 'total', 'imports', '.'], ['It', 'brought', 'in', '4,275', 'tonnes', 'of', 'British', 'mutton', ',', 'some', '10', 'percent', 'of', 'overall', 'imports', '.'], ['Rare', 'Hendrix', 'song', 'draft', 'sells', 'for', 'almost', '$', '17,000', '.'], ['LONDON', '1996-08-22'], ['A', 'rare', 'early', 'handwritten', 'draft', 'of', 'a', 'song', 'by', 'U.S.', 'guitar', 'legend', 'Jimi', 'Hendrix', 'was', 'sold', 'for', 'almost', '$', '17,000', 'on', 'Thursday', 'at', 'an', 'auction', 'of', 'some', 'of', 'the', 'late', 'musician', "'s", 'favourite', 'possessions', '.'], ['A', 'Florida', 'restaurant', 'paid', '10,925', 'pounds', '(', '$', '16,935', ')', 'for', 'the', 'draft', 'of', '"', 'Ai', "n't", 'no', 'telling', '"', ',', 'which', 'Hendrix', 'penned', 'on', 'a', 'piece', 'of', 'London', 'hotel', 'stationery', 'in', 'late', '1966', '.'], ['At', 'the', 'end', 'of', 'a', 'January', '1967', 'concert', 'in', 'the', 'English', 'city', 'of', 'Nottingham', 'he', 'threw', 'the', 'sheet', 'of', 'paper', 'into', 'the', 'audience', ',', 'where', 'it', 'was', 'retrieved', 'by', 'a', 'fan', '.'], ['Buyers', 'also', 'snapped', 'up', '16', 'other', 'items', 'that', 'were', 'put', 'up', 'for', 'auction', 'by', 'Hendrix', "'s", 'former', 'girlfriend', 'Kathy', 'Etchingham', ',', 'who', 'lived', 'with', 'him', 'from', '1966', 'to', '1969', '.'], ['They', 'included', 'a', 'black', 'lacquer', 'and', 'mother', 'of', 'pearl', 'inlaid', 'box', 'used', 'by', 'Hendrix', 'to', 'store', 'his', 'drugs', ',', 'which', 'an', 'anonymous', 'Australian', 'purchaser', 'bought', 'for', '5,060', 'pounds', '(', '$', '7,845', ')', '.'], ['The', 'guitarist', 'died', 'of', 'a', 'drugs', 'overdose', 'in', '1970', 'aged', '27', '.'], ['China', 'says', 'Taiwan', 'spoils', 'atmosphere', 'for', 'talks', '.'], ['BEIJING', '1996-08-22'], ['China', 'on', 'Thursday', 'accused', 'Taipei', 'of', 'spoiling', 'the', 'atmosphere', 'for', 'a', 'resumption', 'of', 'talks', 'across', 'the', 'Taiwan', 'Strait', 'with', 'a', 'visit', 'to', 'Ukraine', 'by', 'Taiwanese', 'Vice', 'President', 'Lien', 'Chan', 'this', 'week', 'that', 'infuriated', 'Beijing', '.'], ['Speaking', 'only', 'hours', 'after', 'Chinese', 'state', 'media', 'said', 'the', 'time', 'was', 'right', 'to', 'engage', 'in', 'political', 'talks', 'with', 'Taiwan', ',', 'Foreign', 'Ministry', 'spokesman', 'Shen', 'Guofang', 'told', 'Reuters', ':', '"', 'The', 'necessary', 'atmosphere', 'for', 'the', 'opening', 'of', 'the', 'talks', 'has', 'been', 'disrupted', 'by', 'the', 'Taiwan', 'authorities', '.', '"'], ['State', 'media', 'quoted', 'China', "'s", 'top', 'negotiator', 'with', 'Taipei', ',', 'Tang', 'Shubei', ',', 'as', 'telling', 'a', 'visiting', 'group', 'from', 'Taiwan', 'on', 'Wednesday', 'that', 'it', 'was', 'time', 'for', 'the', 'rivals', 'to', 'hold', 'political', 'talks', '.'], ['"', 'Now', 'is', 'the', 'time', 'for', 'the', 'two', 'sides', 'to', 'engage', 'in', 'political', 'talks', '...'], ['that', 'is', 'to', 'end', 'the', 'state', 'of', 'hostility', ',', '"', 'Thursday', "'s", 'overseas', 'edition', 'of', 'the', 'People', "'s", 'Daily', 'quoted', 'Tang', 'as', 'saying', '.'], ['The', 'foreign', 'ministry', "'s", 'Shen', 'told', 'Reuters', 'Television', 'in', 'an', 'interview', 'he', 'had', 'read', 'reports', 'of', 'Tang', "'s", 'comments', 'but', 'gave', 'no', 'details', 'of', 'why', 'the', 'negotiator', 'had', 'considered', 'the', 'time', 'right', 'for', 'talks', 'with', 'Taiwan', ',', 'which', 'Beijing', 'considers', 'a', 'renegade', 'province', '.'], ['China', ',', 'which', 'has', 'long', 'opposed', 'all', 'Taipei', 'efforts', 'to', 'gain', 'greater', 'international', 'recognition', ',', 'was', 'infuriated', 'by', 'a', 'visit', 'to', 'Ukraine', 'this', 'week', 'by', 'Taiwanese', 'Vice', 'President', 'Lien', '.'], ['China', 'says', 'time', 'right', 'for', 'Taiwan', 'talks', '.'], ['BEIJING', '1996-08-22'], ['China', 'has', 'said', 'it', 'was', 'time', 'for', 'political', 'talks', 'with', 'Taiwan', 'and', 'that', 'the', 'rival', 'island', 'should', 'take', 'practical', 'steps', 'towards', 'that', 'goal', '.'], ['Consultations', 'should', 'be', 'held', 'to', 'set', 'the', 'time', 'and', 'format', 'of', 'the', 'talks', ',', 'the', 'official', 'Xinhua', 'news', 'agency', 'quoted', 'Tang', 'Shubei', ',', 'executive', 'vice', 'chairman', 'of', 'the', 'Association', 'for', 'Relations', 'Across', 'the', 'Taiwan', 'Straits', ',', 'as', 'saying', 'late', 'on', 'Wednesday', '.'], ['German', 'July', 'car', 'registrations', 'up', '14.2', 'pct', 'yr', '/', 'yr', '.'], ['FRANKFURT', '1996-08-22'], ['German', 'first-time', 'registrations', 'of', 'motor', 'vehicles', 'jumped', '14.2', 'percent', 'in', 'July', 'this', 'year', 'from', 'the', 'year-earlier', 'period', ',', 'the', 'Federal', 'office', 'for', 'motor', 'vehicles', 'said', 'on', 'Thursday', '.'], ['The', 'office', 'said', '356,725', 'new', 'cars', 'were', 'registered', 'in', 'July', '1996', '--', '304,850', 'passenger', 'cars', 'and', '15,613', 'trucks', '.'], ['The', 'figures', 'represent', 'a', '13.6', 'percent', 'increase', 'for', 'passenger', 'cars', 'and', 'a', '2.2', 'percent', 'decline', 'for', 'trucks', 'from', 'July', '1995', '.'], ['Motor-bike', 'registration', 'rose', '32.7', 'percent', 'in', 'the', 'period', '.'], ['The', 'growth', 'was', 'partly', 'due', 'to', 'an', 'increased', 'number', 'of', 'Germans', 'buying', 'German', 'cars', 'abroad', ',', 'while', 'manufacturers', 'said', 'that', 'domestic', 'demand', 'was', 'weak', ',', 'the', 'federal', 'office', 'said', '.'], ['Almost', 'all', 'German', 'car', 'manufacturers', 'posted', 'gains', 'in', 'registration', 'numbers', 'in', 'the', 'period', '.'], ['Volkswagen', 'AG', 'won', '77,719', 'registrations', ',', 'slightly', 'more', 'than', 'a', 'quarter', 'of', 'the', 'total', '.'], ['Opel', 'AG', 'together', 'with', 'General', 'Motors', 'came', 'in', 'second', 'place', 'with', '49,269', 'registrations', ',', '16.4', 'percent', 'of', 'the', 'overall', 'figure', '.'], ['Third', 'was', 'Ford', 'with', '35,563', 'registrations', ',', 'or', '11.7', 'percent', '.'], ['Only', 'Seat', 'and', 'Porsche', 'had', 'fewer', 'registrations', 'in', 'July', '1996', 'compared', 'to', 'last', 'year', "'s", 'July', '.'], ['Seat', 'posted', '3,420', 'registrations', 'compared', 'with', '5522', 'registrations', 'in', 'July', 'a', 'year', 'earlier', '.'], ['Porsche', "'s", 'registrations', 'fell', 'to', '554', 'from', '643', '.'], ['GREEK', 'SOCIALISTS', 'GIVE', 'GREEN', 'LIGHT', 'TO', 'PM', 'FOR', 'ELECTIONS', '.'], ['ATHENS', '1996-08-22'], ['The', 'Greek', 'socialist', 'party', "'s", 'executive', 'bureau', 'gave', 'the', 'green', 'light', 'to', 'Prime', 'Minister', 'Costas', 'Simitis', 'to', 'call', 'snap', 'elections', ',', 'its', 'general', 'secretary', 'Costas', 'Skandalidis', 'told', 'reporters', '.'], ['Prime', 'Minister', 'Costas', 'Simitis', 'is', 'going', 'to', 'make', 'an', 'official', 'announcement', 'after', 'a', 'cabinet', 'meeting', 'later', 'on', 'Thursday', ',', 'said', 'Skandalidis', '.'], ['--', 'Dimitris', 'Kontogiannis', ',', 'Athens', 'Newsroom', '+301', '3311812-4'], ['BayerVB', 'sets', 'C$', '100', 'million', 'six-year', 'bond', '.'], ['LONDON', '1996-08-22'], ['The', 'following', 'bond', 'was', 'announced', 'by', 'lead', 'manager', 'Toronto', 'Dominion', '.'], ['BORROWER', 'BAYERISCHE', 'VEREINSBANK'], ['AMT', 'C$', '100', 'MLN', 'COUPON', '6.625', 'MATURITY', '24.SEP.02'], ['TYPE', 'STRAIGHT', 'ISS', 'PRICE', '100.92', 'PAY', 'DATE', '24.SEP.96'], ['FULL', 'FEES', '1.875', 'REOFFER', '99.32', 'SPREAD', '+20', 'BP'], ['MOODY', 'AA1', 'LISTING', 'LUX', 'PAY', 'FREQ', '='], ['S&P', '=', 'DENOMS', '(', 'K', ')', '1-10-100', 'SALE', 'LIMITS', 'US', '/', 'UK', '/', 'CA'], ['NEG', 'PLG', 'NO', 'CRS', 'DEFLT', 'NO', 'FORCE', 'MAJ', '='], ['GOV', 'LAW', 'GERMAN', 'HOME', 'CTRY', '=', 'TAX', 'PROVS', 'STANDARD'], ['MGT', '/', 'UND', '0.275', 'SELL', 'CONC', '1.60', 'PRAECIP', '='], ['UNDERLYING', 'GOVT', 'BOND', '7.0', 'PCT', 'SEPT', '2001'], ['NOTES', 'BAYERISCHE', 'VEREINSBANK', 'IS', 'JOINT', 'LEAD', 'MANAGER'], ['--', 'London', 'Newsroom', '+44', '171', '542', '7658'], ['Venantius', 'sets', '$', '300', 'million', 'January', '1999', 'FRN', '.'], ['LONDON', '1996-08-22'], ['The', 'following', 'floating-rate', 'issue', 'was', 'announced', 'by', 'lead', 'manager', 'Lehman', 'Brothers', 'International', '.'], ['BORROWER', 'VENANTIUS', 'AB', '(', 'SWEDISH', 'NATIONAL', 'MORTGAGE', 'AGENCY', ')'], ['AMT', '$', '300', 'MLN', 'SPREAD', '-', '12.5', 'BP', 'MATURITY', '21.JAN.99'], ['TYPE', 'FRN', 'BASE', '3M', 'LIBOR', 'PAY', 'DATE', 'S23.SEP.96'], ['LAST', 'MOODY', 'AA3', 'ISS', 'PRICE', '99.956', 'FULL', 'FEES', '10', 'BP'], ['LAST', 'S&P', 'AA+', 'REOFFER', '='], ['NOTES', 'S', 'SHORT', 'FIRST', 'COUPON'], ['LISTING', 'LONDON', 'DENOMS', '(', 'K', ')', '1-10-100', 'SALE', 'LIMITS', 'US', '/', 'UK', '/', 'JP', '/', 'FR'], ['NEG', 'PLG', 'YES', 'CRS', 'DEFLT', 'NO', 'FORCE', 'MAJ', 'IPMA', '2'], ['GOV', 'LAW', 'ENGLISH', 'HOME', 'CTRY', 'SWEDEN', 'TAX', 'PROVS', 'STANDARD'], ['MGT', '/', 'UND', '5', 'BP', 'SELL', 'CONC', '5', 'BP', 'PRAECIP', '='], ['NOTES', 'ISSUED', 'OFF', 'EMTN', 'PROGRAMME'], ['--', 'London', 'Newsroom', '+44', '171', '542', '8863'], ['Port', 'conditions', 'update', '-', 'Syria', '-', 'Lloyds', 'Shipping', '.'], ['Port', 'conditions', 'from', 'Lloyds', 'Shipping', 'Intelligence', 'Service', '--'], ['LATTAKIA', ',', 'Aug', '10', '-', 'waiting', 'time', 'at', 'Lattakia', 'and', 'Tartous', 'presently', '24', 'hours', '.'], ['Israel', 'plays', 'down', 'fears', 'of', 'war', 'with', 'Syria', '.'], ['Colleen', 'Siegel'], ['JERUSALEM', '1996-08-22'], ['Israel', "'s", 'outgoing', 'peace', 'negotiator', 'with', 'Syria', 'said', 'on', 'Thursday', 'current', 'tensions', 'between', 'the', 'two', 'countries', 'appeared', 'to', 'be', 'a', 'storm', 'in', 'a', 'teacup', '.'], ['Itamar', 'Rabinovich', ',', 'who', 'as', 'Israel', "'s", 'ambassador', 'to', 'Washington', 'conducted', 'unfruitful', 'negotiations', 'with', 'Syria', ',', 'told', 'Israel', 'Radio', 'it', 'looked', 'like', 'Damascus', 'wanted', 'to', 'talk', 'rather', 'than', 'fight', '.'], ['"', 'It', 'appears', 'to', 'me', 'the', 'Syrian', 'priority', 'is', 'still', 'to', 'negotiate', '.'], ['The', 'Syrians', 'are', 'confused', ',', 'they', 'are', 'definitely', 'tense', ',', 'but', 'the', 'general', 'assessment', 'here', 'in', 'Washington', 'is', 'that', 'this', 'is', 'essentially', 'a', 'storm', 'in', 'a', 'teacup', ',', '"', 'he', 'said', '.'], ['Rabinovich', 'is', 'winding', 'up', 'his', 'term', 'as', 'ambassador', '.'], ['He', 'will', 'be', 'replaced', 'by', 'Eliahu', 'Ben-Elissar', ',', 'a', 'former', 'Israeli', 'envoy', 'to', 'Egypt', 'and', 'right-wing', 'Likud', 'party', 'politician', '.'], ['Israel', 'on', 'Wednesday', 'sent', 'Syria', 'a', 'message', ',', 'via', 'Washington', ',', 'saying', 'it', 'was', 'committed', 'to', 'peace', 'and', 'wanted', 'to', 'open', 'negotiations', 'without', 'preconditions', '.'], ['But', 'it', 'slammed', 'Damascus', 'for', 'creating', 'what', 'it', 'called', 'a', 'dangerous', 'atmosphere', '.'], ['Syria', 'accused', 'Israel', 'on', 'Wednesday', 'of', 'launching', 'a', 'hysterical', 'campaign', 'against', 'it', 'after', 'Israeli', 'television', 'reported', 'that', 'Damascus', 'had', 'recently', 'test', 'fired', 'a', 'missile', '.'], ['It', 'said', 'its', 'arms', 'purchases', 'were', 'for', 'defensive', 'purposes', '.'], ['"', 'The', 'message', 'that', 'we', 'sent', 'to', '(', 'Syrian', 'President', 'Hafez', 'al-', ')', 'Assad', 'is', 'that', 'Israel', 'is', 'ready', 'at', 'any', 'time', 'without', 'preconditions', 'to', 'enter', 'peace', 'negotiations', ',', '"', 'Israeli', 'Foreign', 'Minister', 'David', 'Levy', 'told', 'Israel', 'Radio', 'in', 'an', 'interview', '.'], ['Tension', 'has', 'mounted', 'since', 'Israeli', 'Prime', 'Minister', 'Benjamin', 'Netanyahu', 'took', 'office', 'in', 'June', 'vowing', 'to', 'retain', 'the', 'Golan', 'Heights', 'Israel', 'captured', 'from', 'Syria', 'in', 'the', '1967', 'Middle', 'East', 'war', '.'], ['Israeli-Syrian', 'peace', 'talks', 'have', 'been', 'deadlocked', 'over', 'the', 'Golan', 'since', '1991', 'despite', 'the', 'previous', 'government', "'s", 'willingness', 'to', 'make', 'Golan', 'concessions', '.'], ['Peace', 'talks', 'between', 'the', 'two', 'sides', 'were', 'last', 'held', 'in', 'February', '.'], ['"', 'The', 'voices', 'coming', 'out', 'of', 'Damascus', 'are', 'bad', ',', 'not', 'good', '.'], ['The', 'media', '...'], ['are', 'full', 'of', 'expressions', 'and', 'declarations', 'that', 'must', 'be', 'worrying', '...'], ['this', 'artificial', 'atmosphere', 'is', 'very', 'dangerous', 'because', 'those', 'who', 'spread', 'it', 'could', 'become', 'its', 'prisoners', ',', '"', 'Levy', 'said', '.'], ['"', 'We', 'expect', 'from', 'Syria', ',', 'if', 'its', 'face', 'is', 'to', 'peace', ',', 'that', 'it', 'will', 'answer', 'Israel', "'s", 'message', 'to', 'enter', 'peace', 'negotiations', 'because', 'that', 'is', 'our', 'goal', ',', '"', 'he', 'said', '.', '"'], ['We', 'do', 'not', 'want', 'a', 'war', ',', 'God', 'forbid', '.'], ['No', 'one', 'benefits', 'from', 'wars', '.', '"'], ['Israel', "'s", 'Channel', 'Two', 'television', 'said', 'Damascus', 'had', 'sent', 'a', '"', 'calming', 'signal', '"', 'to', 'Israel', '.'], ['It', 'gave', 'no', 'source', 'for', 'the', 'report', '.'], ['Netanyahu', 'and', 'Levy', "'s", 'spokesmen', 'said', 'they', 'could', 'not', 'confirm', 'it', '.'], ['The', 'television', 'also', 'said', 'that', 'Netanyahu', 'had', 'sent', 'messages', 'to', 'reassure', 'Syria', 'via', 'Cairo', ',', 'the', 'United', 'States', 'and', 'Moscow', '.'], ['Polish', 'diplomat', 'denies', 'nurses', 'stranded', 'in', 'Libya', '.'], ['TUNIS', '1996-08-22'], ['A', 'Polish', 'diplomat', 'on', 'Thursday', 'denied', 'a', 'Polish', 'tabloid', 'report', 'this', 'week', 'that', 'Libya', 'was', 'refusing', 'exit', 'visas', 'to', '100', 'Polish', 'nurses', 'trying', 'to', 'return', 'home', 'after', 'working', 'in', 'the', 'North', 'African', 'country', '.'], ['"', 'This', 'is', 'not', 'true', '.'], ['Up', 'to', 'today', ',', 'we', 'have', 'no', 'knowledge', 'of', 'any', 'nurse', 'stranded', 'or', 'kept', 'in', 'Libya', 'without', 'her', 'will', ',', 'and', 'we', 'have', 'not', 'received', 'any', 'complaint', ',', '"', 'the', 'Polish', 'embassy', "'s", 'charge', "d'affaires", 'in', 'Tripoli', ',', 'Tadeusz', 'Awdankiewicz', ',', 'told', 'Reuters', 'by', 'telephone', '.'], ['Poland', "'s", 'labour', 'ministry', 'said', 'this', 'week', 'it', 'would', 'send', 'a', 'team', 'to', 'Libya', 'to', 'investigate', ',', 'but', 'Awdankiewicz', 'said', 'the', 'probe', 'was', 'prompted', 'by', 'some', 'nurses', 'complaining', 'about', 'their', 'work', 'conditions', 'such', 'as', 'non-payment', 'of', 'their', 'salaries', '.'], ['He', 'said', 'that', 'there', 'are', 'an', 'estimated', '800', 'Polish', 'nurses', 'working', 'in', 'Libya', '.'], ['Two', 'Iranian', 'opposition', 'leaders', 'meet', 'in', 'Baghdad', '.'], ['Hassan', 'Hafidh'], ['BAGHDAD', '1996-08-22'], ['An', 'Iranian', 'exile', 'group', 'based', 'in', 'Iraq', 'vowed', 'on', 'Thursday', 'to', 'extend', 'support', 'to', 'Iran', "'s", 'Kurdish', 'rebels', 'after', 'they', 'were', 'attacked', 'by', 'Iranian', 'troops', 'deep', 'inside', 'Iraq', 'last', 'month', '.'], ['A', 'Mujahideen', 'Khalq', 'statement', 'said', 'its', 'leader', 'Massoud', 'Rajavi', 'met', 'in', 'Baghdad', 'the', 'Secretary-General', 'of', 'the', 'Kurdistan', 'Democratic', 'Party', 'of', 'Iran', '(', 'KDPI', ')', 'Hassan', 'Rastegar', 'on', 'Wednesday', 'and', 'voiced', 'his', 'support', 'to', 'Iran', "'s", 'rebel', 'Kurds', '.'], ['"', 'Rajavi', 'emphasised', 'that', 'the', 'Iranian', 'Resistance', 'would', 'continue', 'to', 'stand', 'side', 'by', 'side', 'with', 'their', 'Kurdish', 'compatriots', 'and', 'the', 'resistance', 'movement', 'in', 'Iranian', 'Kurdistan', ',', '"', 'it', 'said', '.'], ['A', 'spokesman', 'for', 'the', 'group', 'said', 'the', 'meeting', '"', 'signals', 'a', 'new', 'level', 'of', 'cooperation', 'between', 'Mujahideen', 'Khalq', 'and', 'the', 'Iranian', 'Kurdish', 'oppositions', '"', '.'], ['Iran', 'heavily', 'bombarded', 'targets', 'in', 'northern', 'Iraq', 'in', 'July', 'in', 'pursuit', 'of', 'KDPI', 'guerrillas', 'based', 'in', 'Iraqi', 'Kurdish', 'areas', 'outside', 'the', 'control', 'of', 'the', 'government', 'in', 'Baghdad', '.'], ['Iraqi', 'Kurdish', 'areas', 'bordering', 'Iran', 'are', 'under', 'the', 'control', 'of', 'guerrillas', 'of', 'the', 'Iraqi', 'Kurdish', 'Patriotic', 'Union', 'of', 'Kurdistan', '(', 'PUK', ')', 'group', '.'], ['PUK', 'and', 'Iraq', "'s", 'Kurdistan', 'Democratic', 'Party', '(', 'KDP', ')', 'the', 'two', 'main', 'Iraqi', 'Kurdish', 'factions', ',', 'have', 'had', 'northern', 'Iraq', 'under', 'their', 'control', 'since', 'Iraqi', 'forces', 'were', 'ousted', 'from', 'Kuwait', 'in', 'the', '1991', 'Gulf', 'War', '.'], ['Clashes', 'between', 'the', 'two', 'parties', 'broke', 'out', 'at', 'the', 'weekend', 'in', 'the', 'most', 'serious', 'fighting', 'since', 'a', 'U.S.-sponsored', 'ceasefire', 'last', 'year', '.'], ['Mujahideen', 'Khalq', 'said', 'Iranian', 'troops', 'had', 'also', 'been', 'shelling', 'KDP', 'positions', 'in', 'Qasri', 'region', 'in', 'Suleimaniya', 'province', 'near', 'the', 'Iranian', 'border', 'over', 'the', 'last', 'two', 'days', '.'], ['It', 'said', 'about', '100', 'Iraqi', 'Kurds', 'were', 'killed', 'or', 'wounded', 'in', 'the', 'attack', '.'], ['Both', 'Iran', 'and', 'Turkey', 'mount', 'air', 'and', 'land', 'strikes', 'at', 'targets', 'in', 'northern', 'Iraq', 'in', 'pursuit', 'of', 'their', 'own', 'Kurdish', 'rebels', '.'], ['A', 'U.S.-led', 'air', 'force', 'in', 'southern', 'Turkey', 'protects', 'Iraqi', 'Kurds', 'from', 'possible', 'attacks', 'by', 'Baghdad', 'troops', '.'], ['Saudi', 'riyal', 'rates', 'steady', 'in', 'quiet', 'summer', 'trade', '.'], ['MANAMA', '1996-08-22'], ['The', 'spot', 'Saudi', 'riyal', 'against', 'the', 'dollar', 'and', 'riyal', 'interbank', 'deposit', 'rates', 'were', 'mainly', 'steady', 'this', 'week', 'in', 'quiet', 'summer', 'trade', ',', 'dealers', 'in', 'the', 'kingdom', 'said', '.'], ['"', 'There', 'were', 'no', 'changes', 'in', 'Saudi', 'riyal', 'rates', '.'], ['The', 'market', 'was', 'very', 'quiet', 'because', 'of', 'summer', 'holidays', ',', '"', 'one', 'dealer', 'said', '.'], ['The', 'spot', 'riyal', 'was', 'put', 'at', '3.7504', '/', '06', 'to', 'the', 'dollar', '.'], ['One-month', 'interbank', 'deposits', 'were', 'at', '5-1/2', ',', '3/8', 'percent', ',', 'three', 'months', 'were', '5-5/8', ',', '1/2', 'percent', 'and', 'six', 'months', 'were', '5-3/4', ',', '5/8', 'percent', '.'], ['One-year', 'funds', 'were', 'at', 'six', ',', '5-7/8', 'percent', '.'], ['Israel', 'approves', 'Arafat', "'s", 'flight', 'to', 'West', 'Bank', '.'], ['JERUSALEM', '1996-08-22'], ['Israel', 'gave', 'Palestinian', 'President', 'Yasser', 'Arafat', 'permission', 'on', 'Thursday', 'to', 'fly', 'over', 'its', 'territory', 'to', 'the', 'West', 'Bank', ',', 'ending', 'a', 'brief', 'Israeli-PLO', 'crisis', ',', 'an', 'Arafat', 'adviser', 'said', '.'], ['"', 'The', 'problem', 'is', 'over', '.'], ['The', 'president', "'s", 'aircraft', 'has', 'received', 'permission', 'to', 'pass', 'through', 'Israeli', 'airspace', 'but', 'the', 'president', 'is', 'not', 'expected', 'to', 'travel', 'to', 'the', 'West', 'Bank', 'before', 'Monday', ',', '"', 'Nabil', 'Abu', 'Rdainah', 'told', 'Reuters', '.'], ['Arafat', 'had', 'been', 'scheduled', 'to', 'meet', 'former', 'Israeli', 'prime', 'minister', 'Shimon', 'Peres', 'in', 'the', 'West', 'Bank', 'town', 'of', 'Ramallah', 'on', 'Thursday', 'but', 'the', 'venue', 'was', 'changed', 'to', 'Gaza', 'after', 'Israel', 'denied', 'flight', 'clearance', 'to', 'the', 'Palestinian', 'leader', "'s", 'helicopters', '.'], ['Palestinian', 'officials', 'accused', 'right-wing', 'Prime', 'Minister', 'Benjamin', 'Netanyahu', 'of', 'trying', 'to', 'stop', 'the', 'Ramallah', 'meeting', 'by', 'keeping', 'Arafat', 'grounded', '.'], ['Arafat', 'subsequently', 'cancelled', 'a', 'meeting', 'between', 'Israeli', 'and', 'PLO', 'officials', ',', 'on', 'civilian', 'affairs', ',', 'at', 'the', 'Allenby', 'Bridge', 'crossing', 'between', 'Jordan', 'and', 'the', 'West', 'Bank', '.'], ['Abu', 'Rdainah', 'said', 'Arafat', 'had', 'decided', 'against', 'flying', 'to', 'the', 'West', 'Bank', 'on', 'Thursday', ',', 'after', 'Israel', 'lifted', 'the', 'ban', ',', 'because', 'he', 'had', 'a', 'busy', 'schedule', 'in', 'Gaza', 'and', 'would', 'not', 'be', 'free', 'until', 'Monday', '.'], ['Arafat', 'to', 'meet', 'Peres', 'in', 'Gaza', 'after', 'flight', 'ban', '.'], ['JERUSALEM', '1996-08-22'], ['Yasser', 'Arafat', 'will', 'meet', 'Shimon', 'Peres', 'in', 'Gaza', 'on', 'Thursday', 'after', 'Palestinians', 'said', 'the', 'right-wing', 'Israeli', 'government', 'had', 'barred', 'the', 'Palestinian', 'leader', 'from', 'flying', 'to', 'the', 'West', 'Bank', 'for', 'talks', 'with', 'the', 'former', 'prime', 'minister', '.'], ['"', 'The', 'meeting', 'between', 'Peres', 'and', 'Arafat', 'will', 'take', 'place', 'at', 'Erez', 'checkpoint', 'in', 'Gaza', 'and', 'not', 'in', 'Ramallah', 'as', 'planned', ',', '"', 'Peres', "'", 'office', 'said', '.'], ['Palestinian', 'officials', 'said', 'the', 'Israeli', 'government', 'had', 'barred', 'Arafat', 'from', 'overflying', 'Israel', 'in', 'a', 'Palestinian', 'helicopter', 'to', 'the', 'West', 'Bank', 'in', 'an', 'attempt', 'to', 'bar', 'the', 'meeting', 'with', 'Peres', '.'], ['Israeli', 'Prime', 'Minister', 'Benjamin', 'Netanyahu', 'has', 'accused', 'opposition', 'leader', 'Peres', ',', 'who', 'he', 'defeated', 'in', 'May', 'elections', ',', 'of', 'trying', 'to', 'undermine', 'his', 'Likud', 'government', "'s", 'authority', 'to', 'conduct', 'peace', 'talks', '.'], ['Afghan', 'UAE', 'embassy', 'says', 'Taleban', 'guards', 'going', 'home', '.'], ['Hilary', 'Gush'], ['DUBAI', '1996-08-22'], ['Three', 'Afghan', 'guards', 'brought', 'to', 'the', 'United', 'Arab', 'Emirates', 'last', 'week', 'by', 'Russian', 'hostages', 'who', 'escaped', 'from', 'the', 'Taleban', 'militia', 'will', 'return', 'to', 'Afghanistan', 'in', 'a', 'few', 'days', ',', 'the', 'Afghan', 'embassy', 'in', 'Abu', 'Dhabi', 'said', 'on', 'Thursday', '.'], ['"', 'Our', 'ambassador', 'is', 'in', 'touch', 'with', 'the', 'UAE', 'foreign', 'ministry', '.'], ['Their', 'return', 'to', 'Afghanistan', 'will', 'take', 'place', 'in', 'two', 'or', 'three', 'days', ',', '"', 'an', 'embassy', 'official', 'said', '.'], ['"', 'The', 'embassy', 'is', 'issuing', 'them', 'travel', 'documents', 'for', 'their', 'return', 'to', 'their', 'homeland', '.'], ['There', 'is', 'no', 'objection', 'to', 'their', 'travel', ',', '"', 'he', 'added', '.'], ['The', 'three', 'Islamic', 'Taleban', 'guards', 'were', 'overpowered', 'by', 'seven', 'Russian', 'aircrew', 'who', 'escaped', 'to', 'UAE', 'state', 'Sharjah', 'last', 'Friday', 'on', 'board', 'their', 'own', 'aircraft', 'after', 'a', 'year', 'in', 'the', 'captivity', 'of', 'Taleban', 'militia', 'in', 'Kandahar', 'in', 'southern', 'Afghanistan', '.'], ['The', 'UAE', 'said', 'on', 'Monday', 'it', 'would', 'hand', 'over', 'the', 'three', 'to', 'the', 'International', 'Red', 'Crescent', ',', 'possibly', 'last', 'Tuesday', '.'], ['It', 'has', 'since', 'been', 'silent', 'on', 'the', 'issue', '.'], ['When', 'asked', 'whether', 'the', 'three', 'guards', 'would', 'travel', 'back', 'to', 'Kandahar', 'or', 'the', 'Afghan', 'capital', 'Kabul', ',', 'the', 'embassy', 'official', 'said', ':', '"', 'That', 'has', 'not', 'been', 'decided', ',', 'but', 'possibly', 'Kandahar', '.', '"'], ['Kandahar', 'is', 'the', 'headquarters', 'of', 'the', 'opposition', 'Taleban', 'militia', '.'], ['Kabul', 'is', 'controlled', 'by', 'President', 'Burhanuddin', 'Rabbani', "'s", 'government', ',', 'which', 'Taleban', 'is', 'fighting', 'to', 'overthrow', '.'], ['The', 'embassy', 'official', 'said', 'the', 'three', 'men', ',', 'believed', 'to', 'be', 'in', 'their', '20s', ',', 'were', 'currently', 'in', 'Abu', 'Dhabi', '.'], ['He', 'did', 'not', 'elaborate', '.'], ['The', 'Russians', ',', 'working', 'for', 'the', 'Aerostan', 'firm', 'in', 'the', 'Russian', 'republic', 'of', 'Tatarstan', ',', 'were', 'taken', 'hostage', 'after', 'a', 'Taleban', 'MiG-19', 'fighter', 'forced', 'their', 'cargo', 'plane', 'to', 'land', 'in', 'August', '1995', '.'], ['Taleban', 'said', 'its', 'shipment', 'of', 'ammunition', 'from', 'Albania', 'was', 'evidence', 'of', 'Russian', 'military', 'support', 'for', 'Rabbani', "'s", 'government', '.'], ['Moscow', 'said', 'the', 'crew', "'s", 'nationality', 'was', 'coincidental', '.'], ['Numerous', 'diplomatic', 'attempts', 'to', 'free', 'the', 'seven', 'failed', '.'], ['The', 'Russians', ',', 'who', 'said', 'they', 'overpowered', 'the', 'guards', '--', 'two', 'armed', 'with', 'Kalashnikov', 'automatic', 'rifles', '--', 'while', 'doing', 'regular', 'maintenance', 'work', 'on', 'their', 'Ilyushin', '76', 'cargo', 'plane', 'last', 'Friday', ',', 'left', 'the', 'UAE', 'capital', 'Abu', 'Dhabi', 'for', 'home', 'on', 'Sunday', '.'], ['Iraq', "'s", 'Saddam', 'meets', 'Russia', "'s", 'Zhirinovsky', '.'], ['BAGHDAD', '1996-08-22'], ['Iraqi', 'President', 'Saddam', 'Hussein', 'has', 'told', 'visiting', 'Russian', 'ultra-nationalist', 'Vladimir', 'Zhirinovsky', 'that', 'Baghdad', 'wanted', 'to', 'maintain', '"', 'friendship', 'and', 'cooperation', '"', 'with', 'Moscow', ',', 'official', 'Iraqi', 'newspapers', 'said', 'on', 'Thursday', '.'], ['"', 'President', 'Saddam', 'Hussein', 'stressed', 'during', 'the', 'meeting', 'Iraq', "'s", 'keenness', 'to', 'maintain', 'friendship', 'and', 'cooperation', 'with', 'Russia', ',', '"', 'the', 'papers', 'said', '.'], ['They', 'said', 'Zhirinovsky', 'told', 'Saddam', 'before', 'he', 'left', 'Baghdad', 'on', 'Wednesday', 'that', 'his', 'Liberal', 'Democratic', 'party', 'and', 'the', 'Russian', 'Duma', '(', 'parliament', ')', '"', 'are', 'calling', 'for', 'an', 'immediate', 'lifting', 'of', 'the', 'embargo', '"', 'imposed', 'on', 'Iraq', 'after', 'its', '1990', 'invasion', 'of', 'Kuwait', '.'], ['Zhirinovsky', 'said', 'on', 'Tuesday', 'he', 'would', 'press', 'the', 'Russian', 'government', 'to', 'help', 'end', 'U.N.', 'trade', 'sanctions', 'on', 'Iraq', 'and', 'blamed', 'Moscow', 'for', 'delaying', 'establishment', 'of', 'good', 'ties', 'with', 'Baghdad', '.'], ['"', 'Our', 'stand', 'is', 'firm', ',', 'namely', 'we', 'are', 'calling', 'on', '(', 'the', 'Russian', ')', 'government', 'to', 'end', 'the', 'economic', 'embargo', 'on', 'Iraq', 'and', 'resume', 'trade', 'ties', 'between', 'Russia', 'and', 'Iraq', ',', '"', 'he', 'told', 'reporters', '.'], ['Zhirinovsky', 'visited', 'Iraq', 'twice', 'in', '1995', '.'], ['Last', 'October', 'he', 'was', 'invited', 'to', 'attend', 'the', 'referendum', 'held', 'on', 'Iraq', "'s", 'presidency', ',', 'which', 'extended', 'Saddam', "'s", 'term', 'for', 'seven', 'more', 'years', '.'], ['PRESS', 'DIGEST', '-', 'Iraq', '-', 'Aug', '22', '.'], ['BAGHDAD', '1996-08-22'], ['These', 'are', 'some', 'of', 'the', 'leading', 'stories', 'in', 'the', 'official', 'Iraqi', 'press', 'on', 'Thursday', '.'], ['Reuters', 'has', 'not', 'verified', 'these', 'stories', 'and', 'does', 'not', 'vouch', 'for', 'their', 'accuracy', '.'], ['THAWRA'], ['-', 'Iraq', "'s", 'President', 'Saddam', 'Hussein', 'meets', 'with', 'chairman', 'of', 'the', 'Russian', 'liberal', 'democratic', 'party', 'Vladimir', 'Zhirinovsky', '.'], ['-', 'Turkish', 'foreign', 'minister', 'says', 'Turkey', 'will', 'take', 'part', 'in', 'the', 'Baghdad', 'trade', 'fair', 'that', 'will', 'be', 'held', 'in', 'November', '.'], ['IRAQ'], ['-', 'A', 'shipload', 'of', '12', 'tonnes', 'of', 'rice', 'arrives', 'in', 'Umm', 'Qasr', 'port', 'in', 'the', 'Gulf', '.'], ['PRESS', 'DIGEST', '-', 'Lebanon', '-', 'Aug', '22', '.'], ['BEIRUT', '1996-08-22'], ['These', 'are', 'the', 'leading', 'stories', 'in', 'the', 'Beirut', 'press', 'on', 'Thursday', '.'], ['Reuters', 'has', 'not', 'verified', 'these', 'stories', 'and', 'does', 'not', 'vouch', 'for', 'their', 'accuracy', '.'], ['AN-NAHAR'], ['-', 'Confrontation', 'is', 'escalating', 'between', 'Hizbollah', 'and', 'the', 'government', '.'], ['-', 'Prime', 'Minister', 'Hariri', ':', 'Israeli', 'threats', 'do', 'no', 'serve', 'peace', '.'], ['AS-SAFIR'], ['-', 'Parliament', 'Speaker', 'Berri', ':', 'Israel', 'is', 'preparing', 'for', 'war', 'against', 'Syria', 'and', 'Lebanon', '.'], ['-', 'Parliamentary', 'battle', 'in', 'Beirut', '..'], ['The', 'three', 'main', 'lists', 'have', 'been', 'prepared', '.'], ['AL-ANWAR'], ['-', 'Continued', 'criticism', 'of', 'law', 'violation', 'incidents', '--', 'which', 'occurred', 'in', 'the', 'Mount', 'Lebanon', 'elections', 'last', 'Sunday', '.'], ['AD-DIYAR'], ['-', 'Financial', 'negotiations', 'between', 'Lebanon', 'and', 'Pakistan', '.'], ['-', 'Hariri', 'to', 'step', 'into', 'the', 'election', 'battle', 'with', 'an', 'incomplete', 'list', '.'], ["NIDA'A", 'AL-WATAN'], ['-', 'Maronite', 'Patriarch', 'Sfeir', 'expressed', 'sorrow', 'over', 'the', 'violations', 'in', 'Sunday', "'", 'elections', '.'], ['CME', 'live', 'and', 'feeder', 'cattle', 'calls', 'range', 'mixed', '.'], ['CHICAGO', '1996-08-22'], ['Early', 'calls', 'on', 'CME', 'live', 'and', 'feeder', 'cattle', 'futures', 'ranged', 'from', '0.200', 'cent', 'higher', 'to', '0.100', 'lower', ',', 'livestock', 'analysts', 'said', '.'], ['The', 'continued', 'strong', 'tone', 'to', 'cash', 'cattle', 'and', 'beef', 'markets', 'should', 'prompt', 'further', 'support', '.'], ['Outlook', 'for', 'a', 'bullish', 'cattle-on-feed', 'report', 'is', 'also', 'expected', 'to', 'lend', 'support', 'and', 'prompt', 'some', 'bull', 'spreading', ',', 'analysts', 'said', '.'], ['However', ',', 'trade', 'will', 'likely', 'be', 'light', 'and', 'prices', 'could', 'drift', 'on', 'evening', 'up', 'ahead', 'of', 'the', 'report', '.'], ['Cash', 'markets', 'are', 'also', 'expected', 'to', 'be', 'quiet', 'after', 'the', 'record', 'amount', 'of', 'feedlot', 'cattle', 'traded', 'this', 'week', ',', 'they', 'said', '.'], ['Kindercare', 'says', 'debt', 'buy', 'to', 'hit', 'Q1', 'results', '.'], ['MONTGOMERY', ',', 'Ala', '.'], ['1996-08-22'], ['KinderCare', 'Learning', 'Centers', 'Inc', 'said', 'on', 'Thursday', 'that', 'a', 'debt', 'buyback', 'would', 'mean', 'an', 'extraordinary', 'loss', 'of', '$', '1.2', 'million', 'in', 'its', 'fiscal', '1997', 'first', 'quarter', '.'], ['The', 'company', 'said', 'that', 'during', 'the', 'quarter', ',', 'which', 'began', 'June', '1', ',', 'it', 'bought', '$', '30', 'million', 'par', 'value', 'of', 'its', 'outstanding', '10-3/8', 'percent', 'senior', 'notes', 'due', '2001', '.'], ['The', 'notes', 'were', 'bought', 'for', '$', '31.5', 'million', '.'], ['Philip', 'Maslowe', ',', 'chief', 'financial', 'officer', 'of', 'the', 'preschool', 'and', 'child', 'care', 'company', ',', 'said', 'the', 'buyback', '"', 'offered', 'an', 'opportunity', 'to', 'reduce', 'the', 'company', "'s", 'weighted', 'average', 'interest', 'costs', 'and', 'improve', 'future', 'cash', 'flows', 'and', 'earnings', '.', '"'], ['RESEARCH', 'ALERT', '-', 'Lehman', 'starts', 'SNET', '.'], ['--', 'Lehman', 'analyst', 'Blake', 'Bath', 'started', 'Southern', 'New', 'England', 'Telecommunciations', 'Corp', 'with', 'an', 'outperform', 'rating', ',', 'his', 'office', 'said', '.'], ['--', 'The', 'analyst', 'set', 'a', '12-month', 'price', 'target', 'of', '$', '45', 'and', 'a', 'fiscal', '1996', 'year', 'earnings', 'estimate', 'of', '$', '3.09', 'per', 'share', ',', 'his', 'office', 'said', '.'], ['--', 'The', 'analyst', 'also', 'set', 'an', 'earnings', 'estimate', 'for', 'the', '1997', 'year', ',', 'but', 'the', 'figure', 'was', 'not', 'immediately', 'available', '.'], ['--', 'Southern', 'New', 'England', 'closed', 'at', '38-1/2', 'Wednesday', '.'], ['--', 'E.', 'Auchard', ',', 'Wall', 'Street', 'bureau', ',', '212-859-1736'], ['Gateway', 'Data', 'Sciences', 'Q2', 'net', 'rises', '.'], ['PHOENIX', '1996-08-22'], ['Summary', 'of', 'Consolidated', 'Financial', 'Data'], ['(', 'In', 'Thousands', ',', 'except', 'per', 'share', 'data', ')'], ['Six', 'Months', 'Ended', 'Quarter', 'Ended'], ['Jul', '31', ',', 'Jul', '31', ',', 'Jul', '31', ',', 'Jul', '31', ','], ['1996', '1995', '1996', '1995'], ['Income', 'Statement', 'Data', ':'], ['Total', 'Revenue', '$', '10,756', '$', '13,102', '$', '7,961', '$', '5,507'], ['Software', 'Revenue', '2,383', '1,558', '1,086', '1,074'], ['Services', 'Revenue', '1,154', '692', '624', '465'], ['Operating', 'Income', '906', '962', '599', '515'], ['Net', 'Income', '821', '512', '565', '301'], ['Earnings', 'Per', 'Share', '0.31', '0.34', '0.19', '0.20'], ['Jul', '31', ',', '1996', 'Jan', '31', ',', '1996'], ['Balance', 'Sheet', 'Data', ':'], ['Working', 'Capital', '$', '5,755', '(', '$', '881', ')'], ['Cash', 'and', 'Cash', 'Equivalents', '2,386', '93'], ['Total', 'Assets', '14,196', '7,138'], ['Shareholders', "'", 'Equity', '5,951', '(', '1,461', ')'], ['Greek', 'socialists', 'give', 'PM', 'green', 'light', 'for', 'election', '.'], ['ATHENS', '1996-08-22'], ['The', 'Greek', 'socialist', 'party', "'s", 'executive', 'bureau', 'gave', 'Prime', 'Minister', 'Costas', 'Simitis', 'its', 'backing', 'if', 'he', 'chooses', 'to', 'call', 'snap', 'elections', ',', 'its', 'general', 'secretary', 'Costas', 'Skandalidis', 'told', 'reporters', 'on', 'Thursday', '.'], ['Prime', 'Minister', 'Costas', 'Simitis', 'will', 'make', 'an', 'official', 'announcement', 'after', 'a', 'cabinet', 'meeting', 'later', 'on', 'Thursday', ',', 'said', 'Skandalidis', '.'], ['--', 'Dimitris', 'Kontogiannis', ',', 'Athens', 'Newsroom', '+301', '3311812-4'], ['PRESS', 'DIGEST', '-', 'France', '-', 'Le', 'Monde', 'Aug', '22', '.'], ['PARIS', '1996-08-22'], ['These', 'are', 'leading', 'stories', 'in', 'Thursday', "'s", 'afternoon', 'daily', 'Le', 'Monde', ',', 'dated', 'Aug', '23', '.'], ['FRONT', 'PAGE'], ['--', 'Africans', 'seeking', 'to', 'renew', 'or', 'obtain', 'work', 'and', 'residence', 'rights', 'say', 'Prime', 'Minister', 'Alain', 'Juppe', "'s", 'proposals', 'are', 'insufficient', 'as', 'hunger', 'strike', 'enters', '49th', 'day', 'in', 'Paris', 'church', 'and', 'Wednesday', 'rally', 'attracts', '8,000', 'sympathisers', '.'], ['--', 'FLNC', 'Corsican', 'nationalist', 'movement', 'announces', 'end', 'of', 'truce', 'after', 'last', 'night', "'s", 'attacks', '.'], ['BUSINESS', 'PAGES'], ['--', 'Shutdown', 'of', 'Bally', "'s", 'French', 'factories', 'points', 'up', 'shoe', 'industry', 'crisis', ',', 'with', 'French', 'manufacturers', 'undercut', 'by', 'low-wage', 'country', 'competition', 'and', 'failure', 'to', 'keep', 'abreast', 'of', 'trends', '.'], ['--', 'Secretary', 'general', 'of', 'the', 'Sud-PTT', 'trade', 'union', 'at', 'France', 'Telecom', 'all', 'the', 'elements', 'are', 'in', 'place', 'for', 'social', 'unrest', 'in', 'the', 'next', 'few', 'weeks', '.'], ['--', 'Paris', 'Newsroom', '+33', '1', '42', '21', '53', '81'], ['Well', 'repairs', 'to', 'lift', 'Heidrun', 'oil', 'output', '-', 'Statoil', '.'], ['OSLO', '1996-08-22'], ['Three', 'plugged', 'water', 'injection', 'wells', 'on', 'the', 'Heidrun', 'oilfield', 'off', 'mid-Norway', 'will', 'be', 'reopened', 'over', 'the', 'next', 'month', ',', 'operator', 'Den', 'Norske', 'Stats', 'Oljeselskap', 'AS', '(', 'Statoil', ')', 'said', 'on', 'Thursday', '.'], ['The', 'plugged', 'wells', 'have', 'accounted', 'for', 'a', 'dip', 'of', '30,000', 'barrels', 'per', 'day', '(', 'bpd', ')', 'in', 'Heidrun', 'output', 'to', 'roughly', '220,000', 'bpd', ',', 'according', 'to', 'the', 'company', "'s", 'Status', 'Weekly', 'newsletter', '.'], ['The', 'wells', 'will', 'be', 'reperforated', 'and', 'gravel', 'will', 'be', 'pumped', 'into', 'the', 'reservoir', 'through', 'one', 'of', 'the', 'wells', 'to', 'avoid', 'plugging', 'problems', 'in', 'the', 'future', ',', 'it', 'said', '.'], ['--', 'Oslo', 'newsroom', '+47', '22', '42', '50', '41'], ['Finnish', 'April', 'trade', 'surplus', '3.8', 'billion', 'markka', '-', 'NCB', '.'], ['HELSINKI', '1996-08-22'], ['Finland', "'s", 'trade', 'surplus', 'rose', 'to', '3.83', 'billion', 'markka', 'in', 'April', 'from', '3.43', 'billion', 'in', 'March', ',', 'the', 'National', 'Customs', 'Board', '(', 'NCB', ')', 'said', 'in', 'a', 'statement', 'on', 'Thursday', '.'], ['The', 'value', 'of', 'exports', 'fell', 'one', 'percent', 'year-on-year', 'in', 'April', 'and', 'the', 'value', 'of', 'imports', 'fell', 'two', 'percent', ',', 'NCB', 'said', '.'], ['Trade', 'balance', '(', 'million', 'markka', ')', ':'], ['April', "'", '96', 'March', "'", '96', 'Jan-April', "'", '96', 'Jan-April', "'", '95'], ['Imports', '10,663', '10,725', '43,430', '40,989'], ['Exports', '14,494', '14,153', '56,126', '56,261'], ['Balance', '+3,831', '+3,428', '+12,696', '+15,272'], ['The', 'January-April', '1995', 'import', 'figure', 'was', 'revised', 'from', '39,584', 'million', 'markka', 'and', 'the', 'export', 'figure', 'from', '55,627', 'million', 'markka', '.'], ['The', 'Bank', 'of', 'Finland', 'earlier', 'estimated', 'the', 'April', 'trade', 'surplus', 'at', '3.2', 'billion', 'markka', 'with', 'exports', 'projected', 'at', '14.5', 'billion', 'and', 'imports', 'at', '11.3', 'billion', '.'], ['The', 'NCB', "'s", 'official', 'monthly', 'trade', 'statistics', 'are', 'lagging', 'behind', 'due', 'to', 'changes', 'in', 'customs', 'procedures', 'when', 'Finland', 'joined', 'the', 'European', 'Union', 'at', 'the', 'start', 'of', '1995', '.'], ['--', 'Helsinki', 'Newsroom', '+358', '-', '0', '-', '680', '50', '245'], ['Dutch', 'state', 'raises', 'tap', 'sale', 'price', 'to', '99.95', '.'], ['AMSTERDAM', '1996-08-22'], ['The', 'Finance', 'Ministry', 'raised', 'the', 'price', 'for', 'tap', 'sales', 'of', 'the', 'Dutch', 'government', "'s", 'new', '5.75', 'percent', 'bond', 'due', 'September', '2002', 'to', '99.95', 'from', '99.90', '.'], ['Tap', 'sales', 'began', 'on', 'Monday', 'and', 'are', 'being', 'held', 'daily', 'from', '07.00', 'GMT', 'to', '15.00', 'GMT', 'until', 'further', 'notice', '.'], ['The', 'ministry', 'had', 'raised', '2.3', 'billion', 'guilders', 'from', 'sales', 'of', 'the', 'new', 'bond', 'by', 'the', 'close', 'of', 'trade', 'on', 'Wednesday', '.'], ['--', 'Amsterdam', 'newsroom', '+31', '20', '504', '5000'], ['German', 'farm', 'ministry', 'tells', 'consumers', 'to', 'avoid', 'British', 'mutton', '.'], ['BONN', '1996-08-22'], ['Germany', "'s", 'Agriculture', 'Ministry', 'suggested', 'on', 'Wednesday', 'that', 'consumers', 'avoid', 'eating', 'meat', 'from', 'British', 'sheep', 'until', 'scientists', 'determine', 'whether', 'mad', 'cow', 'disease', 'can', 'be', 'transmitted', 'to', 'the', 'animals', '.'], ['"', 'Until', 'this', 'is', 'cleared', 'up', 'by', 'the', 'European', 'Union', "'s", 'scientific', 'panels', '--', 'and', 'we', 'have', 'asked', 'this', 'to', 'be', 'done', 'as', 'quickly', 'as', 'possible', '--', '(', 'consumers', ')', 'should', 'if', 'at', 'all', 'possible', 'give', 'preference', 'to', 'sheepmeat', 'from', 'other', 'countries', ',', '"', 'ministry', 'official', 'Werner', 'Zwingmann', 'told', 'ZDF', 'television', '.'], ['"', 'I', 'do', 'not', 'want', 'to', 'say', 'that', 'there', 'is', 'a', 'concrete', 'danger', 'for', 'consumers', ',', '"', 'he', 'added', '.', '"'], ['There', 'are', 'too', 'many', 'holes', 'in', 'what', 'we', 'know', ',', 'and', 'these', 'must', 'be', 'filled', 'very', 'quickly', '.', '"'], ['Bonn', 'has', 'led', 'efforts', 'to', 'ensure', 'consumer', 'protection', 'tops', 'the', 'list', 'of', 'priorities', 'in', 'dealing', 'with', 'the', 'mad', 'cow', 'crisis', ',', 'which', 'erupted', 'in', 'March', 'when', 'Britain', 'acknowledged', 'humans', 'could', 'contract', 'a', 'similar', 'illness', 'by', 'eating', 'contaminated', 'beef', '.'], ['The', 'European', 'Commission', 'agreed', 'this', 'month', 'to', 'rethink', 'a', 'proposal', 'to', 'ban', 'the', 'use', 'of', 'suspect', 'sheep', 'tissue', 'after', 'some', 'EU', 'veterinary', 'experts', 'questioned', 'whether', 'it', 'was', 'justified', '.'], ['EU', 'Farm', 'Commissioner', 'Franz', 'Fischler', 'had', 'proposed', 'banning', 'sheep', 'brains', ',', 'spleens', 'and', 'spinal', 'cords', 'from', 'the', 'human', 'and', 'animal', 'food', 'chains', 'after', 'reports', 'from', 'Britain', 'and', 'France', 'that', 'under', 'laboratory', 'conditions', 'sheep', 'could', 'contract', 'Bovine', 'Spongiform', 'Encephalopathy', '(', 'BSE', ')', '--', 'mad', 'cow', 'disease', '.'], ['But', 'some', 'members', 'of', 'the', 'EU', "'s", 'standing', 'veterinary', 'committee', 'questioned', 'whether', 'the', 'action', 'was', 'necessary', 'given', 'the', 'slight', 'risk', 'to', 'human', 'health', '.'], ['The', 'question', 'is', 'being', 'studied', 'separately', 'by', 'two', 'EU', 'scientific', 'committees', '.'], ['Sheep', 'have', 'long', 'been', 'known', 'to', 'contract', 'scrapie', ',', 'a', 'similar', 'brain-wasting', 'disease', 'to', 'BSE', 'which', 'is', 'believed', 'to', 'have', 'been', 'transferred', 'to', 'cattle', 'through', 'feed', 'containing', 'animal', 'waste', '.'], ['British', 'officials', 'say', 'sheep', 'meat', 'is', 'perfectly', 'safe', 'to', 'eat', '.'], ['ZDF', 'said', 'Germany', 'imported', '47,600', 'sheep', 'from', 'Britain', 'last', 'year', ',', 'nearly', 'half', 'of', 'total', 'imports', '.'], ['It', 'brought', 'in', '4,275', 'tonnes', 'of', 'British', 'mutton', ',', 'some', '10', 'percent', 'of', 'overall', 'imports', '.'], ['After', 'the', 'British', 'government', 'admitted', 'a', 'possible', 'link', 'between', 'mad', 'cow', 'disease', 'and', 'its', 'fatal', 'human', 'equivalent', ',', 'the', 'EU', 'imposed', 'a', 'worldwide', 'ban', 'on', 'British', 'beef', 'exports', '.'], ['EU', 'leaders', 'agreed', 'at', 'a', 'summit', 'in', 'June', 'to', 'a', 'progressive', 'lifting', 'of', 'the', 'ban', 'as', 'Britain', 'takes', 'parallel', 'measures', 'to', 'eradicate', 'the', 'disease', '.'], ['GOLF', '-', 'SCORES', 'AT', 'WORLD', 'SERIES', 'OF', 'GOLF', '.'], ['AKRON', ',', 'Ohio', '1996-08-22'], ['Scores', 'from', 'the', '$', '2.1'], ['million', 'NEC', 'World', 'Series', 'of', 'Golf', 'after', 'the', 'first', 'round'], ['Thursday', 'at', 'the', '7,149', 'yard', ',', 'par', '70', 'Firestone', 'C.C', 'course'], ['(', 'players', 'U.S.', 'unless', 'stated', ')', ':'], ['66', 'Paul', 'Goydos', ',', 'Billy', 'Mayfair', ',', 'Hidemichi', 'Tanaka', '(', 'Japan', ')'], ['68', 'Steve', 'Stricker'], ['69', 'Justin', 'Leonard', ',', 'Mark', 'Brooks'], ['70', 'Tim', 'Herron', ',', 'Duffy', 'Waldorf', ',', 'Davis', 'Love', ',', 'Anders', 'Forsbrand'], ['(', 'Sweden', ')', ',', 'Nick', 'Faldo', '(', 'Britain', ')', ',', 'John', 'Cook', ',', 'Steve', 'Jones', ',', 'Phil'], ['Mickelson', ',', 'Greg', 'Norman', '(', 'Australia', ')'], ['71', 'Ernie', 'Els', '(', 'South', 'Africa', ')', ',', 'Scott', 'Hoch'], ['72', 'Clarence', 'Rose', ',', 'Loren', 'Roberts', ',', 'Fred', 'Funk', ',', 'Sven', 'Struver'], ['(', 'Germany', ')', ',', 'Alexander', 'Cejka', '(', 'Germany', ')', ',', 'Hal', 'Sutton', ',', 'Tom', 'Lehman'], ['73', 'D.A.', 'Weibring', ',', 'Brad', 'Bryant', ',', 'Craig', 'Parry', '(', 'Australia', ')', ','], ['Stewart', 'Ginn', '(', 'Australia', ')', ',', 'Corey', 'Pavin', ',', 'Craig', 'Stadler', ',', 'Mark'], ["O'Meara", ',', 'Fred', 'Couples'], ['74', 'Paul', 'Stankowski', ',', 'Costantino', 'Rocca', '(', 'Italy', ')'], ['75', 'Jim', 'Furyk', ',', 'Satoshi', 'Higashi', '(', 'Japan', ')', ',', 'Willie', 'Wood', ',', 'Shigeki'], ['Maruyama', '(', 'Japan', ')'], ['76', 'Scott', 'McCarron'], ['77', 'Wayne', 'Westner', '(', 'South', 'Africa', ')', ',', 'Steve', 'Schneiter'], ['79', 'Tom', 'Watson'], ['81', 'Seiki', 'Okuda', '(', 'Japan', ')'], ['SOCCER', '-', 'GLORIA', 'BISTRITA', 'BEAT', '2-1', 'F.C.', 'VALLETTA', '.'], ['BISTRITA', '1996-08-22'], ['Gloria', 'Bistrita', '(', 'Romania', ')', 'beat', '2-1', '(', 'halftime', '1-1', ')', 'F.C.', 'Valletta', '(', 'Malta', ')', 'in', 'their', 'Cup', 'winners', 'Cup', 'match', ',', 'second', 'leg', 'of', 'the', 'preliminary', 'round', ',', 'on', 'Thursday', '.'], ['Scorers', ':'], ['Gloria', 'Bistrita', '-', 'Ilie', 'Lazar', '(', '32nd', ')', ',', 'Eugen', 'Voica', '(', '84th', ')'], ['F.C.', 'La', 'Valletta', '-', 'Gilbert', 'Agius', '(', '24th', ')'], ['Attendance', ':', '8,000'], ['Gloria', 'Bistrita', 'won', '4-2', 'on', 'aggregate', 'and', 'qualified', 'for', 'the', 'first', 'round', 'of', 'the', 'Cup', 'winners', 'Cup', '.'], ['REUTER'], ['HORSE', 'RACING', '-', 'PIVOTAL', 'ENDS', '25-YEAR', 'WAIT', 'FOR', 'TRAINER', 'PRESCOTT', '.'], ['YORK', ',', 'England', '1996-08-22'], ['Sir', 'Mark', 'Prescott', 'landed', 'his', 'first', 'group', 'one', 'victory', 'in', '25', 'years', 'as', 'a', 'trainer', 'when', 'his', 'top', 'sprinter', 'Pivotal', ',', 'a', '100-30', 'chance', ',', 'won', 'the', 'Nunthorpe', 'Stakes', 'on', 'Thursday', '.'], ['The', 'three-year-old', ',', 'partnered', 'by', 'veteran', 'George', 'Duffield', ',', 'snatched', 'a', 'short', 'head', 'verdict', 'in', 'the', 'last', 'stride', 'to', 'deny', 'Eveningperformance', '(', '16-1', ')', ',', 'trained', 'by', 'Henry', 'Candy', 'and', 'ridden', 'by', 'Chris', 'Rutter', '.'], ['Hever', 'Golf', 'Rose', '(', '11-4', ')', ',', 'last', 'year', "'s", 'Prix', 'de', 'l', "'", 'Abbaye', 'winner', 'at', 'Longchamp', ',', 'finished', 'third', ',', 'a', 'further', 'one', 'and', 'a', 'quarter', 'lengths', 'away', 'with', 'the', '7-4', 'favourite', 'Mind', 'Games', 'in', 'fourth', '.'], ['Pivotal', ',', 'a', 'Royal', 'Ascot', 'winner', 'in', 'June', ',', 'may', 'now', 'be', 'aimed', 'at', 'this', 'season', "'s", 'Abbaye', ',', 'Europe', "'s", 'top', 'sprint', 'race', '.'], ['Prescott', ',', 'reluctant', 'to', 'go', 'into', 'the', 'winner', "'s", 'enclosure', 'until', 'the', 'result', 'of', 'the', 'photo-finish', 'was', 'announced', ',', 'said', ':', '"', 'Twenty-five', 'years', 'and', 'I', 'have', 'never', 'been', 'there', 'so', 'I', 'thought', 'I', 'had', 'better', 'wait', 'a', 'bit', 'longer', '.', '"'], ['He', 'added', ':', '"', 'It', "'s", 'very', 'sad', 'to', 'beat', 'Henry', 'Candy', 'because', 'I', 'am', 'godfather', 'to', 'his', 'daughter', '.', '"'], ['Like', 'Prescott', ',', 'Jack', 'Berry', ',', 'trainer', 'of', 'Mind', 'Games', ',', 'had', 'gone', 'into', 'Thursday', "'s", 'race', 'in', 'search', 'of', 'a', 'first', 'group', 'one', 'success', 'after', 'many', 'years', 'around', 'the', 'top', 'of', 'his', 'profession', '.'], ['Berry', 'said', ':', '"', 'I`m', 'disappointed', 'but', 'I', 'do', "n't", 'feel', 'suicidal', '.'], ['He', '(', 'Mind', 'Games', ')', 'was', 'going', 'as', 'well', 'as', 'any', 'of', 'them', 'one', 'and', 'a', 'half', 'furlongs', '(', '300', 'metres', ')', 'out', 'but', 'he', 'just', 'did', "n't", 'quicken', '.', '"'], ['HORSE', 'RACING', '-', 'NUNTHORPE', 'STAKES', 'RESULTS', '.'], ['YORK', ',', 'England', '1996-08-22'], ['Result', 'of', 'the', 'Nunthorpe', 'Stakes', ',', 'a', 'group', 'one', 'race', 'for', 'two-year-olds', 'and', 'upwards', ',', 'run', 'over', 'five', 'furlongs', '(', '1', 'km', ')', 'on', 'Thursday', ':'], ['1.', 'Pivotal', '100-30', '(', 'ridden', 'by', 'George', 'Duffield', ')'], ['2.', 'Eveningperformance', '16-1', '(', 'Chris', 'Rutter', ')'], ['3.', 'Hever', 'Golf', 'Rose', '11-4', '(', 'Jason', 'Weaver', ')'], ['Eight', 'ran', '.'], ['Favourite', ':', 'Mind', 'Games', '(', '7-4', ')', 'finished', '4th'], ['Distances', ':', 'a', 'short', 'head', ',', '1-1/4', 'lengths', '.'], ['Winner', 'owned', 'by', 'the', 'Cheveley', 'Park', 'Stud', 'and', 'trained', 'by', 'Sir'], ['Mark', 'Prescott', 'at', 'Newmarket', '.'], ['Value', 'to', 'winner', ':', '72,464', 'pounds', 'sterling', '(', '$', '112,200', ')'], ['TENNIS', '-', 'RESULTS', 'AT', 'TOSHIBA', 'CLASSIC', '.'], ['CARLSBAD', ',', 'California', '1996-08-21'], ['Results', 'from', 'the'], ['$', '450,000', 'Toshiba', 'Classic', 'tennis', 'tournament', 'on', 'Wednesday'], ['(', 'prefix', 'number', 'denotes', 'seeding', ')', ':'], ['Second', 'round'], ['1', '-', 'Arantxa', 'Sanchez', 'Vicario', '(', 'Spain', ')', 'beat', 'Naoko', 'Kijimuta', '(', 'Japan', ')'], ['1-6', '6-4', '6-3'], ['4', '-', 'Kimiko', 'Date', '(', 'Japan', ')', 'beat', 'Yone', 'Kamio', '(', 'Japan', ')', '6-2', '7-5'], ['Sandrine', 'Testud', '(', 'France', ')', 'beat', '7', '-', 'Ai', 'Sugiyama', '(', 'Japan', ')', '6-3', '4-6'], ['6-4'], ['8', '-', 'Nathalie', 'Tauziat', '(', 'France', ')', 'beat', 'Shi-Ting', 'Wang', '(', 'Taiwan', ')', '6-4'], ['6-2'], ['TENNIS', '-', 'RESULTS', 'AT', 'HAMLET', 'CUP', '.'], ['COMMACK', ',', 'New', 'York', '1996-08-21'], ['Results', 'from', 'the'], ['Waldbaum', 'Hamlet', 'Cup', 'tennis', 'tournament', 'on', 'Wednesday', '(', 'prefix'], ['number', 'denotes', 'seeding', ')', ':'], ['Second', 'round'], ['1', '-', 'Michael', 'Chang', '(', 'U.S.', ')', 'beat', 'Sergi', 'Bruguera', '(', 'Spain', ')', '6-3', '6-2'], ['Michael', 'Joyce', '(', 'U.S.', ')', 'beat', '3', '-', 'Richey', 'Reneberg', '(', 'U.S.', ')', '3-6', '6-4'], ['6-3'], ['Martin', 'Damm', '(', 'Czech', 'Republic', ')', 'beat', '6', '-', 'Younes', 'El', 'Aynaoui'], ['(', 'Morocco', ')', '5-7', '6-3', '3-0', 'retired'], ['Karol', 'Kucera', '(', 'Slovakia', ')', 'beat', 'Hicham', 'Arazi', '(', 'Morocco', ')', '7-6', '(', '7-4', ')'], ['7-5'], ['SOCCER', '-', 'DALGLISH', 'SAD', 'OVER', 'BLACKBURN', 'PARTING', '.'], ['LONDON', '1996-08-22'], ['Kenny', 'Dalglish', 'spoke', 'on', 'Thursday', 'of', 'his', 'sadness', 'at', 'leaving', 'Blackburn', ',', 'the', 'club', 'he', 'led', 'to', 'the', 'English', 'premier', 'league', 'title', 'in', '1994-95', '.'], ['Blackburn', 'announced', 'on', 'Wednesday', 'they', 'and', 'Dalglish', 'had', 'parted', 'by', 'mutual', 'consent', '.'], ['But', 'the', 'ex-manager', 'confessed', 'on', 'Thursday', 'to', 'being', '"', 'sad', '"', 'at', 'leaving', 'after', 'taking', 'Blackburn', 'from', 'the', 'second', 'division', 'to', 'the', 'premier', 'league', 'title', 'inside', 'three', 'and', 'a', 'half', 'years', '.'], ['In', 'a', 'telephone', 'call', 'to', 'a', 'local', 'newspaper', 'from', 'his', 'holiday', 'home', 'in', 'Spain', ',', 'Dalglish', 'said', ':', '"', 'We', 'came', 'to', 'the', 'same', 'opinion', ',', 'albeit', 'the', 'club', 'came', 'to', 'it', 'a', 'little', 'bit', 'earlier', 'than', 'me', '.', '"'], ['He', 'added', ':', '"', 'If', 'no', 'one', 'asked', ',', 'I', 'never', 'opened', 'my', 'mouth', '.'], ['I', 'have', 'stayed', 'out', 'of', 'the', 'way', 'and', 'let', 'them', 'get', 'on', 'with', 'the', 'job', '.'], ['The', 'club', 'thought', 'it', '(', 'the', 'job', ')', 'had', 'run', 'its', 'course', 'and', 'I', 'came', 'to', 'the', 'same', 'conclusion', '.', '"'], ['Dalglish', 'had', 'been', 'with', 'Blackburn', 'for', 'nearly', 'five', 'years', ',', 'first', 'as', 'manager', 'and', 'then', ',', 'for', 'the', 'past', '15', 'months', ',', 'as', 'director', 'of', 'football', '.'], ['CRICKET', '-', 'ENGLISH', 'COUNTY', 'CHAMPIONSHIP', 'SCORES', '.'], ['LONDON', '1996-08-22'], ['Close', 'of', 'play', 'scores', 'in', 'four-day'], ['English', 'County', 'Championship', 'cricket', 'matches', 'on', 'Thursday', ':'], ['Second', 'day'], ['At', 'Weston-super-Mare', ':', 'Durham', '326', '(', 'D.', 'Cox', '95', 'not', 'out', ','], ['S.', 'Campbell', '69', ';', 'G.', 'Rose', '7-73', ')', '.'], ['Somerset', '236-4', '(', 'M.', 'Lathwell', '85', ')', '.'], ['Firsy', 'day'], ['At', 'Colchester', ':', 'Gloucestershire', '280', '(', 'J.', 'Russell', '63', ',', 'A.', 'Symonds'], ['52', ';', 'A.', 'Cowan', '5-68', ')', '.'], ['Essex', '72-0', '.'], ['At', 'Cardiff', ':', 'Kent', '128-1', '(', 'M.', 'Walker', '59', ',', 'D.', 'Fulton', '53', 'not', 'out', ')', 'v'], ['Glamorgan', '.'], ['At', 'Leicester', ':', 'Leicestershire', '343-8', '(', 'P.', 'Simmons', '108', ',', 'P.', 'Nixon'], ['67', 'not', 'out', ')', 'v', 'Hampshire', '.'], ['At', 'Northampton', ':', 'Sussex', '368-7', '(', 'N.', 'Lenham', '145', ',', 'V.', 'Drakes', '59', 'not'], ['out', ',', 'A.', 'Wells', '51', ')', 'v', 'Northamptonshire', '.'], ['At', 'Trent', 'Bridge', ':', 'Nottinghamshire', '392-6', '(', 'G.', 'Archer', '143', 'not'], ['out', ',', 'M.', 'Dowman', '107', ')', 'v', 'Surrey', '.'], ['At', 'Worcester', ':', 'Warwickshire', '255-9', '(', 'A.', 'Giles', '57', 'not', 'out', ',', 'W.', 'Khan'], ['52', ')', 'v', 'Worcestershire', '.'], ['At', 'Headingley', ':', 'Yorkshire', '305-5', '(', 'C.', 'White', '66', 'not', 'out', ',', 'M.', 'Moxon'], ['66', ',', 'M.', 'Vaughan', '57', ')', 'v', 'Lancashire', '.'], ['CRICKET', '-', 'ENGLAND', 'V', 'PAKISTAN', 'FINAL', 'TEST', 'SCOREBOARD', '.'], ['LONDON', '1996-08-22'], ['Scoreboard', 'on', 'the', 'first', 'day', 'of', 'the'], ['third', 'and', 'final', 'test', 'between', 'England', 'and', 'Pakistan', 'at', 'The', 'Oval', 'on'], ['Thursday', ':'], ['England', 'first', 'innings'], ['M.', 'Atherton', 'b', 'Waqar', 'Younis', '31'], ['A.', 'Stewart', 'b', 'Mushtaq', 'Ahmed', '44'], ['N.', 'Hussain', 'c', 'Saeed', 'Anwar', 'b', 'Waqar', 'Younis', '12'], ['G.', 'Thorpe', 'lbw', 'b', 'Mohammad', 'Akram', '54'], ['J.', 'Crawley', 'not', 'out', '94'], ['N.', 'Knight', 'b', 'Mushtaq', 'Ahmed', '17'], ['C.', 'Lewis', 'b', 'Wasim', 'Akram', '5'], ['I.', 'Salisbury', 'not', 'out', '1'], ['Extras', '(', 'lb-11', 'w-1', 'nb-8', ')', '20'], ['Total', '(', 'for', 'six', 'wickets', ')', '278'], ['Fall', 'of', 'wickets', ':', '1-64', '2-85', '3-116', '4-205', '5-248', '6-273'], ['To', 'bat', ':', 'R.', 'Croft', ',', 'D.', 'Cork', ',', 'A.', 'Mullally'], ['Bowling', '(', 'to', 'date', ')', ':', 'Wasim', 'Akram', '25-8-61-1', ',', 'Waqar', 'Younis'], ['20-6-70-2', ',', 'Mohammad', 'Akram', '12-1-41-1', ',', 'Mushtaq', 'Ahmed', '27-5-78-2', ','], ['Aamir', 'Sohail', '6-1-17-0'], ['Pakistan', ':', 'Aamir', 'Sohail', ',', 'Saeed', 'Anwar', ',', 'Ijaz', 'Ahmed', ','], ['Inzamam-ul-Haq', ',', 'Salim', 'Malik', ',', 'Asif', 'Mujtaba', ',', 'Wasim', 'Akram', ',', 'Moin'], ['Khan', ',', 'Mushtaq', 'Ahmed', ',', 'Waqar', 'Younis', ',', 'Mohammad', 'Akam'], ['SOCCER', '-', 'FERGUSON', 'BACK', 'IN', 'SCOTTISH', 'SQUAD', 'AFTER', '20', 'MONTHS', '.'], ['GLASGOW', '1996-08-22'], ['Everton', "'s", 'Duncan', 'Ferguson', ',', 'who', 'scored', 'twice', 'against', 'Manchester', 'United', 'on', 'Wednesday', ',', 'was', 'picked', 'on', 'Thursday', 'for', 'the', 'Scottish', 'squad', 'after', 'a', '20-month', 'exile', '.'], ['Glasgow', 'Rangers', 'striker', 'Ally', 'McCoist', ',', 'another', 'man', 'in', 'form', 'after', 'two', 'hat-tricks', 'in', 'four', 'days', ',', 'was', 'also', 'named', 'for', 'the', 'August', '31', 'World', 'Cup', 'qualifier', 'against', 'Austria', 'in', 'Vienna', '.'], ['Ferguson', ',', 'who', 'served', 'six', 'weeks', 'in', 'jail', 'in', 'late', '1995', 'for', 'head-butting', 'an', 'opponent', ',', 'won', 'the', 'last', 'of', 'his', 'five', 'Scotland', 'caps', 'in', 'December', '1994', '.'], ['Scotland', 'manager', 'Craig', 'Brown', 'said', 'on', 'Thursday', ':', '"', 'I', "'ve", 'watched', 'Duncan', 'Ferguson', 'in', 'action', 'twice', 'recently', 'and', 'he', "'s", 'bang', 'in', 'form', '.'], ['Ally', 'McCoist', 'is', 'also', 'in', 'great', 'scoring', 'form', 'at', 'the', 'moment', '.', '"'], ['Celtic', "'s", 'Jackie', 'McNamara', ',', 'who', 'did', 'well', 'with', 'last', 'season', "'s", 'successful', 'under-21', 'team', ',', 'earns', 'a', 'call-up', 'to', 'the', 'senior', 'squad', '.'], ['CRICKET', '-', 'ENGLAND', '100-2', 'AT', 'LUNCH', 'ON', 'FIRST', 'DAY', 'OF', 'THIRD', 'TEST', '.'], ['LONDON', '1996-08-22'], ['England', 'were', '100', 'for', 'two', 'at', 'lunch', 'on', 'the', 'first', 'day', 'of', 'the', 'third', 'and', 'final', 'test', 'against', 'Pakistan', 'at', 'The', 'Oval', 'on', 'Thursday', '.'], ['SOCCER', '-', 'KEANE', 'SIGNS', 'FOUR-YEAR', 'CONTRACT', 'WITH', 'MANCHESTER', 'UNITED', '.'], ['LONDON', '1996-08-22'], ['Ireland', 'midfielder', 'Roy', 'Keane', 'has', 'signed', 'a', 'new', 'four-year', 'contract', 'with', 'English', 'league', 'and', 'F.A.', 'Cup', 'champions', 'Manchester', 'United', '.'], ['"', 'Roy', 'agreed', 'a', 'new', 'deal', 'before', 'last', 'night', "'s", 'game', 'against', 'Everton', 'and', 'we', 'are', 'delighted', ',', '"', 'said', 'United', 'manager', 'Alex', 'Ferguson', 'on', 'Thursday', '.'], ['TENNIS', '-', 'RESULTS', 'AT', 'CANADIAN', 'OPEN', '.'], ['TORONTO', '1996-08-21'], ['Results', 'from', 'the', 'Canadian', 'Open'], ['tennis', 'tournament', 'on', 'Wednesday', '(', 'prefix', 'number', 'denotes'], ['seeding', ')', ':'], ['Second', 'round'], ['Daniel', 'Nestor', '(', 'Canada', ')', 'beat', '1', '-', 'Thomas', 'Muster', '(', 'Austria', ')', '6-3', '7-5'], ['Mikael', 'Tillstrom', '(', 'Sweden', ')', 'beat', '2', '-', 'Goran', 'Ivanisevic', '(', 'Croatia', ')'], ['6-7', '(', '3-7', ')', '6-4', '6-4'], ['3', '-', 'Wayne', 'Ferreira', '(', 'South', 'Africa', ')', 'beat', 'Jiri', 'Novak', '(', 'Czech'], ['Republic', ')', '7-5', '6-3'], ['4', '-', 'Marcelo', 'Rios', '(', 'Chile', ')', 'beat', 'Kenneth', 'Carlsen', '(', 'Denmark', ')', '6-3', '6-2'], ['6', '-', 'MaliVai', 'Washington', '(', 'U.S.', ')', 'beat', 'Alex', 'Corretja', '(', 'Spain', ')', '6-4'], ['6-2'], ['7', '-', 'Todd', 'Martin', '(', 'U.S.', ')', 'beat', 'Renzo', 'Furlan', '(', 'Italy', ')', '7-6', '(', '7-3', ')', '6-3'], ['Mark', 'Philippoussis', '(', 'Australia', ')', 'beat', '8', '-', 'Marc', 'Rosset'], ['(', 'Switzerland', ')', '6-3', '3-6', '7-6', '(', '8-6', ')'], ['9', '-', 'Cedric', 'Pioline', '(', 'France', ')', 'beat', 'Gregory', 'Carraz', '(', 'France', ')', '7-6'], ['(', '7-1', ')', '6-4'], ['Patrick', 'Rafter', '(', 'Australia', ')', 'beat', '11', '-', 'Alberto', 'Berasategui'], ['(', 'Spain', ')', '6-1', '6-2'], ['Petr', 'Korda', '(', 'Czech', 'Republic', ')', 'beat', '12', '-', 'Francisco', 'Clavet', '(', 'Spain', ')'], ['6-3', '6-4'], ['Daniel', 'Vacek', '(', 'Czech', 'Republic', ')', 'beat', '13', '-', 'Jason', 'Stoltenberg'], ['(', 'Australia', ')', '5-7', '7-6', '(', '7-1', ')', '7-6', '(', '13-11', ')'], ['Todd', 'Woodbridge', '(', 'Australia', 'beat', 'Sebastien', 'Lareau', '(', 'Canada', ')', '6-3'], ['1-6', '6-3'], ['Alex', "O'Brien", '(', 'U.S.', ')', 'beat', 'Byron', 'Black', '(', 'Zimbabwe', ')', '7-6', '(', '7-2', ')', '6-2'], ['Bohdan', 'Ulihrach', '(', 'Czech', 'Republic', ')', 'beat', 'Andrea', 'Gaudenzi', '(', 'Italy', ')'], ['6-3', '4-6', '6-1'], ['Tim', 'Henman', '(', 'Britain', ')', 'beat', 'Chris', 'Woodruff', '(', 'U.S.', ')', ',', 'walkover'], ['CRICKET', '-', 'MILLNS', 'SIGNS', 'FOR', 'BOLAND', '.'], ['CAPE', 'TOWN', '1996-08-22'], ['South', 'African', 'provincial', 'side', 'Boland', 'said', 'on', 'Thursday', 'they', 'had', 'signed', 'Leicestershire', 'fast', 'bowler', 'David', 'Millns', 'on', 'a', 'one', 'year', 'contract', '.'], ['Millns', ',', 'who', 'toured', 'Australia', 'with', 'England', 'A', 'in', '1992/93', ',', 'replaces', 'former', 'England', 'all-rounder', 'Phillip', 'DeFreitas', 'as', 'Boland', "'s", 'overseas', 'professional', '.'], ['SOCCER', '-', 'EUROPEAN', 'CUP', 'WINNERS', "'", 'CUP', 'RESULTS', '.'], ['TIRANA', '1996-08-22'], ['Results', 'of', 'European', 'Cup', 'Winners', "'"], ['Cup', 'qualifying', 'round', ',', 'second', 'leg', 'soccer', 'matches', 'on', 'Thursday', ':'], ['In', 'Tirana', ':', 'Flamurtari', 'Vlore', '(', 'Albania', ')', '0', 'Chemlon', 'Humenne'], ['(', 'Slovakia', ')', '2', '(', 'halftime', '0-0', ')'], ['Scorers', ':', 'Lubarskij', '(', '50th', 'minute', ')', ',', 'Valkucak', '(', '54th', ')'], ['Attendance', ':', '5,000'], ['Chemlon', 'Humenne', 'win', '3-0', 'on', 'aggregate'], ['In', 'Bistrita', ':', 'Gloria', 'Bistrita', '(', 'Romania', ')', '2', 'Valletta', '(', 'Malta', ')', '1'], ['(', '1-1', ')'], ['Scorers', ':'], ['Gloria', 'Bistrita', '-', 'Ilie', 'Lazar', '(', '32nd', ')', ',', 'Eugen', 'Voica', '(', '84th', ')'], ['Valletta', '-', 'Gilbert', 'Agius', '(', '24th', ')'], ['Attendance', ':', '8,000'], ['Gloria', 'Bistrita', 'win', '4-2', 'on', 'aggregate', '.'], ['In', 'Chorzow', ':', 'Ruch', 'Chorzow', '(', 'Poland', ')', '5', 'Llansantffraid', '(', 'Wales', ')', '0'], ['(', '1-0', ')'], ['Scorers', ':', 'Arkadiusz', 'Bak', '(', '1st', 'and', '55th', ')', ',', 'Arwel', 'Jones', '(', '47th', ','], ['own', 'goal', ')', ',', 'Miroslav', 'Bak', '(', '62nd', 'and', '63rd', ')'], ['Attendance', ':', '6,500'], ['Ruch', 'Chorzow', 'win', '6-1', 'on', 'aggregate'], ['In', 'Larnaca', ':', 'AEK', 'Larnaca', '(', 'Cyprus', ')', '5', 'Kotaik', 'Abovyan', '(', 'Armenia', ')'], ['0', '(', '2-0', ')'], ['Scorers', ':', 'Zoran', 'Kundic', '(', '28th', ')', ',', 'Klimis', 'Alexandrou', '(', '41st', ')', ','], ['Milenko', 'Kovasevic', '(', '60th', ',', 'penalty', ')', ',', 'Goran', 'Koprinovic', '(', '82nd', ')', ','], ['Pavlos', 'Markou', '(', '84th', ')'], ['Attendance', ':', '5,000'], ['AEK', 'Larnaca', 'win', '5-1', 'on', 'aggregate'], ['In', 'Siauliai', ':', 'Kareda', 'Siauliai', '(', 'Lithuania', ')', '0', 'Sion'], ['(', 'Switzerland', ')', '0'], ['Attendance', ':', '5,000'], ['Sion', 'win', '4-2', 'on', 'agrregate', '.'], ['In', 'Vinnytsya', ':'], ['Nyva', 'Vinnytsya', '(', 'Ukraine', ')', '1', 'Tallinna', 'Sadam', '(', 'Estonia', ')', '0', '(', '0-0', ')'], ['Attendance', ':', '3,000'], ['Aggregate', 'score', '2-2', '.'], ['Nyva', 'qualified', 'on', 'away', 'goals', 'rule', '.'], ['In', 'Bergen', ':', 'Brann', '(', 'Norway', ')', '2', 'Shelbourne', '(', 'Ireland', ')', '1', '(', '1-1', ')'], ['Scorers', ':'], ['Brann', '-', 'Mons', 'Ivar', 'Mjelde', '(', '10th', ')', ',', 'Jan', 'Ove', 'Pedersen', '(', '72nd', ')'], ['Shelbourne', '-', 'Mark', 'Rutherford', '(', '5th', ')'], ['Attendance', ':', '2,189'], ['Brann', 'win', '5-2', 'on', 'aggregate'], ['In', 'Sofia', ':', 'Levski', 'Sofia', '(', 'Bulgaria', ')', '1', 'Olimpija', '(', 'Slovenia', ')', '0'], ['(', '0-0', ')'], ['Scorer', ':', 'Ilian', 'Simeonov', '(', '58th', ')'], ['Attendance', ':', '25,000'], ['Aggregate', '1-1', '.'], ['Olimpija', 'won', '4-3', 'on', 'penalties', '.'], ['In', 'Vaduz', ':', 'Vaduz', '(', 'Liechtenstein', ')', '1', 'RAF', 'Riga', '(', 'Latvia', ')', '1', '(', '0-0', ')'], ['Scorers', ':'], ['Vaduz', '-', 'Daniele', 'Polverino', '(', '90th', ')'], ['RAF', 'Riga', '-', 'Agrins', 'Zarins', '(', '47th', ')'], ['Aggregate', '2-2', '.'], ['Vaduz', 'won', '4-2', 'on', 'penalties', '.'], ['In', 'Luxembourg', ':', 'US', 'Luxembourg', '(', 'Luxembourg', ')', '0', 'Varteks', 'Varazdin'], ['(', 'Croatia', ')', '3', '(', '0-0', ')'], ['Scorers', ':', 'Drazen', 'Beser', '(', '63rd', ')', ',', 'Miljenko', 'Mumler', '(', 'penalty', ','], ['78th', ')', ',', 'Jamir', 'Cvetko', '(', '87th', ')'], ['Attendance', ':', '800'], ['Varteks', 'Varazdin', 'win', '5-1', 'on', 'aggregate', '.'], ['In', 'Torshavn', ':', 'Havnar', 'Boltfelag', '(', 'Faroe', 'Islands', ')', '0', 'Dynamo'], ['Batumi', '(', 'Georgia', ')', '3', '(', '0-2', ')'], ['Dynamo', 'Batumi', 'win', '9-0', 'on', 'aggregate', '.'], ['In', 'Prague', ':', 'Sparta', 'Prague', '(', 'Czech', 'Republic', ')', '8', 'Glentoran'], ['(', 'Northern', 'Ireland', ')', '0', '(', '4-0', ')'], ['Scorers', ':', 'Petr', 'Gunda', '(', '1st', 'and', '26th', ')', ',', 'Lumir', 'Mistr', '(', '19th', ')', ','], ['Horst', 'Siegl', '(', '24th', ',', '48th', ',', '80th', ')', ',', 'Zdenek', 'Svoboda', '(', '76th', ')', ',', 'Petr'], ['Gabriel', '(', '86th', ')'], ['Sparta', 'win', '10-1', 'on', 'aggregate', '.'], ['In', 'Edinburgh', ':', 'Hearts', '(', 'Scotland', ')', '1', 'Red', 'Star', 'Belgrade'], ['(', 'Yugoslavia', ')', '1', '(', '1-0', ')'], ['Scorers', ':'], ['Hearts', '-', 'Dave', 'McPherson', '(', '44th', ')'], ['Red', 'Star', '-', 'Vinko', 'Marinovic', '(', '59th', ')'], ['Attendance', ':', '15,062'], ['Aggregate', '1-1', '.'], ['Red', 'Star', 'win', 'on', 'away', 'goals', 'rule', '.'], ['In', 'Rishon-Lezion', ':', 'Hapoel', 'Ironi', '(', 'Israel', ')', '3', 'Constructorul'], ['Chisinau', '(', 'Moldova', ')', '2', '(', '2-1', ')'], ['Aggregate', '3-3', '.'], ['Constructorul', 'win', 'on', 'away', 'goals', 'rule', '.'], ['In', 'Anjalonkoski', ':', 'MyPa-47', '(', 'Finland', ')', '1', 'Karabach', 'Agdam'], ['(', 'Azerbaijan', ')', '1', '(', '0-0', ')'], ['Mypa-47', 'win', '2-1', 'on', 'aggregate', '.'], ['In', 'Skopje', ':', 'Sloga', 'Jugomagnat', '(', 'Macedonia', ')', '0', 'Kispest', 'Honved'], ['(', 'Hungary', '1', '(', '0-0', ')'], ['Kispest', 'Honved', 'win', '2-0', 'on', 'aggregate', '.'], ['Add', 'Hapoel', 'Ironi', 'v', 'Constructorul', 'Chisinau'], ['Scorers', ':'], ['Rishon', '-', 'Moshe', 'Sabag', '(', '10th', 'minute', ')', ',', 'Nissan', 'Kapeta', '(', '26th', ')', ','], ['Tomas', 'Cibola', '(', '58th', ')', '.'], ['Constructorol', '-', 'Sergei', 'Rogachev', '(', '42nd', ')', ',', 'Gennadi', 'Skidan'], ['(', '87th', ')', '.'], ['Attendance', ':', '1,500', '.'], ['SOCCER', '-', 'GOTHENBURG', 'PUT', 'FERENCVAROS', 'OUT', 'OF', 'EURO', 'CUP', '.'], ['BUDAPEST', '1996-08-21'], ['IFK', 'Gothenburg', 'of', 'Sweden', 'drew', '1-1', '(', '1-0', ')', 'with', 'Ferencvaros', 'of', 'Hungary', 'in', 'the', 'second', 'leg', 'of', 'their', 'European', 'Champions', 'Cup', 'preliminary', 'round', 'tie', 'played', 'on', 'Wednesday', '.'], ['Gothenburg', 'go', 'through', '4-1', 'on', 'aggregate', '.'], ['Scorers', ':'], ['Ferencvaros', ':'], ['Ferenc', 'Horvath', '(', '15th', ')'], ['IFK', 'Gothenburg', ':'], ['Andreas', 'Andersson', '(', '87th', ')'], ['Attendance', ':', '9,000'], ['SOCCER', '-', 'BRAZILIAN', 'CHAMPIONSHIP', 'RESULTS', '.'], ['RIO', 'DE', 'JANEIRO', '1996-08-22'], ['Results', 'of', 'midweek'], ['matches', 'in', 'the', 'Brazilian', 'soccer', 'championship', '.'], ['Bahia', '2', 'Atletico', 'Paranaense', '0'], ['Corinthians', '1', 'Guarani', '0'], ['Coritiba', '1', 'Atletico', 'Mineiro', '0'], ['Cruzeiro', '2', 'Vitoria', '1'], ['Flamengo', '0', 'Juventude', '1'], ['Goias', '3', 'Sport', 'Recife', '1'], ['Gremio', '6', 'Bragantino', '1'], ['Palmeiras', '3', 'Vasco', 'da', 'Gama', '1'], ['Portuguesa', '2', 'Parana', '0'], ['TENNIS', '-', 'NEWCOMBE', 'PONDERS', 'HIS', 'DAVIS', 'CUP', 'FUTURE', '.'], ['SYDNEY', '1996-08-22'], ['Australian', 'Davis', 'Cup', 'captain', 'John', 'Newcombe', 'on', 'Thursday', 'signalled', 'his', 'possible', 'resignation', 'if', 'his', 'team', 'loses', 'an', 'away', 'tie', 'against', 'Croatia', 'next', 'month', '.'], ['The', 'former', 'Wimbledon', 'champion', 'said', 'the', 'immediate', 'future', 'of', 'Australia', "'s", 'Davis', 'Cup', 'coach', 'Tony', 'Roche', 'could', 'also', 'be', 'determined', 'by', 'events', 'in', 'Split', '.'], ['"', 'If', 'we', 'lose', 'this', 'one', ',', 'Tony', 'and', 'I', 'will', 'have', 'to', 'have', 'a', 'good', 'look', 'at', 'giving', 'someone', 'else', 'a', 'go', ',', '"', 'Newcombe', 'was', 'quoted', 'as', 'saying', 'in', 'Sydney', "'s", 'Daily', 'Telegraph', 'newspaper', '.'], ['Australia', 'face', 'Croatia', 'in', 'the', 'world', 'group', 'qualifying', 'tie', 'on', 'clay', 'from', 'September', '20-22', '.'], ['Under', 'Newcombe', "'s", 'leadership', ',', 'Australia', 'were', 'relegated', 'from', 'the', 'elite', 'world', 'group', 'last', 'year', ',', 'the', 'first', 'time', 'the', '26-time', 'Davis', 'Cup', 'winners', 'had', 'slipped', 'from', 'the', 'top', 'rank', '.'], ['Since', 'taking', 'over', 'as', 'captain', 'from', 'Neale', 'Fraser', 'in', '1994', ',', 'Newcombe', "'s", 'record', 'in', 'tandem', 'with', 'Roche', ',', 'his', 'former', 'doubles', 'partner', ',', 'has', 'been', 'three', 'wins', 'and', 'three', 'losses', '.'], ['Newcombe', 'has', 'selected', 'Wimbledon', 'semifinalist', 'Jason', 'Stoltenberg', ',', 'Patrick', 'Rafter', ',', 'Mark', 'Philippoussis', ',', 'and', 'Olympic', 'doubles', 'champions', 'Todd', 'Woodbridge', 'and', 'Mark', 'Woodforde', 'to', 'face', 'the', 'Croatians', '.'], ['The', 'home', 'side', 'boasts', 'world', 'number', 'six', 'Goran', 'Ivanisevic', ',', 'and', 'Newcombe', 'conceded', 'his', 'players', 'would', 'be', 'hard-pressed', 'to', 'beat', 'the', 'Croatian', 'number', 'one', '.'], ['"', 'We', 'are', 'ready', 'to', 'fight', 'to', 'our', 'last', 'breath', '--', 'Australia', 'must', 'play', 'at', 'its', 'absolute', 'best', 'to', 'win', ',', '"', 'said', 'Newcombe', ',', 'who', 'described', 'the', 'tie', 'as', 'the', 'toughest', 'he', 'has', 'faced', 'as', 'captain', '.'], ['Australia', 'last', 'won', 'the', 'Davis', 'Cup', 'in', '1986', ',', 'but', 'they', 'were', 'beaten', 'finalists', 'against', 'Germany', 'three', 'years', 'ago', 'under', 'Fraser', "'s", 'guidance', '.'], ['BADMINTON', '-', 'MALAYSIAN', 'OPEN', 'RESULTS', '.'], ['KUALA', 'LUMPUR', '1996-08-22'], ['Results', 'in', 'the', 'Malaysian'], ['Open', 'badminton', 'tournament', 'on', 'Thursday', '(', 'prefix', 'number', 'denotes'], ['seeding', ')', ':'], ['Men', "'s", 'singles', ',', 'third', 'round'], ['9/16', '-', 'Luo', 'Yigang', '(', 'China', ')', 'beat', 'Hwang', 'Sun-ho', '(', 'South', 'Korea', ')', '15-3'], ['15-7'], ['Jason', 'Wong', '(', 'Malaysia', ')', 'beat', 'Abdul', 'Samad', 'Ismail', '(', 'Malaysia', ')', '16-18'], ['15-2', '17-14'], ['P.', 'Kantharoopan', '(', 'Malaysia', ')', 'beat', '3/4', '-', 'Jeroen', 'Van', 'Dijk'], ['(', 'Netherlands', ')', '15-11', '18-14'], ['Wijaya', 'Indra', '(', 'Indonesia', ')', 'beat', '5/8', '-', 'Pang', 'Chen', '(', 'Malaysia', ')', '15-6'], ['6-15', '15-7'], ['3/4', '-', 'Hu', 'Zhilan', '(', 'China', ')', 'beat', 'Nunung', 'Subandoro', '(', 'Indonesia', ')', '5-15'], ['18-15', '15-6'], ['9/16', '-', 'Hermawan', 'Susanto', '(', 'Indonesia', ')', 'beat', '1', '-', 'Fung', 'Permadi', '(', 'Taiwan', ')'], ['15-8', '15-12'], ['Women', "'s", 'singles', '2nd', 'round'], ['1', '-', 'Wang', 'Chen', '(', 'China', ')', 'beat', 'Cindana', '(', 'Indonesia', ')', '11-3', '1ama', '(', 'Japan', ')', 'beat', 'Margit', 'Borg', '(', 'Sweden', ')', '11-6', '11-6'], ['Sun', 'Jian', '(', 'China', ')', 'beat', 'Marina', 'Andrievskaqya', '(', 'Sweden', ')', '11-8', '11-2'], ['5/8', '-', 'Meluawati', '(', 'Indonesia', ')', 'beat', 'Chan', 'Chia', 'Fong', '(', 'Malaysia', ')', '11-6'], ['11-1'], ['Gong', 'Zhichao', '(', 'China', ')', 'beat', 'Liu', 'Lufung', '(', 'China', ')', '6-11', '11-7', '11-3'], ['Zeng', 'Yaqiong', '(', 'China', ')', 'beat', 'Li', 'Feng', '(', 'New', 'Zealand', ')', '11-9', '11-6'], ['5/8', '-', 'Christine', 'Magnusson', '(', 'Sweden', ')', 'beat', 'Ishwari', 'Boopathy'], ['(', 'Malaysia', ')', '11-1', '10-12', '11-4'], ['2', '-', 'Zhang', 'Ning', '(', 'China', ')', 'beat', 'Olivia', '(', 'Indonesia', ')', '11-8', '11-6'], ['TENNIS', '-', 'REVISED', 'MEN', "'S", 'DRAW', 'FOR', 'U.S.', 'OPEN', '.'], ['NEW', 'YORK', '1996-08-22'], ['Revised', 'singles', 'draw', 'for', 'the'], ['U.S.', 'Open', 'tennis', 'championships', 'beginning', 'Monday', 'at', 'the', 'U.S', '.'], ['National', 'Tennis', 'Centre', '(', 'prefix', 'denotes', 'seeding', ')', ':'], ['Men', "'s", 'Draw'], ['1', '-', 'Pete', 'Sampras', '(', 'U.S.', ')', 'vs.', 'Adrian', 'Voinea', '(', 'Romania', ')'], ['Jiri', 'Novak', '(', 'Czech', 'Republic', ')', 'vs.', 'qualifier'], ['Magnus', 'Larsson', '(', 'Sweden', ')', 'vs.', 'Alexander', 'Volkov', '(', 'Russia', ')'], ['Mikael', 'Tillstrom', '(', 'Sweden', ')', 'vs', 'qualifier'], ['Qualifier', 'vs.', 'Andrei', 'Olhovskiy', '(', 'Russia', ')'], ['Mark', 'Woodforde', '(', 'Australia', ')', 'vs.', 'Mark', 'Philippoussis', '(', 'Australia', ')'], ['Roberto', 'Carretero', '(', 'Spain', ')', 'vs.', 'Jordi', 'Burillo', '(', 'Spain', ')'], ['Francisco', 'Clavet', '(', 'Spain', ')', 'vs.', '16', '-', 'Cedric', 'Pioline', '(', 'France', ')'], ['------------------------'], ['9', '-', 'Wayne', 'Ferreira', '(', 'South', 'Africa', ')', 'vs.', 'qualifier'], ['Karol', 'Kucera', '(', 'Slovakia', ')', 'vs.', 'Jonas', 'Bjorkman', '(', 'Sweden', ')'], ['Qualifier', 'vs.', 'Christian', 'Rudd', '(', 'Norway', ')'], ['Alex', 'Corretja', '(', 'Spain', ')', 'vs.', 'Byron', 'Black', '(', 'Zimbabwe', ')'], ['David', 'Rikl', '(', 'Czech', 'Republic', ')', 'vs.', 'Hicham', 'Arazi', '(', 'Morocco', ')'], ['Sjeng', 'Schalken', '(', 'Netherlands', ')', 'vs.', 'Gilbert', 'Schaller', '(', 'Austria', ')'], ['Grant', 'Stafford', '(', 'South', 'Africa', ')', 'vs.', 'Guy', 'Forget', '(', 'France', ')'], ['Fernando', 'Meligeni', '(', 'Brazil', ')', 'vs.', '7', '-', 'Yevgeny', 'Kafelnikov', '(', 'Russia', ')'], ['------------------------'], ['4', '-', 'Goran', 'Ivanisevic', '(', 'Croatia', ')', 'vs.', 'Andrei', 'Chesnokov', '(', 'Russia', ')'], ['Scott', 'Draper', '(', 'Australia', ')', 'vs.', 'Galo', 'Blanco', '(', 'Spain', ')'], ['Renzo', 'Furlan', '(', 'Italy', ')', 'vs.', 'Thomas', 'Johansson', '(', 'Sweden', ')'], ['Hendrik', 'Dreekman', '(', 'Germany', ')', 'vs.', 'Greg', 'Rusedski', '(', 'Britain', ')'], ['Andrei', 'Medvedev', '(', 'Ukraine', ')', 'vs.', 'Jean-Philippe', 'Fleurian', '(', 'France', ')'], ['Jan', 'Kroslak', '(', 'Slovakia', ')', 'vs.', 'Chris', 'Woodruff', '(', 'U.S.', ')'], ['Qualifier', 'vs.', 'Petr', 'Korda', '(', 'Czech', 'Republic', ')'], ['Bohdan', 'Ulihrach', '(', 'Czech', 'Republic', ')', 'vs.', '14', '-', 'Alberto', 'Costa'], ['(', 'Spain', ')'], ['------------------------'], ['12', '-', 'Todd', 'Martin', '(', 'U.S.', ')', 'vs.', 'Younnes', 'El', 'Aynaoui', '(', 'Morocco', ')'], ['Andrea', 'Gaudenzi', '(', 'Italy', ')', 'vs.', 'Shuzo', 'Matsuoka', '(', 'Japan', ')'], ['Doug', 'Flach', '(', 'U.S.', ')', 'vs.', 'qualifier'], ['Mats', 'Wilander', '(', 'Sweden', ')', 'vs.', 'Tim', 'Henman', '(', 'Britain', ')'], ['Paul', 'Haarhuis', '(', 'Netherlands', ')', 'vs.', 'Michael', 'Joyce', '(', 'U.S.', ')'], ['Michael', 'Tebbutt', '(', 'Australia', ')', 'vs.', 'Richey', 'Reneberg', '(', 'U.S.', ')'], ['Jonathan', 'Stark', '(', 'U.S.', ')', 'vs.', 'Bernd', 'Karbacher', '(', 'Germany', ')'], ['Stefan', 'Edberg', '(', 'Sweden', ')', 'vs.', '5', '-', 'Richard', 'Krajicek', '(', 'Netherlands', ')'], ['------------------------'], ['6', '-', 'Andre', 'Agassi', '(', 'U.S.', ')', 'vs.', 'Mauricio', 'Hadad', '(', 'Colombia', ')'], ['Marcos', 'Ondruska', '(', 'South', 'Africa', ')', 'vs.', 'Felix', 'Mantilla', '(', 'Spain', ')'], ['Carlos', 'Moya', '(', 'Spain', ')', 'vs.', 'Scott', 'Humphries', '(', 'U.S.', ')'], ['Jan', 'Siemerink', '(', 'Netherlands', ')', 'vs.', 'Carl-Uwe', 'Steeb', '(', 'Germany', ')'], ['Qualifier', 'vs.', 'qualifier'], ['David', 'Wheaton', '(', 'U.S.', ')', 'vs.', 'Kevin', 'Kim', '(', 'U.S.', ')'], ['Nicolas', 'Lapentti', '(', 'Ecuador', ')', 'vs.', 'Alex', "O'Brien", '(', 'U.S.', ')'], ['Karim', 'Alami', '(', 'Morocco', ')', 'vs.', '11', '-', 'MaliVai', 'Washington', '(', 'U.S.', ')'], ['------------------------'], ['13', '-', 'Thomas', 'Enqvist', '(', 'Sweden', ')', 'vs.', 'Stephane', 'Simian', '(', 'France', ')'], ['Guillaume', 'Raoux', '(', 'France', ')', 'vs.', 'Filip', 'Dewulf', '(', 'Belgium', ')'], ['Mark', 'Knowles', '(', 'Bahamas', ')', 'vs.', 'Marcelo', 'Filippini', '(', 'Uruguay', ')'], ['Todd', 'Woodbridge', '(', 'Australia', ')', 'vs.', 'qualifier'], ['Kris', 'Goossens', '(', 'Belgium', ')', 'vs.', 'Sergi', 'Bruguera', '(', 'Spain', ')'], ['Qualifier', 'vs.', 'Michael', 'Stich', '(', 'Germany', ')'], ['Qualifier', 'vs.', 'Chuck', 'Adams', '(', 'U.S.', ')'], ['Javier', 'Frana', '(', 'Argentina', ')', 'vs.', '3', '-', 'Thomas', 'Muster', '(', 'Austria', ')'], ['------------------------'], ['8', '-', 'Jim', 'Courier', '(', 'U.S.', ')', 'vs.', 'Javier', 'Sanchez', '(', 'Spain', ')'], ['Jim', 'Grabb', '(', 'U.S.', ')', 'vs.', 'Sandon', 'Stolle', '(', 'Australia', ')'], ['Patrick', 'Rafter', '(', 'Australia', ')', 'vs.', 'Kenneth', 'Carlsen', '(', 'Denmark', ')'], ['Jason', 'Stoltenberg', '(', 'Australia', ')', 'vs.', 'Stefano', 'Pescosolido', '(', 'Italy', ')'], ['Arnaud', 'Boetsch', '(', 'France', ')', 'vs.', 'Nicolas', 'Pereira', '(', 'Venezuela', ')'], ['Carlos', 'Costa', '(', 'Spain', ')', 'vs.', 'Magnus', 'Gustafsson', '(', 'Sweden', ')'], ['Jeff', 'Tarango', '(', 'U.S.', ')', 'vs.', 'Alex', 'Radulescu', '(', 'Germany', ')'], ['Qualifier', 'vs.', '10', '-', 'Marcelo', 'Rios', '(', 'Chile', ')'], ['------------------------'], ['15', '-', 'Marc', 'Rosset', '(', 'Switzerland', 'vs.', 'Jared', 'Palmer', '(', 'U.S.', ')'], ['Martin', 'Damm', '(', 'Czech', 'Republic', ')', 'vs.', 'Hernan', 'Gumy', '(', 'Argentina', ')'], ['Nicklas', 'Kulti', '(', 'Sweden', ')', 'vs.', 'Jakob', 'Hlasek', '(', 'Switzerland', ')'], ['Cecil', 'Mamiit', '(', 'U.S.', ')', 'vs.', 'Alberto', 'Berasategui', '(', 'Spain', ')'], ['Vince', 'Spadea', '(', 'U.S.', ')', 'vs.', 'Daniel', 'Vacek', '(', 'Czech', 'Republic', ')'], ['David', 'Prinosil', '(', 'Germany', ')', 'vs.', 'qualifier'], ['Qualifier', 'vs.', 'Tomas', 'Carbonell', '(', 'Spain', ')'], ['Qualifier', 'vs.', '2', '-', 'Michael', 'Chang', '(', 'U.S.', ')'], ['BASEBALL', '-', 'ORIOLES', "'", 'MANAGER', 'DAVEY', 'JOHNSON', 'HOSPITALIZED', '.'], ['BALTIMORE', '1996-08-22'], ['Baltimore', 'Orioles', 'manager', 'Davey', 'Johnson', 'will', 'miss', 'Thursday', 'night', "'s", 'game', 'against', 'the', 'Seattle', 'Mariners', 'after', 'being', 'admitted', 'to', 'a', 'hospital', 'with', 'an', 'irregular', 'heartbeat', '.'], ['The', '53-year-old', 'Johnson', 'was', 'hospitalized', 'after', 'experiencing', 'dizziness', '.'], ['"', 'He', 'is', 'in', 'no', 'danger', 'and', 'will', 'be', 'treated', 'and', 'observed', 'this', 'evening', ',', '"', 'said', 'Orioles', 'team', 'physician', 'Dr.', 'William', 'Goldiner', ',', 'adding', 'that', 'Johnson', 'is', 'expected', 'to', 'be', 'released', 'on', 'Friday', '.'], ['Orioles', "'", 'bench', 'coach', 'Andy', 'Etchebarren', 'will', 'manage', 'the', 'club', 'in', 'Johnson', "'s", 'absence', '.'], ['Johnson', 'is', 'the', 'second', 'manager', 'to', 'be', 'hospitalized', 'this', 'week', 'after', 'California', 'Angels', 'skipper', 'John', 'McNamara', 'was', 'admitted', 'to', 'New', 'York', "'s", 'Columbia', 'Presbyterian', 'Hospital', 'on', 'Wednesday', 'with', 'a', 'blood', 'clot', 'in', 'his', 'left', 'calf', '.'], ['Johnson', ',', 'who', 'played', 'eight', 'seasons', 'in', 'Baltimore', ',', 'was', 'named', 'Orioles', 'manager', 'in', 'the', 'off-season', 'replacing', 'Phil', 'Regan', '.'], ['He', 'led', 'the', 'Cincinnati', 'Reds', 'to', 'the', 'National', 'League', 'Championship', 'Series', 'last', 'year', 'and', 'guided', 'the', 'New', 'York', 'Mets', 'to', 'a', 'World', 'Series', 'championship', 'in', '1986', '.'], ['Baltimore', 'has', 'won', '16', 'of', 'its', 'last', '22', 'games', 'to', 'pull', 'within', 'five', 'games', 'of', 'the', 'slumping', 'New', 'York', 'Yankees', 'in', 'the', 'American', 'League', 'East', 'Division', '.'], ['BASEBALL', '-', 'MAJOR', 'LEAGUE', 'STANDINGS', 'AFTER', 'WEDNESDAY', "'S", 'GAMES', '.'], ['NEW', 'YORK', '1996-08-22'], ['Major', 'League', 'Baseball'], ['standings', 'after', 'games', 'played', 'on', 'Wednesday', '(', 'tabulate', 'under', 'won', ','], ['lost', ',', 'winning', 'percentage', 'and', 'games', 'behind', ')', ':'], ['AMERICAN', 'LEAGUE'], ['EASTERN', 'DIVISION'], ['W', 'L', 'PCT', 'GB'], ['NEW', 'YORK', '72', '53', '.576', '-'], ['BALTIMORE', '67', '58', '.536', '5'], ['BOSTON', '63', '64', '.496', '10'], ['TORONTO', '58', '69', '.457', '15'], ['DETROIT', '44', '82', '.349', '28', '1/2'], ['CENTRAL', 'DIVISION'], ['CLEVELAND', '76', '51', '.598', '-'], ['CHICAGO', '69', '59', '.539', '7', '1/2'], ['MINNESOTA', '63', '63', '.500', '12', '1/2'], ['MILWAUKEE', '60', '68', '.469', '16', '1/2'], ['KANSAS', 'CITY', '58', '70', '.453', '18', '1/2'], ['WESTERN', 'DIVISION'], ['TEXAS', '73', '54', '.575', '-'], ['SEATTLE', '64', '61', '.512', '8'], ['OAKLAND', '62', '67', '.481', '12'], ['CALIFORNIA', '58', '68', '.460', '14', '1/2'], ['THURSDAY', ',', 'AUGUST', '22', 'SCHEDULE'], ['OAKLAND', 'AT', 'BOSTON'], ['SEATTLE', 'AT', 'BALTIMORE'], ['CALIFORNIA', 'AT', 'NEW', 'YORK'], ['TORONTO', 'AT', 'CHICAGO'], ['DETROIT', 'AT', 'KANSAS', 'CITY'], ['TEXAS', 'AT', 'MINNESOTA'], ['NATIONAL', 'LEAGUE'], ['EASTERN', 'DIVISION'], ['W', 'L', 'PCT', 'GB'], ['ATLANTA', '79', '46', '.632', '-'], ['MONTREAL', '67', '58', '.536', '12'], ['NEW', 'YORK', '59', '69', '.461', '21', '1/2'], ['FLORIDA', '58', '69', '.457', '22'], ['PHILADELPHIA', '52', '75', '.409', '28'], ['CENTRAL', 'DIVISION'], ['HOUSTON', '68', '59', '.535', '-'], ['ST', 'LOUIS', '67', '59', '.532', '1/2'], ['CHICAGO', '63', '62', '.504', '4'], ['CINCINNATI', '62', '62', '.500', '4', '1/2'], ['PITTSBURGH', '53', '73', '.421', '14', '1/2'], ['WESTERN', 'DIVISION'], ['SAN', 'DIEGO', '70', '59', '.543', '-'], ['LOS', 'ANGELES', '66', '60', '.524', '2', '1/2'], ['COLORADO', '65', '62', '.512', '4'], ['SAN', 'FRANCISCO', '54', '70', '.435', '13', '1/2'], ['THURSDAY', ',', 'AUGUST', '22', 'SCHEDULE'], ['ST', 'LOUIS', 'AT', 'COLORADO'], ['CINCINNATI', 'AT', 'ATLANTA'], ['PITTSBURGH', 'AT', 'HOUSTON'], ['PHILADELPHIA', 'AT', 'LOS', 'ANGELES'], ['MONTREAL', 'AT', 'SAN', 'FRANCISCO'], ['BASEBALL', '-', 'MAJOR', 'LEAGUE', 'RESULTS', 'WEDNESDAY', '.'], ['NEW', 'YORK', '1996-08-22'], ['Results', 'of', 'Major', 'League'], ['Baseball', 'games', 'played', 'on', 'Wednesday', '(', 'home', 'team', 'in', 'CAPS', ')', ':'], ['American', 'League'], ['California', '7', 'NEW', 'YORK', '1'], ['DETROIT', '7', 'Chicago', '4'], ['Milwaukee', '10', 'MINNESOTA', '7'], ['BOSTON', '6', 'Oakland', '4'], ['BALTIMORE', '10', 'Seattle', '5'], ['Texas', '10', 'CLEVELAND', '8', '(', 'in', '10', ')'], ['Toronto', '6', 'KANSAS', 'CITY', '2'], ['National', 'League'], ['CHICAGO', '8', 'Florida', '3'], ['SAN', 'FRANCISCO', '12', 'New', 'York', '11'], ['ATLANTA', '4', 'Cincinnati', '3'], ['Pittsburgh', '5', 'HOUSTON', '2'], ['COLORADO', '10', 'St', 'Louis', '2'], ['Philadelphia', '6', 'LOS', 'ANGELES', '0'], ['SAN', 'DIEGO', '7', 'Montreal', '2'], ['BASEBALL', '-', 'GREER', 'HOMER', 'IN', '10TH', 'LIFTS', 'TEXAS', 'PAST', 'INDIANS', '.'], ['CLEVELAND', '1996-08-22'], ['Rusty', 'Greer', "'s", 'two-run', 'homer', 'in', 'the', 'top', 'of', 'the', '10th', 'inning', 'rallied', 'the', 'Texas', 'Rangers', 'to', 'a', '10-8', 'victory', 'over', 'the', 'Cleveland', 'Indians', 'Wednesday', 'in', 'the', 'rubber', 'game', 'of', 'a', 'three-game', 'series', 'between', 'division', 'leaders', '.'], ['With', 'one', 'out', ',', 'Greer', 'hit', 'a', '1-1', 'pitch', 'from', 'Julian', 'Tavarez', '(', '4-7', ')', 'over', 'the', 'right-field', 'fence', 'for', 'his', '15th', 'home', 'run', '.'], ['"', 'It', 'was', 'an', 'off-speed', 'pitch', 'and', 'I', 'just', 'tried', 'to', 'get', 'a', 'good', 'swing', 'on', 'it', 'and', 'put', 'it', 'in', 'play', ',', '"', 'Greer', 'said', '.', '"'], ['This', 'was', 'a', 'big', 'game', '.'], ['The', 'crowd', 'was', 'behind', 'him', 'and', 'it', 'was', 'intense', '.', '"'], ['The', 'shot', 'brought', 'home', 'Ivan', 'Rodriguez', ',', 'who', 'had', 'his', 'second', 'double', 'of', 'the', 'game', ',', 'giving', 'him', '42', 'this', 'season', ',', '41', 'as', 'a', 'catcher', '.'], ['He', 'joined', 'Mickey', 'Cochrane', ',', 'Johnny', 'Bench', 'and', 'Terry', 'Kennedy', 'as', 'the', 'only', 'catchers', 'with', '40', 'doubles', 'in', 'a', 'season', '.'], ['The', 'Rangers', 'have', 'won', '10', 'of', 'their', 'last', '12', 'games', 'and', 'six', 'of', 'nine', 'meetings', 'against', 'the', 'Indians', 'this', 'season', '.'], ['The', 'American', 'League', 'Western', 'leaders', 'have', 'won', 'eight', 'of', '15', 'games', 'at', 'Jacobs', 'Field', ',', 'joining', 'the', 'Yankees', 'as', 'the', 'only', 'teams', 'with', 'a', 'winning', 'record', 'at', 'the', 'A.L.', 'Central', 'leaders', "'", 'home', '.'], ['Cleveland', 'lost', 'for', 'just', 'the', 'second', 'time', 'in', 'six', 'games', '.'], ['The', 'Indians', 'sent', 'the', 'game', 'into', 'extra', 'innings', 'in', 'the', 'ninth', 'on', 'Kenny', 'Lofton', "'s", 'two-run', 'single', '.'], ['Ed', 'Vosberg', '(', '1-0', ')', 'blew', 'his', 'first', 'save', 'opportunity', 'but', 'got', 'the', 'win', ',', 'allowing', 'three', 'hits', 'with', 'two', 'walks', 'and', 'three', 'strikeouts', 'in', '1', '2/3', 'scoreless', 'innings', '.'], ['Dean', 'Palmer', 'hit', 'his', '30th', 'homer', 'for', 'the', 'Rangers', '.'], ['In', 'Baltimore', ',', 'Cal', 'Ripken', 'had', 'four', 'hits', 'and', 'snapped', 'a', 'fifth-inning', 'tie', 'with', 'a', 'solo', 'homer', 'and', 'Bobby', 'Bonilla', 'added', 'a', 'three-run', 'shot', 'in', 'the', 'seventh', 'to', 'power', 'the', 'surging', 'Orioles', 'to', 'a', '10-5', 'victory', 'over', 'the', 'Seattle', 'Mariners', '.'], ['The', 'Mariners', 'scored', 'four', 'runs', 'in', 'the', 'top', 'of', 'the', 'fifth', 'to', 'tie', 'the', 'game', '5-5', 'but', 'Ripken', 'led', 'off', 'the', 'bottom', 'of', 'the', 'inning', 'with', 'his', '21st', 'homer', 'off', 'starter', 'Sterling', 'Hitchcock', '(', '12-6', ')', '.'], ['Bonilla', "'s", 'blast', 'was', 'the', 'first', 'time', 'Randy', 'Johnson', ',', 'last', 'season', "'s", 'Cy', 'Young', 'winner', ',', 'allowed', 'a', 'run', 'in', 'five', 'relief', 'appearances', 'since', 'coming', 'off', 'the', 'disabled', 'list', 'on', 'August', '6', '.'], ['Bonilla', 'has', '21', 'RBI', 'and', '15', 'runs', 'in', 'his', 'last', '20', 'games', '.'], ['Baltimore', 'has', 'won', 'seven', 'of', 'nine', 'and', '16', 'of', 'its', 'last', '22', 'and', 'cut', 'the', 'Yankees', "'", 'lead', 'in', 'the', 'A.L.', 'East', 'to', 'five', 'games', '.'], ['Scott', 'Erickson', '(', '8-10', ')', 'laboured', 'to', 'his', 'third', 'straight', 'win', '.'], ['Alex', 'Rodriguez', 'had', 'two', 'homers', 'and', 'four', 'RBI', 'for', 'the', 'Mariners', ',', 'who', 'have', 'dropped', 'three', 'in', 'a', 'row', 'and', '11', 'of', '15', '.'], ['He', 'became', 'the', 'fifth', 'shortstop', 'in', 'major-league', 'history', 'to', 'hit', '30', 'homers', 'in', 'a', 'season', 'and', 'the', 'first', 'since', 'Ripken', 'hit', '34', 'in', '1991', '.'], ['Chris', 'Hoiles', 'hit', 'his', '22nd', 'homer', 'for', 'Baltimore', '.'], ['In', 'New', 'York', ',', 'Jason', 'Dickson', 'scattered', '10', 'hits', 'over', '6', '1/3', 'innings', 'in', 'his', 'major-league', 'debut', 'and', 'Chili', 'Davis', 'belted', 'a', 'homer', 'from', 'each', 'side', 'of', 'the', 'plate', 'as', 'the', 'California', 'Angels', 'defeated', 'the', 'Yankees', '7-1', '.'], ['Dickson', 'allowed', 'a', 'homer', 'to', 'Derek', 'Jeter', 'on', 'his', 'first', 'major-league', 'pitch', 'but', 'settled', 'down', '.'], ['He', 'was', 'the', '27th', 'pitcher', 'used', 'by', 'the', 'Angels', 'this', 'season', ',', 'tying', 'a', 'major-league', 'record', '.'], ['Jimmy', 'Key', '(', '9-10', ')', 'took', 'the', 'loss', 'as', 'the', 'Yankees', 'lost', 'their', 'ninth', 'in', '14', 'games', '.'], ['They', 'stranded', '11', 'baserunners', '.'], ['California', 'played', 'without', 'interim', 'manager', 'John', 'McNamara', ',', 'who', 'was', 'admitted', 'to', 'a', 'New', 'York', 'hospital', 'with', 'a', 'blood', 'clot', 'in', 'his', 'right', 'calf', '.'], ['In', 'Boston', ',', 'Mike', 'Stanley', "'s", 'bases-loaded', 'two-run', 'single', 'snapped', 'an', 'eighth-inning', 'tie', 'and', 'gave', 'the', 'Red', 'Sox', 'their', 'third', 'straight', 'win', ',', '6-4', 'over', 'the', 'Oakland', 'Athletics', '.'], ['Stanley', 'owns', 'a', '.367', 'career', 'batting', 'average', 'with', 'the', 'bases', 'loaded', '(', '33-for-90', ')', '.'], ['Boston', "'s", 'Mo', 'Vaughn', 'went', '3-for-3', 'with', 'a', 'walk', ',', 'stole', 'home', 'for', 'one', 'of', 'his', 'three', 'runs', 'scored', 'and', 'collected', 'his', '116th', 'RBI', '.'], ['Scott', 'Brosius', 'homered', 'and', 'drove', 'in', 'two', 'runs', 'for', 'the', 'Athletics', ',', 'who', 'have', 'lost', 'seven', 'of', 'their', 'last', 'nine', 'games', '.'], ['In', 'Detroit', ',', 'Brad', 'Ausmus', "'s", 'three-run', 'homer', 'capped', 'a', 'four-run', 'eighth', 'and', 'lifted', 'the', 'Tigers', 'to', 'a', '7-4', 'victory', 'over', 'the', 'reeling', 'Chicago', 'White', 'Sox', '.'], ['The', 'Tigers', 'have', 'won', 'consecutive', 'games', 'after', 'dropping', 'eight', 'in', 'a', 'row', ',', 'but', 'have', 'won', 'nine', 'of', 'their', 'last', '12', 'at', 'home', '.'], ['The', 'White', 'Sox', 'have', 'lost', 'six', 'of', 'their', 'last', 'eight', 'games', '.'], ['In', 'Kansas', 'City', ',', 'Juan', 'Guzman', 'tossed', 'a', 'complete-game', 'six-hitter', 'to', 'win', 'for', 'the', 'first', 'time', 'in', 'over', 'a', 'month', 'and', 'lower', 'his', 'league-best', 'ERA', 'as', 'the', 'Toronto', 'Blue', 'Jays', 'won', 'their', 'fourth', 'straight', ',', '6-2', 'over', 'the', 'Royals', '.'], ['Guzman', '(', '10-8', ')', 'won', 'for', 'the', 'first', 'time', 'since', 'July', '16', ',', 'a', 'span', 'of', 'six', 'starts', '.'], ['He', 'allowed', 'two', 'runs', '--', 'one', 'earned', '--', 'and', 'lowered', 'his', 'ERA', 'to', '2.99', '.'], ['At', 'Minnesota', ',', 'John', 'Jaha', "'s", 'three-run', 'homer', ',', 'his', '26th', ',', 'capped', 'a', 'five-run', 'eighth', 'inning', 'that', 'rallied', 'the', 'Milwaukee', 'Brewers', 'to', 'a', '10-7', 'victory', 'over', 'the', 'Twins', '.'], ['Jaha', 'added', 'an', 'RBI', 'single', 'in', 'the', 'ninth', 'and', 'had', 'four', 'RBI', '.'], ['Jose', 'Valentin', 'hit', 'his', '21st', 'homer', 'for', 'Milwaukee', '.'], ['SOCCER', '-', 'COCU', 'DOUBLE', 'EARNS', 'PSV', '4-1', 'WIN', '.'], ['AMSTERDAM', '1996-08-22'], ['Philip', 'Cocu', 'scored', 'twice', 'in', 'the', 'second', 'half', 'to', 'spur', 'PSV', 'Eindhoven', 'to', 'a', '4-1', 'away', 'win', 'over', 'NEC', 'Nijmegen', 'in', 'the', 'Dutch', 'first', 'division', 'on', 'Thursday', '.'], ['He', 'scored', 'from', 'close', 'range', 'in', 'the', '54th', 'minute', 'and', 'from', 'a', 'bicycle', 'kick', '13', 'minutes', 'later', '.'], ['Arthur', 'Numan', 'and', 'Luc', 'Nilis', ',', 'Dutch', 'top', 'scorer', 'last', 'season', ',', 'were', 'PSV', "'s", 'other', 'marksmen', '.'], ['Ajax', 'Amsterdam', 'opened', 'their', 'title', 'defence', 'with', 'a', '1-0', 'win', 'over', 'NAC', 'Breda', 'on', 'Wednesday', '.'], ['SOCCER', '-', 'DUTCH', 'FIRST', 'DIVISION', 'SUMMARY', '.'], ['AMSTERDAM', '1996-08-22'], ['Summary', 'of', 'Thursday', "'s", 'only'], ['Dutch', 'first', 'division', 'match', ':'], ['NEC', 'Nijmegen', '1', '(', 'Van', 'Eykeren', '15th', ')', 'PSV', 'Eindhoven', '4', '(', 'Numan', '11th', ','], ['Nilis', '42nd', ',', 'Cocu', '54th', ',', '67th', ')', '.'], ['Halftime', '1-2', '.'], ['Attendance', '8,000'], ['SOCCER', '-', 'DUTCH', 'FIRST', 'DIVISION', 'RESULT', '.'], ['AMSTERDAM', '1996-08-22'], ['Result', 'of', 'a', 'Dutch', 'first'], ['division', 'match', 'on', 'Thursday', ':'], ['NEC', 'Nijmegen', '1', 'PSV', 'Eindhoven', '4'], ['SOCCER', '-', 'SHARPSHOOTER', 'KNUP', 'BACK', 'IN', 'SWISS', 'SQUAD', '.'], ['GENEVA', '1996-08-22'], ['Galatasaray', 'striker', 'Adrian', 'Knup', ',', 'scorer', 'of', '26', 'goals', 'in', '45', 'internationals', ',', 'has', 'been', 'recalled', 'by', 'Switzerland', 'for', 'the', 'World', 'Cup', 'qualifier', 'against', 'Azerbaijan', 'in', 'Baku', 'on', 'August', '31', '.'], ['Knup', 'was', 'overlooked', 'by', 'Artur', 'Jorge', 'for', 'the', 'European', 'championship', 'finals', 'earlier', 'this', 'year', '.'], ['But', 'new', 'coach', 'Rolf', 'Fringer', 'is', 'clearly', 'a', 'Knup', 'fan', 'and', 'included', 'him', 'in', 'his', '19-man', 'squad', 'on', 'Thursday', '.'], ['Switzerland', 'failed', 'to', 'progress', 'beyond', 'the', 'opening', 'group', 'phase', 'in', 'Euro', '96', '.'], ['Squad', ':'], ['Goalkeepers', '-', 'Marco', 'Pascolo', '(', 'Cagliari', ')', ',', 'Pascal', 'Zuberbuehler', '(', 'Grasshoppers', ')', '.'], ['Defenders', '-', 'Stephane', 'Henchoz', '(', 'Hamburg', ')', ',', 'Marc', 'Hottiger', '(', 'Everton', ')', ',', 'Yvan', 'Quentin', '(', 'Sion', ')', ',', 'Ramon', 'Vega', '(', 'Cagliari', ')', 'Raphael', 'Wicky', '(', 'Sion', ')', '.'], ['Midfielders', '-', 'Alexandre', 'Comisetti', '(', 'Grasshoppers', ')', ',', 'Antonio', 'Esposito', '(', 'Grasshoppers', ')', ',', 'Sebastien', 'Fournier', '(', 'Stuttgart', ')', ',', 'Christophe', 'Ohrel', '(', 'Lausanne', ')', ',', 'Patrick', 'Sylvestre', '(', 'Sion', ')', ',', 'David', 'Sesa', '(', 'Servette', ')', ',', 'Ciriaco', 'Sforza', '(', 'Inter', 'Milan', ')', 'Murat', 'Yakin', '(', 'Grasshoppers', ')', '.'], ['Strikers', '-', 'Kubilay', 'Turkyilmaz', '(', 'Grasshoppers', ')', ',', 'Adrian', 'Knup', '(', 'Galatasaray', ')', ',', 'Christophe', 'Bonvin', '(', 'Sion', ')', ',', 'Stephane', 'Chapuisat', '(', 'Borussia', 'Dortmund', ')', '.'], ['ATHLETICS', '-', 'IT', "'S", 'A', 'RECORD', '-', '40,000', 'BEERS', 'ON', 'THE', 'HOUSE', '.'], ['BRUSSELS', '1996-08-22'], ['Spectators', 'at', 'Friday', "'s", 'Brussels', 'grand', 'prix', 'meeting', 'have', 'an', 'extra', 'incentive', 'to', 'cheer', 'on', 'the', 'athletes', 'to', 'world', 'record', 'performances', '--', 'a', 'free', 'glass', 'of', 'beer', '.'], ['A', 'Belgian', 'brewery', 'has', 'offered', 'to', 'pay', 'for', 'a', 'free', 'round', 'of', 'drinks', 'for', 'all', 'of', 'the', '40,000', 'crowd', 'if', 'a', 'world', 'record', 'goes', 'at', 'the', 'meeting', ',', 'organisers', 'said', 'on', 'Thursday', '.'], ['It', 'could', 'be', 'one', 'of', 'the', 'most', 'expensive', 'rounds', 'of', 'drinks', 'ever', '.'], ['The', 'meeting', 'is', 'sold', 'out', 'already', '.'], ['Two', 'world', 'records', 'are', 'in', 'serious', 'danger', 'of', 'being', 'broken', 'at', 'the', 'meeting', '--', 'the', 'women', "'s", '1,000', 'metres', 'and', 'the', 'men', "'s", '3,000', 'metres', '.'], ['GOLF', '-', 'GERMAN', 'OPEN', 'FIRST', 'ROUND', 'SCORES', '.'], ['STUTTGART', ',', 'Germany', '1996-08-22'], ['Leading', 'first', 'round'], ['scores', 'in', 'the', 'German', 'Open', 'golf', 'championship', 'on', 'Thursday', '(', 'Britain'], ['unless', 'stated', ')', ':'], ['62', 'Paul', 'Broadhurst'], ['63', 'Raymond', 'Russell'], ['64', 'David', 'J.', 'Russell', ',', 'Michael', 'Campbell', '(', 'New', 'Zealand', ')', ',', 'Ian'], ['Woosnam', ',', 'Bernhard', 'Langer', '(', 'Germany', ')', ',', 'Ronan', 'Rafferty', ',', 'Mats'], ['Lanner', '(', 'Sweden', ')', ',', 'Wayne', 'Riley', '(', 'Australia', ')'], ['65', 'Eamonn', 'Darcy', '(', 'Ireland', ')', ',', 'Per', 'Nyman', '(', 'Sweden', ')', ',', 'Russell', 'Claydon', ','], ['Mark', 'Roe', ',', 'Retief', 'Goosen', '(', 'South', 'Africa', ')', ',', 'Carl', 'Suneson'], ['66', 'Stephen', 'Field', ',', 'Paul', 'Lawrie', ',', 'Ian', 'Pyman', ',', 'Max', 'Anglert'], ['(', 'Sweden', ')', ',', 'Miles', 'Tunnicliff', ',', 'Christian', 'Cevaer', '(', 'France', ')', ','], ['Des', 'Smyth', '(', 'Ireland', ')', ',', 'David', 'Carter', ',', 'Lee', 'Westwood', ',', 'Greg'], ['Chalmers', '(', 'Australia', ')', ',', 'Miguel', 'Angel', 'Martin', '(', 'Spain', ')', ','], ['Thomas', 'Bjorn', '(', 'Denmark', ')', ',', 'Fernando', 'Roca', '(', 'Spain', ')', ',', 'Derrick'], ['Cooper'], ['67', 'Jeff', 'Hawksworth', ',', 'Padraig', 'Harrington', '(', 'Ireland', ')', ',', 'Michael'], ['Welch', ',', 'Thomas', 'Gogele', '(', 'Germany', ')', ',', 'Paul', 'McGinley', '(', 'Ireland', ')', ','], ['Gary', 'Orr', ',', 'Jose-Maria', 'Canizares', '(', 'Spain', ')', ',', 'Michael', 'Jonzon'], ['(', 'Sweden', ')', ',', 'Paul', 'Eales', ',', 'David', 'Williams', ',', 'Andrew', 'Coltart', ','], ['Jonathan', 'Lomas', ',', 'Jose', 'Rivero', '(', 'Spain', ')', ',', 'Robert', 'Karlsson'], ['(', 'Sweden', ')', ',', 'Marcus', 'Wills', ',', 'Pedro', 'Linhart', '(', 'Spain', ')', ',', 'Jamie'], ['Spence', ',', 'Terry', 'Price', '(', 'Australia', ')', ',', 'Juan', 'Carlos', 'Pinero', '(', 'Spain', ')', ','], ['Mark', 'Mouland'], ['SOCCER', '-', 'UEFA', 'REWARDS', 'THREE', 'COUNTRIES', 'FOR', 'FAIR', 'PLAY', '.'], ['GENEVA', '1996-08-22'], ['Norway', ',', 'England', 'and', 'Sweden', 'were', 'rewarded', 'for', 'their', 'fair', 'play', 'on', 'Thursday', 'with', 'an', 'additional', 'place', 'in', 'the', '1997-98', 'UEFA', 'Cup', 'competition', '.'], ['Norway', 'headed', 'the', 'UEFA', 'Fair', 'Play', 'rankings', 'for', '1995-96', 'with', '8.62', 'points', ',', 'ahead', 'of', 'England', 'with', '8.61', 'and', 'Sweden', '8.57', '.'], ['The', 'rankings', 'are', 'based', 'on', 'a', 'formula', 'that', 'takes', 'into', 'account', 'many', 'factors', 'including', 'red', 'and', 'yellow', 'cards', ',', 'and', 'coaching', 'and', 'spectators', "'", 'behaviour', 'at', 'matches', 'played', 'at', 'an', 'international', 'level', 'by', 'clubs', 'and', 'national', 'teams', '.'], ['Only', 'the', 'top', 'three', 'countries', 'are', 'allocated', 'additional', 'places', '.'], ['The', 'UEFA', 'Fair', 'Play', 'rankings', 'are', ':', '1', '.'], ['Norway', '8.62', 'points'], ['2.', 'England', '8.61'], ['3.', 'Sweden', '8.57'], ['4.', 'Faroe', 'Islands', '8.56'], ['5.', 'Wales', '8.54'], ['6.', 'Estonia', '8.52'], ['7.', 'Ireland', '8.45'], ['8.', 'Belarus', '8.39'], ['9.', 'Iceland', '8.35'], ['10.', 'Netherlands', '8.30'], ['10.', 'Denmark', '8.30'], ['10.', 'Germany', '8.30'], ['13.', 'Scotland', '8.29'], ['13.', 'Latvia', '8.29'], ['15.', 'Moldova', '8.24'], ['16.', 'Yugoslavia', '8.22'], ['16.', 'Belgium', '8.22'], ['18.', 'Luxembourg', '8.20'], ['19.', 'France', '8.18'], ['20.', 'Israel', '8.17'], ['21.', 'Switzerland', '8.15'], ['21.', 'Slovakia', '8.15'], ['23.', 'Poland', '8.12'], ['23.', 'Portugal', '8.12'], ['25.', 'Georgia', '8.10'], ['26.', 'Ukraine', '8.09'], ['26.', 'Spain', '8.09'], ['26.', 'Finland', '8.09'], ['29.', 'Macedonia', '8.07'], ['30.', 'Lithuania', '8.06'], ['31.', 'Austria', '8.05'], ['32.', 'Russia', '8.03'], ['33.', 'Romania', '8.02'], ['33.', 'Turkey', '8.02'], ['35.', 'Hungary', '7.98'], ['36.', 'Czech', 'Republic', '7.95'], ['37.', 'Greece', '7.89'], ['37.', 'Northern', 'Ireland', '7.89'], ['39.', 'Italy', '7.85'], ['40.', 'Cyprus', '7.83'], ['41.', 'Armenia', '7.80'], ['42.', 'Slovenia', '7.77'], ['43.', 'Croatia', '7.75'], ['44.', 'Bulgaria', '7.73'], ['45.', 'Malta', '7.40'], ['CRICKET', '-', 'POLICE', 'COMMANDOS', 'ON', 'HAND', 'FOR', 'AUSTRALIANS', "'", 'FIRST', 'MATCH', '.'], ['COLOMBO', '1996-08-22'], ['Armed', 'police', 'commandos', 'patrolled', 'the', 'ground', 'when', 'Australia', 'opened', 'their', 'short', 'tour', 'of', 'Sri', 'Lanka', 'with', 'a', 'five-run', 'win', 'over', 'the', 'country', "'s", 'youth', 'team', 'on', 'Thursday', '.'], ['Australia', ',', 'in', 'Sri', 'Lanka', 'for', 'a', 'limited', 'overs', 'tournament', 'which', 'also', 'includes', 'India', 'and', 'Zimbabwe', ',', 'have', 'been', 'promised', 'the', 'presence', 'of', 'commandos', ',', 'sniffer', 'dogs', 'and', 'plainclothes', 'policemen', 'to', 'ensure', 'the', 'tournament', 'is', 'trouble-free', '.'], ['They', 'are', 'making', 'their', 'first', 'visit', 'to', 'the', 'island', 'since', 'boycotting', 'a', 'World', 'Cup', 'fixture', 'in', 'February', 'because', 'of', 'fears', 'over', 'ethnic', 'violence', '.'], ['Australia', ',', 'batting', 'first', 'in', 'Thursday', "'s", 'the', 'warm-up', 'match', ',', 'scored', '251', 'for', 'seven', 'from', 'their', '50', 'overs', '.'], ['Ricky', 'Ponting', 'led', 'the', 'way', 'with', '100', 'off', '119', 'balls', 'with', 'two', 'sixes', 'and', 'nine', 'fours', 'before', 'retiring', '.'], ['The', 'youth', 'side', 'replied', 'with', '246', 'for', 'seven', '.'], ...]
len(vocab.itos)
23627
vocab['on']
15
def data_process(dt):
return [ torch.tensor([vocab['<bos>']] +[vocab[token] for token in document ] + [vocab['<eos>']], dtype = torch.long) for document in dt]
def labels_process(dt):
return [ torch.tensor([0] + document + [0], dtype = torch.long) for document in dt]
train_tokens_ids = data_process(dataset['train']['tokens'])
test_tokens_ids = data_process(dataset['test']['tokens'])
validation_tokens_ids = data_process(dataset['validation']['tokens'])
train_labels = labels_process(dataset['train']['ner_tags'])
validation_labels = labels_process(dataset['validation']['ner_tags'])
test_labels = labels_process(dataset['test']['ner_tags'])
train_tokens_ids[0]
tensor([ 2, 966, 22409, 238, 773, 9, 4588, 212, 7686, 4, 3])
def get_scores(y_true, y_pred):
acc_score = 0
tp = 0
fp = 0
selected_items = 0
relevant_items = 0
for p,t in zip(y_pred, y_true):
if p == t:
acc_score +=1
if p > 0 and p == t:
tp +=1
if p > 0:
selected_items += 1
if t > 0 :
relevant_items +=1
if selected_items == 0:
precision = 1.0
else:
precision = tp / selected_items
if relevant_items == 0:
recall = 1.0
else:
recall = tp / relevant_items
if precision + recall == 0.0 :
f1 = 0.0
else:
f1 = 2* precision * recall / (precision + recall)
return precision, recall, f1
num_tags = max([max(x) for x in dataset['train']['ner_tags'] ]) + 1
class FF(torch.nn.Module):
def __init__(self,):
super(FF, self).__init__()
self.emb = torch.nn.Embedding(23627,200)
self.fc1 = torch.nn.Linear(200,num_tags)
def forward(self, x):
x = self.emb(x)
x = self.fc1(x)
return x
ff = FF()
model = CRF(num_tags)
params = list(ff.parameters()) + list(model.parameters())
optimizer = torch.optim.Adam(params)
def eval_model(dataset_tokens, dataset_labels):
Y_true = []
Y_pred = []
ff.eval()
model.eval()
for i in tqdm(range(len(dataset_labels))):
batch_tokens = dataset_tokens[i]
tags = list(dataset_labels[i].numpy())
emissions = ff(batch_tokens).unsqueeze(1)
Y_pred += model.decode(emissions)[0]
Y_true += tags
return get_scores(Y_true, Y_pred)
for i in range (5):
ff.train()
model.train()
for i in tqdm(range(len(train_labels))):
batch_tokens = train_tokens_ids[i]
tags = train_labels[i].unsqueeze(1)
emissions = ff(batch_tokens).unsqueeze(1)
optimizer.zero_grad()
loss = -model(emissions,tags )
loss.backward()
optimizer.step()
ff.eval()
model.eval()
print(eval_model(validation_tokens_ids, validation_labels))
HBox(children=(FloatProgress(value=0.0, max=14041.0), HTML(value='')))
HBox(children=(FloatProgress(value=0.0, max=3250.0), HTML(value='')))
(0.7584134615384616, 0.5134255492270138, 0.6123241145075207)
HBox(children=(FloatProgress(value=0.0, max=3453.0), HTML(value='')))
(0.6854983091306942, 0.42480276134122286, 0.5245452469746555)
HBox(children=(FloatProgress(value=0.0, max=14041.0), HTML(value='')))
HBox(children=(FloatProgress(value=0.0, max=3250.0), HTML(value='')))
(0.7624765478424015, 0.7085900267348599, 0.734546330883239)
HBox(children=(FloatProgress(value=0.0, max=3453.0), HTML(value='')))
(0.6329741112349808, 0.629930966469428, 0.6314488724127278)
HBox(children=(FloatProgress(value=0.0, max=14041.0), HTML(value='')))
HBox(children=(FloatProgress(value=0.0, max=3250.0), HTML(value='')))
(0.7837289753071692, 0.7636870859002673, 0.7735782409042741)
HBox(children=(FloatProgress(value=0.0, max=3453.0), HTML(value='')))
(0.6449022346368715, 0.6830621301775148, 0.663433908045977)
HBox(children=(FloatProgress(value=0.0, max=14041.0), HTML(value='')))
HBox(children=(FloatProgress(value=0.0, max=3250.0), HTML(value='')))
(0.7943538861327664, 0.7817040567243985, 0.7879782061046341)
HBox(children=(FloatProgress(value=0.0, max=3453.0), HTML(value='')))
(0.6709526592635885, 0.7075936883629191, 0.6887862242755145)
HBox(children=(FloatProgress(value=0.0, max=14041.0), HTML(value='')))
HBox(children=(FloatProgress(value=0.0, max=3250.0), HTML(value='')))
(0.8190561682482688, 0.742415436475648, 0.7788549478690324)
HBox(children=(FloatProgress(value=0.0, max=3453.0), HTML(value='')))
(0.6873089700996677, 0.6375739644970414, 0.6615079618852722)
eval_model(validation_tokens_ids, validation_labels)
HBox(children=(FloatProgress(value=0.0, max=3250.0), HTML(value='')))
(0.8190561682482688, 0.742415436475648, 0.7788549478690324)
eval_model(test_tokens_ids, test_labels)
HBox(children=(FloatProgress(value=0.0, max=3453.0), HTML(value='')))
(0.6873089700996677, 0.6375739644970414, 0.6615079618852722)