// File: /workspace/github_cpp_makefile_star2_O3/epfml[P]Bi-Sent2Vec/src/fasttext.cc
// Function: fasttext::FastText::sentenceVectors()
void FastText::sentenceVectors() {
  Vector vec(args_->dim);
  std::string sentence;
  Vector svec(args_->dim);
  std::string word;
  while (std::getline(std::cin, sentence)) {
    std::istringstream iss(sentence);
    svec.zero();
    int32_t count = 0;
    while(iss >> word) {
      getVector(vec, word);
      vec.mul(1.0 / vec.norm());
      svec.addVector(vec);
      count++;
    }
    svec.mul(1.0 / count);
    std::cout << sentence << " " << svec << std::endl;
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1e8, %rsp            # imm = 0x1E8
movq %rdi, %rbx
movq (%rdi), %rax
movslq 0x94(%rax), %rsi
leaq 0x58(%rsp), %rdi
callq 0xf1ac
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movq (%rbx), %rax
movslq 0x94(%rax), %rsi
leaq 0x48(%rsp), %rdi
callq 0xf1ac
leaq 0x38(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movq 0x14727(%rip), %r15     # 0x29fd8
leaq 0x68(%rsp), %r13
leaq 0x48(%rsp), %rbp
leaq 0x28(%rsp), %r14
leaq 0x58(%rsp), %r12
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x42d0
movsbl %al, %edx
movq %r15, %rdi
leaq 0x8(%rsp), %rsi
callq 0x4600
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x15a1b
movq %r13, %rdi
leaq 0x8(%rsp), %rsi
movl $0x8, %edx
callq 0x4540
movq %rbp, %rdi
callq 0xf1e8
xorl %r15d, %r15d
movq %r13, %rdi
movq %r14, %rsi
callq 0x43d0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x1596e
movq %rbx, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x11c60
movq %r12, %rdi
callq 0xf200
movss 0x9839(%rip), %xmm1     # 0x1f188
divss %xmm0, %xmm1
movq %r12, %rdi
movaps %xmm1, %xmm0
callq 0xf238
movq %rbp, %rdi
movq %r12, %rsi
callq 0xf25e
incl %r15d
jmp 0x15918
xorps %xmm0, %xmm0
cvtsi2sd %r15d, %xmm0
movsd 0x8f7a(%rip), %xmm1     # 0x1e8f8
divsd %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtsd2ss %xmm1, %xmm0
movq %rbp, %rdi
callq 0xf238
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x1461e(%rip), %rdi     # 0x29fc0
callq 0x4350
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
leaq 0x91a9(%rip), %rsi      # 0x1eb62
callq 0x4350
movq %r15, %rdi
movq %rbp, %rsi
callq 0xf605
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x42d0
movsbl %al, %esi
movq %r15, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x4200
movq %r13, %rdi
movq 0x145b3(%rip), %rsi     # 0x29fb0
callq 0x4450
leaq 0xe0(%rsp), %rdi
callq 0x4110
movq 0x145c2(%rip), %r15     # 0x29fd8
jmp 0x158c5
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x15a37
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x4300
leaq 0x48(%rsp), %rdi
callq 0xf1d6
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x15a5d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4300
leaq 0x58(%rsp), %rdi
callq 0xf1d6
addq $0x1e8, %rsp            # imm = 0x1E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x15ad0
jmp 0x15a82
jmp 0x15a89
movq %rax, %rbx
jmp 0x15aaa
jmp 0x15a89
movq %rax, %rbx
movq 0x1451d(%rip), %rsi     # 0x29fb0
leaq 0x68(%rsp), %rdi
callq 0x4450
leaq 0xe0(%rsp), %rdi
callq 0x4110
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x15ac6
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x4300
leaq 0x48(%rsp), %rdi
callq 0xf1d6
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x15aec
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4300
leaq 0x58(%rsp), %rdi
callq 0xf1d6
movq %rbx, %rdi
callq 0x45b0