Skip to content

Commit 8136d6a

Browse files
committed
Formatting fixes
1 parent 788943e commit 8136d6a

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

src/french_stem.h

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1864,7 +1864,8 @@ namespace stemming
18641864
common_lang_constants::LOWER_S, common_lang_constants::UPPER_S) )
18651865
{
18661866
if (text.length() >= 6 &&
1867-
has_ais_suffix(std::basic_string_view<typename string_typeT::value_type>{ text.c_str(), text.length() - 5 }))
1867+
has_ais_suffix(std::basic_string_view<typename string_typeT::value_type>
1868+
{ text.c_str(), text.length() - 5 }))
18681869
{
18691870
text.erase(text.length() - 5);
18701871
stem<string_typeT>::update_r_sections(text);
@@ -1986,7 +1987,8 @@ namespace stemming
19861987
common_lang_constants::LOWER_E, common_lang_constants::UPPER_E) )
19871988
{
19881989
if (text.length() >= 5 &&
1989-
has_ais_suffix(std::basic_string_view<typename string_typeT::value_type>{ text.c_str(), text.length() - 4 }))
1990+
has_ais_suffix(std::basic_string_view<typename string_typeT::value_type>
1991+
{ text.c_str(), text.length() - 4 }))
19901992
{
19911993
text.erase(text.length() - 4);
19921994
stem<string_typeT>::update_r_sections(text);
@@ -2000,7 +2002,8 @@ namespace stemming
20002002
common_lang_constants::LOWER_S, common_lang_constants::UPPER_S) )
20012003
{
20022004
if (text.length() >= 4 &&
2003-
has_ais_suffix(std::basic_string_view<typename string_typeT::value_type>{ text.c_str(), text.length() - 3 }))
2005+
has_ais_suffix(std::basic_string_view<typename string_typeT::value_type>
2006+
{ text.c_str(), text.length() - 3 }))
20042007
{
20052008
text.erase(text.length() - 3);
20062009
stem<string_typeT>::update_r_sections(text);

src/german_stem.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,8 @@ namespace stemming
318318
L'L', L'M', L'N', L'R', L'S', L'T', L'Z', L'Ä',
319319
UPPER_U_HASH, LOWER_U_HASH };
320320
if (stem<string_typeT>::is_one_of(text[text.length() - 3], VALID_ET_SUFFIX_CHARACTERS) &&
321-
has_et_suffix(std::basic_string_view<typename string_typeT::value_type>{ text.c_str(), text.length() - 2 }))
321+
has_et_suffix(std::basic_string_view<typename string_typeT::value_type>
322+
{ text.c_str(), text.length() - 2 }))
322323
{
323324
text.erase(text.length() - 2);
324325
stem<string_typeT>::update_r_sections(text);

0 commit comments

Comments
 (0)