elonzh
elonzh
The consolidation post validation logic is too simple and may easily get the wrong result when authors with same names. ```java // org.grobid.core.utilities.Consolidation#postValidation /** * The new public CrossRef API...
## Request ![image](https://user-images.githubusercontent.com/8749411/124222678-c97b1080-db34-11eb-86fd-d158cc69c5e9.png) ## TEI Result https://gist.github.com/elonzh/ceaf26ef4c011e5b3f57d59eaf044a8d ## Reproduce ```python import logging from lxml import etree xsd_schema_path = "scholardata/grobid/schemas/xsd/Grobid.xsd" xsd_schema = etree.XMLSchema(etree.parse(xsd_schema_path)) rng_schema_path = "scholardata/grobid/schemas/rng/Grobid.rng" rng_schema = etree.RelaxNG(etree.parse(rng_schema_path)) xml_path =...
Paper: [Trace-based just-in-time type specialization for dynamic languages](https://dl.acm.org/doi/10.1145/1543135.1542528) TEI: https://gist.github.com/elonzh/792b045be19b2b1c3c087d2bf1df49d3 ![image](https://user-images.githubusercontent.com/8749411/129658367-17fbd597-5166-4dc6-90e2-7a65c958a75c.png)
This project is convenient for simply requesting and response handling, but it's tricky if you want to hook the request will be sent or the response we received. Here are...
```go u := "http://httpbin.org/post" // Using net/http v := make(url.Values) // url.Values has methods for value manipulating v.Set("k1", "v1") http.PostForm(u, v) // or http.PostForm(u, url.Values{"k1": []string{"v1"}}) // Using gentleman r...
The context package wrap the `http.Request.Body` with a internal type `utils.nopCloser` in `createRequest` and replace body with a new type `context.contextReadCloser` when we try to update values in context. Unfortunately,...
## 功能描述 微信支付相关 API 已经迁移到了基于 JSON 的[ V3 版本](https://pay.weixin.qq.com/wiki/doc/apiv3/apis/index.shtml)。 ![image](https://user-images.githubusercontent.com/8749411/122503637-6749e800-d02b-11eb-8116-22cf4651c414.png) ## 相关资料 [微信支付 API 文档更新日志](https://pay.weixin.qq.com/wiki/doc/apiv3/release/chapter1_0.shtml)
Currently `vcrpy` doesn't decompress response in Brotli compression format, but Brotli is well supported in HTTP clients like `requests`, `httpx`. https://github.com/kevin1024/vcrpy/blob/c79a06f639dd628536c9868044e78df1012985f9/vcr/filters.py#L127-L162 https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding#directives
My OS was clean install but there are still some issues. 1. The icon of "Brightness & Lock" missed. 2. The button in the "Network" setting panel is misshapen. See...
Normally diagonal text is useless for grobid training.