Fix doctest for MarkupLM (#19845)
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
@@ -95,10 +95,8 @@ This is the simplest case, in which the processor will use the feature extractor
|
|||||||
... <title>Hello world</title>
|
... <title>Hello world</title>
|
||||||
... </head>
|
... </head>
|
||||||
... <body>
|
... <body>
|
||||||
|
|
||||||
... <h1>Welcome</h1>
|
... <h1>Welcome</h1>
|
||||||
... <p>Here is my website.</p>
|
... <p>Here is my website.</p>
|
||||||
|
|
||||||
... </body>
|
... </body>
|
||||||
... </html>"""
|
... </html>"""
|
||||||
|
|
||||||
@@ -165,10 +163,8 @@ processor will use the feature extractor to get all nodes and xpaths, and create
|
|||||||
... <title>Hello world</title>
|
... <title>Hello world</title>
|
||||||
... </head>
|
... </head>
|
||||||
... <body>
|
... <body>
|
||||||
|
|
||||||
... <h1>Welcome</h1>
|
... <h1>Welcome</h1>
|
||||||
... <p>My name is Niels.</p>
|
... <p>My name is Niels.</p>
|
||||||
|
|
||||||
... </body>
|
... </body>
|
||||||
... </html>"""
|
... </html>"""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user