Skip to content

Instantly share code, notes, and snippets.

View JungeAlexander's full-sized avatar

Alexander Junge JungeAlexander

View GitHub Profile
@JungeAlexander
JungeAlexander / 20201025-ner-vis-displacy.ipynb
Last active October 25, 2020 09:12
Simple NER visualization using displaCy
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@JungeAlexander
JungeAlexander / import-package-from parent.py
Created November 27, 2014 17:22
Import modules from parent folder in Python
# From http://stackoverflow.com/a/11158224
# Solution A - If the script importing the module is in a package
from .. import mymodule
# Solution B - If the script importing the module is not in a package
import os,sys,inspect
current_dir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
parent_dir = os.path.dirname(current_dir)
sys.path.insert(0, parent_dir)
@JungeAlexander
JungeAlexander / secondary-structure.pdf
Last active August 29, 2015 14:02
Secondary structure of a toy ncRNA sequence. A small example for vector graphics programming in LaTeX using the tikz package.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@JungeAlexander
JungeAlexander / multiple-alignment.pdf
Last active August 29, 2015 14:02
Sequence-structure alignment of a toy data set consisting of four homologous ncRNA sequences and their joint secondary structure. A small example for vector graphics programming in LaTeX using the tikz package.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.