Skip to content

Instantly share code, notes, and snippets.

View ScarletMcLearn's full-sized avatar
💭
Party time.

Scarlet McLearn ScarletMcLearn

💭
Party time.
View GitHub Profile
@ScarletMcLearn
ScarletMcLearn / spacy_intro.ipynb
Created September 7, 2018 14:36 — forked from aparrish/spacy_intro.ipynb
NLP Concepts with spaCy. Code examples released under CC0 https://creativecommons.org/choose/zero/, other text released under CC BY 4.0 https://creativecommons.org/licenses/by/4.0/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import asyncio
loop = asyncio.get_event_loop()
async def hello():
await asyncio.sleep(3)
print('Hello!')
if __name__ == '__main__':
loop.run_until_complete(hello())
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ScarletMcLearn
ScarletMcLearn / piglatin.py
Created June 11, 2017 18:49 — forked from sholok404/piglatin.py
An english to pig latin translator made without the use of machine learning.
"""
An english to pig latin translator made without the use of machine learning.
"""
s = input('Enter a string to translate to Pig Latin: ')
end = ''
vowels = ['a', 'e', 'i', 'o', 'u']
n = 0
for i in range(len(s)):