| commit | fa82f040a000318a1aa1ad3f1605ea40529bdcd4 | [log] [tgz] |
|---|---|---|
| author | Akron <nils@diewald-online.de> | Tue Aug 04 12:56:29 2020 +0200 |
| committer | Akron <nils@diewald-online.de> | Tue Aug 04 12:56:58 2020 +0200 |
| tree | 141aff394fdca900cc456e783ddad4df3efae55e | |
| parent | 72e671f984d3b80e01a4e759aecbd94166efdff7 [diff] [blame] |
Minor improvements by introducing getters and setters instead of combinators in tokenizer Change-Id: I31425a3ac991efb131d33a18b6ff012098ddeac8
diff --git a/lib/KorAP/XML/Annotation/Talismane/Morpho.pm b/lib/KorAP/XML/Annotation/Talismane/Morpho.pm index 85a0786..bd5c30b 100644 --- a/lib/KorAP/XML/Annotation/Talismane/Morpho.pm +++ b/lib/KorAP/XML/Annotation/Talismane/Morpho.pm
@@ -9,9 +9,9 @@ layer => 'morpho', cb => sub { my ($stream, $token) = @_; - my $mtt = $stream->pos($token->pos); + my $mtt = $stream->pos($token->get_pos); - my $content = $token->hash->{fs}->{f}; + my $content = $token->get_hash->{fs}->{f}; my $found;