Call Center SDK  1.11.3
All Classes Functions Variables Typedefs Enumerations Enumerator Pages
Public Types | Public Member Functions | Public Attributes | Friends | List of all members
voicesdk::attr::Attributes Struct Reference

Structure representing estimated person attributes. More...

#include <voicesdk/attributes/attributes.h>

Public Types

enum class  Gender : uint8_t { MALE = 0 , FEMALE = 1 }
 Enumeration representing human gender.
 
enum class  PhoneCallParticipant : uint8_t { OPERATOR = 0 , CUSTOMER = 1 , OTHER = 2 , UNDEFINED = 3 }
 Enumeration representing phone call participant class. More...
 

Public Member Functions

 Attributes (const Attributes &other)=default
 
 Attributes (const float &gender_score_, const Gender &gender_, const size_t &age_, const PhoneCallParticipant &phone_call_participant_=PhoneCallParticipant::UNDEFINED)
 
bool operator== (const Attributes &other) const
 

Public Attributes

const float gender_score
 Raw gender score (the bigger score corresponding to male and the smaller score corresponding to female)
 
const Gender gender
 Estimated gender.
 
const size_t age
 Estimated age in years.
 
const PhoneCallParticipant phone_call_participant
 Estimated phone call participant class. Makes sense only for single speaker phone call recordings. More...
 

Friends

std::ostream & operator<< (std::ostream &os, const Attributes &obj)
 

Detailed Description

Structure representing estimated person attributes.

Member Enumeration Documentation

◆ PhoneCallParticipant

Enumeration representing phone call participant class.

Deprecated:
Enumerator
OPERATOR 

call-center operator

CUSTOMER 

call-center customer

OTHER 

noise, music etc.

UNDEFINED 

undefined

Member Data Documentation

◆ phone_call_participant

const PhoneCallParticipant voicesdk::attr::Attributes::phone_call_participant

Estimated phone call participant class. Makes sense only for single speaker phone call recordings.

Deprecated:
Always equals to UNDEFINED.