Skip to content

Instantly share code, notes, and snippets.

evgenybf

Block or report user

Report or block evgenybf

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@evgenybf
evgenybf / spacy_pos_example.py
Created Jun 5, 2018
A trivial example of part of speech recognition with spacy module
View spacy_pos_example.py
# pip install spacy
# python -m spacy download en_core_web_sm
import spacy
# Load English tokenizer, tagger, parser, NER and word vectors
nlp = spacy.load('en_core_web_sm')
# Process whole documents
text = ("I saw hem. He is a saw.")
View merge_tatoeba_csv.py
import collections
import csv
import itertools
# http://www.manythings.org/anki/
# Russian - English rus-eng.zip (304513)
INPUT_FILE_1 = "rus.txt"
# Spanish - English spa-eng.zip (118964)
View extracttrs.py
"""
Extracts word transcriptions from En-En_Oxford Advanced Learners Dictionary.dsl
These words have invalid definitions:
shit, to
"""
import re
@evgenybf
evgenybf / picgrabber.go
Created Dec 7, 2015
Grab all pictures from a folder on quizlet.com
View picgrabber.go
package main
import (
"bufio"
"io"
"io/ioutil"
"log"
"net/http"
"net/http/cookiejar"
"net/url"
View libxlsxwriter test results on Windows
make[1]: Entering directory '/c/Develop/Go/projects2/libxlsxwriter/third_party/minizip'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/c/Develop/Go/projects2/libxlsxwriter/third_party/minizip'
make[1]: Entering directory '/c/Develop/Go/projects2/libxlsxwriter/src'
cp libxlsxwriter.a libxlsxwriter.dll ../lib
make[1]: Leaving directory '/c/Develop/Go/projects2/libxlsxwriter/src'
make[1]: Entering directory '/c/Develop/Go/projects2/libxlsxwriter/test/functional/src'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/c/Develop/Go/projects2/libxlsxwriter/test/functional/src'
C:/Develop/Python/Python27/Scripts/py.test test/functional -v
View utf8inside.go
// По русски
package main
import (
"fmt"
)
func main() {
fmt.Println("Hello, world!")
}
View sublime log
DPI scale: 1
startup, version: 3083 windows x64 channel: stable
executable: /C/Apps/sublime3/sublime_text.exe
working dir: /C/Develop/Go/gopath/src/sql2cvs
packages path: /C/Apps/sublime3/Data/Packages
state path: /C/Apps/sublime3/Data/Local
zip path: /C/Apps/sublime3/Packages
zip path: /C/Apps/sublime3/Data/Installed Packages
ignored_packages: ["Vintage"]
Unable to parse binding {button: button1, command: gotools_goto_def, count: 1, modifiers: [ctrl]}
You can’t perform that action at this time.