For getting AMR representations into DAG data structures in python, we'll use the isi-nlp/bolinas
repo.
- Download the AMR corpus for the Little Prince with metadata from https://amr.isi.edu/download/amr-bank-struct-v1.6.txt
% Adapted from https://github.com/acl-org/ACLPUB/blob/master/templates/proceedings/cd.tex.head | |
% and https://github.com/acl-org/ACLPUB/blob/master/templates/proceedings/citation-stamp.tex | |
\documentclass[11pt,oneside]{book} | |
\usepackage[utf8]{inputenc} | |
\usepackage[T1]{fontenc} % fonts to encode unicode | |
\usepackage{times} | |
\usepackage{pdfpages} % can also use [draft] option | |
\usepackage{hyperref} % hyperlinked table of contents, etc. |
# This is based on https://github.com/publichealthengland/coronavirus-dashboard-api-python-sdk/issues/3 | |
library("reticulate") | |
pybuiltins <- import_builtins() | |
cov19 <- import("uk_covid19") | |
api <- cov19$Cov19API(filters=list('areaType=ltla'), | |
structure = list("areaType"= "areaType", | |
"areaName"= "areaName", | |
"areaCode"= "areaCode", | |
"specimenDate"= "date", |
% COLING specific | |
% \documentclass[11pt]{article} | |
% \usepackage{coling2020} | |
% \usepackage{url} | |
% \colingfinalcopy % Uncomment this line for the final submission | |
% EMNLP specific |
#!/usr/bin/env bash | |
# Assumes PDF and tex filepath differ only in the extension | |
# | |
# Usage: | |
# thesis_progress.sh [FILENAME [TARGET_PAGECOUNT]] | |
# | |
# FILENAME is your thesis PDF (def: thesis.pdf) | |
# TARGET_PAGECOUNT is the number of pages you want to write (def: 180) | |
# |
For getting AMR representations into DAG data structures in python, we'll use the isi-nlp/bolinas
repo.
Dear Senator Rubio,
Thank you for serving our State in your capacity as one of our Senators.
I am sorry to say that today I am contacting you because I am appalled by the behavior of our Republican party with respect to the AHCA. The lack of transparency and oversight is completely unbecoming of one of our major parties, and it is completely unacceptable in a democracy where the outcomes of this bill will affect so many lives.
Therefore, I demand that you and your colleagues immediately release the details of the Senate's alterations to the AHCA and that there be public hearings wherein we can assess the impact of this bill.
The ACA is not perfect, but it needs to be reformed NOT repealed. We need to ensure that there is a genuinely affordable option. ($5k per annum deductibles are not acceptable for anyone earning less than 30k a year.) We need to ensure that the states cannot individually undo the protections provided by the ACA that ensure a basic level of access to preventative care as well as catas
#!/usr/bin/python | |
def nextbus(where = 'guess', nbus = 5, walking_time = 3): | |
""" | |
tells you when the next bus is from home or to uni | |
where: 'h'/'u'/'guess': home, uni, or try to guess based on wifi connection name | |
walking_time: don't show buses less than n mins from now | |
nbus: show next n buses |