Git Product home page Git Product logo

Comments (3)

spencermountain avatar spencermountain commented on June 11, 2024 1

hey Frazer, with periods, this is the expected behaviour for abbreviations, like 400 mg. of THC, and a sr. in high-school.
but yeah '12 mg!' and 12 mg? should truncate the sentence.
will add this one to the list. Good catch
cheers

from compromise.

spencermountain avatar spencermountain commented on June 11, 2024

fixed in 14.10.1, thanks for the help

from compromise.

thegoatherder avatar thegoatherder commented on June 11, 2024

@spencermountain this is half-fixed. I think the problem is when an abbreviation is used in text and then followed by a genuine new sentence.

I prescribed him 400mg. He went to the pharmacy.

As I think about this, I guess there's no easy fix for it. We could detect an uppercase next work but I imagine that will have a lot of false-positives.

FWIW we have a large body of clinical dialogue in text and we rarely would see the . after a unit abbreviation. It's not common at all. Usually it's presented without the . i.e. He was injected with 400mg of morphine.

from compromise.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.