Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/s/i/simplenlp-1.1.2/simplenlp/ja_cabocha/parser.py   simplenlp(Download)
        string         = clean_input(string)
        cabocha        = CaboCha.Parser("-f1 -n1")
        tree           = cabocha.parse(string)
        cabocha_chunks = [ tree.chunk(i) for i in range(0, tree.chunk_size()) ]
        cabocha_tokens = [ tree.token(i) for i in range(0, tree.token_size()) ]