Skip to content

Instantly share code, notes, and snippets.

View deepcode-debug's full-sized avatar
😈
procrastinating

Debanjan Chaudhuri (Deep) deepcode-debug

😈
procrastinating
  • University of Bonn
  • Düsseldorf, Germany
View GitHub Profile
[
{
"word": "die Abbildung, -en",
"sentence": "Hier in ___ Abbildung sehen Sie, wie man das Gerät einschaltet.",
"true": "der",
"options": [
"das",
"der",
"dem"
]
This file has been truncated, but you can view the full file.
[
{
"word": "ab",
"correct": "from, off",
"correct_ru": "от, выключен",
"correct_ar": "من ، قبالة",
"sentence": "Die Fahrt kostet ab Hamburg 200 Euro.",
"options": [
"from, off",
"participant",
[
{
"word": "giftig",
"correct": "poisonous(ly)",
"options": [
"to tolerate, stand s.t. (I can\u2018t stand it when",
"to move out, dispatch (Firefighters are",
"poisonous(ly)"
]
},
#!/usr/bin/python
import numpy as np
from sklearn import cross_validation
from sklearn import svm
import pandas as pd
import math as m
from sklearn import preprocessing
#!/bin/bash
#script for preprocessing html files using bash
####BETTER PERFORMANCE THAN PYTHON/R########
#Check for time
date
#loop through files
for file in `ls ./Train1/*.txt`
do
#Remove html tags