Skip to content

Commit 5b18aa7

Browse files
committed
state explicitly scitype convention in overloadings of scitype
1 parent 8cdebf5 commit 5b18aa7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/scitypes.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ STB.scitype(::AbstractDict{<:CL.TaggedWord,<:Integer},
2121
STB.scitype(::AbstractDict{<:Union{CL.TaggedWord,AbstractString},<:Integer},
2222
::DefaultConvention) =
2323
Multiset{Union{Textual,Annotated{Textual}}}
24-
STB.scitype(::AbstractDict{<:PlainNGram{N}}) where N =
24+
STB.scitype(::AbstractDict{<:PlainNGram{N}}, ::DefaultConvention) where N =
2525
Multiset{NTuple{N,Textual}}
26-
STB.scitype(::AbstractDict{<:TaggedNGram{N}}) where N =
26+
STB.scitype(::AbstractDict{<:TaggedNGram{N}}, ::DefaultConvention) where N =
2727
Multiset{NTuple{N,Annotated{Textual}}}
28-
STB.scitype(::AbstractDict{<:PlainNGram}) =
28+
STB.scitype(::AbstractDict{<:PlainNGram}, ::DefaultConvention) =
2929
Multiset{NTuple{<:Any,Textual}}
30-
STB.scitype(::AbstractDict{<:TaggedNGram}) =
30+
STB.scitype(::AbstractDict{<:TaggedNGram}, ::DefaultConvention) =
3131
Multiset{NTuple{<:Any,Annotated{Textual}}}
3232

3333
STB.Scitype(::Type{<:CL.TaggedWord}, ::DefaultConvention) =

0 commit comments

Comments
 (0)