- Site = {} - Site.name = "spaCy.io" - Site.slogan = "Build Tomorrow's Language Technologies" - Site.description = "spaCy is a library for industrial-strength text processing in Python. If you're a small company doing NLP, we want spaCy to seem like a minor miracle." - Site.image = "http://spacy.io/resources/img/social.png" - Site.image_small = "http://spacy.io/resources/img/social_small.png" - Site.twitter = "spacy_io" - Site.url = "http://spacy.io" - - Authors = {"matt": {}, "spacy": {}}; - Authors.matt.name = "Matthew Honnibal" - Authors.matt.bio = "Matthew Honnibal is the author of the spaCy software and the sole founder of its parent company. He studied linguistics as an undergrad, and never thought he'd be a programmer. By 2009 he had a PhD in computer science, and in 2014 he left academia to found Syllogism Co. He's from Sydney and lives in Berlin." - Authors.matt.image = "/resources/img/matt.png" - Authors.matt.twitter = "honnibal" - - Authors.spacy.name = "SpaCy.io" - Authors.spacy.bio = "spaCy is a library for industrial-strength natural language processing in Python and Cython. It features state-of-the-art speed and accuracy, a concise API, and great documentation. If you're a small company doing NLP, we want spaCy to seem like a minor miracle." - Authors.spacy.image = "/resources/img/social_small.png" - Authors.spacy.twitter = "spacy_io" - function InitPage(Site, Author, type, headline) { - var Page = {}; - Page.headline = headline; - Page.type = type; - Page.active = {}; - Page.active[type] = true; - Page.links = []; - if (type == "home") { - Page.url = ""; - } else { - Page.url = "/" + type; - } - - // Set defaults - Page.description = Site.description; - Page.image = Site.image; - Page.image_small = Site.image_small; - - // Compute titles - if (type == "blog") { - Page.title = headline; - Page.title_full = Page.title + " | " + Site.name; - } else if (type == "home") { - Page.title = Site.name + ' | ' + headline; - Page.title_full = Page.title; - } else { - Page.title = headline + " | " + Site.name; - Page.title_full = headline + " | " + Site.name; - } - return Page; - } - function InitPost(Site, Author, Meta) { - var Page = InitPage(Site, Author, "blog", Meta.headline) - Page.headline = Meta.headline - Page.description = Meta.description - Page.date = Meta.date - Page.url = Meta.url - Page.active["blog"] = true - Page.links = Meta.links - if (Meta.image != null) { - Page.image = Meta.image - } else { - Page.image = Site.image - } - if (Meta.image_small != null) { - Page.image_small = Meta.image_small - } else { - Page.image_small = Site.image_small - } - return Page; - } mixin WritePage(Site, Author, Page) doctype html html(lang="en") head title= Page.title_full meta(charset="utf-8") meta(name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no") meta(name="description" content=Page.description) meta(itemporop="name" content=Page.title) meta(itemprop="description" content=Page.description) meta(itemprop="image" content=Page.image) meta(name="twitter:card" content="summary") meta(name="twitter:site" content=Site.twitter) meta(name="twitter:title" content=Page.title) meta(name="twitter:description" content=Page.description) meta(name="twitter:creator" content="@" + Author.twitter) meta(name="twitter:image" content=Page.image_small) meta(property="og:title" content=Page.title) meta(property="og:type" content="article") meta(property="og:url" content=Site.url + Page.url) meta(property="og:image" content=Page.image) meta(property="og:description" content=Page.description) meta(property="og:site_name" content=Site.name) meta(property="article:published_time" content=getDate(Page.date).timestamp) link(rel="stylesheet" href="/resources/css/style.css") //[if lt IE 9]>