<commit_before>#coding: latin-1
import cv2
import time
import datetime
import numpy as np
import argparse

import sys

import Configuration as conf

savevideo = True


if (len(sys.argv)<2):
	ip = conf.shinkeybotip
	port = conf.videoport

elif sys.argv[1] == '-f':
	print "Forcing IP Address"
	ip = '192.168.0.110'
	port = 10000
else:
	ip = sys.argv[1]
	print "Using IP:"+ip
	port = 10000<commit_msg>IPCamera can receive the port<commit_after>#coding: latin-1
import cv2
import time
import datetime
import numpy as np
import argparse

import sys

import Configuration as conf

savevideo = True


if (len(sys.argv)<2):
	ip = conf.shinkeybotip
	port = conf.videoport

elif sys.argv[1] == '-f':
	print "Forcing IP Address"
	ip = '192.168.0.110'
	port = 10000
else:
	ip = sys.argv[1]
	print "Using IP:"+ip
	if (len(sys.argv)==3):
		port = int(sys.argv[2])
	else:
		port = 10000
{'fraction_non_alphanumeric': 0.12270642201834862, 'fraction_numerical': 0.05963302752293578, 'mean_word_length': 4.017241379310345, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '770428', 'n_tokens_mistral': 373, 'n_tokens_neox': 334, 'n_words': 102}