Skip to content

Commit

Permalink
https://github.com/epforgpl/parldata-scrapers-poland-senat/issues/1
Browse files Browse the repository at this point in the history
  • Loading branch information
KrzysztofMadejski committed Mar 8, 2015
1 parent 95c3d29 commit 81142ce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Senat.php
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@ public function findIndexOfName($text) {
public function parseFullName($name) {
$names = preg_split("/\s+/", $name);
if (count($names) > 3) {
$this->warn("Multi-part name: " . $name);
error_log("Multi-part name: " . $name);
}

$person = array(
Expand Down
1 change: 1 addition & 0 deletions src/names.polish.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

class Polish {
static public $dictionary = array(
'Eliza' => 'female',
'Łukasz' => 'male',
'Czesław' => 'male',
'Artur' => 'male',
Expand Down
2 changes: 1 addition & 1 deletion vendor/simple_html_dom.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
define('HDOM_INFO_ENDSPACE',7);
define('DEFAULT_TARGET_CHARSET', 'UTF-8');
define('DEFAULT_BR_TEXT', "\r\n");
define('DEFAULT_SPAN_TEXT', " ");
define('DEFAULT_SPAN_TEXT', "");

// increase max size for SenatParser
define('MAX_FILE_SIZE', 2000000);
Expand Down

0 comments on commit 81142ce

Please sign in to comment.