NTK-Trainer-Demo / styles.py
Mentors4EDU's picture
Publish ntk-trainer-demo
d7fb26a verified
Raw History Blame Contribute Delete
15.3 kB
STYLES = {
"Dialogue": [
'"Are you coming tonight?" she asked. "I wouldn\'t miss it," he said.',
'"Where did you put the keys?" "On the hook, where they always are."',
'"You look tired." "I was up until three finishing the report."',
'"Is this seat taken?" "No, go ahead."',
'"Did you hear that?" he whispered. "It came from the attic."',
'"How much is the blue one?" "Twenty, but I can do fifteen for you."',
'"We should leave now." "Five more minutes," she said, not looking up.',
'"What did the doctor say?" "Rest. Nothing serious."',
'"You never told me you could sing." "You never asked."',
'"Turn left here." "Are you sure?" "Just trust me."',
'"I thought you were in Boston." "Flight got cancelled."',
'"Pass the salt?" "It\'s right in front of you."',
'"Who was that on the phone?" "Wrong number."',
'"Can you keep a secret?" "Depends on the secret."',
'"It\'s snowing again." "Of course it is."',
'"Why are you smiling?" "No reason."',
'"Do you want the window or the aisle?" "Window, please."',
'"Have you seen my glasses?" "They\'re on your head."',
'"We need to talk." "Those are never good words."',
'"How was the interview?" "Honestly? I have no idea."',
'"Is it supposed to make that noise?" "No. No, it is not."',
'"Coffee?" "Please. Black."',
'"Did you lock the door?" "I think so." "You think so?"',
'"What time is it?" "Late. Go to sleep."',
'"Are you angry with me?" "I\'m not angry. I\'m disappointed."',
'"Which way to the station?" "Two blocks down, then right."',
'"You forgot my birthday." "I did not forget. I was late."',
'"Can I borrow your pen?" "Keep it. I have a dozen."',
'"Did it hurt?" "Only when I laugh."',
'"Say that again?" "I said yes."',
'"How long have you lived here?" "Longer than I meant to."',
'"Are we lost?" "We are taking the scenic route."',
'"Who ate the last slice?" Silence. "Fine. Nobody, then."',
'"Is the water cold?" "Jump in and find out."',
'"I can\'t find my ticket." "Check your other pocket."',
'"Will you be there?" "Wouldn\'t miss it for the world."',
'"That was fast." "I ran."',
'"Do you believe him?" "I want to."',
'"What\'s the password?" "I\'ll give you three guesses."',
'"Goodnight." "Goodnight. Don\'t let the bedbugs bite."',
],
"Legal and formal": [
"The party of the first part shall indemnify the party of the second part against all claims arising hereunder.",
"Notwithstanding the foregoing, this agreement shall remain in full force and effect until terminated in writing.",
"The licensee shall not assign, sublicense or otherwise transfer any rights granted herein without prior written consent.",
"Any dispute arising out of or in connection with this contract shall be submitted to binding arbitration.",
"The lessee covenants to maintain the premises in good repair, reasonable wear and tear excepted.",
"This instrument constitutes the entire agreement between the parties and supersedes all prior negotiations.",
"Failure to enforce any provision hereof shall not be construed as a waiver of such provision.",
"The undersigned hereby acknowledges receipt of the goods described in Schedule A.",
"Each party shall bear its own costs and expenses incurred in connection with this transaction.",
"The warranties set forth herein are in lieu of all other warranties, express or implied.",
"Time is of the essence with respect to all obligations of the vendor under this agreement.",
"The seller represents and warrants that it has good and marketable title to the property.",
"Nothing in this clause shall limit liability for death or personal injury caused by negligence.",
"The obligations of confidentiality shall survive the termination or expiry of this agreement.",
"The purchaser shall remit payment within thirty days of the date of invoice.",
"All notices required hereunder shall be in writing and delivered to the addresses set forth above.",
"This agreement shall be governed by and construed in accordance with the laws of the jurisdiction.",
"The parties agree that the terms hereof are reasonable and necessary to protect legitimate interests.",
"Severability: if any provision is held invalid, the remaining provisions shall continue in effect.",
"The employee shall devote their full working time and attention to the business of the company.",
"The guarantor unconditionally guarantees the prompt payment of all sums due under the facility.",
"The tenant shall be entitled to quiet enjoyment of the premises during the term of the lease.",
"The contractor shall procure and maintain insurance in the amounts specified in Appendix B.",
"Force majeure: neither party shall be liable for delay caused by events beyond its reasonable control.",
"The borrower shall furnish audited financial statements within ninety days of each fiscal year end.",
"Any amendment to this agreement must be in writing and executed by authorised representatives of both parties.",
"The trustee shall hold the assets upon trust for the beneficiaries in the proportions specified.",
"The applicant declares that the information provided herein is true and correct to the best of their knowledge.",
"The grantor conveys and warrants to the grantee the real property described in Exhibit A.",
"Interest shall accrue on overdue amounts at the rate of two percent above the base rate.",
"The company reserves the right to amend these terms upon thirty days' notice to the customer.",
"The arbitrator's award shall be final and binding and may be entered in any court of competent jurisdiction.",
"The supplier shall deliver the goods to the designated location in accordance with the delivery schedule.",
"The parties acknowledge that they have read and understood the terms and conditions set forth herein.",
"The licensor retains all right, title and interest in and to the licensed materials.",
"The indemnity provided herein shall not apply to losses arising from the indemnified party's gross negligence.",
"The director shall disclose any conflict of interest to the board prior to deliberation on the matter.",
"The policyholder shall notify the insurer of any claim within fourteen days of the occurrence.",
"The mortgagor shall keep the mortgaged property insured against loss by fire and other hazards.",
"This deed is executed as a deed and delivered on the date first written above.",
],
"Headline terse": [
"Markets fall as rates rise. Investors cautious.",
"Storm hits coast. Thousands without power.",
"City council approves budget. Vote 7-2.",
"New bridge opens Monday. Tolls begin June.",
"Local team wins title. First in 40 years.",
"Factory to close. 300 jobs lost.",
"Drought continues. Water limits tightened.",
"Election called for May. Campaign begins.",
"Museum reopens after repairs. Entry free this week.",
"Flights grounded. Fog blankets airport.",
"Scientists find new species. Deep-sea fish.",
"Rail strike ends. Services resume Tuesday.",
"Prices up 3 percent. Food leads rise.",
"Mayor resigns. Deputy steps in.",
"School wins science prize. Second year running.",
"Highway reopens. Landslide cleared.",
"Bank cuts fees. Rivals expected to follow.",
"Fire contained. No injuries reported.",
"Library extends hours. Open until nine.",
"Satellite launched. Weather data by spring.",
"Hospital adds wing. 80 new beds.",
"Festival cancelled. Weather blamed.",
"Record heat recorded. 41 degrees.",
"Port expansion approved. Work starts 2027.",
"Vaccine rollout begins. Over-65s first.",
"Bridge closed for inspection. Detours in place.",
"Startup raises funding. Hiring 50.",
"River crests. Flood warning lifted.",
"Power restored. Outage lasted six hours.",
"Old mill to become flats. Plans submitted.",
"Unemployment falls. Lowest since 2019.",
"Zoo welcomes cub. Public viewing Saturday.",
"Road works delayed. New date pending.",
"Author wins award. Third novel honoured.",
"Ferry service suspended. High winds.",
"Theatre saved. Donors step in.",
"Air quality poor. Residents advised indoors.",
"Stadium sold out. Extra trains added.",
"Water main burst. Street closed.",
"Minister visits region. Funding announced.",
],
"Scientific abstract": [
"We report a 12 percent increase in catalytic efficiency following substitution of the active-site residue.",
"Samples were collected at monthly intervals and analysed by high-performance liquid chromatography.",
"The results suggest that the observed correlation is mediated by variation in soil moisture.",
"A randomised controlled trial was conducted with 240 participants across four sites.",
"Statistical significance was assessed using a two-tailed t-test with alpha set at 0.05.",
"Our model predicts the measured spectra to within experimental uncertainty across the full range.",
"These findings are consistent with prior work indicating a role for the enzyme in lipid metabolism.",
"The specimens were fixed in formaldehyde and sectioned at a thickness of five micrometres.",
"We observe a phase transition at 212 kelvin, accompanied by a discontinuity in heat capacity.",
"Further work is required to establish whether the effect generalises to other cell lines.",
"The dataset comprises 1,840 observations spanning a period of eleven years.",
"Participants who received the intervention showed a mean reduction of 4.2 points on the scale.",
"Sequencing was performed on an Illumina platform with a mean read depth of 30x.",
"The proposed mechanism accounts for the observed isotope effect and the pH dependence.",
"Limitations of the study include the modest sample size and the absence of a placebo arm.",
"Thermal conductivity was measured using the laser flash method at temperatures from 300 to 900 kelvin.",
"The protein was purified to homogeneity as judged by SDS-PAGE and mass spectrometry.",
"We find no evidence of publication bias on inspection of the funnel plot.",
"The simulation reproduces the experimentally observed oscillation period to within three percent.",
"Tissue samples were obtained with informed consent under an approved institutional protocol.",
"The intervention was associated with a hazard ratio of 0.71 for the primary endpoint.",
"Crystals suitable for X-ray diffraction were obtained by vapour diffusion at four degrees Celsius.",
"Our analysis controls for age, sex and baseline severity as potential confounders.",
"The emission spectrum exhibits a prominent peak at 589 nanometres attributable to sodium.",
"These data support a dose-dependent relationship between exposure and outcome.",
"Field measurements were taken at 24 stations distributed along the transect.",
"The alloy exhibits a yield strength of 850 megapascals and an elongation at break of eleven percent.",
"A sensitivity analysis confirmed that the conclusions are robust to the choice of prior.",
"The compound showed inhibitory activity with an IC50 of 2.3 micromolar.",
"Reaction kinetics were monitored by UV-visible spectroscopy at 340 nanometres.",
"The genomic region was found to be under strong purifying selection across all sampled taxa.",
"Measurements were repeated in triplicate and are reported as mean plus or minus standard deviation.",
"The results demonstrate that the method achieves sub-millimetre accuracy under laboratory conditions.",
"No adverse events attributable to the treatment were recorded during the follow-up period.",
"We propose that the anomalous dispersion arises from coupling between the two modes.",
"The catalyst retained 94 percent of its initial activity after ten reaction cycles.",
"A total of 312 articles were screened, of which 28 met the inclusion criteria.",
"The observed shift in band gap is attributed to quantum confinement in the nanocrystals.",
"Groundwater samples showed nitrate concentrations exceeding the regulatory limit at six of twelve sites.",
"The findings have implications for the design of more efficient thermoelectric materials.",
],
}
HELD_OUT = {
"Dialogue": [
'"Did you finish the book?" "Last night. Couldn\'t put it down."',
'"Is the shop still open?" "Until eight, I think."',
'"You\'re early." "Traffic was light for once."',
'"What are you looking for?" "My other glove."',
'"Shall we walk?" "It\'s raining." "So?"',
],
"Legal and formal": [
"The vendor shall deliver vacant possession of the property on the completion date.",
"The licensee acknowledges that the software is provided on an as-is basis without warranty.",
"This clause shall be binding upon the successors and permitted assigns of the parties.",
"The lender may declare all outstanding amounts immediately due upon an event of default.",
"Any waiver must be express and in writing to be effective against the waiving party.",
],
"Headline terse": [
"Train derails. No casualties.",
"Budget passes. Taxes unchanged.",
"Snow closes schools. Second day.",
"Clinic opens downtown. Walk-ins welcome.",
"Dam inspected. Declared safe.",
],
"Scientific abstract": [
"The treated group exhibited a 23 percent reduction in biomarker concentration relative to controls.",
"Measurements were obtained using a calibrated spectrometer at a resolution of 0.1 nanometres.",
"The results indicate a strong positive association between the two variables after adjustment.",
"Cells were cultured at 37 degrees Celsius in a humidified atmosphere containing five percent CO2.",
"These observations are consistent with a diffusion-limited reaction mechanism.",
],
}
NEUTRAL = [
"The river flows south through the valley before reaching the sea.",
"She opened the window and looked out at the garden.",
"The committee will meet again next month to review the proposal.",
"Bread is made from flour, water, yeast and salt.",
"The train to the coast leaves every hour from platform four.",
]