Skip to content

Commit

Permalink
Removed debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickschur committed Feb 6, 2017
1 parent ef6d767 commit 3040d8c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log
All notable changes to this project will be documented in this file.

## [0.1.1] - 2017-02-06
### Removed
- Debug Code

## [0.1.0] - 2017-02-06
- First Release
4 changes: 0 additions & 4 deletions src/StanfordTagger/CRFClassifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@ public function tag($str)
}
}

$tmpf = $this->getTmpFile($str);

$cmd = escapeshellcmd(
$this->getJavaPath()
. ' -mx' . $this->getMaxMemoryUsage()
Expand All @@ -109,8 +107,6 @@ public function tag($str)
. ' -outputFormat ' . $this->getOutputFormat()
);

echo $cmd, PHP_EOL;

$descriptorspec = [
0 => ["pipe", "r"],
1 => ["pipe", "w"],
Expand Down
4 changes: 0 additions & 4 deletions src/StanfordTagger/POSTagger.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,6 @@ public function tag(string $str)
}
}

$tmpf = $this->getTmpFile($str);

$cmd = escapeshellcmd(
$this->getJavaPath()
. ' -mx' . $this->getMaxMemoryUsage()
Expand All @@ -117,8 +115,6 @@ public function tag(string $str)
. ' -tagSeparator ' . $this->getSeparator()
);

echo $cmd, PHP_EOL;

$descriptorspec = [
0 => ["pipe", "r"],
1 => ["pipe", "w"],
Expand Down

0 comments on commit 3040d8c

Please sign in to comment.