当前位置:   article > 正文

spacy的en_core_web_lg模型和en_core_web_trf分句结果不同_lend half baked thoughts the mask of tidiness

lend half baked thoughts the mask of tidiness

找个例句试了一下;

I BEGAN WRITING THIS BOOK shortly after the end of my presidency—after Michelle and I had boarded Air Force One for the last time and traveled west for a long-deferred break. The mood on the plane was bittersweet. Both of us were drained, physically and emotionally, not only by the labors of the previous eight years but by the unexpected results of an election in which someone diametrically opposed to everything we stood for had been chosen as my successor. Still, having run our leg of the race to completion, we took satisfaction in knowing that we’d done our very best—and that however much I’d fallen short as president, whatever projects I’d hoped but failed to accomplish, the country was in better shape now than it had been when I’d started. For a month, Michelle and I slept late, ate leisurely dinners, went for long walks, swam in the ocean, took stock, replenished our friendship, rediscovered our love, and planned for a less eventful but hopefully no less satisfying second act. And by the time I was ready to get back to work and sat down with a pen and yellow pad (I still like writing things out in longhand, finding that a computer gives even my roughest drafts too smooth a gloss and lends half-baked thoughts the mask of tidiness), I had a clear outline of the book in my head. 

en_core_web_lg的分句结果

1
I BEGAN WRITING THIS BOOK shortly after the end of my presidency—after Michelle and I had boarded Air Force One for the last time and traveled west for a long-deferred break.
2
The mood on the plane was bittersweet.
3
Both of us were drained, physically and emotionally, not only by the labors of the previous eight years but by the unexpected results of an election in which someone diametrically opposed to everything we stood for had been chosen as my successor.
4
Still, having run our leg of the race to completion, we took satisfaction in knowing that we’d done our very best—and that however much
5
I’d fallen short as president, whatever projects I’d hoped but failed to accomplish, the country was in better shape now than it had been when I’d started.
6
For a month, Michelle and I slept late, ate leisurely dinners, went for long walks, swam in the ocean, took stock, replenished our friendship, rediscovered our love, and planned for a less eventful but hopefully no less satisfying second act.
7
And by the time I was ready to get back to work and sat down with a pen and yellow pad (I still like writing things out in longhand, finding that a computer gives even my roughest drafts too smooth a gloss and lends half-baked thoughts the mask of tidiness), I had a clear outline of the book in my head.

trf 模型分句结果
1
I BEGAN WRITING THIS BOOK shortly after the end of my presidency—after Michelle and I had boarded Air Force One for the last time and traveled west for a long-deferred break.
2
The mood on the plane was bittersweet.
3
Both of us were drained, physically and emotionally, not only by the labors of the previous eight years but by the unexpected results of an election in which someone diametrically opposed to everything we stood for had been chosen as my successor.
4
Still, having run our leg of the race to completion, we took satisfaction in knowing that we’d done our very best—and that however much I’d fallen short as president, whatever projects I’d hoped but failed to accomplish, the country was in better shape now than it had been when I’d started.
5
For a month, Michelle and I slept late, ate leisurely dinners, went for long walks, swam in the ocean, took stock, replenished our friendship, rediscovered our love, and planned for a less eventful but hopefully no less satisfying second act.
6
And by the time I was ready to get back to work and sat down with a pen and yellow pad (I still like writing things out in longhand, finding that a computer gives even my roughest drafts too smooth a gloss and lends half-baked thoughts the mask of tidiness), I had a clear outline of the book in my head.

从例子来看,trf的更准确,虽然有个warning不知道怎么消。

UserWarning: User provided device_type of 'cuda', but CUDA is not available. Disabling
  warnings.warn('User provided device_type of \'cuda\', but CUDA is not available. Disabling')

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小舞很执着/article/detail/882053
推荐阅读
相关标签
  

闽ICP备14008679号