Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions mecab-jumandic/script/juman2mecab.pl
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,16 @@ sub convert {
return $result;
}

# special case for 無活用型
if ($ctype eq "無活用型"){
my $result ="";
for (@$surface) {
$result .= sprintf ("%s,0,0,0,%s,%s,%s,*,%s,%s,%s\n",
$_, $pos1, $pos2, $ctype, $_, $reading, $meaning);
}
return $result;
}

my $result = "";
for my $s (@$surface) {
my $lex = $s;
Expand Down