Skip to content

Commit d4702bd

Browse files
committed
Add constants for the Snowball standard and copyright, document version constants
1 parent 25b7a04 commit d4702bd

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

src/stemming.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,25 @@
1818
/// @brief Namespace for stemming classes.
1919
namespace stemming
2020
{
21+
/// @brief The library's major version.
2122
constexpr int OLEANDER_STEM_MAJOR_VERSION = 2023;
23+
/// @brief The library's minor version.
2224
constexpr int OLEANDER_STEM_MINOR_VERSION = 1;
25+
/// @brief The library's patch version.
2326
constexpr int OLEANDER_STEM_PATCH_VERSION = 0;
27+
/// @brief The library's tweak version.
2428
constexpr int OLEANDER_STEM_TWEAK_VERSION = 0;
2529

30+
/// @brief The library's copyright notice.
31+
constexpr wchar_t OLEANDER_STEM_COPYRIGHT[] = L"Copyright (c) 2004-2025 Blake Madden";
32+
33+
/// @brief The Snowball standard implemented by the library
34+
/// (major version).
35+
constexpr int SNOWBALL_MAJOR_VERSION = 2;
36+
/// @brief The Snowball standard implemented by the library
37+
/// (minor version).
38+
constexpr int SNOWBALL_STEM_MINOR_VERSION = 3;
39+
2640
/// @brief Languages available for stemming.
2741
enum class stemming_type
2842
{

0 commit comments

Comments
 (0)