Peer Review History

Original SubmissionJuly 3, 2020
Decision Letter - Diego Raphael Amancio, Editor

PONE-D-20-20418

A clinical specific BERT developed with huge size of Japanese clinical narrative

PLOS ONE

Dear Dr. Kawazoe,

Thank you for submitting your manuscript to PLOS ONE. After careful consideration, we feel that it has merit but does not fully meet PLOS ONE’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.

Please submit your revised manuscript by Jan 17 2021 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at plosone@plos.org. When you're ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

Please include the following items when submitting your revised manuscript:

  • A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'.
  • A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.
  • An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.

If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter.

If applicable, we recommend that you deposit your laboratory protocols in protocols.io to enhance the reproducibility of your results. Protocols.io assigns your protocol its own identifier (DOI) so that it can be cited independently in the future. For instructions see: http://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols

We look forward to receiving your revised manuscript.

Kind regards,

Diego Raphael Amancio

Academic Editor

PLOS ONE

Journal Requirements:

When submitting your revision, we need you to address these additional requirements.

1. Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming. The PLOS ONE style templates can be found at

https://journals.plos.org/plosone/s/file?id=wjVg/PLOSOne_formatting_sample_main_body.pdf and

https://journals.plos.org/plosone/s/file?id=ba62/PLOSOne_formatting_sample_title_authors_affiliations.pdf

2. In the ethics statement in the manuscript and in the online submission form, please provide additional information about the patient records used in your retrospective study. Specifically, please ensure that you have discussed whether all data were fully anonymized before you accessed them and/or whether the IRB or ethics committee waived the requirement for informed consent. If patients provided informed written consent to have data from their medical records used in research, please include this information.

3. Thank you for stating the following in the Competing Interests section:

"Y.K and E.S belong to the 'Artificial Intelligence in Healthcare, Graduate School of Medicine, The University of Tokyo' which is an endowment department, supported with an unrestricted grant from ‘I&H Co., Ltd.’ and ‘EM SYSTEMS company’, but these sponsors had no control over the interpretation, writing, or publication of this work."

Please confirm that this does not alter your adherence to all PLOS ONE policies on sharing data and materials, by including the following statement: "This does not alter our adherence to  PLOS ONE policies on sharing data and materials.” (as detailed online in our guide for authors http://journals.plos.org/plosone/s/competing-interests).  If there are restrictions on sharing of data and/or materials, please state these. Please note that we cannot proceed with consideration of your article until this information has been declared.

Please include your updated Competing Interests statement in your cover letter; we will change the online submission form on your behalf.

Please know it is PLOS ONE policy for corresponding authors to declare, on behalf of all authors, all potential competing interests for the purposes of transparency. PLOS defines a competing interest as anything that interferes with, or could reasonably be perceived as interfering with, the full and objective presentation, peer review, editorial decision-making, or publication of research or non-research articles submitted to one of the journals. Competing interests can be financial or non-financial, professional, or personal. Competing interests can arise in relationship to an organization or another person. Please follow this link to our website for more details on competing interests: http://journals.plos.org/plosone/s/competing-interests

4. We note that you have indicated that data from this study are available upon request. PLOS only allows data to be available upon request if there are legal or ethical restrictions on sharing data publicly. For information on unacceptable data access restrictions, please see http://journals.plos.org/plosone/s/data-availability#loc-unacceptable-data-access-restrictions.

In your revised cover letter, please address the following prompts:

a) If there are ethical or legal restrictions on sharing a de-identified data set, please explain them in detail (e.g., data contain potentially identifying or sensitive patient information) and who has imposed them (e.g., an ethics committee). Please also provide contact information for a data access committee, ethics committee, or other institutional body to which data requests may be sent.

b) If there are no restrictions, please upload the minimal anonymized data set necessary to replicate your study findings as either Supporting Information files or to a stable, public repository and provide us with the relevant URLs, DOIs, or accession numbers. Please see http://www.bmj.com/content/340/bmj.c181.long for guidelines on how to de-identify and prepare clinical data for publication. For a list of acceptable repositories, please see http://journals.plos.org/plosone/s/data-availability#loc-recommended-repositories.

We will update your Data Availability statement on your behalf to reflect the information you provide.

[Note: HTML markup is below. Please do not edit.]

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #1: Yes

Reviewer #2: Partly

**********

2. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: Yes

Reviewer #2: Yes

**********

3. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

Reviewer #2: Yes

**********

4. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #1: Yes

Reviewer #2: No

**********

5. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #1: Report on the manuscript "A clinical specific BERT developed with huge size of

Japanese clinical narrative" by Kawazoe and coauthors submitted for

publication in PLOS ONE.

In this manuscript, the authors present a clinical specific BERT model trained

on a massive data set comprising over 120 million lines of clinical text

obtained from the University of Tokyo Hospital. As the authors rightly point

out, there are very few models pre-trained with Japanese texts in general, and

particularly in the clinical domain. The authors compare its BERT model

(UTH-BERT, pre-trained with clinical text) with three other BERT models:

KU-BERT and TU-BERT (both pre-trained with the Japanese Wikipedia), and the

Google multilingual BERT (Google-ML). They observe that BERT models

pre-trained with Japanese texts outperform Google-ML, but no substantial

improvement is found between UTH-BERT and KU-BERT and TU-BERT (that is, there

is no significant advantage in using domain-specific texts). However, the

authors argue that this difference may emerge with more complex tasks.

This work reads very well, and I believe it is an essential contribution to

literature as it reduces the shortage of studies with the Japanese language

and may trigger other investigations. I have no suggestions on how to improve

this work, and I recommend publication in the present form.

Reviewer #2: This paper describes a clinical-specific BERT model for Japanese. The

model is pre-trained by using a huge Japanese clinical text. The

experiments on a text classification task in a clinical domain

demonstrate the proposed BERT model was slightly better than general

BERT models.

The trained BERT model is valuable for Japanese clinical

researches. However, the differences between the proposed BERT and

other general Japanese BERT models in the evaluated task are very

small. Although I understand the situation where only a few Japanese

evaluation sets in a clinical domain are available, this experimental

result is weak for insisting the effectiveness of the

clinical-specific Japanese BERT model.

Although the authors say that "error analysis is required" in L277,

improved examples and errors should be presented, and discussion

should be made in the paper. These will help readers understand the

strength and weakness of the proposed BERT model.

The comparison between BERT and other classical machine learning

methods such as SVM and LR does not make sense in this paper because

the superiority of BERT models has been shown in many

papers. Furthermore, SVM with KU or TU vocabularies does not make

sense because these (subword) vocabularies are not for SVM nor LR.

There are many typos and some misunderstandings for BERT. Please check

the followings carefully.

- L40: that pre-trained -> that are pre-trained

- L55: on huge corpus -> on a huge corpus

- L56: natural language task -> natural language tasks

- L60: corpus for pre-training preferred to use the same domain as the target task

-> the domain of a corpus for pre-training prefers to the same as the one of a target task

- L63: a study that domain specifically pre-training -> the domain-specific pre-trained model (?)

- L66: pre-trained transforms -> BERT models

- L67: Japanese text -> a Japanese text

- L67: Because multilingual BERT was pre-trained using a general

corpus, the sentence "One of the options is to use multilingual BERT

.." is not appropriate

- L70: WIKIPEDIA -> Wikipedia

- L73: make -> makes

- L90: I can't understand the sentence ".. before attempt to parse it .."

- L93: the MeCab -> MeCab, the Juman++ -> Juman

- L93: The reference [15] is wrong, and should be the following:

Morphological Analysis for Unsegmented Languages using Recurrent Neural Network Language Model.

Hajime Morita, Daisuke Kawahara, Sadao Kurohashi.

EMNLP 2015

- L94: wordpiece tokenization -> the wordpiece tokenization

- L95: which segment -> which segments

- L97: All the tokens are called "subword". The explanation should be as follows:

"A subword that starts with "##" represents a subword that is not the begging of a word."

- L107: external dictionary -> an external dictionary

- L109: the clinical text -> a clinical text

- L110: domain specific dictionary -> a domain specific dictionary

- L110: Japanese clinical text -> a Japanese clinical text

- L111: in as -> into as (?)

- L111: decompose -> decomposes

- L112: create -> creates

- L118: The paragraph "Pre-training BERT" contains several inaccurate expressions.

- L122: What does "the sequence" mean? It means a word sequence? The

word2vec embeddings, for example, are trained from a word sequence,

and so this explanation is inaccurate for mentioning the difference

between BERT and existing embeddings.

- L123: I think the clause "which learns sentence expressions

.. between words" is misunderstanding. The self-attention in BERT

can learn token embeddings as well as sentence embeddings.

- L131: the original embeddings of those tokens -> the original tokens

- L132: I can't understand the sentence "more appropriate

representation of sentences is obtained".

- L138: the consecutive sentence -> a consecutive sentence

- L140: The subject of the verb "connect" is missing

- L142: I think the verb "pinch" is not appropriate in this context

- L143: I think there is a misunderstanding in the NSP task. For a

sentence in a document, a random sentence as a negative example is

chosen from other documents. Therefore, it is a usual way that all

the sentences in a document in one day are regarded as one

document. The explanation from L142 to L147 does not make sense.

- L161: Please explain "pseudo-Twitter messages".

- Table2: Juman -> Juman++ (for KU-BERT)

- L203: single GPU -> a single GPU

- L211: "due to" is incorrect. I don't know the intention of this

phrase.

- L213: Google-ML BERT -> Google mBERT

- L225: highest -> the highest

- L237: by -> with

- L251: indicate -> indicates

- L256: which specialized to -> which are specialized to

- L258: use -> uses

- L258: alleviate -> alleviates

- L265: have pre-trained -> are pre-trained

- L267: intermediate corpus -> an intermediate domain

- L282: contribute in -> contribute to

**********

6. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #2: Yes: Tomohide Shibata

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.]

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com/. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email PLOS at figures@plos.org. Please note that Supporting Information files do not need this step.

Revision 1

Thank you for giving us the opportunity to submit a revised draft of the manuscript. We appreciate the time and effort that you dedicated to provide us with your valuable feedback on the manuscript. We are grateful to the reviewers for their insightful comments on our paper. We incorporated changes to reflect most of the suggestions provided by the reviewers.

At first, due to incorrect spelling, we would like to change the title as follows: A clinical specific BERT developed using a huge Japanese clinical text corpus.

Here is a point-by-point response to the reviewers’ comments and concerns.

# Reviewer1

1. This work reads very well, and I believe it is an essential contribution to literature as it reduces the shortage of studies with the Japanese language and may trigger other investigations. I have no suggestions on how to improve this work, and I recommend publication in the present form.

Response to 1

Thank you for your comment. We trust that the pre-trained model will help research on clinical texts.

# Reviewer2

1. The trained BERT model is valuable for Japanese clinical research. However, the differences between the proposed BERT and other general Japanese BERT models in the evaluated task are very small. Although I understand the situation where only a few Japanese evaluation sets in a clinical domain are available, this experimental result is weak for insisting the effectiveness of the clinical-specific Japanese BERT model.

Response to 1

Thank you for pointing this out. As a result of the re-experiment, we confirmed that there are no significant differences between the BERTs. In addition, because there are, to our knowledge, few Japanese datasets in the clinical domain to use in our experiments, evaluating the BERT models with an appropriate one was challenging. We modified our results as follows:

On Page 10,

Table 4 shows the exact-match accuracies with 95% confidence intervals of four pre-trained BERTs. There were no significant differences among UTH-BERT (0.855), KU-BERT (0.845), and TU-BERT (0.862); however, mBERT significantly showed the lowest accuracy compared to the other BERTs.

2. Although the authors say that "error analysis is required" in L277, improved examples and errors should be presented, and discussion should be made in the paper. These will help readers understand the strength and weakness of the proposed BERT model.

Response to 2

Thank you for pointing this out. We agree that an error analysis is important to know the nature of the model. We conducted a qualitative error analysis and described it as follows:

On Page 12,

3.3 Error analysis

To obtain a better understanding of the UTH-BERT classifier’s mistakes, we qualitatively analyzed its false positive (FP) and false negative (FN) cases in the 640 MedWeb test dataset. The error analysis was conducted for the labels for which UTH-BERT was wrong all five times in the five-fold cross validation. The labels of MedWeb were annotated in terms of three aspects such as Factuality (whether the tweeter has certain symptom or not), Location (whether the symptoms are those of the tweeter or someone in the vicinity or not), and Tense (whether the symptoms exist within 24 hours or not) [19]. Since the MedWeb dataset did not contain information about these perspectives, we manually categorized the error cases based on these aspects. As a result, we obtained eight error types for the FP cases and five error types for the FN cases (Table 6).

1. FP due to false detection of co-occurring symptoms

This type of error was categorized as Factuality. The example sentence No.1 expresses that the flu is negative, but UTH-BERT incorrectly predicted that the fever and flu are positive. The reason for this error would be that the training data contained sentences in which flu and fever are positive simultaneously. In addition, UTH-BERT could not detect the negative expression of flu, so both flu and fever were incorrectly positive.

2. FP for symptoms mentioned in general topics

This was categorized as Factuality. The example sentence No. 2 states that a runny nose is a common symptom of a cold. Despite the general topic, UTH-BERT incorrectly predicted that the tweeter has a cold and a runny nose. The reason for this error would be that UTH-BERT failed to distinguish between symptoms that are stated as a general topic and those occurring in a person.

3. FP for suspected influenza

This was categorized as Factuality. According to the MedWeb annotation criteria, suspected symptoms were treated as positive, but only influenza was treated as negative. (This is because the MedWeb dataset was developed primarily for the surveillance of influenza.) This suggests that difference of annotation criteria between flu and other symptoms, and a lack of sentence expression about suspected flu in the training dataset, led to the errors.

4. FP for fully recovered symptoms

This was categorized as Factuality. According to the annotation criteria, symptoms are labeled as positive if they are in the recovery process and negative if they are completely cured. In example sentence No. 4, even though the tweeter stated that the cough was cured, UTH-BERT could not recognize cured and incorrectly predicted that cough was positive.

5. FP for metaphorical expressions

This was categorized as Factuality. This error is due to an inability to recognize metaphorical expressions. In example sentence No. 5, the Japanese phrase熱を上げる is a metaphorical expression for excited, but because it uses the same kanji as fever, UTH-BERT incorrectly predicted that fever is positive.

6. FP for denied symptoms

This was categorized as Factuality. This error is caused by UTH-BERT missing a negative expression.

7. FP for symptoms for asking unspecified people

This was categorized as Location. Although example sentence No. 7 asks about the presence of fever for an unspecified person, UTH-BERT incorrectly predicted that the tweeter has a fever.

8. FP for past symptoms

This was categorized as Tense. According to the annotation criteria, past symptoms are treated as negative. This error occurred because UTH-BERT was not able to recognize the tense.

9. FN for symptoms that is directly expressed

This was categorized as Factuality. Although the sentences directly express that the tweeter has a symptom, this type of errors occurred because UTH-BERT could not detect it.

10. FN for symptoms that is indirectly expressed

This was categorized as Factuality. This is the type of error that overlooks a symptom that would be inferred to be positive if another symptom was present at the same time. Example sentence No.10 directly expresses that hay fever is positive, but if you have some knowledge, you can guess that runny nose is also positive.

11. FN for symptoms that can be inferred to be positive because the tweet is from a person.

This was categorized as Factuality. This is also the type of error that overlooks a symptom that is expressed indirectly, but it requires more advanced reasoning. Example sentence No.11 states a general topic, but given that it is a tweet, you can infer that the person has hay fever.

12. FN for symptoms that is in the recovery process

This was categorized as Factuality. According to the annotation criteria, symptoms are labeled as positive if they are in the recovery process; however, UTH-BERT could not detect it.

13. FN for symptoms occurring in the tweeter's neighborhood

This was categorized as Location. According to the annotation criteria, if a population in the same space has a symptom, the symptom is annotated as positive regardless of whether the tweeter has the symptom or not. In this case, UTH-BERT predicted it as negative, because there were probably not enough such cases in the training data.

On Page 18,

We conducted an error analysis that resulted in 13 different types of error interpretations. Among these interpretations, errors related to the factuality of symptoms were the most common, and errors related to the location and the tense were less common. This bias could be due to the small amount of data labeled for location and tense in the MedWeb dataset, rather than a feature of the UTH-BERT. The most common error type in the FP cases was due to false detection of co-occurring symptoms, and 10 of these errors were found in this analysis. Since the task in the MedWeb dataset is a multi-label classification of eight symptoms, this error would be influenced by co-occurrence relationships of multiple labels appearing in the training dataset. On the other hand, some of the FN error types were found to overlook symptom that were expressed indirectly. A possible way to reduce such oversights would be to prepare many similar cases in the training dataset, but it seemed to be difficult as long as only text was used as a source of information. It was difficult to conduct further analysis since this error analysis was based on manual categorization. For further investigation, it would be possible to apply Shapley additive explanations (SHAP) [20] or local interpretable model-agnostic explanations (LIME) [21] to visualize the effect of the predictions when the input data is perturbed by deleting or replacing input tokens.

Differences in the distribution of words appearing in the clinical text used for pre-training of UTH-BERT and the pseudo-tweet messages used for evaluation may have affected the errors. Clinical texts differ in that they contain objective information about the patient, while pseudo-tweets message contain subjective information about the tweeter. Another difference is that the former is written in a literary style, while the latter is written in a spoken form. Because of these differences, there may be cases where the representation of the UTH-BERT pre-acquired tokens were not maximally utilized in the pseudo-tweet messages, leading to errors. A limitation of our error analysis is that it was not possible to compare the error trends between the BERT models because we did not perform the error analysis for KU-BERT and TU-BERT. Moreover, given that our developed BERT was evaluated exclusively on the NTCIR-13 MedWeb task, there is currently a limitation in the generalizability of the performance.

3. The comparison between BERT and other classical machine learning methods such as SVM and LR does not make sense in this paper because the superiority of BERT models has been shown in many papers. Furthermore, SVM with KU or TU vocabularies does not make sense because these (subword) vocabularies are not for SVM nor LR.

Response to 3

As you commented, the superiority of BERT models has been shown in previous studies. We removed the sentences that mentioned SVM and LR.

4. There are many typos and some misunderstandings for BERT. Please check the followings carefully.

Response to 4

Thank you for your careful attention. We revised our manuscript based on your comments, and the manuscript was subsequently proofread by native English speakers. We believe it is significantly improved from the previous submission.

5. "A subword that starts with "##" represents a subword that is not the beginning of a word."

Response to 5

Thanks for the important comment. We modified the manuscript as follows:

On Page 4,

A subword that starts with ## represents a subword that is an appendage to another word.

6. - L122: What does "the sequence" mean? It means a word sequence? The word2vec embeddings, for example, are trained from a word sequence, and so this explanation is inaccurate for mentioning the difference between BERT and existing embeddings.

Response to 6

We modified the manuscript to clearly distinguish between BERT and word2vec as follows:

On Page 6,

The novelty of BERT is that it took the idea of learning word embeddings one step further, by learning each embedding vector considering the co-occurrence of words.

7. - L123: I think the clause "which learns sentence expressions .. between words" is misunderstanding. The self-attention in BERT can learn token embeddings as well as sentence embeddings.

Response to 7

We modified the manuscript as follows:

On Page 6,

To do this, BERT utilizes the self-attention mechanism, which learns sentence and word embeddings by capturing co-occurrence relationships between those embeddings.

Response to 8

As you commented, our description was inappropriate. We revised the manuscript based on the original BERT paper (Devlin et al. 2018) as follows:

On Page 6,

This task masks, randomly replaces, or keeps each input token with a certain probability, and estimates the original tokens. Estimating not only the masked tokens but also the replaced or kept tokens help to keep a distributional contextual representation of every input token.

9. - L142: I think the verb "pinch" is not appropriate in this context

10. - L143: I think there is a misunderstanding in the NSP task. For a sentence in a document, a random sentence as a negative example is chosen from other documents. Therefore, it is a usual way that all the sentences in a document in one day are regarded as one document. The explanation from L142 to L147 does not make sense.

Response to 9, 10

Thank you for pointing this out. In response to your suggestion, we deleted the inappropriate expressions and revised the text as follows:

On Page 7,

To develop such a training dataset, for two consecutive sentences in the original dataset, the first sentence is connected to the original second sentence with a probability of 50% as a positive example. The remaining 50% of the time, the first sentence is connected to a randomly sampled sentence as negative example. We treated all sentences appearing in a document recorded in one day for a patient as consecutive sentences.

Attachments
Attachment
Submitted filename: 07_responce_r1.docx
Decision Letter - Diego Raphael Amancio, Editor

A clinical specific BERT developed using a huge Japanese clinical text corpus

PONE-D-20-20418R1

Dear Dr. Kawazoe,

We’re pleased to inform you that your manuscript has been judged scientifically suitable for publication and will be formally accepted for publication once it meets all outstanding technical requirements.

Within one week, you’ll receive an e-mail detailing the required amendments. When these have been addressed, you’ll receive a formal acceptance letter and your manuscript will be scheduled for publication.

An invoice for payment will follow shortly after the formal acceptance. To ensure an efficient process, please log into Editorial Manager at http://www.editorialmanager.com/pone/, click the 'Update My Information' link at the top of the page, and double check that your user information is up-to-date. If you have any billing related questions, please contact our Author Billing department directly at authorbilling@plos.org.

If your institution or institutions have a press office, please notify them about your upcoming paper to help maximize its impact. If they’ll be preparing press materials, please inform our press team as soon as possible -- no later than 48 hours after receiving the formal acceptance. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

Kind regards,

Diego Raphael Amancio

Academic Editor

PLOS ONE

Additional Editor Comments (optional):

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. If the authors have adequately addressed your comments raised in a previous round of review and you feel that this manuscript is now acceptable for publication, you may indicate that here to bypass the “Comments to the Author” section, enter your conflict of interest statement in the “Confidential to Editor” section, and submit your "Accept" recommendation.

Reviewer #2: All comments have been addressed

**********

2. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #2: Partly

**********

3. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #2: Yes

**********

4. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #2: No

**********

5. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #2: Yes

**********

6. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #2: The manuscript has greatly been improved according to my comments, and

is judged to be acceptable for publication. Although the proposed BERT

model is compatible with other general-domain BERT models, the

presented model and experimental results are valuable for other

researchers especially in the medical domain.

- Minor points:

- L52: a corpus for evaluation -> an evaluation set

- L69: when compared to .. -> compared to ..

- L78: for NLP of Japanese clinical .. -> for Japanese clinical .. (?)

- L82: other -> general

- L114: the sentence -> a sentence

- L250: Experiment settings -> Experimental settings

- L261: I can't understand how the cross-validation was performed. 1

of 4:1 split was used for the development set?

- Table2: Juman -> Juman++

- Table6: The number of categories (13) is relatively large. It is

better to use FP-1, .. FP-8, FN-1, .. , FN-5, and "FP" and "FN"

can be excluded from the interpretations.

**********

7. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #2: Yes: Tomohide Shibata

Formally Accepted
Acceptance Letter - Diego Raphael Amancio, Editor

PONE-D-20-20418R1

A clinical specific BERT developed using a huge Japanese clinical text corpus

Dear Dr. Kawazoe:

I'm pleased to inform you that your manuscript has been deemed suitable for publication in PLOS ONE. Congratulations! Your manuscript is now with our production department.

If your institution or institutions have a press office, please let them know about your upcoming paper now to help maximize its impact. If they'll be preparing press materials, please inform our press team within the next 48 hours. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information please contact onepress@plos.org.

If we can help with anything else, please email us at plosone@plos.org.

Thank you for submitting your work to PLOS ONE and supporting open access.

Kind regards,

PLOS ONE Editorial Office Staff

on behalf of

Dr. Diego Raphael Amancio

Academic Editor

PLOS ONE

Open letter on the publication of peer review reports

PLOS recognizes the benefits of transparency in the peer review process. Therefore, we enable the publication of all of the content of peer review and author responses alongside final, published articles. Reviewers remain anonymous, unless they choose to reveal their names.

We encourage other journals to join us in this initiative. We hope that our action inspires the community, including researchers, research funders, and research institutions, to recognize the benefits of published peer review reports for all parts of the research system.

Learn more at ASAPbio .