Voice forwarding in automated chatting
The present disclosure provides method and apparatus for voice forwarding in automated chatting. A first request for transmitting a voice segment may be received from a first entity in a service group. The voice segment may be received from the first entity. A voice message may be generated based on the voice segment. The voice message may be transmitted based on the first request.
1. A method for voice forwarding in a computer implemented chatting service, comprising:
receiving at the chatting service, from a first entity in a service group, a first request for transmitting a voice segment;
sending a response via the chatting service to the first entity;
receiving at the chatting service, the voice segment from the first entity in response to the response sent by the chatting service;
generating via the chatting service, a voice message based on the voice segment; and
transmitting via the chatting service, the voice message based on the first request.
2. The method of claim 1 , further comprising:
determining at least one second entity in the service group based on the first request,
wherein the transmitting the voice message comprises: transmitting the voice message to the at least one second entity.
3. The method of claim 1 , further comprising:
determining that the first request indicates transmitting the voice segment randomly; and
receiving, from a second entity in the service group, a second request for obtaining a randomly-transmitted voice message,
wherein the transmitting the voice message comprises: transmitting the voice message to the second entity.
4. The method of claim 1 , further comprising:
determining that the first request indicates transmitting the voice segment in a way not denoting the first entity,
wherein the transmitting the voice message comprises: transmitting the voice message in the way not denoting the first entity.
5. The method of claim 1 , wherein the generating the voice message comprises:
including the voice segment in the voice message.
6. The method of claim 1 , wherein the generating the voice message comprises:
detecting an indication of target voice preference from the first request;
converting the received voice segment, via the chatting service, into a target voice segment based on the voice preference such that the target voice segment is in a voice different from the received voice segment; and
including the target voice segment in the voice message.
7. The method of claim 6 , wherein the converting comprises:
transforming the voice segment into a text; and
transforming the text into the target voice segment, tones of the target voice segment being based on the voice preference.
8. The method of claim 6 , wherein the converting comprises:
transforming the voice segment into a text;
modifying the text based on the voice preference; and
transforming the modified text into the target voice segment, tones of the target voice segment being based on the voice preference.
9. The method of claim 6 , further comprising:
detecting an emotion of the voice segment,
wherein the converting is further based on the emotion.
10. The method of claim 1 , further comprising:
transmitting the voice message to the first entity,
wherein the transmitting the voice message comprises: transmitting the voice message if a confirmation of transmitting the voice message is received from the first entity.
11. The method of claim 1 , further comprising:
detecting an emotion of the voice segment;
generating a message notification based at least on the emotion; and
transmitting the message notification based on the first request.
12. The method of claim 1 , further comprising:
detecting an emotion of the voice segment; and
forbidding the transmitting of the voice message if the emotion is negative.
13. The method of claim 9 , wherein
the detecting of the emotion is based on a voice emotion classifier established through deep learning.
14. The method of claim 1 , further comprising:
stop transmitting the voice message if the voice message has been transmitted for a predetermined number of times.
15. The method of claim 1 , wherein
the voice segment is limited to a length within a time threshold.
16. An apparatus for voice forwarding in a computer implemented chatting service, comprising:
a request receiving module of the chatting service, for receiving, from a first entity in a service group, a first request for transmitting a voice segment;
a voice segment receiving module of the chatting service, for receiving the voice segment from the first entity in response to a response generated by the chatting service;
a voice message generating module of the chatting service, for generating a voice message based on the voice segment; and
a voice message transmitting module of the chatting service, for transmitting the voice message based on the first request.
17. The apparatus of claim 16 , further comprising:
an entity determining module, for determining at least one second entity in the service group based on the first request,
wherein the voice message transmitting module is further for: transmitting the voice message to the at least one second entity.
18. The apparatus of claim 16 , further comprising:
a random transmission determining module, for determining that the first request indicates transmitting the voice segment randomly,
wherein the request receiving module is further for receiving, from a second entity in the service group, a second request for obtaining a randomly-transmitted voice message,
wherein the voice message transmitting module is further for: transmitting the voice message to the second entity.
19. The apparatus of claim 16 , wherein the voice message generating module is further for:
detecting an indication of voice preference from the first request;
converting the voice segment into a target voice segment based on the voice preference; and
including the target voice segment in the voice message.
20. The apparatus of claim 19 , further comprising:
an emotion detecting module, for detecting an emotion of the voice segment,
wherein the converting is further based on the emotion.