我有如下数据:Barium swallow : There is slow transit to the stomach.Conclusion: Normal studyBarium swallow : There is slow transit to the stomach.Conclusion: Normal studyBarium swallow : There is slow transit to the stomach.\\n|\\.$)示例1
Barium swal
例子如下:
Reversal of sentence: you can't swallow a cage can you?Reversal of sentence: you can't swallow a cage can you�(�?Reversal of sentence: you can't swallow a cage can you��x�?Reversal of sentence: you can't swallow a cage can you�Ց�?Reversal
我正在尝试使用这个解决方案,但是它就是不能工作。这基本上就是从python中调用Stanford解析器,然后在python中获得输出。解析器是用java编写的。sentence = '''I shot an elephant in my pajamas'''parser_out = os.popen("C:/Python27/stanford-parser