# Copyright (c) 2020-2024, NVIDIA CORPORATION.
from libcpp.memory cimport unique_ptr
from pylibcudf.libcudf.column.column cimport column
from pylibcudf.libcudf.column.column_view cimport column_view
from pylibcudf.libcudf.scalar.scalar cimport string_scalar
from pylibcudf.libcudf.strings.char_types cimport string_character_types


cdef extern from "cudf/strings/capitalize.hpp" namespace "cudf::strings" nogil:
    cdef unique_ptr[column] capitalize(
        const column_view & strings,
        const string_scalar & delimiters
        ) except +

    cdef unique_ptr[column] title(
        const column_view & strings,
        string_character_types sequence_type
        ) except +

    cdef unique_ptr[column] is_title(
        const column_view & strings) except +
