- 实词:名词、动词、形容词、状态词、区别词、数词、量词、代词
- 虚词:副词、介词、连词、助词、拟声词、叹词。
n 名词
nr 人名
#include <iostream> | |
#include <climits> | |
#include <queue> | |
#include <map> | |
#include <cassert> | |
#include "graph.h" | |
#define MAX_ELEMENTS 100 |
import numpy as np | |
import pymc | |
import pdb | |
def unconditionalProbability(Ptrans): | |
"""Compute the unconditional probability for the states of a | |
Markov chain.""" | |
m = Ptrans.shape[0] |
// sample foo | |
#include <stdlib.h> | |
#include <sys/types.h> | |
#include <unistd.h> | |
#include <stdio.h> | |
int main(int argc, char* argv[]){ | |
int i = 0; | |
""" | |
(C) Mathieu Blondel - 2010 | |
Implementation of the collapsed Gibbs sampler for | |
Latent Dirichlet Allocation, as described in | |
Finding scientifc topics (Griffiths and Steyvers) | |
""" | |
import numpy as np |