commited all contents created by participants
This commit is contained in:
BIN
Binary file not shown.
|
After Width: | Height: | Size: 1.3 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
@@ -0,0 +1,15 @@
|
||||
---
|
||||
Author: Quentin Juhel
|
||||
Title: Poemecanic
|
||||
Src: sources/text10.txt,sources/text8.txt
|
||||
---
|
||||
|
||||
J'ai souhaité me saisir d'un tutoriel expliquant l'utilisation d'une perceuse afin de le transformer en un poème en prose. Ce qui m'intéresse c'est de faire une psie se composant de mot d'écrivant une action.
|
||||
|
||||
!images/capture_site.jpg!
|
||||
|
||||
Pour créer ce poème j'ai chercher les trois mots qui précédent le terme en anglais "D/drill" (signifie perceuse) mais aussi le verbe "D/drilling" (signifie percé) à l'aide d'une expression régulière.
|
||||
|
||||
!images/captureecranregex.jpg!
|
||||
|
||||
Le but de cette expression régulière est de sélectionner les trois mots avant le nom ou le verbe objet du tutorielle, des les afficher comme seul texte afin de générer un poème composé de d'action, de mise en garde et de résultats décontextualisant le sujet du texte originale.
|
||||
@@ -0,0 +1,72 @@
|
||||
---
|
||||
Author: Quentin Juhel
|
||||
Title: Poemecanic
|
||||
Src: sources/text10.txt,sources/text8.txt
|
||||
---
|
||||
|
||||
J'ai souhaité me saisir d'un tutoriel expliquant l'utilisation d'une perceuse afin de le transformer en un poème en prose. Ce qui m'intéresse c'est de faire une psie se composant de mot d'écrivant une action.
|
||||
Pour créer ce poème j'ai chercher les trois mots qui précédent le terme en anglais "D/drill" (signifie perceuse) mais aussi le verbe "D/drilling" (signifie percé) à l'aide d'une expression régulière.
|
||||
Le but de cette expression régulière est de sélectionner les trois mots avant le nom ou le verbe objet du tutorielle, des les afficher comme seul texte afin de générer un poème composé de d'action, de mise en garde et de résultats décontextualisant le sujet du texte originale.
|
||||
|
||||
|
||||
place to look
|
||||
|
||||
|
||||
|
||||
|
||||
them from flying
|
||||
|
||||
|
||||
protection is not
|
||||
|
||||
recommended whenever using
|
||||
|
||||
|
||||
a known respiratory
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
which bit to
|
||||
|
||||
visible on both
|
||||
|
||||
|
||||
turn on the
|
||||
|
||||
tip can be
|
||||
break during drilling
|
||||
|
||||
|
||||
|
||||
slip and injure
|
||||
|
||||
|
||||
a cordless drill
|
||||
|
||||
cord into a
|
||||
|
||||
|
||||
|
||||
|
||||
wood or other
|
||||
|
||||
create a small
|
||||
|
||||
|
||||
using the wrong
|
||||
|
||||
|
||||
deep could damage
|
||||
|
||||
|
||||
|
||||
|
||||
seconds to cool
|
||||
|
||||
can reach the
|
||||
down before touching
|
||||
|
||||
|
||||
bit using manual
|
||||
@@ -0,0 +1,72 @@
|
||||
---
|
||||
Author: Quentin Juhel
|
||||
Title: Poemecanic
|
||||
Src: sources/text10.txt,sources/text8.txt
|
||||
---
|
||||
|
||||
Tutoriel expliquant l'utilisation d'une perceuse transformé en un poème en prose. Ce qui m'intéresse c'est de faire une psie se composant de mot d'écrivant une action.
|
||||
Pour créer ce poème j'ai chercher les trois mots qui précédent le terme en anglais "D/drill" (signifie perceuse) mais aussi le verbe "D/drilling" (signifie percé) à l'aide d'une expression régulière.
|
||||
Le but de cette expression régulière est de sélectionner les trois mots avant le nom ou le verbe objet du tutorielle, des les afficher comme seul texte afin de générer un poème composé de d'action, de mise en garde et de résultats décontextualisant le sujet du texte originale.
|
||||
|
||||
|
||||
place to look
|
||||
|
||||
|
||||
|
||||
|
||||
them from flying
|
||||
|
||||
|
||||
protection is not
|
||||
|
||||
recommended whenever using
|
||||
|
||||
|
||||
a known respiratory
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
which bit to
|
||||
|
||||
visible on both
|
||||
|
||||
|
||||
turn on the
|
||||
|
||||
tip can be
|
||||
break during drilling
|
||||
|
||||
|
||||
|
||||
slip and injure
|
||||
|
||||
|
||||
a cordless drill
|
||||
|
||||
cord into a
|
||||
|
||||
|
||||
|
||||
|
||||
wood or other
|
||||
|
||||
create a small
|
||||
|
||||
|
||||
using the wrong
|
||||
|
||||
|
||||
deep could damage
|
||||
|
||||
|
||||
|
||||
|
||||
seconds to cool
|
||||
|
||||
can reach the
|
||||
down before touching
|
||||
|
||||
|
||||
bit using manual
|
||||
@@ -0,0 +1,70 @@
|
||||
---
|
||||
Author: Quentin Juhel
|
||||
Title: Poemecanic
|
||||
Src: sources/text10.txt,sources/text8.txt
|
||||
---
|
||||
|
||||
Tutoriel expliquant l'utilisation d'une perceuse transformé en un poème en prose. Ce qui m'intéresse c'est de faire une psie se composant de mot d'écrivant une action. Pour créer ce poème j'ai chercher les trois mots qui précédent le terme en anglais "D/drill" (signifie perceuse) mais aussi le verbe "D/drilling" (signifie percé) à l'aide d'une expression régulière. Le but de cette expression régulière est de sélectionner les trois mots avant le nom ou le verbe objet du tutorielle, des les afficher comme seul texte afin de générer un poème composé de d'action, de mise en garde et de résultats décontextualisant le sujet du texte originale.
|
||||
|
||||
|
||||
place to look
|
||||
|
||||
|
||||
|
||||
|
||||
them from flying
|
||||
|
||||
|
||||
protection is not
|
||||
|
||||
recommended whenever using
|
||||
|
||||
|
||||
a known respiratory
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
which bit to
|
||||
|
||||
visible on both
|
||||
|
||||
|
||||
turn on the
|
||||
|
||||
tip can be
|
||||
break during drilling
|
||||
|
||||
|
||||
|
||||
slip and injure
|
||||
|
||||
|
||||
a cordless drill
|
||||
|
||||
cord into a
|
||||
|
||||
|
||||
|
||||
|
||||
wood or other
|
||||
|
||||
create a small
|
||||
|
||||
|
||||
using the wrong
|
||||
|
||||
|
||||
deep could damage
|
||||
|
||||
|
||||
|
||||
|
||||
seconds to cool
|
||||
|
||||
can reach the
|
||||
down before touching
|
||||
|
||||
|
||||
bit using manual
|
||||
@@ -0,0 +1,137 @@
|
||||
---
|
||||
Author: Quentin Juhel
|
||||
Title: Poemecanic
|
||||
Src: sources/text10.txt,sources/text8.txt
|
||||
---
|
||||
|
||||
_Tutoriel expliquant l'utilisation d'une perceuse transformé en un poème en prose. Ce qui m'intéresse c'est de faire une psie se composant de mot d'écrivant une action. Pour créer ce poème j'ai chercher les trois mots qui précédent le terme en anglais "D/drill" (signifie perceuse) mais aussi le verbe "D/drilling" (signifie percé) à l'aide d'une expression régulière. Le but de cette expression régulière est de sélectionner les trois mots avant le nom ou le verbe objet du tutorielle, des les afficher comme seul texte afin de générer un poème composé de d'action, de mise en garde et de résultats décontextualisant le sujet du texte originale._
|
||||
|
||||
|
||||
place to look
|
||||
|
||||
|
||||
|
||||
|
||||
them from flying
|
||||
|
||||
|
||||
protection is not
|
||||
|
||||
recommended whenever using
|
||||
|
||||
|
||||
a known respiratory
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
which bit to
|
||||
|
||||
visible on both
|
||||
|
||||
|
||||
turn on the
|
||||
|
||||
tip can be
|
||||
break during drilling
|
||||
|
||||
|
||||
|
||||
slip and injure
|
||||
|
||||
|
||||
a cordless drill
|
||||
|
||||
cord into a
|
||||
|
||||
|
||||
|
||||
|
||||
wood or other
|
||||
|
||||
create a small
|
||||
|
||||
|
||||
using the wrong
|
||||
|
||||
|
||||
deep could damage
|
||||
|
||||
|
||||
|
||||
|
||||
seconds to cool
|
||||
|
||||
can reach the
|
||||
down before touching
|
||||
|
||||
|
||||
bit using manual
|
||||
|
||||
|
||||
POEMECANIC 2
|
||||
|
||||
How to Use
|
||||
|
||||
Drills are one
|
||||
|
||||
|
||||
|
||||
|
||||
Wear safe clothing
|
||||
|
||||
|
||||
Wear ear protection
|
||||
|
||||
are the
|
||||
|
||||
|
||||
Protect your lungs
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Choose the correct
|
||||
|
||||
|
||||
|
||||
|
||||
Fit the drill
|
||||
|
||||
Each chuck has
|
||||
Run the drill
|
||||
|
||||
|
||||
Clamp small pieces
|
||||
|
||||
|
||||
Handle the cord
|
||||
|
||||
If you need
|
||||
|
||||
|
||||
|
||||
|
||||
Drill a pilot
|
||||
|
||||
Very brittle materials
|
||||
|
||||
|
||||
Drill with steady
|
||||
|
||||
|
||||
Each drill
|
||||
|
||||
Some models mark
|
||||
|
||||
|
||||
Avoid overheating the
|
||||
|
||||
give the
|
||||
|
||||
|
||||
|
||||
Do not force
|
||||
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
h1. POEMECANIC
|
||||
|
||||
h2. Quentin Juhel
|
||||
|
||||
à partir d'ici vous pouvez écrire le texte de description de votre projet
|
||||
|
||||
Pour insérer des images, comme des shoot écrans de votre travail, commencez par les déposer dans le dossier images de votre dossier perso
|
||||
puis ajouter cette ligne:
|
||||
|
||||
bc. !images/nomdemonimage.jpeg!
|
||||
|
||||
Toutes les images seront insérez automatiquement a la fin de votre description dans la documentation finale, sauf celle ajouté manuellement dans le texte.
|
||||
@@ -0,0 +1,12 @@
|
||||
h1. POEMECANIC
|
||||
|
||||
h2. Quentin Juhel
|
||||
|
||||
à partir d'ici vous pouvez écrire le texte de description de votre projet
|
||||
|
||||
Pour insérer des images, comme des shoot écrans de votre travail, commencez par les déposer dans le dossier images de votre dossier perso
|
||||
puis ajouter cette ligne:
|
||||
|
||||
bc. !images/nomdemonimage.jpeg!
|
||||
|
||||
Toutes les images seront insérez automatiquement a la fin de votre description dans la documentation finale, sauf celle ajouté manuellement dans le texte.
|
||||
@@ -0,0 +1,14 @@
|
||||
h1. POEMECANIC
|
||||
|
||||
h2. Quentin Juhel
|
||||
|
||||
J'ai souhaiter me saisir d'un tutoriel pour utiliser une perceuse afin de le transformé en un poème en prose. Ce qui m'intéresse c'est de faire une poésie se composant de mot d'écrivant une action.
|
||||
|
||||
!images/capture_site.jpg!
|
||||
|
||||
Pour créer ce poème j'ai chercher les trois mots qui précédent le terme en anglais "D/drill" (signifie perceuse) mais aussi le verbe "D/drilling" (signifie percé) à l'aide d'une expression régulière.
|
||||
|
||||
|
||||
bc. !images/capture-ecran-regex.jpeg!
|
||||
|
||||
Toutes les images seront insérez automatiquement a la fin de votre description dans la documentation finale, sauf celle ajouté manuellement dans le texte.
|
||||
@@ -0,0 +1,14 @@
|
||||
h1. POEMECANIC
|
||||
|
||||
h2. Quentin Juhel
|
||||
|
||||
J'ai souhaiter me saisir d'un tutoriel pour utiliser une perceuse afin de le transformé en un poème en prose. Ce qui m'intéresse c'est de faire une poésie se composant de mot d'écrivant une action.
|
||||
|
||||
!images/capture_site.jpg!
|
||||
|
||||
Pour créer ce poème j'ai chercher les trois mots qui précédent le terme en anglais "D/drill" (signifie perceuse) mais aussi le verbe "D/drilling" (signifie percé) à l'aide d'une expression régulière.
|
||||
|
||||
|
||||
!images/capture-ecran-regex.jpeg!
|
||||
|
||||
Toutes les images seront insérez automatiquement a la fin de votre description dans la documentation finale, sauf celle ajouté manuellement dans le texte.
|
||||
@@ -0,0 +1,14 @@
|
||||
h1. POEMECANIC
|
||||
|
||||
h2. Quentin Juhel
|
||||
|
||||
J'ai souhaiter me saisir d'un tutoriel pour utiliser une perceuse afin de le transformé en un poème en prose. Ce qui m'intéresse c'est de faire une poésie se composant de mot d'écrivant une action.
|
||||
|
||||
!images/capture_site.jpg!
|
||||
|
||||
Pour créer ce poème j'ai chercher les trois mots qui précédent le terme en anglais "D/drill" (signifie perceuse) mais aussi le verbe "D/drilling" (signifie percé) à l'aide d'une expression régulière.
|
||||
|
||||
|
||||
!images/captureecranregex.jpg!
|
||||
|
||||
Toutes les images seront insérez automatiquement a la fin de votre description dans la documentation finale, sauf celle ajouté manuellement dans le texte.
|
||||
@@ -0,0 +1,15 @@
|
||||
h1. POEMECANIC
|
||||
|
||||
h2. Quentin Juhel
|
||||
|
||||
J'ai souhaiter me saisir d'un tutoriel pour utiliser une perceuse afin de le transformé en un poème en prose. Ce qui m'intéresse c'est de faire une psie se composant de mot d'écrivant une action.
|
||||
|
||||
!images/capture_site.jpg!
|
||||
|
||||
Pour créer ce poème j'ai chercher les trois mots qui précédent le terme en anglais "D/drill" (signifie perceuse) mais aussi le verbe "D/drilling" (signifie percé) à l'aide d'une expression régulière.
|
||||
|
||||
!images/captureecranregex.jpg!
|
||||
|
||||
Le but de cette expression régulière est de sélectionner les trois mots avant le nom ou le verbe objet du tutorielle, des les afficher comme seul texte afin de générer un poème composé de d'action, de mise en garde et de résultats décontextualisant le sujet du texte originale.
|
||||
|
||||
|
||||
@@ -0,0 +1,62 @@
|
||||
How to Use a Drill Safely
|
||||
|
||||
Drills are one of the most convenient tools for DIY projects, but like all power tools, they need to be handled safely. Knowing how to drill correctly will help you prevent injury from flying shards of broken material or improperly handled electricity. If you ever have a safety question that this guide does not answer, your drill's manual is a good place to look next.
|
||||
|
||||
Preparing to Drill
|
||||
|
||||
1
|
||||
Wear safe clothing and eye protection. Avoid baggy clothing or dangling jewelry that could catch in the drill as you lean over it. Wear safety goggles or glasses that cover the sides of your eyes, to protect them from flying debris.
|
||||
|
||||
2
|
||||
Wear ear protection if drilling regularly. A handheld electric drill produces about 90 decibels, which is just enough to cause hearing damage after prolonged exposure. Most cordless drills are quiet enough that hearing protection is not necessary.
|
||||
|
||||
Impact drills (hammer drills) are the loudest handheld drills, producing over 100 dB. Hearing protection is recommended whenever using them.
|
||||
|
||||
3
|
||||
Protect your lungs when necessary. If the project kicks up a lot of dust, wear breathing protection. A dust mask is only good for short-term comfort. Use a respirator if you drill regularly or for long periods of time, or if the material you are drilling is a known respiratory hazard.
|
||||
|
||||
Each respirator is rated for certain types of hazards. Make sure the one you use is suited to your project.
|
||||
|
||||
|
||||
4
|
||||
Choose the correct drill bit. Using a bit made from the wrong material can cause the bit or the material you're drilling to break. You can use a general-purpose bit on most wood; a masonry bit for stone, brick or concrete; an HSS (high speed steel) bit on most metals; and a carbide or diamond-tipped bit on very hard, brittle surfaces such as porcelain, glass, or glazed tiles.[3] There are many specialized bit designs, so consult the drill manual or bit manufacturer if you're not sure which bit to use.
|
||||
|
||||
When drilling a hole for a screw, there's an easy way to find the right size bit. Hold the screw up directly behind the bit. The bit should hide the shaft of the screw from view, but the screw threads should still be visible on both sides.
|
||||
|
||||
5
|
||||
Fit the drill bit firmly into the chuck. The chuck is the clamp in the "jaws" of the drill. This holds the drill bit in place as it spins. To replace a drill bit, make sure the drill is off (and unplugged if corded), then loosen the chuck by rotating it. Depending on the drill, you may be able to do this by hand, or you may need a chuck key located in a compartment in the top or handle of the drill.[5] Insert the drill bit into the chuck, then tighten again. Make sure the bit is straight and secure, and remove the key before you turn on the drill.
|
||||
|
||||
Each chuck has a maximum size. Most drills made for home use in the United States have a chuck of size 1/4", 3/8", or 1/2". The shaft of the drill bit must be smaller than this size (but the tip can be larger).[6]
|
||||
Run the drill and watch the bit spin in the air. If it wobbles from side to side (or looks like a blurry cone), the bit is bent or not secured correctly. Discard bent bits, since they can easily break during drilling
|
||||
|
||||
6
|
||||
Clamp small pieces together. If you are drilling into a small, loose piece, clamp it down firmly before you drill. Do not hold the piece down with one hand while drilling, as the drill could slip and injure you.[8] `
|
||||
|
||||
7
|
||||
Handle the cord safely. If the drill has a cord, never leave it stretched across a pathway when not in use. Never pick up the drill by the cord. If you are drilling in a wet or muddy area, use a cordless drill instead.[9]
|
||||
|
||||
If you need to plug the drill into an extension cord, check the drill manual for the minimum wire gauge (or go with 16 gauge if you're not sure).[10] Do not chain multiple extension cords together, use indoor extension cords outdoors, or use an adapter to plug a three-prong cord into a two-prong outlet.[11]
|
||||
|
||||
Drilling Safely
|
||||
|
||||
1
|
||||
Drill a pilot hole. In many cases, you'll get better results if you start with a drill bit a little smaller than the final hole size. Drill a shallow "pilot hole," then switch to the larger bit to finish the job. The pilot hole will help prevent your drill bit from slipping, and reduces the chance of splitting wood or other damage.[12]
|
||||
|
||||
Very brittle materials such as ceramic and glass require extra care. Make a small "X" in masking tape where you want the hole, to help prevent slipping and chipping. Instead of drilling the pilot hole, place the drill bit over the X, then gently tap it with a hammer to create a small dent.
|
||||
|
||||
2
|
||||
Drill with steady pressure. Hold the drill steady and push it into the material you're drilling. If it takes more than light force to drill the hole, you're probably using the wrong bit.[13]
|
||||
|
||||
3
|
||||
Adjust the clutch. Each drill has a twistable collar to adjust the torque, often with a series of numbers on it. The higher the number, the more torque (rotational force) the drill will apply. If you are having trouble penetrating the material, increase the torque. If you are over-driving screws (burying them too deep), or if drilling too deep could damage something, lower the torque.
|
||||
|
||||
Some models mark the highest torque with a drill bit icon.[14]
|
||||
|
||||
4
|
||||
Avoid overheating the drill bit. If you are drilling through hard materials or drilling at high speeds, the drill bit will encounter an immense amount of friction. This can rapidly overheat the bit, to the point where it becomes red hot or burns the material you're drilling. Start at low drill speeds, and only increase the speed if the drill isn't moving smoothly. If you're drilling through hard materials, or drilling many holes in any material, stick to slow speeds and pause occasionally to give the bit a few seconds to cool down.
|
||||
|
||||
When drilling glass, ceramic, or stone, give the bit a steady supply of water to keep it cool. One way to do this is to build a "dam" out of putty or modeling clay around your drilling area. Fill the area with water so it flows down into the hole. "Pump" the bit up and down so the water can reach the tip.[15]
|
||||
Even if the drill bit doesn't look hot, give it time to cool down before touching it.
|
||||
|
||||
5
|
||||
Do not force a jammed bit through. If the drill bit gets stuck in the material, don't try to force it out by running the drill. Unplug the drill, separate the bit and the chuck, and remove the bit using manual tools.[16]
|
||||
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# import re
|
||||
# m = re.findall(r"")
|
||||
|
||||
def splitParagraphIntoSentences(paragraph):
|
||||
''' break a paragraph into sentences
|
||||
and return a list '''
|
||||
import re
|
||||
# to split by multile characters
|
||||
|
||||
# regular expressions are easiest (and fastest)
|
||||
sentenceEnders = re.compile('[.!?]')
|
||||
sentenceList = sentenceEnders.split(paragraph)
|
||||
return sentenceList
|
||||
|
||||
with open("how_2_use_drill.txt", "r" ) as source:
|
||||
for line in source:
|
||||
sentences = splitParagraphIntoSentences(line)
|
||||
for s in sentences:
|
||||
print s.strip()
|
||||
|
||||
# print(line)
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# import re
|
||||
# m = re.findall(r"")
|
||||
|
||||
def splitParagraphIntoSentences(paragraph):
|
||||
''' break a paragraph into sentences
|
||||
and return a list '''
|
||||
import re
|
||||
# to split by multile characters
|
||||
|
||||
# regular expressions are easiest (and fastest)
|
||||
sentenceEnders = re.compile('[.!?]')
|
||||
# sentenceList = sentenceEnders.split(paragraph)
|
||||
return sentenceList
|
||||
|
||||
with open("how_2_use_drill.txt", "r" ) as source:
|
||||
for line in source:
|
||||
sentences = splitParagraphIntoSentences(line)
|
||||
for s in sentences:
|
||||
print s.strip()
|
||||
|
||||
# print(line)
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# import re
|
||||
# m = re.findall(r"")
|
||||
|
||||
def splitParagraphIntoSentences(paragraph):
|
||||
''' break a paragraph into sentences
|
||||
and return a list '''
|
||||
import re
|
||||
# to split by multile characters
|
||||
|
||||
# regular expressions are easiest (and fastest)
|
||||
sentenceEnders = re.compile('[.!?]')
|
||||
# sentenceList = sentenceEnders.split(paragraph)
|
||||
# return sentenceList
|
||||
|
||||
with open("how_2_use_drill.txt", "r" ) as source:
|
||||
for line in source:
|
||||
sentences = splitParagraphIntoSentences(line)
|
||||
for s in sentences:
|
||||
print s.strip()
|
||||
|
||||
# print(line)
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# import re
|
||||
# m = re.findall(r"")
|
||||
|
||||
def splitParagraphIntoSentences(paragraph):
|
||||
''' break a paragraph into sentences
|
||||
and return a list '''
|
||||
import re
|
||||
# to split by multile characters
|
||||
|
||||
# regular expressions are easiest (and fastest)
|
||||
# sentenceEnders = re.compile('[.!?]')
|
||||
sentenceList = sentenceEnders.split(paragraph)
|
||||
return sentenceList
|
||||
|
||||
with open("how_2_use_drill.txt", "r" ) as source:
|
||||
for line in source:
|
||||
sentences = splitParagraphIntoSentences(line)
|
||||
for s in sentences:
|
||||
print s.strip()
|
||||
|
||||
# print(line)
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# import re
|
||||
# m = re.findall(r"")
|
||||
|
||||
def splitParagraphIntoSentences(paragraph):
|
||||
''' break a paragraph into sentences
|
||||
and return a list '''
|
||||
import re
|
||||
# to split by multile characters
|
||||
|
||||
# regular expressions are easiest (and fastest)
|
||||
sentenceEnders = re.compile('[.!?]')
|
||||
sentenceList = sentenceEnders.split(paragraph)
|
||||
return sentenceList
|
||||
|
||||
with open("how_2_use_drill.txt", "r" ) as source:
|
||||
for line in source:
|
||||
sentences = splitParagraphIntoSentences(line)
|
||||
for s in sentences:
|
||||
print s.strip()
|
||||
|
||||
# print(line)
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
def splitParagraphIntoSentences(paragraph):
|
||||
''' break a paragraph into sentences
|
||||
and return a list '''
|
||||
import re
|
||||
# to split by multile characters
|
||||
|
||||
# regular expressions are easiest (and fastest)
|
||||
sentenceEnders = re.compile('[.!?]')
|
||||
sentenceList = sentenceEnders.split(paragraph)
|
||||
return sentenceList
|
||||
|
||||
with open("how_2_use_drill.txt", "r" ) as source:
|
||||
for line in source:
|
||||
sentences = splitParagraphIntoSentences(line)
|
||||
for s in sentences:
|
||||
print s.strip()
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
def splitParagraphIntoSentences(paragraph):
|
||||
''' break a paragraph into sentences
|
||||
and return a list '''
|
||||
import re
|
||||
# to split by multile characters
|
||||
|
||||
sentenceEnders = re.compile('[.!?]')
|
||||
sentenceList = split(paragraph)
|
||||
return sentenceList
|
||||
|
||||
with open("how_2_use_drill.txt", "r" ) as source:
|
||||
for line in source:
|
||||
sentences = splitParagraphIntoSentences(line)
|
||||
for s in sentences:
|
||||
print s.strip()
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
def splitParagraphIntoSentences(paragraph):
|
||||
''' break a paragraph into sentences
|
||||
and return a list '''
|
||||
import re
|
||||
# to split by multile characters
|
||||
|
||||
sentenceEnders = re.compile('[.!?]')
|
||||
sentenceList = sentenceEnders.split(paragraph)
|
||||
return sentenceList
|
||||
|
||||
with open("how_2_use_drill.txt", "r" ) as source:
|
||||
for line in source:
|
||||
sentences = splitParagraphIntoSentences(line)
|
||||
for s in sentences:
|
||||
print s.strip()
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
def splitParagraphIntoSentences(paragraph):
|
||||
''' break a paragraph into sentences
|
||||
and return a list '''
|
||||
import re
|
||||
# to split by multile characters
|
||||
|
||||
sentenceEnders = re.compile('[.!?]')
|
||||
sentenceList = sentenceEnders.split(paragraph)
|
||||
return sentenceList
|
||||
|
||||
with open("how_2_use_drill.txt", "r" ) as source:
|
||||
for line in source:
|
||||
sentences = splitParagraphIntoSentences(line)
|
||||
for s in sentences:
|
||||
print s.strip()
|
||||
|
||||
def splitParagraphIntoSentences(paragraph):
|
||||
print
|
||||
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# def splitParagraphIntoSentences(paragraph):
|
||||
# ''' break a paragraph into sentences
|
||||
# and return a list '''
|
||||
# import re
|
||||
# # to split by multile characters
|
||||
|
||||
# sentenceEnders = re.compile('[.!?]')
|
||||
# sentenceList = sentenceEnders.split(paragraph)
|
||||
# return sentenceList
|
||||
|
||||
# with open("how_2_use_drill.txt", "r" ) as source:
|
||||
# for line in source:
|
||||
# sentences = splitParagraphIntoSentences(line)
|
||||
# for s in sentences:
|
||||
# print s.strip()
|
||||
|
||||
def splitParagraphIntoSentences(paragraph):
|
||||
print
|
||||
@@ -0,0 +1,12 @@
|
||||
def findTheWordsBefore(paragraph):
|
||||
import re
|
||||
|
||||
prose = re.compile(r"(\s\w*\s\w*\s\w*)\sdrill")
|
||||
List = prose.split(paragraph)
|
||||
return List
|
||||
|
||||
with open("how_2_use_drill.txt", "r" ) as source:
|
||||
for line in source:
|
||||
sentences = findTheWordsBefore(line)
|
||||
for s in sentences:
|
||||
print s.strip()
|
||||
@@ -0,0 +1,12 @@
|
||||
def findTheWordsBefore(paragraph):
|
||||
import re
|
||||
|
||||
prose = re.compile(r"(\s\w*\s\w*\s\w*)\s+drill")
|
||||
List = prose.split(paragraph)
|
||||
return List
|
||||
|
||||
with open("how_2_use_drill.txt", "r" ) as source:
|
||||
for line in source:
|
||||
sentences = findTheWordsBefore(line)
|
||||
for s in sentences:
|
||||
print s.strip()
|
||||
@@ -0,0 +1,12 @@
|
||||
def findTheWordsBefore(paragraph):
|
||||
import re
|
||||
|
||||
prose = re.compile(r"(\s\w*\s\w*\s\w*)\s*drill")
|
||||
List = prose.split(paragraph)
|
||||
return List
|
||||
|
||||
with open("how_2_use_drill.txt", "r" ) as source:
|
||||
for line in source:
|
||||
sentences = findTheWordsBefore(line)
|
||||
for s in sentences:
|
||||
print s.strip()
|
||||
@@ -0,0 +1,12 @@
|
||||
def findTheWordsBefore(paragraph):
|
||||
import re
|
||||
|
||||
prose = re.compile(r"(\s\w*\s\w*\s\w*\s)drill")
|
||||
List = prose.split(paragraph)
|
||||
return List
|
||||
|
||||
with open("how_2_use_drill.txt", "r" ) as source:
|
||||
for line in source:
|
||||
sentences = findTheWordsBefore(line)
|
||||
for s in sentences:
|
||||
print s.strip()
|
||||
@@ -0,0 +1,12 @@
|
||||
def findTheWordsBefore(paragraph):
|
||||
import re
|
||||
|
||||
prose = re.compile(r"(\s\w*\s\w*\s\w*\s)+drill")
|
||||
List = prose.split(paragraph)
|
||||
return List
|
||||
|
||||
with open("how_2_use_drill.txt", "r" ) as source:
|
||||
for line in source:
|
||||
sentences = findTheWordsBefore(line)
|
||||
for s in sentences:
|
||||
print s.strip()
|
||||
@@ -0,0 +1,41 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
|
||||
#ma fonction
|
||||
# def splitParagraphIntoSentences(paragraph):
|
||||
# ''' break a paragraph into sentences
|
||||
# and return a list '''
|
||||
# import re
|
||||
|
||||
# #pour repérer l'expression régulière
|
||||
# prose = re.compile(r"\wrill[a-z0-9._-]*\s(\w*\s\w*\s\w*\s)")
|
||||
# #applique retour à la ligne en se repérant le regex
|
||||
# List = prose.split(paragraph)
|
||||
# return List
|
||||
# #appliquer le variable sentenceList
|
||||
|
||||
# with open("how_2_use_drill.txt", "r" ) as source:
|
||||
# for line in source:
|
||||
# sentences = splitParagraphIntoSentences(line)
|
||||
# for s in sentences:
|
||||
# print s.strip()
|
||||
|
||||
import re
|
||||
|
||||
prose = re.compile(r"\w+.+rill+.+\s(\w*\s\w*\s\w*\s)\w*")
|
||||
prose2 = re.compile(r"(\w*\s\w*\s\w*)\s\w+.+rill\s\w*")
|
||||
|
||||
|
||||
with open("how_2_use_drill.txt", "r" ) as source:
|
||||
for line in source:
|
||||
newtext = prose2.findall(line)
|
||||
print(''.join(newtext))
|
||||
|
||||
|
||||
# with open('export.txt', 'w') as f:
|
||||
# f.write()
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
|
||||
#ma fonction
|
||||
# def splitParagraphIntoSentences(paragraph):
|
||||
# ''' break a paragraph into sentences
|
||||
# and return a list '''
|
||||
# import re
|
||||
|
||||
# #pour repérer l'expression régulière
|
||||
# prose = re.compile(r"\wrill[a-z0-9._-]*\s(\w*\s\w*\s\w*\s)")
|
||||
# #applique retour à la ligne en se repérant le regex
|
||||
# List = prose.split(paragraph)
|
||||
# return List
|
||||
# #appliquer le variable sentenceList
|
||||
|
||||
# with open("how_2_use_drill.txt", "r" ) as source:
|
||||
# for line in source:
|
||||
# sentences = splitParagraphIntoSentences(line)
|
||||
# for s in sentences:
|
||||
# print s.strip()
|
||||
|
||||
import re
|
||||
|
||||
prose = re.compile(r"\w+.+rill+.+\s(\w*\s\w*\s\w*\s)\w*")
|
||||
prose2 = re.compile(r"(\w*\s\w*\s\w*)\s\w+.+rill+.+\s\w*")
|
||||
|
||||
|
||||
with open("how_2_use_drill.txt", "r" ) as source:
|
||||
for line in source:
|
||||
newtext = prose2.findall(line)
|
||||
print(''.join(newtext))
|
||||
|
||||
|
||||
# with open('export.txt', 'w') as f:
|
||||
# f.write()
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
|
||||
#ma fonction
|
||||
# def splitParagraphIntoSentences(paragraph):
|
||||
# ''' break a paragraph into sentences
|
||||
# and return a list '''
|
||||
# import re
|
||||
|
||||
# #pour repérer l'expression régulière
|
||||
# prose = re.compile(r"\wrill[a-z0-9._-]*\s(\w*\s\w*\s\w*\s)")
|
||||
# #applique retour à la ligne en se repérant le regex
|
||||
# List = prose.split(paragraph)
|
||||
# return List
|
||||
# #appliquer le variable sentenceList
|
||||
|
||||
# with open("how_2_use_drill.txt", "r" ) as source:
|
||||
# for line in source:
|
||||
# sentences = splitParagraphIntoSentences(line)
|
||||
# for s in sentences:
|
||||
# print s.strip()
|
||||
|
||||
import re
|
||||
|
||||
prose = re.compile(r"\w+.+rill+.+\s(\w*\s\w*\s\w*\s)\w*")
|
||||
prose2 = re.compile(r"(\w*\s\w*\s\w*)\s\w+.+rill+.+\s\w*")
|
||||
|
||||
|
||||
with open("how_2_use_drill.txt", "r" ) as source:
|
||||
for line in source:
|
||||
newtext = prose2.findall(line)
|
||||
# newtext = prose.findall(line)
|
||||
firstLine =
|
||||
print(''.join(newtext))
|
||||
|
||||
|
||||
# with open('export.txt', 'w') as f:
|
||||
# f.write()
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import re
|
||||
#rechercher et compiler une expression reguliere
|
||||
prose = re.compile(r"\w+.+rill+.+\s(\w*\s\w*\s\w*\s)\w*")
|
||||
prose2 = re.compile(r"(\w*\s\w*\s\w*)\s\w+.+rill+.+\s\w*")
|
||||
|
||||
#ouvrir un fichier texte
|
||||
with open("how_2_use_drill.txt", "r" ) as source:
|
||||
for line in source:
|
||||
#créer une ligne de texte avec l'expression reg prélevé dans le texte
|
||||
newtext = prose2.findall(line)
|
||||
# newtext = prose.findall(line)
|
||||
firstLine =
|
||||
print(''.join(newtext))
|
||||
|
||||
|
||||
# with open('export.txt', 'w') as f:
|
||||
# f.write()
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import re
|
||||
#rechercher et compiler une expression reguliere
|
||||
prose = re.compile(r"\w+.+rill+.+\s(\w*\s\w*\s\w*\s)\w*")
|
||||
prose2 = re.compile(r"(\w*\s\w*\s\w*)\s\w+.+rill+.+\s\w*")
|
||||
|
||||
#ouvrir un fichier texte
|
||||
with open("how_2_use_drill.txt", "r" ) as source:
|
||||
for line in source:
|
||||
#créer une ligne de texte avec l'expression reg prélevé dans le texte
|
||||
newtext = prose2.findall(line)
|
||||
# newtext = prose.findall(line)
|
||||
#firstLine =
|
||||
# print(''.join(newtext))
|
||||
|
||||
|
||||
with open('export.txt', 'w') as f:
|
||||
f.write()
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,62 @@
|
||||
How to Use
|
||||
|
||||
Drills are one
|
||||
|
||||
|
||||
|
||||
|
||||
Wear safe clothing
|
||||
|
||||
|
||||
Wear ear protection
|
||||
|
||||
are the
|
||||
|
||||
|
||||
Protect your lungs
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Choose the correct
|
||||
|
||||
|
||||
|
||||
|
||||
Fit the drill
|
||||
|
||||
Each chuck has
|
||||
Run the drill
|
||||
|
||||
|
||||
Clamp small pieces
|
||||
|
||||
|
||||
Handle the cord
|
||||
|
||||
If you need
|
||||
|
||||
|
||||
|
||||
|
||||
Drill a pilot
|
||||
|
||||
Very brittle materials
|
||||
|
||||
|
||||
Drill with steady
|
||||
|
||||
|
||||
Each drill
|
||||
|
||||
Some models mark
|
||||
|
||||
|
||||
Avoid overheating the
|
||||
|
||||
give the
|
||||
|
||||
|
||||
|
||||
Do not force
|
||||
@@ -0,0 +1,62 @@
|
||||
How to Use
|
||||
|
||||
Drills are one
|
||||
|
||||
|
||||
|
||||
|
||||
Wear safe clothing
|
||||
|
||||
|
||||
Wear ear protection
|
||||
|
||||
|
||||
|
||||
|
||||
Protect your lungs
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Choose the correct
|
||||
|
||||
|
||||
|
||||
|
||||
Fit the drill
|
||||
|
||||
Each chuck has
|
||||
Run the drill
|
||||
|
||||
|
||||
Clamp small pieces
|
||||
|
||||
|
||||
Handle the cord
|
||||
|
||||
If you need
|
||||
|
||||
|
||||
|
||||
|
||||
Drill a pilot
|
||||
|
||||
Very brittle materials
|
||||
|
||||
|
||||
Drill with steady
|
||||
|
||||
|
||||
Each drill
|
||||
|
||||
Some models mark
|
||||
|
||||
|
||||
Avoid overheating the
|
||||
|
||||
give the
|
||||
|
||||
|
||||
|
||||
Do not force
|
||||
@@ -0,0 +1,62 @@
|
||||
How to Use
|
||||
|
||||
Drills are one
|
||||
|
||||
|
||||
|
||||
|
||||
Wear safe clothing
|
||||
|
||||
|
||||
Wear ear protection
|
||||
|
||||
|
||||
|
||||
|
||||
Protect your lungs
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Choose the correct
|
||||
|
||||
|
||||
|
||||
|
||||
Fit the drill
|
||||
|
||||
Each chuck has
|
||||
Run the drill
|
||||
|
||||
|
||||
Clamp small pieces
|
||||
|
||||
|
||||
Handle the cord
|
||||
|
||||
If you need
|
||||
|
||||
|
||||
|
||||
|
||||
Drill a pilot
|
||||
|
||||
Very brittle materials
|
||||
|
||||
|
||||
Drill with steady
|
||||
|
||||
|
||||
Each drill
|
||||
|
||||
Some models mark
|
||||
|
||||
|
||||
Avoid overheating the
|
||||
|
||||
give the
|
||||
|
||||
|
||||
|
||||
Do not force
|
||||
@@ -0,0 +1,104 @@
|
||||
How to Use a Drill Safely
|
||||
|
||||
|
||||
place to look
|
||||
.
|
||||
|
||||
Preparing to Drill
|
||||
|
||||
1
|
||||
|
||||
them from flying
|
||||
.
|
||||
|
||||
2
|
||||
|
||||
protection is not
|
||||
.
|
||||
|
||||
|
||||
recommended whenever using
|
||||
.
|
||||
|
||||
3
|
||||
|
||||
a known respiratory
|
||||
.
|
||||
|
||||
Each respirator is rated for certain types of hazards. Make sure the one you use is suited to your project.
|
||||
|
||||
|
||||
4
|
||||
|
||||
which bit to
|
||||
.
|
||||
|
||||
|
||||
visible on both
|
||||
.
|
||||
|
||||
5
|
||||
|
||||
turn on the
|
||||
.
|
||||
|
||||
|
||||
tip can be
|
||||
).[6]
|
||||
|
||||
break during drilling
|
||||
|
||||
|
||||
6
|
||||
|
||||
slip and injure
|
||||
.[8] `
|
||||
|
||||
7
|
||||
|
||||
a cordless drill
|
||||
.[9]
|
||||
|
||||
|
||||
cord into a
|
||||
-prong outlet.[11]
|
||||
|
||||
Drilling Safely
|
||||
|
||||
1
|
||||
|
||||
wood or other
|
||||
.[12]
|
||||
|
||||
|
||||
create a small
|
||||
.
|
||||
|
||||
2
|
||||
|
||||
using the wrong
|
||||
.[13]
|
||||
|
||||
3
|
||||
|
||||
deep could damage
|
||||
, lower the torque.
|
||||
|
||||
Some models mark the highest torque with a drill bit icon.[14]
|
||||
|
||||
4
|
||||
|
||||
seconds to cool
|
||||
.
|
||||
|
||||
|
||||
can reach the
|
||||
.[15]
|
||||
|
||||
down before touching
|
||||
.
|
||||
|
||||
5
|
||||
|
||||
bit using manual
|
||||
.[16]
|
||||
@@ -0,0 +1,104 @@
|
||||
How to Use a Drill Safely
|
||||
|
||||
|
||||
place to look
|
||||
.
|
||||
|
||||
Preparing to Drill
|
||||
|
||||
1
|
||||
|
||||
them from flying
|
||||
.
|
||||
|
||||
2
|
||||
|
||||
protection is not
|
||||
.
|
||||
|
||||
|
||||
recommended whenever using
|
||||
.
|
||||
|
||||
3
|
||||
|
||||
a known respiratory
|
||||
.
|
||||
|
||||
Each respirator is rated for certain types of hazards. Make sure the one you use is suited to your project.
|
||||
|
||||
|
||||
4
|
||||
|
||||
which bit to
|
||||
.
|
||||
|
||||
|
||||
visible on both
|
||||
.
|
||||
|
||||
5
|
||||
|
||||
turn on the
|
||||
.
|
||||
|
||||
|
||||
tip can be
|
||||
).[6]
|
||||
|
||||
break during drilling
|
||||
|
||||
|
||||
6
|
||||
|
||||
slip and injure
|
||||
.[8] `
|
||||
|
||||
7
|
||||
|
||||
a cordless drill
|
||||
.[9]
|
||||
|
||||
|
||||
cord into a
|
||||
-prong outlet.[11]
|
||||
|
||||
Drilling Safely
|
||||
|
||||
1
|
||||
|
||||
wood or other
|
||||
.[12]
|
||||
|
||||
|
||||
create a small
|
||||
.
|
||||
|
||||
2
|
||||
|
||||
using the wrong
|
||||
.[13]
|
||||
|
||||
3
|
||||
|
||||
deep could damage
|
||||
, lower the torque.
|
||||
|
||||
Some models mark the highest torque with a drill bit icon.[14]
|
||||
|
||||
4
|
||||
|
||||
seconds to cool
|
||||
.
|
||||
|
||||
|
||||
can reach the
|
||||
.[15]
|
||||
|
||||
down before touching
|
||||
.
|
||||
|
||||
5
|
||||
|
||||
bit using manual
|
||||
.[16]
|
||||
@@ -0,0 +1,62 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,104 @@
|
||||
How to Use a Drill Safely
|
||||
|
||||
|
||||
place to look
|
||||
.
|
||||
|
||||
Preparing to Drill
|
||||
|
||||
1
|
||||
|
||||
them from flying
|
||||
.
|
||||
|
||||
2
|
||||
|
||||
protection is not
|
||||
.
|
||||
|
||||
|
||||
recommended whenever using
|
||||
.
|
||||
|
||||
3
|
||||
|
||||
a known respiratory
|
||||
.
|
||||
|
||||
Each respirator is rated for certain types of hazards. Make sure the one you use is suited to your project.
|
||||
|
||||
|
||||
4
|
||||
|
||||
which bit to
|
||||
.
|
||||
|
||||
|
||||
visible on both
|
||||
.
|
||||
|
||||
5
|
||||
|
||||
turn on the
|
||||
.
|
||||
|
||||
|
||||
tip can be
|
||||
).[6]
|
||||
|
||||
break during drilling
|
||||
|
||||
|
||||
6
|
||||
|
||||
slip and injure
|
||||
.[8] `
|
||||
|
||||
7
|
||||
|
||||
a cordless drill
|
||||
.[9]
|
||||
|
||||
|
||||
cord into a
|
||||
-prong outlet.[11]
|
||||
|
||||
Drilling Safely
|
||||
|
||||
1
|
||||
|
||||
wood or other
|
||||
.[12]
|
||||
|
||||
|
||||
create a small
|
||||
.
|
||||
|
||||
2
|
||||
|
||||
using the wrong
|
||||
.[13]
|
||||
|
||||
3
|
||||
|
||||
deep could damage
|
||||
, lower the torque.
|
||||
|
||||
Some models mark the highest torque with a drill bit icon.[14]
|
||||
|
||||
4
|
||||
|
||||
seconds to cool
|
||||
.
|
||||
|
||||
|
||||
can reach the
|
||||
.[15]
|
||||
|
||||
down before touching
|
||||
.
|
||||
|
||||
5
|
||||
|
||||
bit using manual
|
||||
.[16]
|
||||
@@ -0,0 +1,63 @@
|
||||
|
||||
|
||||
place to look
|
||||
|
||||
|
||||
|
||||
|
||||
them from flying
|
||||
|
||||
|
||||
protection is not
|
||||
|
||||
recommended whenever using
|
||||
|
||||
|
||||
a known respiratory
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
which bit to
|
||||
|
||||
visible on both
|
||||
|
||||
|
||||
turn on the
|
||||
|
||||
tip can be
|
||||
break during drilling
|
||||
|
||||
|
||||
|
||||
slip and injure
|
||||
|
||||
|
||||
a cordless drill
|
||||
|
||||
cord into a
|
||||
|
||||
|
||||
|
||||
|
||||
wood or other
|
||||
|
||||
create a small
|
||||
|
||||
|
||||
using the wrong
|
||||
|
||||
|
||||
deep could damage
|
||||
|
||||
|
||||
|
||||
|
||||
seconds to cool
|
||||
|
||||
can reach the
|
||||
down before touching
|
||||
|
||||
|
||||
bit using manual
|
||||
@@ -0,0 +1,62 @@
|
||||
How to Use
|
||||
|
||||
Drills are one
|
||||
|
||||
|
||||
|
||||
|
||||
Wear safe clothing
|
||||
|
||||
|
||||
Wear ear protection
|
||||
|
||||
are the
|
||||
|
||||
|
||||
Protect your lungs
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Choose the correct
|
||||
|
||||
|
||||
|
||||
|
||||
Fit the drill
|
||||
|
||||
Each chuck has
|
||||
Run the drill
|
||||
|
||||
|
||||
Clamp small pieces
|
||||
|
||||
|
||||
Handle the cord
|
||||
|
||||
If you need
|
||||
|
||||
|
||||
|
||||
|
||||
Drill a pilot
|
||||
|
||||
Very brittle materials
|
||||
|
||||
|
||||
Drill with steady
|
||||
|
||||
|
||||
Each drill
|
||||
|
||||
Some models mark
|
||||
|
||||
|
||||
Avoid overheating the
|
||||
|
||||
give the
|
||||
Even if the
|
||||
|
||||
|
||||
Do not force
|
||||
@@ -0,0 +1,126 @@
|
||||
How to Use a Drill Safely
|
||||
|
||||
|
||||
are one of
|
||||
the most convenient tools for DIY projects, but like all power tools, they need to be handled safely. Knowing how to
|
||||
correctly will help
|
||||
you prevent injury from flying shards of broken material or improperly handled electricity. If you ever have a safety question that this guide does not answer, your drill's manual is a good place to look next.
|
||||
|
||||
Preparing to Drill
|
||||
|
||||
1
|
||||
Wear safe clothing and eye protection. Avoid baggy clothing or dangling jewelry that could catch in the
|
||||
as you lean
|
||||
over it. Wear safety goggles or glasses that cover the sides of your eyes, to protect them from flying debris.
|
||||
|
||||
2
|
||||
Wear ear protection if drilling regularly. A handheld electric
|
||||
produces about 90
|
||||
decibels, which is just enough to cause hearing damage after prolonged exposure. Most cordless
|
||||
are quiet enough
|
||||
that hearing protection is not necessary.
|
||||
|
||||
Impact drills (hammer drills) are the loudest handheld drills, producing over 100 dB. Hearing protection is recommended whenever using them.
|
||||
|
||||
3
|
||||
Protect your lungs when necessary. If the project kicks up a lot of dust, wear breathing protection. A dust mask is only good for short-term comfort. Use a respirator if you
|
||||
regularly or for
|
||||
long periods of time, or if the material you are
|
||||
is a known
|
||||
respiratory hazard.
|
||||
|
||||
Each respirator is rated for certain types of hazards. Make sure the one you use is suited to your project.
|
||||
|
||||
|
||||
4
|
||||
Choose the correct drill bit. Using a bit made from the wrong material can cause the bit or the material you're drilling to break. You can use a general-purpose bit on most wood; a masonry bit for stone, brick or concrete; an HSS (high speed steel) bit on most metals; and a carbide or diamond-tipped bit on very hard, brittle surfaces such as porcelain, glass, or glazed tiles.[3] There are many specialized bit designs, so consult the
|
||||
manual or bit
|
||||
manufacturer if you're not sure which bit to use.
|
||||
|
||||
When
|
||||
a hole for
|
||||
a screw, there's an easy way to find the right size bit. Hold the screw up directly behind the bit. The bit should hide the shaft of the screw from view, but the screw threads should still be visible on both sides.
|
||||
|
||||
5
|
||||
Fit the
|
||||
bit firmly into
|
||||
the chuck. The chuck is the clamp in the "jaws" of the
|
||||
This holds the
|
||||
|
||||
bit in place
|
||||
as it spins. To replace a drill bit, make sure the drill is off (and unplugged if corded), then loosen the chuck by rotating it. Depending on the drill, you may be able to do this by hand, or you may need a chuck key located in a compartment in the top or handle of the drill.[5] Insert the
|
||||
bit into the
|
||||
chuck, then tighten again. Make sure the bit is straight and secure, and remove the key before you turn on the drill.
|
||||
|
||||
Each chuck has a maximum size. Most
|
||||
made for home
|
||||
use in the United States have a chuck of size 1/4", 3/8", or 1/2". The shaft of the
|
||||
bit must be
|
||||
smaller than this size (but the tip can be larger).[6]
|
||||
Run the
|
||||
and watch the
|
||||
bit spin in the air. If it wobbles from side to side (or looks like a blurry cone), the bit is bent or not secured correctly. Discard bent bits, since they can easily break during drilling
|
||||
|
||||
6
|
||||
Clamp small pieces together. If you are drilling into a small, loose piece, clamp it down firmly before you
|
||||
Do not hold
|
||||
the piece down with one hand while drilling, as the
|
||||
could slip and
|
||||
injure you.[8] `
|
||||
|
||||
7
|
||||
Handle the cord safely. If the drill has a cord, never leave it stretched across a pathway when not in use. Never pick up the drill by the cord. If you are
|
||||
in a wet
|
||||
or muddy area, use a cordless drill instead.[9]
|
||||
|
||||
If you need to plug the
|
||||
into an extension
|
||||
cord, check the
|
||||
manual for the
|
||||
minimum wire gauge (or go with 16 gauge if you're not sure).[10] Do not chain multiple extension cords together, use indoor extension cords outdoors, or use an adapter to plug a three-prong cord into a two-prong outlet.[11]
|
||||
|
||||
Drilling Safely
|
||||
|
||||
1
|
||||
Drill a pilot hole. In many cases, you'll get better results if you start with a
|
||||
bit a little
|
||||
smaller than the final hole size. Drill a shallow "pilot hole," then switch to the larger bit to finish the job. The pilot hole will help prevent your drill bit from slipping, and reduces the chance of splitting wood or other damage.[12]
|
||||
|
||||
Very brittle materials such as ceramic and glass require extra care. Make a small "X" in masking tape where you want the hole, to help prevent slipping and chipping. Instead of drilling the pilot hole, place the
|
||||
bit over the
|
||||
X, then gently tap it with a hammer to create a small dent.
|
||||
|
||||
2
|
||||
Drill with steady pressure. Hold the
|
||||
steady and push
|
||||
it into the material you're
|
||||
If it takes
|
||||
more than light force to drill the hole, you're probably using the wrong bit.[13]
|
||||
|
||||
3
|
||||
Adjust the clutch. Each
|
||||
has a twistable
|
||||
collar to adjust the torque, often with a series of numbers on it. The higher the number, the more torque (rotational force) the drill will apply. If you are having trouble penetrating the material, increase the torque. If you are over-driving screws (burying them too deep), or if
|
||||
too deep could
|
||||
damage something, lower the torque.
|
||||
|
||||
Some models mark the highest torque with a drill bit icon.[14]
|
||||
|
||||
4
|
||||
Avoid overheating the drill bit. If you are
|
||||
through hard materials
|
||||
or drilling at high speeds, the
|
||||
bit will encounter
|
||||
an immense amount of friction. This can rapidly overheat the bit, to the point where it becomes red hot or burns the material you're
|
||||
Start at low
|
||||
drill speeds, and only increase the speed if the drill isn't moving smoothly. If you're drilling through hard materials, or
|
||||
many holes in
|
||||
any material, stick to slow speeds and pause occasionally to give the bit a few seconds to cool down.
|
||||
|
||||
When drilling glass, ceramic, or stone, give the bit a steady supply of water to keep it cool. One way to do this is to build a "dam" out of putty or modeling clay around your drilling area. Fill the area with water so it flows down into the hole. "Pump" the bit up and down so the water can reach the tip.[15]
|
||||
Even if the drill bit doesn't look hot, give it time to cool down before touching it.
|
||||
|
||||
5
|
||||
Do not force a jammed bit through. If the
|
||||
bit gets stuck
|
||||
in the material, don't try to force it out by running the drill. Unplug the drill, separate the bit and the chuck, and remove the bit using manual tools.[16]
|
||||
@@ -0,0 +1,165 @@
|
||||
How to Use a Drill Safely
|
||||
|
||||
|
||||
|
||||
|
||||
place to look
|
||||
next.
|
||||
|
||||
|
||||
|
||||
Preparing to Drill
|
||||
|
||||
|
||||
|
||||
1
|
||||
|
||||
|
||||
them from flying
|
||||
debris.
|
||||
|
||||
|
||||
|
||||
2
|
||||
|
||||
|
||||
protection is not
|
||||
necessary.
|
||||
|
||||
|
||||
|
||||
|
||||
recommended whenever using
|
||||
them.
|
||||
|
||||
|
||||
|
||||
3
|
||||
|
||||
|
||||
a known respiratory
|
||||
hazard.
|
||||
|
||||
|
||||
|
||||
Each respirator is rated for certain types of hazards. Make sure the one you use is suited to your project.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
|
||||
which bit to
|
||||
use.
|
||||
|
||||
|
||||
|
||||
|
||||
visible on both
|
||||
sides.
|
||||
|
||||
|
||||
|
||||
5
|
||||
|
||||
|
||||
turn on the
|
||||
drill.
|
||||
|
||||
|
||||
|
||||
|
||||
tip can be
|
||||
larger).[6]
|
||||
|
||||
|
||||
break during drilling
|
||||
|
||||
|
||||
|
||||
|
||||
6
|
||||
|
||||
|
||||
slip and injure
|
||||
you.[8] `
|
||||
|
||||
|
||||
|
||||
7
|
||||
|
||||
|
||||
a cordless drill
|
||||
instead.[9]
|
||||
|
||||
|
||||
|
||||
|
||||
cord into a
|
||||
two-prong outlet.[11]
|
||||
|
||||
|
||||
|
||||
Drilling Safely
|
||||
|
||||
|
||||
|
||||
1
|
||||
|
||||
|
||||
wood or other
|
||||
damage.[12]
|
||||
|
||||
|
||||
|
||||
|
||||
create a small
|
||||
dent.
|
||||
|
||||
|
||||
|
||||
2
|
||||
|
||||
|
||||
using the wrong
|
||||
bit.[13]
|
||||
|
||||
|
||||
|
||||
3
|
||||
|
||||
|
||||
deep could damage
|
||||
something, lower the torque.
|
||||
|
||||
|
||||
|
||||
Some models mark the highest torque with a drill bit icon.[14]
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
|
||||
seconds to cool
|
||||
down.
|
||||
|
||||
|
||||
|
||||
|
||||
can reach the
|
||||
tip.[15]
|
||||
|
||||
|
||||
down before touching
|
||||
it.
|
||||
|
||||
|
||||
|
||||
5
|
||||
|
||||
|
||||
bit using manual
|
||||
tools.[16]
|
||||
@@ -0,0 +1,44 @@
|
||||
#!/usr/bin/env python
|
||||
# encoding=utf8
|
||||
|
||||
# Copyright (C) 2016 Constant, Algolit
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details: <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
# Reduction of letters
|
||||
# From string to list & back
|
||||
# A string: a list of characters, unchangeable, but treatable
|
||||
# See: https://www.tutorialspoint.com/python3/python_strings.htm
|
||||
|
||||
# Write sentence as string
|
||||
sentence = "Je vois La Vie en rose..."
|
||||
# Print sentence
|
||||
print("phrase originale:", sentence)
|
||||
|
||||
# define new word as list
|
||||
new_word = []
|
||||
|
||||
# Convert sentence in list of words
|
||||
words = sentence.split(" ")
|
||||
# For each word in word list
|
||||
for word in words:
|
||||
# remove capital letters (string operation)
|
||||
word = word.lower()
|
||||
# Clean punctuation (string operation)
|
||||
word = word.strip(" ;''?:,()!.\").”-")
|
||||
# add word to new word list
|
||||
new_word.append(word)
|
||||
|
||||
# Write words as one, without punctuation
|
||||
print("phrase mise en mots:", ''.join(new_word))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user