Exemplo n.º 1
0
def from_file(filename, serverEndpoint=ServerEndpoint, xmlContent=False):
    if not xmlContent:
        jsonOutput = parse1('all', filename, serverEndpoint)
    else:
        jsonOutput = parse1('all',
                            filename,
                            serverEndpoint,
                            services={
                                'meta': '/meta',
                                'text': '/tika',
                                'all': '/rmeta/xml'
                            })
    return _parse(jsonOutput)
Exemplo n.º 2
0
def from_file(filename, serverEndpoint=ServerEndpoint):
    jsonOutput = parse1('all', filename, serverEndpoint)
    return _parse(jsonOutput)
Exemplo n.º 3
0
def from_file(filename, serverEndpoint=ServerEndpoint):
    jsonOutput = parse1('all', filename, serverEndpoint)
    return _parse(jsonOutput)
Exemplo n.º 4
0
def from_file(filename, serverEndpoint=ServerEndpoint, xmlContent=False):
    if not xmlContent:
        jsonOutput = parse1('all', filename, serverEndpoint)
    else:
        jsonOutput = parse1('all', filename, serverEndpoint, services={'meta': '/meta', 'text': '/tika', 'all': '/rmeta/xml'})
    return _parse(jsonOutput)