aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--skate/cmd/skate-reduce/main.go1
-rw-r--r--skate/verify.go1
-rw-r--r--skate/verify_string.go51
3 files changed, 28 insertions, 25 deletions
diff --git a/skate/cmd/skate-reduce/main.go b/skate/cmd/skate-reduce/main.go
index 14eba71..c0ef9fc 100644
--- a/skate/cmd/skate-reduce/main.go
+++ b/skate/cmd/skate-reduce/main.go
@@ -81,6 +81,7 @@ var (
"pmcid": skate.MatchResult{Status: skate.StatusExact, Reason: skate.ReasonPMCID},
"arxiv": skate.MatchResult{Status: skate.StatusExact, Reason: skate.ReasonArxiv},
"unknown": skate.MatchResult{Status: skate.StatusUnknown, Reason: skate.ReasonUnknown},
+ "isbn": skate.MatchResult{Status: skate.StatusExact, Reason: skate.ReasonISBN},
}
)
diff --git a/skate/verify.go b/skate/verify.go
index 842bedc..a656b1a 100644
--- a/skate/verify.go
+++ b/skate/verify.go
@@ -59,6 +59,7 @@ const (
ReasonDataciteVersion
ReasonDatasetDOI
ReasonFigshareVersion
+ ReasonISBN
ReasonJaccardAuthors
ReasonJstorID
ReasonMaxClusterSizeExceeded
diff --git a/skate/verify_string.go b/skate/verify_string.go
index 8ec72cf..53bbd30 100644
--- a/skate/verify_string.go
+++ b/skate/verify_string.go
@@ -55,34 +55,35 @@ func _() {
_ = x[ReasonDataciteVersion-28]
_ = x[ReasonDatasetDOI-29]
_ = x[ReasonFigshareVersion-30]
- _ = x[ReasonJaccardAuthors-31]
- _ = x[ReasonJstorID-32]
- _ = x[ReasonMaxClusterSizeExceeded-33]
- _ = x[ReasonNumDiff-34]
- _ = x[ReasonPMCID-35]
- _ = x[ReasonPMID-36]
- _ = x[ReasonPMIDDOIPair-37]
- _ = x[ReasonPageCount-38]
- _ = x[ReasonPreprintPublished-39]
- _ = x[ReasonPublisherBlacklist-40]
- _ = x[ReasonReleaseType-41]
- _ = x[ReasonSharedDOIPrefix-42]
- _ = x[ReasonShortTitle-43]
- _ = x[ReasonSingularCluster-44]
- _ = x[ReasonSlugTitleAuthorMatch-45]
- _ = x[ReasonSubtitle-46]
- _ = x[ReasonTitleArtifact-47]
- _ = x[ReasonTitleAuthorMatch-48]
- _ = x[ReasonTitleFilename-49]
- _ = x[ReasonTokenizedAuthors-50]
- _ = x[ReasonVersionedDOI-51]
- _ = x[ReasonWorkID-52]
- _ = x[ReasonYear-53]
+ _ = x[ReasonISBN-31]
+ _ = x[ReasonJaccardAuthors-32]
+ _ = x[ReasonJstorID-33]
+ _ = x[ReasonMaxClusterSizeExceeded-34]
+ _ = x[ReasonNumDiff-35]
+ _ = x[ReasonPMCID-36]
+ _ = x[ReasonPMID-37]
+ _ = x[ReasonPMIDDOIPair-38]
+ _ = x[ReasonPageCount-39]
+ _ = x[ReasonPreprintPublished-40]
+ _ = x[ReasonPublisherBlacklist-41]
+ _ = x[ReasonReleaseType-42]
+ _ = x[ReasonSharedDOIPrefix-43]
+ _ = x[ReasonShortTitle-44]
+ _ = x[ReasonSingularCluster-45]
+ _ = x[ReasonSlugTitleAuthorMatch-46]
+ _ = x[ReasonSubtitle-47]
+ _ = x[ReasonTitleArtifact-48]
+ _ = x[ReasonTitleAuthorMatch-49]
+ _ = x[ReasonTitleFilename-50]
+ _ = x[ReasonTokenizedAuthors-51]
+ _ = x[ReasonVersionedDOI-52]
+ _ = x[ReasonWorkID-53]
+ _ = x[ReasonYear-54]
}
-const _Reason_name = "ReasonUnknownReasonAppendixReasonArxivReasonArxivVersionReasonBlacklistedReasonBlacklistedFragmentReasonBookChapterReasonChemFormulaReasonComponentReasonContainerReasonContainerNameBlacklistReasonContribIntersectionEmptyReasonCustomBSISubdocReasonCustomBSIUndatedReasonCustomIEEEArxivReasonCustomIOPMAPatternReasonCustomPrefix1014288ReasonCustomPrefix105860ChoiceReviewReasonCustomPrefix107916ReasonCustomVHSReasonDOIReasonDataciteRelatedIDReasonDataciteVersionReasonDatasetDOIReasonFigshareVersionReasonJaccardAuthorsReasonJstorIDReasonMaxClusterSizeExceededReasonNumDiffReasonPMCIDReasonPMIDReasonPMIDDOIPairReasonPageCountReasonPreprintPublishedReasonPublisherBlacklistReasonReleaseTypeReasonSharedDOIPrefixReasonShortTitleReasonSingularClusterReasonSlugTitleAuthorMatchReasonSubtitleReasonTitleArtifactReasonTitleAuthorMatchReasonTitleFilenameReasonTokenizedAuthorsReasonVersionedDOIReasonWorkIDReasonYear"
+const _Reason_name = "ReasonUnknownReasonAppendixReasonArxivReasonArxivVersionReasonBlacklistedReasonBlacklistedFragmentReasonBookChapterReasonChemFormulaReasonComponentReasonContainerReasonContainerNameBlacklistReasonContribIntersectionEmptyReasonCustomBSISubdocReasonCustomBSIUndatedReasonCustomIEEEArxivReasonCustomIOPMAPatternReasonCustomPrefix1014288ReasonCustomPrefix105860ChoiceReviewReasonCustomPrefix107916ReasonCustomVHSReasonDOIReasonDataciteRelatedIDReasonDataciteVersionReasonDatasetDOIReasonFigshareVersionReasonISBNReasonJaccardAuthorsReasonJstorIDReasonMaxClusterSizeExceededReasonNumDiffReasonPMCIDReasonPMIDReasonPMIDDOIPairReasonPageCountReasonPreprintPublishedReasonPublisherBlacklistReasonReleaseTypeReasonSharedDOIPrefixReasonShortTitleReasonSingularClusterReasonSlugTitleAuthorMatchReasonSubtitleReasonTitleArtifactReasonTitleAuthorMatchReasonTitleFilenameReasonTokenizedAuthorsReasonVersionedDOIReasonWorkIDReasonYear"
-var _Reason_index = [...]uint16{0, 13, 27, 38, 56, 73, 98, 115, 132, 147, 162, 190, 220, 241, 263, 284, 308, 333, 369, 393, 408, 417, 440, 461, 477, 498, 518, 531, 559, 572, 583, 593, 610, 625, 648, 672, 689, 710, 726, 747, 773, 787, 806, 828, 847, 869, 887, 899, 909}
+var _Reason_index = [...]uint16{0, 13, 27, 38, 56, 73, 98, 115, 132, 147, 162, 190, 220, 241, 263, 284, 308, 333, 369, 393, 408, 417, 440, 461, 477, 498, 508, 528, 541, 569, 582, 593, 603, 620, 635, 658, 682, 699, 720, 736, 757, 783, 797, 816, 838, 857, 879, 897, 909, 919}
func (i Reason) String() string {
i -= 6