title | author |
---|---|
Directory of TEI in Non-European Languages |
The People |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python2.4 | |
from __future__ import division | |
"""Diff Match and Patch | |
Copyright 2006 Google Inc. | |
http://code.google.com/p/google-diff-match-patch/ | |
Licensed under the Apache License, Version 2.0 (the "License"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import diff | |
def diff_wordMode(text1, text2): | |
dmp = diff.diff_match_patch() | |
a = dmp.diff_linesToWords(text1, text2) | |
lineText1 = a[0] | |
lineText2 = a[1] | |
lineArray = a[2] | |
diffs = dmp.diff_main(lineText1, lineText2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
def diff_wordsToChars(text1, text2): | |
"""Split two texts into an array of words. Reduce the texts to a string | |
of hashes where each Unicode character represents one word. | |
Args: | |
text1: First string. | |
text2: Second string. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: Check language | |
In order to test the selected language is right | |
As a cosmopolitan developer | |
I want to make sure the right words are present in the header | |
Scenario: English pages | |
Given the language is set to English | |
When I visit the homepage | |
Then the header should have the words 'Prism is a tool' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Curatescape | A web and mobile app framework for curating the landscape | |
http://curatescape.org/ | |
Amara - Caption, translate, subtitle and transcribe video. | |
http://amara.org/en/ | |
Pop Up Archive | |
https://www.popuparchive.com/ | |
The Mulka Project |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
county,link,name,state | |
Indianapolis,http://www.hspa.com/,Hoosier State Press Association,Indiana | |
Anderson,http://www.heraldbulletin.com/,Anderson Herald Bulletin,Indiana | |
Muncie,http://www.dailynews.bsu.edu/,Ball State Daily News,Indiana | |
Greencastle,http://www.bannergraphic.com/,Banner-Graphic,Indiana | |
Bloomington,http://www.indepen.com/,Bloomington Independent,Indiana | |
Nashville,http://www.browncountyindiana.com/,Brown County Democrat,Indiana | |
Chesterton,http://chestertontribune.com/,Chesterton Tribune,Indiana | |
Connersville,http://www.connersvillein.com/news-examiner/,Connersville News-Examiner,Indiana | |
Corydon,http://www.corydondemocrat.com/,The Corydon Democrat,Indiana |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log([...new Set([...document.querySelectorAll('a')].filter(a=>a.href.match('pdf')).map(a=>a.href.replace(/\/[^\/]+\.pdf.*$/,'')))].join('\n')) | |
console.log([...new Set([...document.querySelectorAll('a')].filter(a=>a.href.match('155-publications')).map(a=>a.href.replace(/155\-publications.*$/,'155-publications')))].join('\n')) |