This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os, sys | |
os.getcwd() | |
os.chdir('G:\\documents\\PDP connectionist modelling\\python\\images') | |
import scipy | |
from PIL import Image | |
import numpy as np | |
np.set_printoptions(threshold=sys.maxsize) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$words = file('sixl.txt'); | |
foreach ($words as $key => $word) { | |
// първо условие: 2рата им позиция им е различна. | |
$neigbours = give_neighbours_by_letter_number($word, 2, $words); |