This commit is contained in:
Feng Lee 2015-03-12 23:32:55 +08:00
parent 557c341106
commit 7f12562871
1 changed files with 2 additions and 2 deletions

View File

@ -170,7 +170,7 @@ triples([W|Words], Parent, Acc) ->
triples(Words, Node, [{Parent, W, Node}|Acc]). triples(Words, Node, [{Parent, W, Node}|Acc]).
join(root, W) -> join(root, W) ->
W; bin(W);
join(Parent, W) -> join(Parent, W) ->
<<(bin(Parent))/binary, $/, (bin(W))/binary>>. <<(bin(Parent))/binary, $/, (bin(W))/binary>>.